py25-gobject py-gtk fail on 10.5

Adam Dershowitz dersh at alum.mit.edu
Sat Jan 12 22:27:24 PST 2008


I recently upgraded to Leopard.  I use gimp from Macports and it  
depends on py25-gobject and py25-gtk.  Recently both of these were  
updated on macports from 2.14.0_0 to  2.14.0_1 and 2.12.0_0 to  
2.12.0_1 respectively.  When I tried to do this upgrades they failed.   
I then tried to do an uninstall -f of these because in the past I have  
run into problem with old ports confusing upgrades with a few other  
ports (I realized after the fact that I should have just done  
deactivate...oh well).  Now I get errors if I try to install either  
the older or newer versions.

I get similar errors for both of the builds.  No one is listed as the  
maintainer for these, so I am not sure who might be able to help, but  
any suggestions would be appreciated.

Has anyone managed to get these to build under 10.5.1?

Thanks,

Here is what I see for gobject:

sudo port clean --all  py25-gobject @2.14.0_1
--->  Cleaning py25-gobject
macintosh$ sudo port install py25-gobject
--->  Fetching py25-gobject
--->  Attempting to fetch pygobject-2.14.0.tar.bz2 from http://mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/pygobject/2.14/
--->  Verifying checksum(s) for py25-gobject
--->  Extracting py25-gobject
--->  Configuring py25-gobject
--->  Building py25-gobject with target all
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_python_py25-gobject/work/pygobject-2.14.0"  
&& make all " returned error 2
Command output:  /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/ 
local/include/python2.5 -I/opt/local/include/python2.5 -D_REENTRANT -I/ 
opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/ 
local/include -DPY_SSIZE_T_CLEAN -I/opt/local/include -D_REENTRANT -I/ 
opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/ 
local/include -O2 -Wall -fno-strict-aliasing -std=c9x -MT _gobject_la- 
pygiochannel.lo -MD -MP -MF .deps/_gobject_la-pygiochannel.Tpo -c  
pygiochannel.c  -fno-common -DPIC -o .libs/_gobject_la-pygiochannel.o
if /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H - 
I. -I. -I.. -I/opt/local/include/python2.5 -I/opt/local/include/ 
python2.5 -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/ 
glib-2.0/include -I/opt/local/include   -DPY_SSIZE_T_CLEAN  -I/opt/ 
local/include  -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/ 
lib/glib-2.0/include -I/opt/local/include    -O2 -Wall -fno-strict- 
aliasing -std=c9x -MT _gobject_la-pygsource.lo -MD -MP -MF ".deps/ 
_gobject_la-pygsource.Tpo" -c -o _gobject_la-pygsource.lo `test -f  
'pygsource.c' || echo './'`pygsource.c; \
	then mv -f ".deps/_gobject_la-pygsource.Tpo" ".deps/_gobject_la- 
pygsource.Plo"; else rm -f ".deps/_gobject_la-pygsource.Tpo"; exit 1; fi
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/ 
python2.5 -I/opt/local/include/python2.5 -D_REENTRANT -I/opt/local/ 
include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/ 
include -DPY_SSIZE_T_CLEAN -I/opt/local/include -D_REENTRANT -I/opt/ 
local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/ 
include -O2 -Wall -fno-strict-aliasing -std=c9x -MT _gobject_la- 
pygsource.lo -MD -MP -MF .deps/_gobject_la-pygsource.Tpo -c  
pygsource.c  -fno-common -DPIC -o .libs/_gobject_la-pygsource.o
if /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H - 
I. -I. -I.. -I/opt/local/include/python2.5 -I/opt/local/include/ 
python2.5 -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/ 
glib-2.0/include -I/opt/local/include   -DPY_SSIZE_T_CLEAN  -I/opt/ 
local/include  -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/ 
lib/glib-2.0/include -I/opt/local/include    -O2 -Wall -fno-strict- 
aliasing -std=c9x -MT _gobject_la-pygtype.lo -MD -MP -MF ".deps/ 
_gobject_la-pygtype.Tpo" -c -o _gobject_la-pygtype.lo `test -f  
'pygtype.c' || echo './'`pygtype.c; \
	then mv -f ".deps/_gobject_la-pygtype.Tpo" ".deps/_gobject_la- 
pygtype.Plo"; else rm -f ".deps/_gobject_la-pygtype.Tpo"; exit 1; fi
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/ 
python2.5 -I/opt/local/include/python2.5 -D_REENTRANT -I/opt/local/ 
include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/ 
include -DPY_SSIZE_T_CLEAN -I/opt/local/include -D_REENTRANT -I/opt/ 
local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/ 
include -O2 -Wall -fno-strict-aliasing -std=c9x -MT _gobject_la- 
pygtype.lo -MD -MP -MF .deps/_gobject_la-pygtype.Tpo -c pygtype.c  - 
fno-common -DPIC -o .libs/_gobject_la-pygtype.o
if /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H - 
I. -I. -I.. -I/opt/local/include/python2.5 -I/opt/local/include/ 
python2.5 -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/ 
glib-2.0/include -I/opt/local/include   -DPY_SSIZE_T_CLEAN  -I/opt/ 
local/include  -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/ 
lib/glib-2.0/include -I/opt/local/include    -O2 -Wall -fno-strict- 
aliasing -std=c9x -MT _gobject_la-pygoptioncontext.lo -MD -MP -MF  
".deps/_gobject_la-pygoptioncontext.Tpo" -c -o _gobject_la- 
pygoptioncontext.lo `test -f 'pygoptioncontext.c' || echo  
'./'`pygoptioncontext.c; \
	then mv -f ".deps/_gobject_la-pygoptioncontext.Tpo" ".deps/ 
_gobject_la-pygoptioncontext.Plo"; else rm -f ".deps/_gobject_la- 
pygoptioncontext.Tpo"; exit 1; fi
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/ 
python2.5 -I/opt/local/include/python2.5 -D_REENTRANT -I/opt/local/ 
include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/ 
include -DPY_SSIZE_T_CLEAN -I/opt/local/include -D_REENTRANT -I/opt/ 
local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/ 
include -O2 -Wall -fno-strict-aliasing -std=c9x -MT _gobject_la- 
pygoptioncontext.lo -MD -MP -MF .deps/_gobject_la-pygoptioncontext.Tpo  
-c pygoptioncontext.c  -fno-common -DPIC -o .libs/_gobject_la- 
pygoptioncontext.o
if /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H - 
I. -I. -I.. -I/opt/local/include/python2.5 -I/opt/local/include/ 
python2.5 -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/ 
glib-2.0/include -I/opt/local/include   -DPY_SSIZE_T_CLEAN  -I/opt/ 
local/include  -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/ 
lib/glib-2.0/include -I/opt/local/include    -O2 -Wall -fno-strict- 
aliasing -std=c9x -MT _gobject_la-pygoptiongroup.lo -MD -MP -MF ".deps/ 
_gobject_la-pygoptiongroup.Tpo" -c -o _gobject_la-pygoptiongroup.lo  
`test -f 'pygoptiongroup.c' || echo './'`pygoptiongroup.c; \
	then mv -f ".deps/_gobject_la-pygoptiongroup.Tpo" ".deps/_gobject_la- 
pygoptiongroup.Plo"; else rm -f ".deps/_gobject_la- 
pygoptiongroup.Tpo"; exit 1; fi
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/ 
python2.5 -I/opt/local/include/python2.5 -D_REENTRANT -I/opt/local/ 
include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/ 
include -DPY_SSIZE_T_CLEAN -I/opt/local/include -D_REENTRANT -I/opt/ 
local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/ 
include -O2 -Wall -fno-strict-aliasing -std=c9x -MT _gobject_la- 
pygoptiongroup.lo -MD -MP -MF .deps/_gobject_la-pygoptiongroup.Tpo -c  
pygoptiongroup.c  -fno-common -DPIC -o .libs/_gobject_la- 
pygoptiongroup.o
if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/ 
python2.5 -I/opt/local/include/python2.5 -D_REENTRANT -I/opt/local/ 
include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/ 
include   -DPY_SSIZE_T_CLEAN  -I/opt/local/include  -D_REENTRANT -I/ 
opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/ 
local/include   -O2 -Wall -fno-strict-aliasing -std=c9x -MT  
generate_constants-generate-constants.o -MD -MP -MF ".deps/ 
generate_constants-generate-constants.Tpo" -c -o generate_constants- 
generate-constants.o `test -f 'generate-constants.c' || echo  
'./'`generate-constants.c; \
	then mv -f ".deps/generate_constants-generate-constants.Tpo" ".deps/ 
generate_constants-generate-constants.Po"; else rm -f ".deps/ 
generate_constants-generate-constants.Tpo"; exit 1; fi
/bin/sh ../libtool --mode=link /usr/bin/gcc-4.0  -O2 -Wall -fno-strict- 
aliasing -std=c9x  -L/opt/local/lib -o generate-constants   
generate_constants-generate-constants.o
/usr/bin/gcc-4.0 -O2 -Wall -fno-strict-aliasing -std=c9x -o generate- 
constants generate_constants-generate-constants.o  -L/opt/local/lib
rm -f constants.py
cp ./constants.py.in constants.py
chmod 644 constants.py
../gobject/generate-constants >> constants.py
chmod 444 constants.py
/bin/sh ../libtool --mode=link /usr/bin/gcc-4.0  -O2 -Wall -fno-strict- 
aliasing -std=c9x  -L/opt/local/lib -o _gobject.la -rpath /opt/local/ 
lib/python2.5/site-packages/gtk-2.0/gobject -module -avoid-version   
_gobject_la-gobjectmodule.lo _gobject_la-pygboxed.lo _gobject_la- 
pygenum.lo _gobject_la-pygflags.lo _gobject_la-pygobject.lo  
_gobject_la-pygmaincontext.lo _gobject_la-pygmainloop.lo _gobject_la- 
pygparamspec.lo _gobject_la-pygpointer.lo _gobject_la-pygiochannel.lo  
_gobject_la-pygsource.lo _gobject_la-pygtype.lo _gobject_la- 
pygoptioncontext.lo _gobject_la-pygoptiongroup.lo  -L/opt/local/lib - 
lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv
/usr/bin/gcc-4.0 ${wl}-flat_namespace ${wl}-undefined ${wl}suppress - 
o .libs/_gobject.so -bundle  .libs/_gobject_la-gobjectmodule.o .libs/ 
_gobject_la-pygboxed.o .libs/_gobject_la-pygenum.o .libs/_gobject_la- 
pygflags.o .libs/_gobject_la-pygobject.o .libs/_gobject_la- 
pygmaincontext.o .libs/_gobject_la-pygmainloop.o .libs/_gobject_la- 
pygparamspec.o .libs/_gobject_la-pygpointer.o .libs/_gobject_la- 
pygiochannel.o .libs/_gobject_la-pygsource.o .libs/_gobject_la- 
pygtype.o .libs/_gobject_la-pygoptioncontext.o .libs/_gobject_la- 
pygoptiongroup.o  -L/opt/local/lib /opt/local/lib/ 
libgobject-2.0.dylib /opt/local/lib/libgthread-2.0.dylib /opt/local/ 
lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib /opt/local/lib/ 
libiconv.dylib
ld: duplicate symbol _g_bit_nth_lsf in .libs/_gobject_la-pygboxed.o  
and .libs/_gobject_la-gobjectmodule.o

collect2: ld returned 1 exit status
make[2]: *** [_gobject.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

--Adam



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080112/83f01f7f/attachment-0001.html


More information about the macports-users mailing list