Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298984 - dev-python/pygtk-2.16.0-r1: Building failed with Python 2.6 & 3.1.1-r1
Summary: dev-python/pygtk-2.16.0-r1: Building failed with Python 2.6 & 3.1.1-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-30 14:27 UTC by Grzegorz Wójcicki
Modified: 2010-01-03 00:00 UTC (History)
0 users

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


Attachments
Full dev-python/pygtk-2.16.0-r1 build.log (build.log,84.21 KB, text/plain)
2010-01-02 06:35 UTC, Grzegorz Wójcicki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Grzegorz Wójcicki 2009-12-30 14:27:30 UTC
For last 2 weeks i am trying to emerge latest pygtk packet(2.16.0-r1).
No matter how i try to change some environment variables, play with other packets, rebuild dependencies (python-updater & revdep-rebuild) or even build with python 3.1.1-r1 it has no effect - build process crashes the same way.

the error:
________________________________________________________
Could not write function paper_size_new_from_key_file: No ArgType for GKeyFile*                                                                  
Could not write function print_settings_new_from_key_file: No ArgType for GKeyFile*                                                              
Could not write function rc_parse_color_full: No ArgType for GScanner*
(and about 300 lines more of those over)
                                                                           
Warning: Constructor for GtkAccessible needs to be updated to new API                                                                            
         See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors                                                                        
Warning: Constructor for GtkClipboard needs to be updated to new API                                                                             
         See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors                                                                        
Warning: Constructor for GtkItemFactory needs to be updated to new API                                                                           
         See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors                                                                        
Warning: Constructor for GtkPreview needs to be updated to new API                                                                               
         See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors                                                                        
Warning: Constructor for GtkListItem needs to be updated to new API                                                                              
         See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors                                                                        
Warning: Constructor for GtkCList needs to be updated to new API                                                                                 
         See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors                                                                        
Warning: Constructor for GtkCTree needs to be updated to new API                                                                                 
         See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors                                                                        
Warning: Constructor for GtkMessageDialog needs to be updated to new API                                                                         
         See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors                                                                        
Warning: Constructor for GtkRecentAction needs to be updated to new API                                                                          
         See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors                                                                        
***INFO*** The coverage of global functions is 88.67% (180/203)                                                                                  
***INFO*** The coverage of methods is 98.58% (2496/2532)                                                                                         
***INFO*** The coverage of virtual proxies is 94.67% (391/413)                                                                                   
***INFO*** The coverage of virtual accessors is 93.99% (469/499)                                                                                 
***INFO*** The coverage of interface proxies is 83.72% (72/86)                                                                                   
make[2]: Leaving directory `/var/tmp/portage/dev-python/pygtk-2.16.0-r1/work/pygtk-2.16.0-2.6/gtk'                                               
make[1]: *** [all-recursive] Error 1                                                                                                             
make[1]: Leaving directory `/var/tmp/portage/dev-python/pygtk-2.16.0-r1/work/pygtk-2.16.0-2.6'                                                   
make: *** [all] Error 2                                                                                                                          
 * ERROR: dev-python/pygtk-2.16.0-r1 failed:                                                                                                     
 *   Building failed with Python 2.6 in python_default_function() function                                                                       
 *                                                                                                                                               
 * Call stack:                                                                                                                                   
 *     ebuild.sh, line   54:  Called src_compile                                                                                                 
 *   environment, line 4219:  Called python_execute_function '-d' '-s'                                                                           
 *   environment, line 3571:  Called die                                                                                                         
 * The specific snippet of code:                                                                                                                 
 *                       die "${failure_message}";                                                                                               
 *                                                                                                                                               
 * If you need support, post the output of 'emerge --info =dev-python/pygtk-2.16.0-r1',                                                          
 * the complete build log and the output of 'emerge -pqv =dev-python/pygtk-2.16.0-r1'.                                                           
 * The complete build log is located at '/var/tmp/portage/dev-python/pygtk-2.16.0-r1/temp/build.log'.                                            
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/pygtk-2.16.0-r1/temp/environment'.                                     
 * S: '/var/tmp/portage/dev-python/pygtk-2.16.0-r1/work/pygtk-2.16.0'                                                                            

>>> Failed to emerge dev-python/pygtk-2.16.0-r1, Log file:

