Subject: Re: pkg/36953 (Darwin/8.10 PowerPC build of pkgsrc binary kit fails
To: None <darwin-pkg-people@netbsd.org, gnats-admin@netbsd.org,>
From: Jesse Peterson <jpeterson275@comcast.net>
List: pkgsrc-bugs
Date: 11/06/2007 08:45:02
The following reply was made to PR pkg/36953; it has been noted by GNATS.

From: Jesse Peterson <jpeterson275@comcast.net>
To: gnats-bugs@NetBSD.org
Cc: joerg@netbsd.org, darwin-pkg-people@netbsd.org,
	pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org
Subject: Re: pkg/36953 (Darwin/8.10 PowerPC build of pkgsrc binary kit fails
 to compile)
Date: Mon, 5 Nov 2007 23:36:46 -0800

 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:
 
 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 wrote:
 
 > Patch committed to address this. Does this problem still exist?