Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 248665 - dev-python/gdl-python-2.19.1-r1 - compilation fails with <dev-util/gdl-2.24.0
Summary: dev-python/gdl-python-2.19.1-r1 - compilation fails with <dev-util/gdl-2.24.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-24 18:08 UTC by Willard Dawson
Modified: 2009-05-06 09:08 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Willard Dawson 2008-11-24 18:08:22 UTC
emerge --update world stops at dev-python/gdl-python-2.19.1-r1 failure with:

gdl.c:2117: error: ‘GDL_TYPE_ICONS’ undeclared (first use in this function)



Reproducible: Always

Steps to Reproduce:
1.emerge -u world
2.
3.

Actual Results:  
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.5 -DORBIT2=1 -pthread -I/usr/include/libgdl-1.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/gail-1.0 -I/usr/include/pygtk-2.0 -march=i686 -O2 -pipe -ggdb -Wall -fno-strict-aliasing -MT gdl.lo -MD -MP -MF .deps/gdl.Tpo -c gdl.c  -fPIC -DPIC -o .libs/gdl.o                       
gdl.c: In function ‘_wrap_gdl_icons_new’:                                       
gdl.c:1805: warning: implicit declaration of function ‘gdl_icons_new’           
gdl.c: In function ‘_wrap_gdl_icons_get_folder_icon’:                           
gdl.c:1821: warning: implicit declaration of function ‘gdl_icons_get_folder_icon’                                                                               
gdl.c:1821: warning: implicit declaration of function ‘GDL_ICONS’               
gdl.c:1821: warning: assignment makes pointer from integer without a cast       
gdl.c: In function ‘_wrap_gdl_icons_get_uri_icon’:                              
gdl.c:1837: warning: implicit declaration of function ‘gdl_icons_get_uri_icon’  
gdl.c:1837: warning: assignment makes pointer from integer without a cast       
gdl.c: In function ‘_wrap_gdl_icons_get_mime_icon’:                             
gdl.c:1853: warning: implicit declaration of function ‘gdl_icons_get_mime_icon’ 
gdl.c:1853: warning: assignment makes pointer from integer without a cast       
gdl.c: In function ‘pygdl_register_classes’:                                    
gdl.c:2117: error: ‘GDL_TYPE_ICONS’ undeclared (first use in this function)     
gdl.c:2117: error: (Each undeclared identifier is reported only once            
gdl.c:2117: error: for each function it appears in.)                            
make[2]: *** [gdl.lo] Error 1                                                   
make[2]: Leaving directory `/var/tmp/portage/dev-python/gdl-python-2.19.1-r1/work/gnome-python-extras-2.19.1/gdl'                                               
make[1]: *** [all-recursive] Error 1                                            
make[1]: Leaving directory `/var/tmp/portage/dev-python/gdl-python-2.19.1-r1/work/gnome-python-extras-2.19.1'                                                   
make: *** [all] Error 2


Expected Results:  
successful build

# emerge --info               

Portage 2.1.6_rc1 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r8 i686)                                                  
=================================================================               
System uname: Linux-2.6.25-gentoo-r8-i686-Intel-R-_Pentium-R-_M_processor_2.00GHz-with-glibc2.0                                                                 
Timestamp of tree: Mon, 24 Nov 2008 17:06:01 +0000                              
app-shells/bash:     3.2_p48                                                    
dev-java/java-config: 1.3.7, 2.1.6-r1                                           
dev-lang/python:     2.4.4-r15, 2.5.2-r8                                        
dev-python/pycrypto: 2.0.1-r6                                                   
dev-util/cmake:      2.6.2                                                      
sys-apps/baselayout: 2.0.0                                                      
sys-apps/openrc:     0.3.0-r1                                                   
sys-apps/sandbox:    1.2.18.1-r3                                                
sys-devel/autoconf:  2.13, 2.63                                                 
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                  
sys-devel/binutils:  2.19                                                       
sys-devel/gcc-config: 1.4.0-r4                                                  
sys-devel/libtool:   2.2.6a                                                     
virtual/os-headers:  2.6.27-r2                                                  
ACCEPT_KEYWORDS="x86 ~x86"                                                      
CBUILD="i686-pc-linux-gnu"                                                      
CFLAGS="-march=i686 -O2 -pipe -ggdb"                                            
CHOST="i686-pc-linux-gnu"                                                       
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"                                                        
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"                                              
CXXFLAGS="-march=i686 -O2 -pipe -ggdb"                                          
DISTDIR="/usr/portage/distfiles"                                                
FEATURES="distlocks parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                                              
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"                                                           
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi aiglx alsa apache2 apm arts ati audiofile avahi avi bash-completion berkdb bitmap-fonts bluetooth branding bzip2 cairo caps cardbus cdr cli cracklib crypt ctype cups dba dbtool dbus digitalradio diskio djvu dri dts dvd dvdr dvdread eds emboss encode esd ethereal evo exif expat fam fastbuild ffmpeg fftw fglrx firefox foomaticdb force-cgi-redirect fortran ftp fuse gamin gd gdbm gif glib glitz glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal iconv idn imlib ipv6 isdnlog ithreads jack java jpeg kde kerberos kqemu lcms ldap libclamav libg++ libnotify libwww lirc live lm_sensors lua mad madwifi matroska mdnsresponder-compat memlimit mhash midi mikmod mmx mmxext mng mono motif mozilla mp3 mpeg mudflap mysql ncurses netboot netjack networking nforce2 nls nptl nptlonly nvidia ocaml ogg oggvorbis opengl openmp oss pam pango pch pcmcia pcre pdf pdflib pear perl php pmu png portaudio posix ppds pppd pulseaudio python qt qt3 qt3support qt4 qtmt quicktime readline reflection ruby samba sasl sdl session simplexml slang sndfile snmp soap sockets spell spl sqlite sse sse2 ssl startup-notification svg sysfs tcl tcltk tcpd theora threads threadsafe tiff tk tokenizer truetype truetype-fonts type1-fonts udev unicode usb utempter vorbis wifi win32codecs x86 xanim xinerama xml xmlrpc xorg xscreensaver xsl xulrunnerxv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcmalaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspalfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" FOO2ZJS_DEVICES="hp2600n" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon ati fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Martin 2008-11-24 23:42:00 UTC
First merge only gdl-2.24.0:

