[MacPorts] #19196: glib2
MacPorts
noreply at macports.org
Mon Apr 6 01:03:28 PDT 2009
#19196: glib2
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: mcalhoun@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.1
Keywords: | Port: glib2, glib2-devel
-------------------------------------+--------------------------------------
I used to be able to build a 4-way universal binary of glib2 on Mac OS X
10.4.11 Intel but now I can't. It may have been r49134 that changed this.
{{{
$ port -ux upgrade glib2
---> Fetching glib2
---> Attempting to fetch glib-2.20.0.tar.bz2 from
http://leopard.local/distfiles/glib2
---> Verifying checksum(s) for glib2
---> Extracting glib2
---> Applying patches to glib2
---> Configuring glib2
---> Configuring glib2 for architecture i386
---> Configuring glib2 for architecture x86_64
---> Configuring glib2 for architecture ppc
---> Configuring glib2 for architecture ppc64
---> Building glib2
---> Building glib2 for architecture i386
---> Building glib2 for architecture x86_64
Error: Target org.macports.build returned: shell command " cd
"/mp/var/macports/build/_Users_rschmidt_macports_dports_devel_glib2/work/glib-2.20.0-x86_64"
&& nice -n 10 make -j3 all " returned error 2
Command output: libtool: compile: /usr/bin/gcc-4.0 -m64 -DHAVE_CONFIG_H
-I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS
-DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -I/mp/include
-isysroot /Developer/SDKs/MacOSX10.4u.sdk -DG_DISABLE_SINGLE_INCLUDES
-D_REENTRANT -O2 -fstrict-aliasing -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -m64 -Wall -c gspawn.c -fno-common -DPIC
-o .libs/gspawn.o
libtool: compile: /usr/bin/gcc-4.0 -m64 -DHAVE_CONFIG_H -I. -I.. -I..
-DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION -DPCRE_STATIC -I/mp/include -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT
-O2 -fstrict-aliasing -isysroot /Developer/SDKs/MacOSX10.4u.sdk -m64 -Wall
-c gspawn.c -o gspawn.o >/dev/null 2>&1
/usr/bin/gcc-4.0 -m64 -DHAVE_CONFIG_H -I. -I.. -I..
-DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION -DPCRE_STATIC -I/mp/include -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT
-O2 -fstrict-aliasing -isysroot /Developer/SDKs/MacOSX10.4u.sdk -m64 -Wall
-c gtester.c
In file included from
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h:32,
from
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:125,
from
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
from gutils.c:116:
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:286:
error: parse error before '*' token
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:320:
error: parse error before '*' token
In file included from
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h:32,
from
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:125,
from
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
from gunicollate.c:30:
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:286:
error: parse error before '*' token
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:320:
error: parse error before '*' token
In file included from
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:161,
from
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
from gunicollate.c:30:
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h:1338:
error: 'SIGDIGLEN' undeclared here (not in a function)In file included
from
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:161,
from
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
from gutils.c:116:
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h:1338:
error: 'SIGDIGLEN' undeclared here (not in a function)
make[4]: *** [gutils.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [gunicollate.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Unable to upgrade port: 1
}}}
Since I still hope for a better server-side solution for universal
binaries, once we start distributing binaries, I don't care if glib2 can
build 4-way universal on Tiger. But I would like to not see an error
message.
Should we just set the supported architectures to {i386 ppc} on Tiger or
do you have a better suggestion?
Whatever is done for glib2 should be done for glib2-devel as well.
--
Ticket URL: <http://trac.macports.org/ticket/19196>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list