Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 316739 - dev-python/twisted-10.0.0 fails tests on prefix
Summary: dev-python/twisted-10.0.0 fails tests on prefix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-23 00:11 UTC by Dan Wallis
Modified: 2010-04-23 08:48 UTC (History)
0 users

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


Attachments
Patch for twisted-10.0.0.ebuild prefix compaitbility (twisted-10.0.0.ebuild.patch,904 bytes, patch)
2010-04-23 00:37 UTC, Dan Wallis
Details | Diff
Patch for twisted-10.0.0.ebuild prefix compaitbility (twisted-10.0.0.ebuild.patch,908 bytes, patch)
2010-04-23 00:41 UTC, Dan Wallis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Wallis 2010-04-23 00:11:29 UTC
Fails its tests, but looks like it's different to bug 305285.

Reproducible: always.

Builds fine with FEATURES=-tests


$ emerge -1 twisted
[...]
creating /home/dan/.gentoo/var/tmp/portage/dev-python/twisted-10.0.0/temp/tests/home/dan/.gentoo/usr/lib/python2.6/site-packages/twisted/python/zsh
copying ./twisted/python/zsh/_pyhtmlizer -> /home/dan/.gentoo/var/tmp/portage/dev-python/twisted-10.0.0/temp/tests/home/dan/.gentoo/usr/lib/python2.6/site-packages/./twisted/python/zsh
copying ./twisted/python/zsh/_tap2deb -> /home/dan/.gentoo/var/tmp/portage/dev-python/twisted-10.0.0/temp/tests/home/dan/.gentoo/usr/lib/python2.6/site-packages/./twisted/python/zsh
copying ./twisted/python/zsh/_twistd -> /home/dan/.gentoo/var/tmp/portage/dev-python/twisted-10.0.0/temp/tests/home/dan/.gentoo/usr/lib/python2.6/site-packages/./twisted/python/zsh
copying ./twisted/python/zsh/_mktap -> /home/dan/.gentoo/var/tmp/portage/dev-python/twisted-10.0.0/temp/tests/home/dan/.gentoo/usr/lib/python2.6/site-packages/./twisted/python/zsh
copying ./twisted/python/zsh/_conch -> /home/dan/.gentoo/var/tmp/portage/dev-python/twisted-10.0.0/temp/tests/home/dan/.gentoo/usr/lib/python2.6/site-packages/./twisted/python/zsh
copying ./twisted/python/zsh/_tkconch -> /home/dan/.gentoo/var/tmp/portage/dev-python/twisted-10.0.0/temp/tests/home/dan/.gentoo/usr/lib/python2.6/site-packages/./twisted/python/zsh
copying ./twisted/python/zsh/_trial -> /home/dan/.gentoo/var/tmp/portage/dev-python/twisted-10.0.0/temp/tests/home/dan/.gentoo/usr/lib/python2.6/site-packages/./twisted/python/zsh
copying ./twisted/python/zsh/_websetroot -> /home/dan/.gentoo/var/tmp/portage/dev-python/twisted-10.0.0/temp/tests/home/dan/.gentoo/usr/lib/python2.6/site-packages/./twisted/python/zsh
copying ./twisted/python/zsh/_tap2rpm -> /home/dan/.gentoo/var/tmp/portage/dev-python/twisted-10.0.0/temp/tests/home/dan/.gentoo/usr/lib/python2.6/site-packages/./twisted/python/zsh
copying ./twisted/python/zsh/_tkmktap -> /home/dan/.gentoo/var/tmp/portage/dev-python/twisted-10.0.0/temp/tests/home/dan/.gentoo/usr/lib/python2.6/site-packages/./twisted/python/zsh
copying ./twisted/python/zsh/_cftp -> /home/dan/.gentoo/var/tmp/portage/dev-python/twisted-10.0.0/temp/tests/home/dan/.gentoo/usr/lib/python2.6/site-packages/./twisted/python/zsh
copying ./twisted/python/zsh/_lore -> /home/dan/.gentoo/var/tmp/portage/dev-python/twisted-10.0.0/temp/tests/home/dan/.gentoo/usr/lib/python2.6/site-packages/./twisted/python/zsh
copying ./twisted/python/zsh/_manhole -> /home/dan/.gentoo/var/tmp/portage/dev-python/twisted-10.0.0/temp/tests/home/dan/.gentoo/usr/lib/python2.6/site-packages/./twisted/python/zsh
copying ./twisted/python/zsh/README -> /home/dan/.gentoo/var/tmp/portage/dev-python/twisted-10.0.0/temp/tests/home/dan/.gentoo/usr/lib/python2.6/site-packages/./twisted/python/zsh
copying ./twisted/python/zsh/_tapconvert -> /home/dan/.gentoo/var/tmp/portage/dev-python/twisted-10.0.0/temp/tests/home/dan/.gentoo/usr/lib/python2.6/site-packages/./twisted/python/zsh
copying ./twisted/python/zsh/_ckeygen -> /home/dan/.gentoo/var/tmp/portage/dev-python/twisted-10.0.0/temp/tests/home/dan/.gentoo/usr/lib/python2.6/site-packages/./twisted/python/zsh
running install_egg_info
Writing /home/dan/.gentoo/var/tmp/portage/dev-python/twisted-10.0.0/temp/tests/home/dan/.gentoo/usr/lib/python2.6/site-packages/Twisted_Core-10.0.0-py2.6.egg-info
/home/dan/.gentoo/var/tmp/portage/dev-python/twisted-10.0.0/temp/environment: line 4715: pushd: /home/dan/.gentoo/var/tmp/portage/dev-python/twisted-10.0.0/temp/tests/usr/lib/python2.6/site-packages: No such file or directory
 * ERROR: dev-python/twisted-10.0.0 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called call-ebuildshell 'src_test'
 *   environment, line  823:  Called src_test
 *   environment, line 4730:  Called python_execute_function 'testing'
 *   environment, line 3494:  Called testing
 *   environment, line 4715:  Called die
 * The specific snippet of code:
 *           pushd "${T}/tests$(python_get_sitedir)" > /dev/null || die;
 * 
 * If you need support, post the output of 'emerge --info =dev-python/twisted-10.0.0',
 * the complete build log and the output of 'emerge -pqv =dev-python/twisted-10.0.0'.
 * The complete build log is located at '/home/dan/.gentoo/var/tmp/portage/dev-python/twisted-10.0.0/temp/build.log'.
 * The ebuild environment file is located at '/home/dan/.gentoo/var/tmp/portage/dev-python/twisted-10.0.0/temp/environment'.
 * S: '/home/dan/.gentoo/var/tmp/portage/dev-python/twisted-10.0.0/work/TwistedCore-10.0.0'

