Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348997 - dev-python/twisted-web-10.1.0 test fails due to broken dev-python/twisted
Summary: dev-python/twisted-web-10.1.0 test fails due to broken dev-python/twisted
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-18 08:05 UTC by mehrunes
Modified: 2010-12-28 15:10 UTC (History)
0 users

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


Attachments
failed emerge log (dev-python:twisted-web-10.1.0:20101218-075548.log,15.49 KB, text/plain)
2010-12-18 08:06 UTC, mehrunes
Details
build.log with test failures (build.log,92.77 KB, text/plain)
2010-12-22 22:05 UTC, Thomas Kahle (RETIRED)
Details
build log asked in post no. 9 (dev-python:twisted-10.1.0:20101224-041633.log,1.18 MB, text/plain)
2010-12-24 04:25 UTC, mehrunes
Details
failed twisted0web emerge log (28dec.log,93.06 KB, text/plain)
2010-12-28 15:10 UTC, mehrunes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mehrunes 2010-12-18 08:05:18 UTC
error message is 

running install_egg_info
Writing /tmp/portage/dev-python/twisted-web-10.1.0/temp/usr/lib64/python2.6/site-packages/Twisted_Web-10.1.0-py2.6.egg-info
'/usr/bin/trial-2.6' does not exist
 * ERROR: dev-python/twisted-web-10.1.0 failed:
 *   Testing failed with CPython 2.6 in testing() function
 * 
 * Call stack:
 *     ebuild.sh, line    56:  Called src_test
 *   environment, line 10636:  Called twisted_src_test
 *   environment, line 11088:  Called python_execute_function 'testing'
 *   environment, line  9328:  Called die


Reproducible: Always

Steps to Reproduce:
1. FEATURES=test emerge dev-python/twisted-web
2.
3.

Actual Results:  
emerge failure

Expected Results:  
emerge success

I wonder what is /usr/bin/trial-2.6 and which package installs it?

emerge --info follows

Portage 2.1.9.24 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r3, 2.6.34-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r6-x86_64-AMD_Phenom-tm-_II_X4_940_Processor-with-gentoo-1.12.11.1
Timestamp of tree: Sat, 18 Dec 2010 00:00:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.10
dev-lang/python:     2.4.6, 2.5.4-r4, 2.6.4-r99::sage-on-gentoo
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11.1
sys-devel/binutils:  2.18-r3, 2.20.1-r1
sys-devel/gcc:       3.4.6-r2, 4.1.2, 4.3.2-r3, 4.4.3-r2, 4.4.4-r2
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=native -pipe -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -foptimize-sibling-calls -fprefetch-loop-arrays -mfpmath=sse,387"
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/fonts/fonts.conf /etc/gconf /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="-O3 -march=native -pipe -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -foptimize-sibling-calls -fprefetch-loop-arrays -mfpmath=sse,387"
DISTDIR="/usr/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans"
GENTOO_MIRRORS="ftp://gentoo.bloodhost.ru/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB"
MAKEOPTS="--jobs --load-average=3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
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="/tmp/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/sage-on-gentoo /usr/local/portage/layman/oss-overlay /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7z 7zip X a52 aac acpi alsa amd64 asf bdf berkdb branding bzip2 cairo cdr cli consolekit crypt cxx dbus djbfft doc dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gmp gpm gstreamer gtk iconv jadetex jpeg latex lcms libnotify lzma mad mathextra mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib multislot ncurses nptl nptlonly objc objc++ ogg opengl openmp pam pango pcre pdf perl png ppds pppd pulseaudio python qt3support qt4 readline sdl session sndfile source spell sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb utf vorbis wavpack wma x264 xcb xml xorg xulrunner xv xvid xvmc 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 mehrunes 2010-12-18 08:06:37 UTC
Created attachment 257478 [details]
failed emerge log
Comment 2 Dustin Polke 2010-12-18 15:43:56 UTC
(In reply to comment #0)
> I wonder what is /usr/bin/trial-2.6 and which package installs it?
/usr/bin/trial belongs to dev-python/twisted, though it is not versioned on my box.
Could you check for /usr/bin/trial on yours?
Comment 3 mehrunes 2010-12-18 19:42:59 UTC
> > I wonder what is /usr/bin/trial-2.6 and which package installs it?
> /usr/bin/trial belongs to dev-python/twisted, though it is not versioned on my
> box.
> Could you check for /usr/bin/trial on yours?
> 

dev-python/twisted-10.1.0

and no more files /usr/bin/trial*

Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-12-22 21:57:41 UTC
Your dev-python/twisted is broken. Reinstall it.
Comment 5 Thomas Kahle (RETIRED) gentoo-dev 2010-12-22 22:05:06 UTC
Created attachment 257799 [details]
build.log with test failures

Here is the real test failures
Comment 6 Thomas Kahle (RETIRED) gentoo-dev 2010-12-22 22:05:33 UTC
Test really fail with working twisted.
Comment 7 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-12-22 22:35:29 UTC
(In reply to comment #5)

Do you run tests with root permissions?
Comment 8 mehrunes 2010-12-23 17:00:53 UTC
(In reply to comment #4)
> Your dev-python/twisted is broken. Reinstall it.
> 

reinstalled. Still no file /usr/bin/trial-*

List of files in /usr/bin belonging to dev-python/twisted-10.1.0:

/usr/bin/manhole
/usr/bin/mktap
/usr/bin/pyhtmlizer
/usr/bin/tap2deb
/usr/bin/tap2rpm
/usr/bin/tapconvert
/usr/bin/trial
/usr/bin/twistd

Now what?
Comment 9 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-12-23 17:08:00 UTC
(In reply to comment #8)

Do you use a modified version of distutils.eclass?
Also attach build log of dev-python/twisted with -d / --debug option.
Comment 10 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-12-23 22:50:00 UTC
(In reply to comment #5)

Anyway please don't hijack bugs. FEATURES="userpriv usersandbox" will avoid your problem. You might file a separate bug if you want.
Comment 11 mehrunes 2010-12-24 04:25:32 UTC
Created attachment 257921 [details]
build log asked in post no. 9

(in reply to post no. 9)

I did not modify the eclass. It synces automatically every night at 3.00

/ $ locate distutils.eclass
/usr/portage/eclass/distutils.eclass
/ $ ls -l /usr/portage/eclass/distutils.eclass
-rw-r--r-- 1 root root 16250 2010-12-13 16:39 /usr/portage/eclass/distutils.eclass
/ $ md5sum  /usr/portage/eclass/distutils.eclass
ae7c1e59722b73050d79c39e24fef559  /usr/portage/eclass/distutils.eclass
Comment 12 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-12-27 15:36:11 UTC
distutils_src_install() now uses more reliable python_merge_intermediate_installation_images(), so there shouldn't be any problems even on so misconfigured systems. Please reinstall dev-python/twisted.
Comment 13 mehrunes 2010-12-28 15:10:19 UTC
Created attachment 258262 [details]
failed twisted0web emerge log

(In reply to comment #12)

> problems even on so misconfigured systems. Please reinstall dev-python/twisted.
> 

good news: now I have /usr/bin/trial-2.6

bad news: twisted-web test still fails, with error: 

twisted.trial.unittest.FailTest


I will look for relevant bug-report and open new bug if don't find one