pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/36953 (Darwin/8.10 PowerPC build of pkgsrc binary kit fails to compile)



The following reply was made to PR pkg/36953; it has been noted by GNATS.

From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/36953 (Darwin/8.10 PowerPC build of pkgsrc binary kit
        fails to compile)
Date: Tue, 6 Nov 2007 15:34:46 +0100

 On Tue, Nov 06, 2007 at 08:45:02AM +0000, Jesse Peterson wrote:
 >  Apologies for the delay in my response. I cannot determine if the issue is 
 > fixed
 >  as pkg_install is now  getting missing symbols for bzip2 in the ppc64 and 
 > x86_64
 >  architectures. An Intel Mac is building this:
 
 Does it actually build libbz2 before this? Or does it use the system
 library? If it isn't, you can try by adding
 USE_BUILTIN.bzip2=no
 directly before line 96 in pkgsrc/pkgtools/pkg_install/Makefile.
 
 Joerg
 
 >  
 >  gcc -arch i386 -arch ppc -arch ppc64 -arch x86_64 
 > -Wl,-syslibroot,/Developer/SDK
 >  s/MacOSX10.4u.sdk 
 > -L/tmp/binarykitbuild/wrk/pkgtools/pkg_install/work/libarchive
 >  /.libs -L/tmp/binarykitbuild/wrk/pkgtools/pkg_install/work/libnbcompat 
 > -L/usr/pk
 >  g/lib -L../lib -o pkg_create main.o perform.o pl.o util.o build.o -linstall 
 > -lar
 >  chive -lbz2 -lz -ltermcap -lnbcompat
 >  ld64 warning: in /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libbz2.dylib, 
 > missing r
 >  equired architecture ppc64 in file
 >  Undefined symbols for architecture ppc64:
 >    _BZ2_bzCompressEnd, referenced from:
 >        _archive_compressor_bzip2_finish in 
 > libarchive.a(libarchive_la-archive_wri
 >  te_set_compression_bzip2.o)
 >    _BZ2_bzCompressInit, referenced from:
 >        _archive_compressor_bzip2_init in 
 > libarchive.a(libarchive_la-archive_write
 >  _set_compression_bzip2.o)
 >    _BZ2_bzCompress, referenced from:
 >        _drive_compressor in 
 > libarchive.a(libarchive_la-archive_write_set_compress
 >  ion_bzip2.o)
 >  ld64-62.1 failed: symbol(s) not found for architecture ppc64
 >  collect2: ld returned 1 exit status
 >  ld64 warning: in /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libbz2.dylib, 
 > missing r
 >  equired architecture x86_64 in file
 >  Undefined symbols for architecture x86_64:
 >    _BZ2_bzCompressEnd, referenced from:
 >        _archive_compressor_bzip2_finish in 
 > libarchive.a(libarchive_la-archive_wri
 >  te_set_compression_bzip2.o)
 >    _BZ2_bzCompressInit, referenced from:
 >        _archive_compressor_bzip2_init in 
 > libarchive.a(libarchive_la-archive_write
 >  _set_compression_bzip2.o)
 >    _BZ2_bzCompress, referenced from:
 >        _drive_compressor in 
 > libarchive.a(libarchive_la-archive_write_set_compress
 >  ion_bzip2.o)
 >  ld64-62.1 failed: symbol(s) not found for architecture x86_64
 >  collect2: ld returned 1 exit status
 >  lipo: can't open input file: /var/tmp//ccl01IzT.out (No such file or 
 > directory)
 >  *** Error code 1
 >  
 >  Thanks,
 >  - J
 >  
 >  
 >  On Thu, 27 Sep 2007 13:32:21 +0000 (UTC)
 >  joerg%netbsd.org@localhost wrote:
 >  
 >  > Patch committed to address this. Does this problem still exist?
 >  
 



Home | Main Index | Thread Index | Old Index