[MacPorts] #15221: glib2 fails to build on x86_64 with 'Symbol not found' error
#15221: glib2 fails to build on x86_64 with 'Symbol not found' error ---------------------------------+------------------------------------------ Reporter: dwalthour@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: glib2 | ---------------------------------+------------------------------------------ steps to reproduce: 1. modify variants.conf to add +universal 2. modify potconfigure.tcl to add -arch x86_64 to configure.universal_cflags, configure.universal_cxxflags, and configure.universal_ldflags 3. port install glib2 fails with: $ sudo port install glib2 ---> Building glib2 with target all Error: Target org.macports.build returned: shell command " cd "/opt/local-64/var/macports/build/_opt_local- 64_var_macports_sources_rsync.macports.org_release_ports_devel_glib2/work/glib-2.16.3" && make all " returned error 2 Command output: make[4]: Nothing to be done for `all-am'. Making all in tests make[4]: Nothing to be done for `all'. Making all in gmodule make all-am make[3]: Nothing to be done for `all-am'. Making all in gthread make[2]: Nothing to be done for `all'. Making all in gobject make glib-genmarshal make[3]: `glib-genmarshal' is up to date. echo "#ifndef __G_MARSHAL_H__" > xgen-gmh \ && echo "#define __G_MARSHAL_H__" >> xgen-gmh \ && ./glib-genmarshal --nostdinc --prefix=g_cclosure_marshal ./gmarshal.list --header >> xgen-gmh \ && echo "#endif /* __G_MARSHAL_H__ */" >> xgen-gmh \ && (cmp -s xgen-gmh gmarshal.h 2>/dev/null || cp xgen-gmh gmarshal.h) \ && rm -f xgen-gmh xgen-gmh~ \ && echo timestamp > stamp-gmarshal.h dyld: lazy symbol binding failed: Symbol not found: __g_getenv_nomalloc Referenced from: /opt/local-64/var/macports/build/_opt_local- 64_var_macports_sources_rsync.macports.org_release_ports_devel_glib2/work/glib-2.16.3/glib/.libs/libglib-2.0.0.dylib Expected in: flat namespace dyld: Symbol not found: __g_getenv_nomalloc Referenced from: /opt/local-64/var/macports/build/_opt_local- 64_var_macports_sources_rsync.macports.org_release_ports_devel_glib2/work/glib-2.16.3/glib/.libs/libglib-2.0.0.dylib Expected in: flat namespace /bin/sh: line 1: 73719 Trace/BPT trap ./glib-genmarshal --nostdinc --prefix=g_cclosure_marshal ./gmarshal.list --header >> xgen- gmh make[2]: *** [stamp-gmarshal.h] Error 133 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macports.org/ticket/15221> MacPorts </> Ports system for Mac OS
#15221: glib2 fails to build on x86_64 with 'Symbol not found' error ----------------------------------+----------------------------------------- Reporter: dwalthour@gmail.com | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: glib2 ----------------------------------+----------------------------------------- Changes (by jmr@macports.org): * owner: macports-tickets@lists.macosforge.org => ryandesign@macports.org * milestone: => Port Bugs Comment: Assigning to maintainer. I've seen glib2 fail building for x86_64 with MP trunk as well. -- Ticket URL: <http://trac.macports.org/ticket/15221#comment:1> MacPorts </> Ports system for Mac OS
#15221: glib2 fails to build on x86_64 with 'Symbol not found' error ----------------------------------+----------------------------------------- Reporter: dwalthour@gmail.com | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: glib2 ----------------------------------+----------------------------------------- Comment (by ryandesign@macports.org): If you can figure out what needs to be changed to make it work, please let me know. But I'm not really supporting 64-bit builds of anything in MacPorts right now. -- Ticket URL: <http://trac.macports.org/ticket/15221#comment:2> MacPorts </> Ports system for Mac OS
#15221: glib2 fails to build on x86_64 with 'Symbol not found' error ----------------------------------+----------------------------------------- Reporter: dwalthour@gmail.com | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: glib2 ----------------------------------+----------------------------------------- Comment (by dwalthour@gmail.com): Replying to [comment:2 ryandesign@macports.org]:
If you can figure out what needs to be changed to make it work, please let me know. But I'm not really supporting 64-bit builds of anything in MacPorts right now.
I understand. I have already downloaded glib2 directly from the GTK+ website and reproduced the problem, so it isn't anything to do with macports. I will see what I can come up with but if you have anything to offer I would appreciate the help. -- Ticket URL: <http://trac.macports.org/ticket/15221#comment:3> MacPorts </> Ports system for Mac OS
participants (1)
-
MacPorts