>>>  '/var/tmp/portage/dev-python/pygtk-2.16.0-r1/temp/build.log'

 * Messages for package dev-python/pygtk-2.16.0-r1:

 * ERROR: dev-python/pygtk-2.16.0-r1 failed:
 *   Building failed with Python 2.6 in python_default_function() function
 *                                                                        
 * Call stack:                                                            
 *     ebuild.sh, line   54:  Called src_compile                          
 *   environment, line 4219:  Called python_execute_function '-d' '-s'    
 *   environment, line 3571:  Called die                                  
 * The specific snippet of code:                                          
 *                       die "${failure_message}";                        
 *                                                                        
 * If you need support, post the output of 'emerge --info =dev-python/pygtk-2.16.0-r1',
 * the complete build log and the output of 'emerge -pqv =dev-python/pygtk-2.16.0-r1'. 
 * The complete build log is located at '/var/tmp/portage/dev-python/pygtk-2.16.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/pygtk-2.16.0-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-python/pygtk-2.16.0-r1/work/pygtk-2.16.0'                                       

 * IMPORTANT: 4 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.                         

I will be very glad if you could help me any way.
Best regards,
polish gentoo user

Reproducible: Always

Steps to Reproduce:
emerge =dev-python/pygtk-2.16.0-r1
Actual Results:  
 * ERROR: dev-python/pygtk-2.16.0-r1 failed:
 *   Building failed with Python 2.6 in python_default_function() function
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 4219:  Called python_execute_function '-d' '-s'
 *   environment, line 3571:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 *
 * If you need support, post the output of 'emerge --info =dev-python/pygtk-2.16.0-r1',
 * the complete build log and the output of 'emerge -pqv =dev-python/pygtk-2.16.0-r1'.
 * The complete build log is located at '/var/tmp/portage/dev-python/pygtk-2.16.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/pygtk-2.16.0-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-python/pygtk-2.16.0-r1/work/pygtk-2.16.0'

>>> Failed to emerge dev-python/pygtk-2.16.0-r1, Log file:

>>>  '/var/tmp/portage/dev-python/pygtk-2.16.0-r1/temp/build.log'

 * Messages for package dev-python/pygtk-2.16.0-r1:

 * ERROR: dev-python/pygtk-2.16.0-r1 failed:
 *   Building failed with Python 2.6 in python_default_function() function
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 4219:  Called python_execute_function '-d' '-s'
 *   environment, line 3571:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 *
 * If you need support, post the output of 'emerge --info =dev-python/pygtk-2.16.0-r1',
 * the complete build log and the output of 'emerge -pqv =dev-python/pygtk-2.16.0-r1'.
 * The complete build log is located at '/var/tmp/portage/dev-python/pygtk-2.16.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/pygtk-2.16.0-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-python/pygtk-2.16.0-r1/work/pygtk-2.16.0'

Expected Results:  
build properly & satisfy dependency for some other software.

here is my
#emerge --info:

Portage 2.1.7.16 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.30-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T5800_@_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 29 Dec 2009 12:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.5.4-r3, 2.6.4, 3.1.1-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.7.9-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirror.pw.edu.pl/ "
LDFLAGS="-Wl,-O1"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdio cdr cli consolekit cracklib crypt cups cxx dbus dedicated dri dts dvd dvdr eds emboss encode evo fam ffmpeg firefox flac fortran freetype gdbm gif gnutls gpm gstreamer gtk hal iconv irc java jpeg kde lame laptop ldap libnotify libsamplerate libwww live mad matroska midi mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsl nvidia ogg opengl openmp pam pcre pdf perl plasma png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl ssse3 startup-notification stream svg sysfs tcpd theora thunar tiff truetype unicode usb vcd vlm vorbis wavpack wma wxwindows x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

used on:
# cat /proc/cpuinfo
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 Duo CPU     T5800  @ 2.00GHz
Comment 1 Rafał Mużyło 2009-12-30 16:17:32 UTC
I think it may be a dupe (in a way)
of bug 298823.
Comment 2 Wormo (RETIRED) gentoo-dev 2010-01-01 19:46:54 UTC
The errors and warnings you mentioned are not supposed to be fatal, so please attach your full build log. 
Comment 3 Grzegorz Wójcicki 2010-01-02 06:35:31 UTC
Created attachment 214903 [details]
Full dev-python/pygtk-2.16.0-r1 build.log
Comment 4 Rafał Mużyło 2010-01-02 12:51:48 UTC
> libtool: link: `/usr/lib64/libGL.la' is not a valid libtool archive
read eselect-opengl post-install note
Comment 5 Wormo (RETIRED) gentoo-dev 2010-01-02 22:22:10 UTC
Good catch Rafał, that's the real problem. Time to run lafilefixer or revdep-rebuild as explained in the post-install message.
Comment 6 Grzegorz Wójcicki 2010-01-03 00:00:36 UTC
Problem fixed with dev-util/lafilefixer :-)
Some minor errors still appear, but it was built successfully.

I'm really sorry for my carelessness,
thank you guys!