[MacPorts] #21282: glib2 2.20.5 and glib2-devel 2.21.6 Build error, snow leopard.

MacPorts noreply at macports.org
Thu Sep 10 10:35:30 PDT 2009


#21282: glib2 2.20.5 and glib2-devel 2.21.6  Build error, snow leopard.
---------------------------------------+------------------------------------
 Reporter:  fred.the.master@…          |       Owner:  ryandesign@…           
     Type:  defect                     |      Status:  new                    
 Priority:  Normal                     |   Milestone:                         
Component:  ports                      |     Version:  1.8.0                  
 Keywords:                             |        Port:  glib2 glib2-devel      
---------------------------------------+------------------------------------
Changes (by macsforever2000@…):

  * keywords:  glib2 build error =>
  * owner:  macports-tickets@… => ryandesign@…
  * port:  glib2 => glib2 glib2-devel


Old description:

> 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.

New description:

 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.
 }}}

--

-- 
Ticket URL: <http://trac.macports.org/ticket/21282#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list