Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266639 - dev-python/pygobject-2.16.1 Fails Tests
Summary: dev-python/pygobject-2.16.1 Fails Tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-18 10:49 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2009-06-28 21:49 UTC (History)
2 users (show)

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


Attachments
ebuild's patch (pyobject.ebuild.patch,521 bytes, patch)
2009-05-02 16:28 UTC, Olivier Huber
Details | Diff
upstream patch #1 (remove-ltihooks.patch,6.94 KB, patch)
2009-05-02 16:30 UTC, Olivier Huber
Details | Diff
upstream patch #2 (fix-occasional-build-failures.patch,1.47 KB, patch)
2009-05-02 16:31 UTC, Olivier Huber
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2009-04-18 10:49:37 UTC
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/tmp/portage/dev-python/pygobject-2.16.1/work/pygobject-2.16.1/examples'
Making check in tests
make[1]: Entering directory `/tmp/portage/dev-python/pygobject-2.16.1/work/pygobject-2.16.1/tests'
make  check-local
make[2]: Entering directory `/tmp/portage/dev-python/pygobject-2.16.1/work/pygobject-2.16.1/tests'
testhelper could not be imported: could not import gobject (error was: 'import_module() takes at most 5 arguments (6 given)')
make[2]: *** [check-local] Error 1
make[2]: Leaving directory `/tmp/portage/dev-python/pygobject-2.16.1/work/pygobject-2.16.1/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/tmp/portage/dev-python/pygobject-2.16.1/work/pygobject-2.16.1/tests'
make: *** [check-recursive] Error 1

Portage 2.1.6.11 (default/linux/amd64/2008.0, gcc-4.4.0-alpha20090320, glibc-2.9_p20081201-r2, 2.6.29-gentoo x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-2.0.0
Timestamp of tree: Sat, 18 Apr 2009 09:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p17-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r15, 2.5.4-r2, 2.6.1-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1

ENV Flags from paludis --info 
=======
ACCEPT_KEYWORDS=amd64
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-march=native -mtune=native -O2 -pipe --param l2-cache-size=3040 -mfpmath=sse -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msahf
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT= 
CONFIG_PROTECT_MASK= 
CPPFLAGS=
CTARGET=
CXXFLAGS=-march=native -mtune=native -O2 -pipe --param l2-cache-size=3040 -mfpmath=sse -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msahf
DISTDIR=/usr/portage/distfiles
FEATURES=strict sfperms
FFLAGS=
GENTOO_MIRRORS=
INSTALL_MASK=
LANG=
LC_ALL=C
LDFLAGS=-Wl,-O1 -Wl,-z,combreloc -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=both
LINGUAS=en en_GB en_NZ en_US
MAKEOPTS=-j3
PORTAGE_COMPRESS=
PORTAGE_COMPRESS_FLAGS=
PORTAGE_CONFIGROOT=
PORTAGE_RSYNC_EXTRA_OPTS=
PORTAGE_RSYNC_OPTS=
PORTAGE_TMPDIR=/tmp/portage
PORTDIR=/usr/portage
PORTDIR_OVERLAY=
SYNC=
USE=X amd64 elibc_glibc amd64

paludis --info 
===

paludis 0.36.0
Paludis build information:
    Compiler:
        CXX:                   x86_64-pc-linux-gnu-g++ 4.4.0-alpha20090313  (experimental)
        CXXFLAGS:               -march=native -mtune=native -O2 -pipe --param l2-cache-size=3040 -mfpmath=sse -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msahf -pedantic
        LDFLAGS:               -Wl,-O1 -Wl,-z,combreloc -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=both
        DATE:                  2009-03-24T01:17:05+1300

    Libraries:
        C++ Library:           GNU libstdc++ 

    Reduced Privs:
        reduced_uid:           250
        reduced_uid->name:     portage
        reduced_uid->dir:      /var/tmp/portage
        reduced_gid:           250
        reduced_gid->name:     portage

    Paths:
        DATADIR:               /usr/share
        LIBDIR:                /usr/lib64
        LIBEXECDIR:            /usr/libexec
        SYSCONFDIR:            /etc
        PYTHONINSTALLDIR:      
        RUBYINSTALLDIR:        /usr/lib64/ruby/site_ruby/1.8/x86_64-linux
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-04-18 11:30:57 UTC
this is a python-2.6 related problem, see upstream bug.
Comment 2 Olivier Huber 2009-05-02 16:26:01 UTC
(In reply to comment #1)
> this is a python-2.6 related problem, see upstream bug.
> 

I've pick up some patches from upstream, but there are still some errors.
According to the upstream bug, this issue seems serious

.......................................................F.............F.....E...........................................................................
======================================================================
ERROR: testQueryWritableNamespaces (test_gio.TestFile)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "../tests/test_gio.py", line 358, in testQueryWritableNamespaces
    for info in infolist:
TypeError: 'NoneType' object is not iterable

======================================================================
FAIL: testSimple (test_gio.TestAppInfo)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "../tests/test_gio.py", line 783, in testSimple
    "Custom definition for does-not-exist")
AssertionError: 'D\xc3\xa9finition personnalis\xc3\xa9e pour does-not-exist' != 'Custom definition for does-not-exist'

======================================================================
FAIL: testInfoList (test_gio.TestFile)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "../tests/test_gio.py", line 354, in testInfoList
    gio.FILE_ATTRIBUTE_INFO_COPY_WHEN_MOVED)
AssertionError: <flags G_FILE_ATTRIBUTE_INFO_COPY_WITH_FILE | G_FILE_ATTRIBUTE_INFO_COPY_WHEN_MOVED of type GFileAttributeInfoFlags> != <flags G_FILE_ATTRIBUTE_INFO_COPY_WHEN_MOVED
 of type GFileAttributeInfoFlags>

----------------------------------------------------------------------
Ran 151 tests in 1.775s

FAILED (failures=2, errors=1)

emerge --info :
Portage 2.2_rc31 (default/linux/amd64/2008.0/developer, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29-gentoo x86_64)
=================================================================                                               
System uname: Linux-2.6.29-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.0.0           
Timestamp of tree: Sat, 02 May 2009 00:15:01 +0000                                                              
distcc 3.1 x86_64-pc-linux-gnu [disabled]                                                                       
ccache version 2.4 [enabled]                                                                                    
app-shells/bash:     4.0_p17-r1                                                                                 
dev-java/java-config: 1.3.7-r1, 2.1.7                                                                           
dev-lang/python:     2.5.2-r7, 2.6.2                                                                            
dev-util/ccache:     2.4-r8                                                                                     
dev-util/cmake:      2.6.3-r1                                                                                   
sys-apps/baselayout: 2.0.0                                                                                      
sys-apps/openrc:     0.4.3-r2                                                                                   
sys-apps/sandbox:    1.9                                                                                        
sys-devel/autoconf:  2.13, 2.63-r1                                                                              
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                                  
sys-devel/binutils:  2.18-r3, 2.19, 2.19.1-r1                                                                   
sys-devel/gcc-config: 1.4.1                                                                                     
sys-devel/libtool:   2.2.6a                                                                                     
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -g -mssse3 -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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 /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe -g -mssse3 -msse4.1"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect cvs distlocks fixpackages multilib-strict parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test unmerge-orphansuserfetch usersandbox"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://gentoo.modulix.net/gentoo"
LANG="fr_FR.utf-8"
LC_ALL="fr_FR.utf-8"
LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common"
LINGUAS="fr"
MAKEOPTS="-j3"
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"
PORTDIR_OVERLAY="/usr/local/overlays/science /usr/local/overlays/x11 /usr/local/overlays/openmoko-overlay/openmoko-target /usr/local/overlays/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi adns alsa amd64 amrnb amrwb ares ass bash-completion berkdb bluetooth bzip2 cairo caps cblas cdaudio cdda cddb cdio cdparanoia cdr cli cracklib crypt cups curl custom-cxxflags cvs daap dbus dia dirac djvu dri dts dv dvb dvd dvdnav dvdr dvdread eds emboss encode esd evo exif expat extra fam fbcondecor ffmpeg fftw firefox flac fontconfig fontforge fortran ftp gcrypt gd gdbm gif glitz gmp gnutls gpgme gpm graphics graphviz gsm gstreamer gtk hal hdri humanities iconv id3tag idn imagemagick imap iproute2 ipv6 isdnlog jack jadetex jpeg jpeg2k kde kpathsea kqemu lame lapack laptop lash latex ldap libass libgcrypt libnotify libsamplerate libusb-0 libv4l2 live lua mad mailwrapper matroska mbox messenger midi mikmod mktemp mmx mng modplug mp3 mp4 mpeg mtp mudflap multilib multislot multitarget musepack music mysql ncurses nemesi nls nptl nptlonly nsplugin nss ntp ogg omegaopenexr opengl openmp pam pango passwdqc pch pcre pdf perl phonon pkcs11 plotutils png pop postgres postscript ppds pppd pstricks publishers pulseaudio python qt3 qt3support qt4 quicktime rar readline reflection rnca rtsp ruby sasl schroedinger science sdl sdl-image sensord session shout sidebar smi smime sms smtp sndfile snmp speex spell spl sqlite sqlite3sse sse2 ssh ssl ssse3 startup-notification stream subversion svg sysfs taglib tcpd teletext tga theora threads tiff tools truetype unicode upnp usb utils v4l v4l2 vcd vcdinfo vcdx vim-syntax vorbis wavpack webdav webkit wifi wmf x264 xcb xcomposite xine xml xorg xosd xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asymcopy 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 evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="vesa intel v4l fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Olivier Huber 2009-05-02 16:28:59 UTC
Created attachment 190141 [details, diff]
ebuild's patch
Comment 4 Olivier Huber 2009-05-02 16:30:55 UTC
Created attachment 190142 [details, diff]
upstream patch #1

adapted from upstream (I just undo a change concerning the FSF address, so it can apply to the version in the tree)
Comment 5 Olivier Huber 2009-05-02 16:31:50 UTC
Created attachment 190143 [details, diff]
upstream patch #2
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-06-28 21:49:44 UTC
2.18 is now in tree and passes tests just fine. Closing.