[MacPorts] #17960: curl: build failure when building universal for i386 ppc x86_64 ppc64
MacPorts
noreply at macports.org
Sun Jan 11 05:01:02 PST 2009
#17960: curl: build failure when building universal for i386 ppc x86_64 ppc64
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: ryandesign@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Keywords: | Port: curl
-------------------------------------+--------------------------------------
curl doesn't build universal with i386 ppc x86_64 ppc64, on Mac OS X
10.5.5 with Xcode 3.1.2 and MacPorts 1.7.0:
{{{
---> Fetching curl
---> Verifying checksum(s) for curl
---> Extracting curl
---> Configuring curl
---> Building curl
Error: Target org.macports.build returned: shell command " cd
"/mp/var/macports/build/_Users_rschmidt_macports_dports_net_curl/work/curl-7.19.2"
&& nice -n 10 make -j2 all " returned error 2
Command output: Making all in lib
make all-am
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0
-DHAVE_CONFIG_H -I../include -I../include -I../lib -I../lib -isystem
/mp/include -isysroot /Developer/SDKs/MacOSX10.5.sdk -I/mp/include
-I/mp/include -O2 -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch ppc
-arch i386 -arch ppc64 -arch x86_64 -mmacosx-version-min=10.5 -g0 -Wno-
system-headers -c -o file.lo file.c
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0
-DHAVE_CONFIG_H -I../include -I../include -I../lib -I../lib -isystem
/mp/include -isysroot /Developer/SDKs/MacOSX10.5.sdk -I/mp/include
-I/mp/include -O2 -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch ppc
-arch i386 -arch ppc64 -arch x86_64 -mmacosx-version-min=10.5 -g0 -Wno-
system-headers -c -o timeval.lo timeval.c
mkdir .libs
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I../include -I../include -I../lib
-I../lib -isystem /mp/include -isysroot /Developer/SDKs/MacOSX10.5.sdk
-I/mp/include -I/mp/include -O2 -isysroot /Developer/SDKs/MacOSX10.5.sdk
-arch ppc -arch i386 -arch ppc64 -arch x86_64 -mmacosx-version-min=10.5
-g0 -Wno-system-headers -c timeval.c -fno-common -DPIC -o .libs/timeval.o
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I../include -I../include -I../lib
-I../lib -isystem /mp/include -isysroot /Developer/SDKs/MacOSX10.5.sdk
-I/mp/include -I/mp/include -O2 -isysroot /Developer/SDKs/MacOSX10.5.sdk
-arch ppc -arch i386 -arch ppc64 -arch x86_64 -mmacosx-version-min=10.5
-g0 -Wno-system-headers -c file.c -fno-common -DPIC -o .libs/file.o
In file included from setup.h:112,
from timeval.h:31,
from timeval.c:24:
../include/curl/curlrules.h:134: error: size of array '__curl_rule_01__'
is negative
In file included from setup.h:112,
from timeval.h:31,
from timeval.c:24:
../include/curl/curlrules.h:134: error: size of array '__curl_rule_01__'
is negative
In file included from setup.h:112,
from file.c:24:
../include/curl/curlrules.h:134: error: size of array '__curl_rule_01__'
is negative
In file included from setup.h:112,
from file.c:24:
../include/curl/curlrules.h:134: error: size of array '__curl_rule_01__'
is negative
lipo: can't figure out the architecture type of:
/var/folders/mp/mpyIJDvrEYiDnNTp1Vg6N++++TI/-Tmp-//ccNT1tIF.out
make[2]: *** [timeval.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
lipo: can't figure out the architecture type of:
/var/folders/mp/mpyIJDvrEYiDnNTp1Vg6N++++TI/-Tmp-//ccUYxE8F.out
make[2]: *** [file.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
Error: Status 1 encountered during processing.
}}}
Works fine for just ppc i386.
--
Ticket URL: <http://trac.macports.org/ticket/17960>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list