emerge -avO gdl

then gdl-python: 

emerge -avO gdl-python

It works for me :)
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-11-25 01:58:08 UTC
me, too :)
gdl-python-2.19.1-r1 failed with dev-libs/gdl-0.7.11 but compiled fine with dev-libs/gdl-2.24.0
I guess the upgrade path is a bit broken as portage wanted to upgrade gdl-python before gdl and when I tried to update gdl first, it got blocked by gdl-python being too old.

Fixed summary, assigned to gnome herd, CCed python herd as well...
Comment 3 Andrew Gaydenko 2008-11-25 09:00:50 UTC
(In reply to comment #1)
> First merge only gdl-2.24.0:
> 
> emerge -avO gdl
> 
> then gdl-python: 
> 
> emerge -avO gdl-python
> 
> It works for me :)
> 

Have tried but got for gdl-python (~amd64):

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.5 -I/usr/include/libgdl-1.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pygtk-2.0 -O2 -march=core2 -mtune=core2 -pipe -Wall -fno-strict-aliasing -MT gdl.lo -MD -MP -MF .deps/gdl.Tpo -c gdl.c  -fPIC -DPIC -o .libs/gdl.o                                                                                                
gdl.override:9:27: error: gdl/gdl-icons.h: No such file or directory                                                                   
make[2]: *** [gdl.lo] Error 1                                                                                                          
make[2]: Leaving directory `/wrk/tmp/portage/portage/dev-python/gdl-python-2.19.1/work/gnome-python-extras-2.19.1/gdl'                 
make[1]: *** [all-recursive] Error 1  
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-11-25 13:09:22 UTC
I put the blocker in the wrong order, sorry for that, I'll fix that asap.
Comment 5 Andrew Gaydenko 2008-11-25 18:49:11 UTC
(In reply to comment #4)
> I put the blocker in the wrong order, sorry for that, I'll fix that asap.
> 

Blocking isn't the only problem: #3.
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-11-29 22:04:54 UTC
fixed by raising gdl dep, without a bump. Please reopen if this is still causing problems.
Comment 7 Jonathan Hayward 2009-05-04 14:00:48 UTC
(In reply to comment #6)
> fixed by raising gdl dep, without a bump. Please reopen if this is still
> causing problems.
> 

I don't have sufficient privilege to reopen this bug, but I'm having the same problem as #3. I unmerged gdl and gdl-python, then ran emerge -av gdl, then emerge -av gdl-python, and got the same failure as #3.

Could this bug be reopened by someone with sufficient privilege?
Comment 8 Tim Bakker 2009-05-04 18:44:59 UTC
I experienced exactly the same error as #3 while updating my system. Due to a blocked package I followed the same procedure as #7.
Comment 9 Pantelis Evgenidis 2009-05-06 08:59:14 UTC
(In reply to comment #8)
> I experienced exactly the same error as #3 while updating my system. Due to a
> blocked package I followed the same procedure as #7.
> 

At first I had the same problem but it was due to the fact that gdl-python-2.19.1-r1 was masked by ~x86, so I was actually emerging gdl-pyhton-2.19.1. After unmasking gdl-python the emerge went through perfectly.

Comment 10 Tim Bakker 2009-05-06 09:08:27 UTC
Doh, I didn't saw that update. 
Thank you for posting your solution.