Opened 16 years ago

Last modified 15 years ago

#15221 closed defect

glib2 fails to build on x86_64 with 'Symbol not found' error — at Initial Version

Reported by: dwalthour@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: glib2

Description

steps to reproduce:

  1. modify variants.conf to add +universal
  1. modify potconfigure.tcl to add -arch x86_64 to configure.universal_cflags, configure.universal_cxxflags, and configure.universal_ldflags
  1. 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.

Change History (0)

Note: See TracTickets for help on using tickets.