Ticket #17856 (closed defect: invalid)
gwenhywfar-3.5.1 build failure
| Reported by: | pali@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.0 |
| Keywords: | Cc: | ||
| Port: | gwenhywfar |
Description
I stumpled on this problem when trying to install gnucash, but then I've determined the problem is with gwenhywfar.
My configuration: Mac OS X 10.5.6 (9G55), Xcode version 3.1.2.
sudo port install gwenhywfar
---> Fetching gwenhywfar
---> Verifying checksum(s) for gwenhywfar
---> Extracting gwenhywfar
---> Configuring gwenhywfar
---> Building gwenhywfar
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gwenhywfar/work/gwenhywfar-3.5.1" && make all " returned error 2
Command output: /bin/sh ../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -O2 -Wall -Wall -L/opt/local/lib -o gct-tool changepin.o create.o genkey.o showkey.o showuser.o update.o setsignseq.o setkey.o main.o ../../src/libgwenhywfar.la -L/usr/lib -lssl -lcrypto
mkdir .libs
/usr/bin/gcc-4.0 -O2 -Wall -Wall -o .libs/gct-tool changepin.o create.o genkey.o showkey.o showuser.o update.o setsignseq.o setkey.o main.o -L/opt/local/lib ../../src/.libs/libgwenhywfar.dylib /opt/local/lib/libgnutls.dylib /opt/local/lib/libtasn1.dylib /opt/local/lib/libgcrypt.dylib /opt/local/lib/libgpg-error.dylib -L/sw/lib /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib -lc -L/usr/lib -lssl -lcrypto
creating gct-tool
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../.. -I../../gwenhywfar3 -I/opt/local/include -O2 -Wall -Wall -MT cttest.o -MD -MP -MF .deps/cttest.Tpo -c -o cttest.o cttest.c
mv -f .deps/cttest.Tpo .deps/cttest.Po
/bin/sh ../../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -O2 -Wall -Wall -L/opt/local/lib -o cttest cttest.o ../../src/libgwenhywfar.la
/usr/bin/gcc-4.0 -O2 -Wall -Wall -o .libs/cttest cttest.o -L/opt/local/lib ../../src/.libs/libgwenhywfar.dylib /opt/local/lib/libgnutls.dylib /opt/local/lib/libtasn1.dylib /opt/local/lib/libgcrypt.dylib /opt/local/lib/libgpg-error.dylib -L/sw/lib /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib -lc
creating cttest
make[3]: Nothing to be done for `all-am'.
Making all in test
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I../gwenhywfar3 -I../src/base -I../src/crypt -I../src/io -I../src/ipc -I../src/net2 -I../src/os -I../src/parser -I/opt/local/include -O2 -Wall -Wall -MT gwentest.o -MD -MP -MF .deps/gwentest.Tpo -c -o gwentest.o gwentest.c
mv -f .deps/gwentest.Tpo .deps/gwentest.Po
/bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -O2 -Wall -Wall -L/opt/local/lib -o gwentest gwentest.o ../src/libgwenhywfar.la
mkdir .libs
/usr/bin/gcc-4.0 -O2 -Wall -Wall -o .libs/gwentest gwentest.o -L/opt/local/lib ../src/.libs/libgwenhywfar.dylib /opt/local/lib/libgnutls.dylib /opt/local/lib/libtasn1.dylib /opt/local/lib/libgcrypt.dylib /opt/local/lib/libgpg-error.dylib -L/sw/lib /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib -lc
Undefined symbols:
"_inflateEnd", referenced from:
_testDES4 in gwentest.o
"_inflate", referenced from:
_testDES4 in gwentest.o
"_deflateEnd", referenced from:
_testDES4 in gwentest.o
"_inflateInit_", referenced from:
_testDES4 in gwentest.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [gwentest] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Status 1 encountered during processing.
Change History
comment:3 Changed 4 years ago by pali@…
I have uninstalled all ports and now the gwenhywfar-3.5.1 installed OK. So I think this bug can be closed, as I don't know what caused the problem. Can't reproduce.
:-( I still can't get the Gnucash to compile - that was the source of my troubles.
Note: See
TracTickets for help on using
tickets.


Those missing symbols come from zlib, which is definitely pulled in by gwenhywfar's dependencies. It seems to be omitting -lz from the link command. I don't know why, though that -L/sw/lib looks rather suspicious to me.