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



On Mon, 10 Sep 2007 04:10:06 +0000 (UTC)
Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:

>  On Sun, Sep 09, 2007 at 09:15:03AM +0000, jpeterson275%comcast.net@localhost 
> wrote:
>  > When attempting to compile the pkg_install tool as a part of the
>  > boostrap process (under the mkbinarykit script) the compilation fails
>  > (on the first file) with this error:
>  > 
>  > gcc: -E, -S, -save-temps and -M options are not allowed with multiple 
> -arch flags
>  > 
>  > Where of course the multiple -arch flags are created in the CFLAGS by the 
> mkbinarykit script.
>  
>  Can you give me the actual failing command as well?

Yes. Not quite sure why I didn't include that in the first place...

[some time after the 'mkbinarykit' command...]

touch ./config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
/usr/pkgsrc-local/wrkobjdir/binarykit/bin/bmake  all-am
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I./libarch
ive -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DDEF_UMASK=0022 -
I/usr/pkgsrc-local/wrkobjdir/binarykit/wrk/pkgtools/pkg_install/work/libarchive/
libarchive -DHAVE_NBCOMPAT_H=1 -I/usr/pkgsrc-local/wrkobjdir/binarykit/wrk/pkgto
ols/pkg_install/work/libnbcompat -no-cpp-precomp  -arch i386 -arch ppc -arch ppc
64 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -MT libarchive/libarch
ive_la-archive_check_magic.lo -MD -MP -MF libarchive/.deps/libarchive_la-archive
_check_magic.Tpo -c -o libarchive/libarchive_la-archive_check_magic.lo `test -f 
'libarchive/archive_check_magic.c' || echo './'`libarchive/archive_check_magic.c
 gcc -DHAVE_CONFIG_H -I. -I./libarchive -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FI
LE_OFFSET_BITS=64 -DDEF_UMASK=0022 -I/usr/pkgsrc-local/wrkobjdir/binarykit/wrk/p
kgtools/pkg_install/work/libarchive/libarchive -DHAVE_NBCOMPAT_H=1 -I/usr/pkgsrc
-local/wrkobjdir/binarykit/wrk/pkgtools/pkg_install/work/libnbcompat -no-cpp-pre
comp -arch i386 -arch ppc -arch ppc64 -arch x86_64 -isysroot /Developer/SDKs/Mac
OSX10.4u.sdk -MT libarchive/libarchive_la-archive_check_magic.lo -MD -MP -MF lib
archive/.deps/libarchive_la-archive_check_magic.Tpo -c libarchive/archive_check_
magic.c -o libarchive/libarchive_la-archive_check_magic.o
gcc: -E, -S, -save-temps and -M options are not allowed with multiple -arch flag
s
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc-local/wrkobjdir/binarykit/wrk/pkgtools/pkg_install
/work/libarchive
*** Error code 1



Home | Main Index | Thread Index | Old Index