>>> Failed to emerge dev-python/twisted-10.0.0, Log file:

>>>  '/home/dan/.gentoo/var/tmp/portage/dev-python/twisted-10.0.0/temp/build.log'





$ emerge -pqv =dev-python/twisted-10.0.0 
[ebuild   R   ] dev-python/twisted-10.0.0  USE="crypt gtk -serial" 

$ emerge --info =dev-python/twisted-10.0.0
Portage 2.2.00.15842-prefix (prefix/linux/x86, gcc-4.2.4, unavailable, 2.6.26-2-686 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.26-2-686-i686-AMD_Athlon-tm-_64_Processor_3500+-with-debian-5.0.4
Timestamp of tree: Thu, 22 Apr 2010 23:08:08 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r1
dev-util/ccache:     2.4-r8
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.10.2-r00.1, 1.11.1
sys-devel/binutils:  2.20.51.0.6
sys-devel/gcc:       4.2.4-r01.2, 4.4.3
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="~x86-linux"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/home/dan/.gentoo/usr/portage/distfiles"
FEATURES="assume-digests ccache collision-protect distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict stricter test unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_NZ.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB"
PKGDIR="/home/dan/.gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/home/dan/.gentoo/"
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="/home/dan/.gentoo/var/tmp"
PORTDIR="/home/dan/.gentoo/usr/portage"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="X bash-completion berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm gpg gtk iconv imap ipv6 lightning modules mudflap ncurses nls nptl nptlonly openmp pcre perl pppd prefix python readline reflection secure-delete session spl ssl sysfs tcpd unicode vim-pager vim-syntax vim-with-x x86 xorg 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="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" LINGUAS="en_GB" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

=================================================================
                        Package Settings
=================================================================

dev-python/twisted-10.0.0 was built with the following:
USE="crypt gtk (prefix) -serial"
Comment 1 Dan Wallis 2010-04-23 00:25:23 UTC
Looks like we might need to have an ET variable to compliment T. Similar to D and ED or ROOT and EROOT.
Comment 2 Dan Wallis 2010-04-23 00:37:24 UTC
Created attachment 228829 [details, diff]
Patch for twisted-10.0.0.ebuild prefix compaitbility

Actually, scrap that ET stuff. This patch fixes the problem for me.
Comment 3 Dan Wallis 2010-04-23 00:41:10 UTC
Created attachment 228831 [details, diff]
Patch for twisted-10.0.0.ebuild prefix compaitbility

Oops, lets try that in a more standards-conformant way. :)
Comment 4 Fabian Groffen gentoo-dev 2010-04-23 08:07:14 UTC
that is the correct fix indeed
Comment 5 Fabian Groffen gentoo-dev 2010-04-23 08:48:21 UTC
fixed, thanks