Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285688 - dev-python/pycairo-1.8.8 fails tests
Summary: dev-python/pycairo-1.8.8 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-20 13:26 UTC by Patrick Lauer
Modified: 2009-10-07 18:00 UTC (History)
0 users

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 Patrick Lauer gentoo-dev 2009-09-20 13:26:19 UTC
>>> Compiling source in /var/tmp/portage/dev-python/pycairo-1.8.8/work/pycairo-1.8.8 ...                                                                                         
 * Building of dev-python/pycairo-1.8.8 with Python 2.6...                                                                                                                       
python2.6 setup.py build -b build-2.6                                                                                                                                            
cairo >= 1.8.8 detected                                                                                                                                                          
creating pycairo.pc                                                                                                                                                              
creating src/config.h                                                                                                                                                            
running build                                                                                                                                                                    
running build_ext                                                                                                                                                                
building 'cairo._cairo' extension                                                                                                                                                
creating build-2.6                                                                                                                                                               
creating build-2.6/temp.linux-x86_64-2.6                                                                                                                                         
creating build-2.6/temp.linux-x86_64-2.6/src                                                                                                                                     
x86_64-pc-linux-gnu-gcc -pthread -DNDEBUG -O2 -pipe -fPIC -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/python2.6 -c src/cairomodule.c -o build-2.6/temp.linux-x86_64-2.6/src/cairomodule.o                                                                                                          
x86_64-pc-linux-gnu-gcc -pthread -DNDEBUG -O2 -pipe -fPIC -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/python2.6 -c src/context.c -o build-2.6/temp.linux-x86_64-2.6/src/context.o                                                                                                                  
x86_64-pc-linux-gnu-gcc -pthread -DNDEBUG -O2 -pipe -fPIC -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/python2.6 -c src/font.c -o build-2.6/temp.linux-x86_64-2.6/src/font.o                                                                                                                        
x86_64-pc-linux-gnu-gcc -pthread -DNDEBUG -O2 -pipe -fPIC -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/python2.6 -c src/matrix.c -o build-2.6/temp.linux-x86_64-2.6/src/matrix.o                                                                                                                    
x86_64-pc-linux-gnu-gcc -pthread -DNDEBUG -O2 -pipe -fPIC -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/python2.6 -c src/path.c -o build-2.6/temp.linux-x86_64-2.6/src/path.o                                                                                                                        
x86_64-pc-linux-gnu-gcc -pthread -DNDEBUG -O2 -pipe -fPIC -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/python2.6 -c src/pattern.c -o build-2.6/temp.linux-x86_64-2.6/src/pattern.o                                                                                                                  
x86_64-pc-linux-gnu-gcc -pthread -DNDEBUG -O2 -pipe -fPIC -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/python2.6 -c src/surface.c -o build-2.6/temp.linux-x86_64-2.6/src/surface.o                                                                                                                  
creating build-2.6/lib.linux-x86_64-2.6                                                                                                                                           
creating build-2.6/lib.linux-x86_64-2.6/cairo                                                                                                                                     
x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -O2 -pipe build-2.6/temp.linux-x86_64-2.6/src/cairomodule.o build-2.6/temp.linux-x86_64-2.6/src/context.o build-2.6/temp.linux-x86_64-2.6/src/font.o build-2.6/temp.linux-x86_64-2.6/src/matrix.o build-2.6/temp.linux-x86_64-2.6/src/path.o build-2.6/temp.linux-x86_64-2.6/src/pattern.o build-2.6/temp.linux-x86_64-2.6/src/surface.o -L/usr/lib64 -lcairo -lpython2.6 -o build-2.6/lib.linux-x86_64-2.6/cairo/_cairo.so
>>> Source compiled.
 * Testing of dev-python/pycairo-1.8.8 with Python 2.6...
Traceback (most recent call last):
  File "spiral.py", line 5, in <module>
    import cairo
ImportError: No module named cairo
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "examples_test.py", line 20, in test_examples
AssertionError: Error: spiral.py retcode == 1
 *
 * ERROR: dev-python/pycairo-1.8.8 failed.


Portage 2.2_rc41 (default/linux/amd64/2008.0, gcc-4.4.1, glibc-2.10.1-r0, 2.6.30-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r1-x86_64-AMD_Phenom-tm-_9950_Quad-Core_Processor-with-gentoo-2.0.1
Timestamp of tree: Unknown
app-shells/bash:     4.0_p33
dev-lang/python:     2.6.2-r1, 3.1.1
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.10.2, 1.11
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.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/4.3/env /usr/kde/4.3/share/config /usr/kde/4.3/shutdown /usr/kde/4.4/env /usr/kde/4.4/share/config /usr/kde/4.4/shutdown /usr/kde/live/env /usr/kde/live/share/config /usr/kde/live/shutdown /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="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
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://localhost/gentoo-portage"
USE="X acl amd64 berkdb bzip2 cli cracklib crypt cups dri fortran gcj gdbm gpm iconv ipv6 isdnlog mmx mudflap multilib ncurses nls nptl nptlonly objc openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl sysfs tcpd unicode xorg 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-10-07 18:00:32 UTC
Fixed.