Opened 15 years ago

Last modified 15 years ago

#21282 closed defect

glib2 2.20.5 and glib2-devel 2.21.6 Build error, snow leopard. — at Version 1

Reported by: fred.the.master@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: glib2, glib2-devel

Description (last modified by mf2k (Frank Schima))

glib2 and glib2-devel cant build on OSX snow leopard.

/bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I..  -I..  -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -I/opt/local/include -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT  -pipe -O2 -fstrict-aliasing -arch x86_64 -Wall -c -o gunicollate.lo gunicollate.c
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -I/opt/local/include -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -pipe -O2 -fstrict-aliasing -arch x86_64 -Wall -c gunicollate.c  -fno-common -DPIC -o .libs/gunicollate.o
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -I/opt/local/include -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -pipe -O2 -fstrict-aliasing -arch x86_64 -Wall -c gunibreak.c -o gunibreak.o >/dev/null 2>&1
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/HFSVolumes.h:32,
                 from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:206,
                 from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
                 from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
                 from gunicollate.c:30:
/usr/include/hfs/hfs_format.h:765: error: expected specifier-qualifier-list before 'uuid_string_t'
/bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I..  -I..  -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -I/opt/local/include -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT  -pipe -O2 -fstrict-aliasing -arch x86_64 -Wall -c -o gunidecomp.lo gunidecomp.c
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -I/opt/local/include -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -pipe -O2 -fstrict-aliasing -arch x86_64 -Wall -c gunidecomp.c  -fno-common -DPIC -o .libs/gunidecomp.o
make[4]: *** [gunicollate.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -I/opt/local/include -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -pipe -O2 -fstrict-aliasing -arch x86_64 -Wall -c gunidecomp.c -o gunidecomp.o >/dev/null 2>&1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

    while executing
"$procedure $targetname"
Warning: the following items did not execute (for glib2): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Change History (2)

Changed 15 years ago by fred.the.master@…

Attachment: Terminal Saved Output.txt added

full output from the terminal windows

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: glib2 build error removed
Owner: changed from macports-tickets@… to ryandesign@…
Port: glib2-devel added
Note: See TracTickets for help on using tickets.