#15350 closed defect (fixed)
gnucash 2.2.5 does not compile on Tiger/PPC
Reported by: | infinite.element@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | simon@… | |
Port: |
Description
The build for gnucash 2.2.5 on Tiger (PPC) stops with the following error:
---> Fetching gnucash ---> Verifying checksum(s) for gnucash ---> Extracting gnucash ---> Applying patches to gnucash ---> Configuring gnucash ---> Building gnucash with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gnucash/work/gnucash-2.2.5" && make all " returned error 2 Command output: mv qsf-dir.h.tmp qsf-dir.h make all-recursive Making all in . /bin/sh ../../../../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../../../.. -I/opt/local/include -I.. -I../.. -DLOCALE_DIR=\""/opt/local/share/locale"\" -I../../../../lib/libqof/qof -I../../../../lib/libqof/qof -I/opt/local/include/libxml2 -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I../../../../lib/libc -Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -c -o qsf-backend.lo qsf-backend.c mkdir .libs /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../../../.. -I/opt/local/include -I.. -I../.. -DLOCALE_DIR=\"/opt/local/share/locale\" -I../../../../lib/libqof/qof -I../../../../lib/libqof/qof -I/opt/local/include/libxml2 -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I../../../../lib/libc -Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -c qsf-backend.c -fno-common -DPIC -o .libs/qsf-backend.o /bin/sh ../../../../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../../../.. -I/opt/local/include -I.. -I../.. -DLOCALE_DIR=\""/opt/local/share/locale"\" -I../../../../lib/libqof/qof -I../../../../lib/libqof/qof -I/opt/local/include/libxml2 -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I../../../../lib/libc -Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -c -o qsf-xml-map.lo qsf-xml-map.c /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../../../.. -I/opt/local/include -I.. -I../.. -DLOCALE_DIR=\"/opt/local/share/locale\" -I../../../../lib/libqof/qof -I../../../../lib/libqof/qof -I/opt/local/include/libxml2 -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I../../../../lib/libc -Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -c qsf-xml-map.c -fno-common -DPIC -o .libs/qsf-xml-map.o /bin/sh ../../../../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../../../.. -I/opt/local/include -I.. -I../.. -DLOCALE_DIR=\""/opt/local/share/locale"\" -I../../../../lib/libqof/qof -I../../../../lib/libqof/qof -I/opt/local/include/libxml2 -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I../../../../lib/libc -Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -c -o qsf-xml.lo qsf-xml.c /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../../../.. -I/opt/local/include -I.. -I../.. -DLOCALE_DIR=\"/opt/local/share/locale\" -I../../../../lib/libqof/qof -I../../../../lib/libqof/qof -I/opt/local/include/libxml2 -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I../../../../lib/libc -Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -c qsf-xml.c -fno-common -DPIC -o .libs/qsf-xml.o /bin/sh ../../../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -I.. -I../.. -DLOCALE_DIR=\""/opt/local/share/locale"\" -I../../../../lib/libqof/qof -I../../../../lib/libqof/qof -I/opt/local/include/libxml2 -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I../../../../lib/libc -Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -module -avoid-version -L/opt/local/lib -o libgncqof-backend-qsf.la -rpath /opt/local/lib/gnucash qsf-backend.lo qsf-xml-map.lo qsf-xml.lo ../../../../lib/libqof/qof/libgnc-qof.la -L/opt/local/lib -lgthread-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -L/opt/local/lib -lxml2 -lpthread -lz -liconv -lm ../../../../lib/libc/libc-missing.la -lpopt -lm -lm rm -fr .libs/libgncqof-backend-qsf.lax mkdir .libs/libgncqof-backend-qsf.lax rm -fr .libs/libgncqof-backend-qsf.lax/libc-missing.a mkdir .libs/libgncqof-backend-qsf.lax/libc-missing.a Extracting /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gnucash/work/gnucash-2.2.5/lib/libqof/backend/file/../../../../lib/libc/.libs/libc-missing.a (cd .libs/libgncqof-backend-qsf.lax/libc-missing.a && ar x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gnucash/work/gnucash-2.2.5/lib/libqof/backend/file/../../../../lib/libc/.libs/libc-missing.a) /usr/bin/gcc-4.0 ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libgncqof-backend-qsf.so -bundle .libs/qsf-backend.o .libs/qsf-xml-map.o .libs/qsf-xml.o .libs/libgncqof-backend-qsf.lax/libc-missing.a/libc-missing-noop.o -L/opt/local/lib ../../../../lib/libqof/qof/.libs/libgnc-qof.dylib /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libxml2.dylib /opt/local/lib/libz.dylib -lpthread -lz /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib -lc /opt/local/lib/libpopt.dylib -lm /usr/bin/ld: multiple definitions of symbol _gnc_libc_missing_noop .libs/libgncqof-backend-qsf.lax/libc-missing.a/libc-missing-noop.o definition of _gnc_libc_missing_noop in section (__TEXT,__text) ../../../../lib/libqof/qof/.libs/libgnc-qof.dylib(single module) definition of _gnc_libc_missing_noop collect2: ld returned 1 exit status make[7]: *** [libgncqof-backend-qsf.la] Error 1 make[6]: *** [all-recursive] Error 1 make[5]: *** [all] Error 2 make[4]: *** [all-recursive] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing.
The attached patch remedies the problem.
Attachments (1)
Change History (3)
Changed 16 years ago by infinite.element@…
Attachment: | gnucash.tiger.patch added |
---|
comment:1 Changed 16 years ago by simon@…
Cc: | simon@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Committed in r36989. Thanks for your help.
Simon
Note: See
TracTickets for help on using
tickets.
"working" patch for problem