[MacPorts] #33760: gobject-introspection 1.30.0 Build Error
#33760: gobject-introspection 1.30.0 Build Error ---------------------------------------+------------------------------------ Reporter: gabe@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 2.0.5 Component: ports | Version: 2.0.4 Keywords: | Port: gobject-introspection ---------------------------------------+------------------------------------ Console Output: {{{ :info:build GICOMP gir/cairo-1.0.gir :info:build Traceback (most recent call last): :info:build File "./g-ir-scanner", line 44, in <module> :info:build from giscanner.scannermain import scanner_main :info:build File "./giscanner/scannermain.py", line 34, in <module> :info:build from giscanner.dumper import compile_introspection_binary :info:build File "./giscanner/dumper.py", line 28, in <module> :info:build from .gdumpparser import IntrospectionBinary :info:build File "./giscanner/gdumpparser.py", line 31, in <module> :info:build from .transformer import TransformerException :info:build File "./giscanner/transformer.py", line 27, in <module> :info:build from .girparser import GIRParser :info:build File "./giscanner/girparser.py", line 26, in <module> :info:build from .girwriter import COMPATIBLE_GIR_VERSION :info:build File "./giscanner/girwriter.py", line 25, in <module> :info:build from .xmlwriter import XMLWriter :info:build File "./giscanner/xmlwriter.py", line 74, in <module> :info:build from _giscanner import collect_attributes :info:build File "./giscanner/libtoolimporter.py", line 66, in load_module :info:build mod = imp.load_module(name, open(realpath), realpath, (extension, 'rb', 3)) :info:build ImportError: dlopen(./.libs/_giscanner.so, 2): Symbol not found: _mempcpy :info:build Referenced from: /opt/local/lib/libglib-2.0.0.dylib :info:build Expected in: flat namespace :info:build in /opt/local/lib/libglib-2.0.0.dylib :info:build make[2]: *** [GLib-2.0.gir] Error 1 }}} -- Ticket URL: <https://trac.macports.org/ticket/33760> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33760: gobject-introspection 1.30.0 Build Error ---------------------------------------+------------------------------------ Reporter: gabe@… | Owner: singingwolfboy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: gobject-introspection ---------------------------------------+------------------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => singingwolfboy@… * milestone: MacPorts 2.0.5 => Comment: The Milestone field is not used for port tickets. Remember to Cc port maintainers. -- Ticket URL: <https://trac.macports.org/ticket/33760#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33760: gobject-introspection 1.30.0 Build Error ---------------------------------------+------------------------------------ Reporter: gabe@… | Owner: singingwolfboy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: gobject-introspection ---------------------------------------+------------------------------------ Comment(by macsforever2000@…): What is the output of the following? {{{ port installed glib2 }}} You might try rebuilding that. -- Ticket URL: <https://trac.macports.org/ticket/33760#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33760: gobject-introspection 1.30.0 Build Error ---------------------------------------+------------------------------------ Reporter: gabe@… | Owner: singingwolfboy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: gobject-introspection ---------------------------------------+------------------------------------ Comment(by gabe@…): Replying to [comment:2 macsforever2000@…]:
What is the output of the following?
{{{ port installed glib2 }}}
You might try rebuilding that.
I have glib2-devel installed, I tried uninstalling and reinstalling it but there was no change. -- Ticket URL: <https://trac.macports.org/ticket/33760#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33760: gobject-introspection 1.30.0 Build Error ---------------------------------------+------------------------------------ Reporter: gabe@… | Owner: singingwolfboy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: gobject-introspection ---------------------------------------+------------------------------------ Comment(by gabe@…): I got this working by installing glib2 instead of glib2-devel, then building glib2 of the matching version myself with the prefix as /opt/local, and installing it on top in order to have the headers. -- Ticket URL: <https://trac.macports.org/ticket/33760#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33760: gobject-introspection 1.30.0 Build Error ------------------------------------+------------------------------ Reporter: gabe@… | Owner: singingwolfboy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: | Keywords: Port: gobject-introspection | ------------------------------------+------------------------------ Comment (by macsforever2000@…): Unlike in Linux, a devel port in Macports has nothing to do with header files. -- Ticket URL: <https://trac.macports.org/ticket/33760#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33760: gobject-introspection 1.30.0 Build Error ------------------------------------+------------------------------ Reporter: gabe@… | Owner: singingwolfboy@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: invalid | Keywords: Port: gobject-introspection | ------------------------------------+------------------------------ Changes (by ryandesign@…): * status: new => closed * cc: ryandesign@… (added) * resolution: => invalid Comment: So now you've overwritten some MacPorts-provided files with manually- compiled files. That's not a good idea. As Frank said above, the "-devel" suffix in MacPorts does not mean it installs headers; rather, all ports install headers, as much as possible. In MacPorts, "-devel" means "this is a development version", as opposed to a stable version. So unless you have a specific need for testing the latest development version of glib2, I suggest you use the glib2 port not the glib2-devel port. To ensure you have the right versions of the files, and that they were compiled by MacPorts, my recommendation is to uninstall glib2 or glib2-devel, whichever you have installed at the moment: {{{ sudo port -fp uninstall glib2 glib2-devel }}} `-p` will proceed even if one of the ports is not installed. `-f` will force the uninstallation even if other ports depend on these ports. Then install glib2: {{{ sudo port clean glib2 sudo port install glib2 }}} -- Ticket URL: <https://trac.macports.org/ticket/33760#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33760: gobject-introspection 1.30.0 Build Error ------------------------------------+------------------------------ Reporter: gabe@… | Owner: singingwolfboy@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: invalid | Keywords: Port: gobject-introspection | ------------------------------------+------------------------------ Comment (by egall@…): I'm pretty sure this is the same error I was getting in #37137 and I hadn't overwritten anything in that one -- Ticket URL: <https://trac.macports.org/ticket/33760#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts