On Apr 23, 2012, at 11:54, Alexander Hansen wrote: > On 4/23/12 8:45 AM, Scott Hannahs wrote: >> On Apr 13, 2012, at 22:11, Alexander Hansen wrote: >>> On 4/13/12 4:56 PM, Scott Hannahs wrote: >>>> Dave and Fink Developers, >>>> >>>> I seem to have a failure on building gnutls28-3.0.17-1 on Mac OS X 10.5.8. >>>> The relevant part where something is duplicately defined is in the output >>>> below??? I did a self-update and should have the latest packages and >>>> using XCode 3.1.3 and gcc 4.0.1. This is building on a PPC platform and >>>> is the reason I am running OS X 10.5.8. >>>> >>>> I tried setting the max build jobs to 1 but no improvement. >>>> >>>> Any ideas? This build correctly awhile ago and I just did an update-all. >>>> >>>> -Scott >>>> Also include the following system information: >>>> Package manager version: 0.32.5.5 >>>> Distribution version: selfupdate-rsync Thu Apr 12 14:49:35 2012, 10.5, >>>> powerpc >>>> Trees: local/main stable/main stable/crypto unstable/main unstable/crypto >>>> Xcode: 3.1.3 >>>> Max. Fink build jobs: >>>> >>>> >>>> >>>> >>>> /sw/include/gmp.h:2172: warning: '__gnu_inline__' attribute directive >>>> ignored >>>> CCLD libcrypto.la >>>> CC gnutls_record.lo >>>> CC gnutls_compress.lo >>>> CC debug.lo >>>> CC gnutls_cipher.lo >>>> CC gnutls_mbuffers.lo >>>> CC gnutls_buffers.lo >>>> CC gnutls_handshake.lo >>>> CC gnutls_num.lo >>>> CC gnutls_errors.lo >>>> CC gnutls_dh.lo >>>> CC gnutls_kx.lo >>>> CC gnutls_priority.lo >>>> CC gnutls_hash_int.lo >>>> CC gnutls_cipher_int.lo >>>> CC gnutls_session.lo >>>> CC gnutls_db.lo >>>> CC x509_b64.lo >>>> CC gnutls_extensions.lo >>>> CC gnutls_auth.lo >>>> CC gnutls_v2_compat.lo >>>> CC gnutls_datum.lo >>>> CC gnutls_session_pack.lo >>>> CC gnutls_mpi.lo >>>> CC gnutls_pk.lo >>>> CC gnutls_cert.lo >>>> CC gnutls_global.lo >>>> CC gnutls_constate.lo >>>> CC gnutls_anon_cred.lo >>>> CC pkix_asn1_tab.lo >>>> CC gnutls_asn1_tab.lo >>>> CC gnutls_mem.lo >>>> CC gnutls_ui.lo >>>> CC gnutls_sig.lo >>>> CC gnutls_ecc.lo >>>> CC gnutls_dh_primes.lo >>>> CC gnutls_alert.lo >>>> CC system.lo >>>> CC gnutls_str.lo >>>> CC gnutls_state.lo >>>> CC gnutls_x509.lo >>>> CC gnutls_rsa_export.lo >>>> CC gnutls_helper.lo >>>> CC gnutls_supplemental.lo >>>> CC random.lo >>>> CC crypto-api.lo >>>> CC gnutls_privkey.lo >>>> CC gnutls_pcert.lo >>>> CC gnutls_pubkey.lo >>>> CC locks.lo >>>> CC hash.lo >>>> CC gnutls_dtls.lo >>>> CC system_override.lo >>>> CC crypto-backend.lo >>>> CC verify-tofu.lo >>>> CC gnutls_srp.lo >>>> CC gnutls_psk.lo >>>> CCLD libgnutls.la >>>> libtool: link: warning: library `/sw/lib/libgmp.la' was moved. >>>> /usr/bin/nm: no name list >>>> /usr/bin/nm: no name list >>>> ld: duplicate symbol ___gmpz_abs in >>>> .libs/libgnutls.lax/libcrypto.a/ecc_make_key.o and >>>> .libs/libgnutls.lax/libcrypto.a/ecc_free.o >>>> collect2: ld returned 1 exit status >>>> make[3]: *** [libgnutls.la] Error 1 >>>> make[2]: *** [all-recursive] Error 1 >>>> make[1]: *** [all-recursive] Error 1 >>>> make: *** [all] Error 2 >>>> ### execution of /tmp/fink.TAfdO failed, exit code 2 >>>> Use of uninitialized value in numeric gt (>) at >>>> /sw/lib/perl5/Fink/PkgVersion.pm line 5146,<STDIN> line 1. >>>> Use of uninitialized value in concatenation (.) or string at >>>> /sw/lib/perl5/Fink/PkgVersion.pm line 5200. >>>> Removing runtime build-lock... >>>> Removing build-lock package... >>>> /sw/bin/dpkg-lockwait -r fink-buildlock-gnutls28-3.0.17-1 >>>> (Reading database ... 60660 files and directories currently installed.) >>>> Removing fink-buildlock-gnutls28-3.0.17-1 ... >>>> Failed: phase compiling: gnutls28-3.0.17-1 failed >>>> >>> I saw the same thing on 10.5/i386. The package builds for me on both >>> 10.5/i386 and 10.5/powerpc if I force it to use Xcode's (3.1+) gcc-4.2 as >>> suggested in: >>> >>> http://gmplib.org/list-archives/gmp-bugs/2010-January/001838.html >>> >>> I've put up a .info file at >>> >>> https://raw.github.com/akhansen/Fink-experimental/master/3rdparty/gnutls28.info >>> >>> Scott, try saving that in /sw/fink/dists/local/main/finkinfo and post back >>> whether it works for you, too. >> >> Sorry on the delay, I just got back from travel. When using this finkinfo >> file I get an error at the beginning in the configure phase that I think I >> can ignore >> >> configure.ac:313: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected >> in body >> ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... >> ../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from... >> ../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from... >> configure.ac:313: the top level >> >> And then in the build phase I get the same error >> >>> CCLD libgnutls.la >>> libtool: link: warning: library `/sw/lib/libgmp.la' was moved. >>> /usr/bin/nm: no name list >>> /usr/bin/nm: no name list >>> ld: duplicate symbol ___gmpz_abs in >>> .libs/libgnutls.lax/libcrypto.a/ecc_make_key.o and >>> .libs/libgnutls.lax/libcrypto.a/ecc_free.o >>> collect2: ld returned 1 exit status >>> make[3]: *** [libgnutls.la] Error 1 >>> make[2]: *** [all-recursive] Error 1 >>> make[1]: *** [all-recursive] Error 1 >>> make: *** [all] Error 2 >>> ### execution of /tmp/fink.R1Ibg failed, exit code 2 >>> Removing runtime build-lock... >>> Removing build-lock package... >>> /sw/bin/dpkg-lockwait -r fink-buildlock-gnutls28-3.0.17-1 >>> (Reading database ... 60660 files and directories currently installed.) >>> Removing fink-buildlock-gnutls28-3.0.17-1 ... >>> Failed: phase compiling: gnutls28-3.0.17-1 failed >>> .... >> >> >> >>> Also include the following system information: >>> Package manager version: 0.32.5.5 >>> Distribution version: selfupdate-rsync Thu Apr 12 14:49:35 2012, 10.5, >>> powerpc >>> Trees: local/main stable/main stable/crypto unstable/main unstable/crypto >>> Xcode: 3.1.3 >>> Max. Fink build jobs: 2 >>> >> How do I know that it is using the new fink info file? The output seems to >> imply that the compiler is gcc but I don't know the version. Do I need to >> bump the revision number of the finkinfo file? >> >>> configure: summary of build options: >>> >>> version: 3.0.17 shared 35:1:7 >>> Host type: powerpc-apple-darwin9.8.0 >>> Install prefix: /sw >>> Compiler: gcc -std=gnu99 >>> CFlags: -g -O2 >>> Warning flags: errors: warnings: >>> Library types: Shared=yes, Static=yes >>> Valgrind: no >> >> If I look at the object files, the function is defined in both files. It >> may be something odd in the gmp.h file that is installed by nettle4? that >> defines in line definition of this duplicate symbol? >> >> -Scott >> >> > > Do a selfupdate. I've updated the package in Fink.
All fixed! Thanks, Scott Dr. Scott Hannahs, Director of DC Field Instrumentation and Facilities National High Magnetic Field Laboratory, Florida State University http://sthmac.magnet.fsu.edu 1800 E. Paul Dirac Dr., Tallahassee FL 32310, (850)644-0216/FAX 644-0534 "OS X: because making Unix user-friendly was easier than debugging Windows." ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel