Subject: pkg/36953: Darwin/8.10 PowerPC build of pkgsrc binary kit fails to compile
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <jpeterson275@comcast.net>
List: pkgsrc-bugs
Date: 09/09/2007 09:15:03
>Number: 36953
>Category: pkg
>Synopsis: Darwin/8.10 PowerPC build of pkgsrc binary kit fails to compile
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Sep 09 09:15:01 +0000 2007
>Originator: Jesse Peterson
>Release:
>Organization:
>Environment:
Darwin localhost 8.10.0 Darwin Kernel Version 8.10.0: Wed May 23 16:50:59 PDT 2007; root:xnu-792.21.3~1/RELEASE_PPC Power Macintosh powerpc
>Description:
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.
Ideally the use of universal binaries would be an option. On that same note the use of Mac OS X installer should be optional on Darwin as well (ie, an option to use
>How-To-Repeat:
On Mac OS X 10.4.10 PPC Mac:
1. [fresh checkout/extraction of pkgsrc]
2. cd /usr/pkgsrc/bootstrap
3. ./mkbinarykit
>Fix: