Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 455238

Summary: media-libs/vigra-1.7.1-r1 failed (compile phase): ImportError: No module named nose
Product: Gentoo Linux Reporter: Igor Franchuk <lanthruster>
Component: [OLD] LibraryAssignee: Printing Team <printing>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: ssuominen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Vigra build log

Description Igor Franchuk 2013-02-03 07:55:14 UTC
Emerging vigra fails

Reproducible: Couldn't Reproduce

Steps to Reproduce:
1. emerge vigra
2.
3.
Actual Results:  
make: *** [all] Error 2
 [31;01m*[0m ERROR: media-libs/vigra-1.7.1-r1 failed (compile phase):
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=media-libs/vigra-1.7.1-r1'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=media-libs/vigra-1.7.1-r1'`.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/media-libs/vigra-1.7.1-r1/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/media-libs/vigra-1.7.1-r1/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/media-libs/vigra-1.7.1-r1/work/vigra-1.7.1'
 [31;01m*[0m S: '/var/tmp/portage/media-libs/vigra-1.7.1-r1/work/vigra-1.7.1'
Comment 1 Igor Franchuk 2013-02-03 07:56:12 UTC
Created attachment 337750 [details]
Vigra build log
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-02-04 10:31:14 UTC
Can you provide the output of `emerge --info` as well?
Comment 3 Igor Franchuk 2013-02-05 01:00:18 UTC
(In reply to comment #2)
> Can you provide the output of `emerge --info` as well?

Sure. Vigra can be built without -python. This is the default option with the recent portage. May be that's why you can't reproduce the problem. Whatever I did I couldn't compile vigra with either of:

[1]   python2.7
[2]   python3.1
[3]   python3.2 *


Portage 2.1.11.31 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.4, glibc-2.15-r3, 2.6.39-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-r3-x86_64-Intel-R-_Xeon-TM-_CPU_2.80GHz-with-gentoo-2.0.3
Timestamp of tree: Mon, 04 Feb 2013 23:15:01 +0000
ld GNU ld (GNU Binutils) 2.20.1.20100303
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r2, 3.1.3-r1, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6
ys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5, 4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: bleeding-edge crg gentoo-zh sabayon sunrise luman gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"                                                                                                                 
LANG="en_US.UTF-8"                                                                                                                                           
LDFLAGS="-Wl,-O1 -Wl,--as-needed"                                                                                                                            
MAKEOPTS="-j5"                                                                                                                                               
PKGDIR="/usr/portage/packages"                                                                                                                               
PORTAGE_CONFIGROOT="/"                                                                                                                                       
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                                                                                                           
PORTAGE_TMPDIR="/var/tmp"                                                                                                                                    
PORTDIR="/usr/portage"                                                                                                                                       
PORTDIR_OVERLAY="/var/lib/layman/bleeding-edge /var/lib/layman/crg /var/lib/layman/gentoo-zh /var/lib/layman/sabayon /var/lib/layman/sunrise /var/lib/layman/luman /usr/portage"                                                                                                                                          
SYNC="rsync://rsync2.ru.gentoo.org/gentoo-portage"                                                                                                           
USE="X a52 aac acl acpi alsa amd64 apache2 berkdb bluetooth branding bzip2 cairo cdda cdr cgi chrome cli consolekit cracklib crypt ctype cups curl cxx dbus declarative dri dts dvd dvdr emboss encode exif fam fastcgi ffmpeg firefox flac fortran gd gdbm gif gpm gtk hal handbook hpcups iconv icu id3tag ipv6 jpeg kde kipi lcms ldap libnotify lirc mad mailwrapper melt mikmod mmx mng modules mp3 mp4 mpeg mpm-event mudflap multilib mysql mysqli ncurses nls nptl nvidia ogg opengl openmp opera pam pango pcre pdf perl phonon php plasma png policykit ppds python qt3support qt4 readline samba sdl semantic-desktop session sftp snmp spell sse sse2 ssl startup-notification suexec svg symlink tcpd threads tiff truetype udev udisks unicode upower usb video vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xsl xulrunner xv xvid xvmc zlib" ABI_X86="64" 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="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB ru" LIRC_DEVICES="devinput" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2013-04-12 08:17:14 UTC
Try >=media-libs/vigra-1.8.0-r1 which has been converted to the new python-*-r1.eclass

The dev-python/nose dependency should be correct and pulled in by FEATURES="test" when required

Please reopen this bug once done, and if it still fails, please attach new build.log from 1.8.0-r1 or above