Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302636 - net-analyzer/nmap-5.20: emerge fails - error: /var/tmp/portage/net-analyzer/nmap-5.20/image/usr/lib64/python2.6/site-packages/zenmapCore/UmitConfigParser.pyc: No such file or directory
Summary: net-analyzer/nmap-5.20: emerge fails - error: /var/tmp/portage/net-analyzer/n...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
: 302729 302832 302901 302983 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-01-28 14:09 UTC by Todd Walter
Modified: 2010-03-02 16:20 UTC (History)
20 users (show)

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


Attachments
Build Log (build.log,71.63 KB, text/plain)
2010-01-28 20:27 UTC, Todd Walter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Todd Walter 2010-01-28 14:09:02 UTC
When emerging nmap the process fails at install/zenmap portion.

Reproducible: Always

Steps to Reproduce:
1. emerge nmap (or USE="gtk" emerge nmap)
2. Fails on zenmap portion
3. profit?

Actual Results:  
>>> Test phase [not enabled]: net-analyzer/nmap-5.20

>>> Install nmap-5.20 into /var/tmp/portage/net-analyzer/nmap-5.20/image/ category net-analyzer
make -j3 DESTDIR=/var/tmp/portage/net-analyzer/nmap-5.20/image/ -j1 STRIP=: nmapdatadir=/usr/share/nmap install 
/usr/bin/install -c -d /var/tmp/portage/net-analyzer/nmap-5.20/image//usr/bin /var/tmp/portage/net-analyzer/nmap-5.20/image//usr/share/man/man1 /var/tmp/portage/net-analyzer/nmap-5.20/image//usr/share/nmap
/usr/bin/install -c -c -m 755 nmap /var/tmp/portage/net-analyzer/nmap-5.20/image//usr/bin/nmap
: -x /var/tmp/portage/net-analyzer/nmap-5.20/image//usr/bin/nmap
/usr/bin/install -c -c -m 644 docs/nmap.1 /var/tmp/portage/net-analyzer/nmap-5.20/image//usr/share/man/man1/
if [ "yes" = "yes" ]; then \
	  for ll in de es fr hr hu it jp pl pt_BR pt_PT ro ru sk zh; do \
	    /usr/bin/install -c -d /var/tmp/portage/net-analyzer/nmap-5.20/image//usr/share/man/$ll/man1; \
	    /usr/bin/install -c -c -m 644 docs/man-xlate/nmap-$ll.1 /var/tmp/portage/net-analyzer/nmap-5.20/image//usr/share/man/$ll/man1/nmap.1; \
	  done; \
	fi
/usr/bin/install -c -c -m 644 docs/nmap.xsl /var/tmp/portage/net-analyzer/nmap-5.20/image//usr/share/nmap/
/usr/bin/install -c -c -m 644 docs/nmap.dtd /var/tmp/portage/net-analyzer/nmap-5.20/image//usr/share/nmap/
/usr/bin/install -c -c -m 644 nmap-services /var/tmp/portage/net-analyzer/nmap-5.20/image//usr/share/nmap/
/usr/bin/install -c -c -m 644 nmap-rpc /var/tmp/portage/net-analyzer/nmap-5.20/image//usr/share/nmap/
/usr/bin/install -c -c -m 644 nmap-os-db /var/tmp/portage/net-analyzer/nmap-5.20/image//usr/share/nmap/
/usr/bin/install -c -c -m 644 nmap-service-probes /var/tmp/portage/net-analyzer/nmap-5.20/image//usr/share/nmap/
/usr/bin/install -c -c -m 644 nmap-protocols /var/tmp/portage/net-analyzer/nmap-5.20/image//usr/share/nmap/
/usr/bin/install -c -c -m 644 nmap-mac-prefixes /var/tmp/portage/net-analyzer/nmap-5.20/image//usr/share/nmap/
/usr/bin/install -c -d /var/tmp/portage/net-analyzer/nmap-5.20/image//usr/bin /var/tmp/portage/net-analyzer/nmap-5.20/image//usr/share/man/man1
cd zenmap && /usr/bin/python setup.py --quiet install --prefix "/usr" --force --root "/var/tmp/portage/net-analyzer/nmap-5.20/image/"
warning: build_py: byte-compiling is disabled, skipping.
warning: install_lib: byte-compiling is disabled, skipping.
 -
make: *** [install-zenmap] Error 1
 * ERROR: net-analyzer/nmap-5.20 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_install
 *   environment, line 2665:  Called die
 * The specific snippet of code:
 *       LC_ALL=C emake DESTDIR="${D}" -j1 STRIP=: nmapdatadir=/usr/share/nmap install || die;
 * 
 * If you need support, post the output of 'emerge --info =net-analyzer/nmap-5.20',
 * the complete build log and the output of 'emerge -pqv =net-analyzer/nmap-5.20'.
 * The complete build log is located at '/var/tmp/portage/net-analyzer/nmap-5.20/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/nmap-5.20/temp/environment'.
 * S: '/var/tmp/portage/net-analyzer/nmap-5.20/work/nmap-5.20'

>>> Failed to emerge net-analyzer/nmap-5.20, Log file:

>>>  '/var/tmp/portage/net-analyzer/nmap-5.20/temp/build.log'

 * Messages for package net-analyzer/nmap-5.20:

 * ERROR: net-analyzer/nmap-5.20 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_install
 *   environment, line 2665:  Called die
 * The specific snippet of code:
 *       LC_ALL=C emake DESTDIR="${D}" -j1 STRIP=: nmapdatadir=/usr/share/nmap install || die;
 * 
 * If you need support, post the output of 'emerge --info =net-analyzer/nmap-5.20',
 * the complete build log and the output of 'emerge -pqv =net-analyzer/nmap-5.20'.
 * The complete build log is located at '/var/tmp/portage/net-analyzer/nmap-5.20/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/nmap-5.20/temp/environment'.
 * S: '/var/tmp/portage/net-analyzer/nmap-5.20/work/nmap-5.20'


Expected Results:  
Successful emerge.

There are a couple of warnings about byte-compiling being disabled despite my not setting a preference one way or the other.  Is this a USE-flag change I missed?  Presumably this is a minor issue (not using zenmap should fix it.)

Portage 2.1.7.16 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.11-r1, 2.6.33-rc2 x86_64)
=================================================================
System uname: Linux-2.6.33-rc2-x86_64-Intel-R-_Core-TM-2_CPU_T5500_@_1.66GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 28 Jan 2010 12:20:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1, 3.1.1-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     9999
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.6.3-r1, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.51.0.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirrors.tera-byte.com/pub/gentoo ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ "
LDFLAGS="-Wl,-O1"
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/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3ds 64bit X X509 a52 aac acl acpi addns ads aften alsa amazon amd64 amr amrnb amrr archive assistant awe32 berkdb bluetooth bzip2 cairo cdio cdparanoia cdr cdrkit cdrom cdrtools cdsound cifsupcall clamav clamd clamdtop cli consolekit cracklib crypt cups cupsddk cxx dbm dbus dbx dell designer domain-aware dri dvd dvdarchive dvdchapjump dvdnav dvdr dvi fame fbcon festival flac flash fluidsynth fmod fontconfig fontforge foomaticdb fortran fts3 garmin gdbm gif glade glib glut gnome gnutls gpg gphoto2 gpm gps gs gsm gtk gui gutenprint gzip hal ical iconv icq id3 id3tag idb imagemagick imaging imap imlib inkjar ipv6 irda java jbig joystick jpeg jpeg2k kerberos kvm laptop lcms ldap lm_sensors lvm lzma midi mjpeg mmx mmxext mng modules mp2 mp3 mp3rtp mp3tunes mp4 mpeg mplayer mpu401 mssql mudflap multilib musepack nat ncurses nls nptl nptlonly nsplugin nspr ntfs ntlm oci8 odbc ode ogg ogg123 ogm openal opencore-amr openct openexr opengl openinventor openmp openssl opensslcrypt openstreetmap oracle orathreads otp otr pam pcap pcmcia pcre pda pdf perl pkcs11 pmu png pnm ppds pppd ps pstoedit python qt3support rdesktop rdp readline realms reflection samba scanner scp screen sctp sdk sdl sdl-image sdl-sound sdlaudio sensord serial server session sftp smbclient smbkrb5passwd smbsharemodes smp sndfile snes sound soundex soundextract spl sql sqlite srtp sse sse2 sse3 sse4 ssl ssse3 svg svgz sysfs tcpd threads tiff timidity totem type3 udev unicode usb uudeview uuencode valgrind vcd vcdinfo vcdx vde vga vhook video virtualbox vistafree vnc vorbis wav wavpack webkit wifi winbind winetools winetriks wininst winpopup wireshark wma wma-fixed wmf wordperfect wps wxwidgets x264 x264-static xanim xbase xcomposite xen xinerama xml xorg xrandr xrender xterm-color xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda hda-intel" 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="evdev alps" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Todd Walter 2010-01-28 14:14:03 UTC
USE="-gtk" emerge nmap works cleanly.  
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2010-01-28 20:00:39 UTC
Please attach the entire build log to this bug report.
Comment 3 Mike Hunt 2010-01-28 20:22:50 UTC
(In reply to comment #2)
> Please attach the entire build log to this bug report.
> 

I get the exact same failure.

The strange thing here is that I have:

      Installed versions: 5.20{tbz2}(09:20:35 AM 01/26/2010)(gtk ssl -lua)
      since
      Tue Jan 26 09:20:44 2010 >>> net-analyzer/nmap-5.20


But now it breaks.
Comment 4 Todd Walter 2010-01-28 20:27:36 UTC
Created attachment 217769 [details]
Build Log
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2010-01-29 09:40:07 UTC
*** Bug 302729 has been marked as a duplicate of this bug. ***
Comment 6 Michal Januszewski (RETIRED) gentoo-dev 2010-01-29 23:22:18 UTC
Could you please check whether nmap-5.21 emerges cleanly?
Comment 7 Alec Meyers 2010-01-30 02:23:39 UTC
(In reply to comment #6)
> Could you please check whether nmap-5.21 emerges cleanly?
> 

It does not emerge for me.

...
cd zenmap && /usr/bin/python setup.py --quiet install --prefix "/usr" --force --root "/var/tmp/portage/net-analyzer/nmap-5.21/image/"
warning: build_py: byte-compiling is disabled, skipping.
warning: install_lib: byte-compiling is disabled, skipping.
error: /var/tmp/portage/net-analyzer/nmap-5.21/image/usr/lib64/python2.6/site-packages/zenmapCore/NmapParser.pyc: No such file or directory
make: *** [install-zenmap] Error 1
Comment 8 Peter Volkov (RETIRED) gentoo-dev 2010-01-30 08:48:11 UTC
*** Bug 302832 has been marked as a duplicate of this bug. ***
Comment 9 Klaus Kusche 2010-01-30 09:14:44 UTC
Exactly the same here:
* On 2010-01-23, nmap-5.20 emerged successfully (with gtk).
* Today, neither 5.20 nor 5.21 emerge:
Both fail when installing the python modules.
Comment 10 Chris Smith 2010-01-30 15:08:31 UTC
fails here as well
Comment 11 Ben Kohler gentoo-dev 2010-01-30 16:48:13 UTC
Neither nmap-5.20 nor nmap-5.21 build against python-2.6.4-r1.  Both build fine against python-2.6.4.
Comment 12 Jeroen Roovers (RETIRED) gentoo-dev 2010-01-30 18:13:40 UTC
(In reply to comment #11)
> Neither nmap-5.20 nor nmap-5.21 build against python-2.6.4-r1.  Both build fine
> against python-2.6.4.
> 

Comment 13 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-01-30 19:30:25 UTC
(In reply to comment #12)

The following useful change has been backported in dev-lang/python-2.6.4-r1:
http://svn.python.org/view?view=rev&revision=77376
(It will be also included in tarball of dev-lang/python-2.6.5.)

Build system of net-analyzer/nmap should be fixed to not try to install any .pyc / .pyo files.
Comment 14 Dror Levin (RETIRED) gentoo-dev 2010-01-30 21:48:06 UTC
*** Bug 302901 has been marked as a duplicate of this bug. ***
Comment 15 Michal Januszewski (RETIRED) gentoo-dev 2010-01-31 09:09:25 UTC
This should now be fixed in CVS.
Comment 16 Dror Levin (RETIRED) gentoo-dev 2010-01-31 13:05:45 UTC
*** Bug 302983 has been marked as a duplicate of this bug. ***
Comment 17 Leonid Podolny 2010-01-31 14:38:50 UTC
Indeed, solved. Thanks!
Comment 18 Todd Walter 2010-02-01 19:15:54 UTC
It emerges cleanly now, thanks!
Comment 19 Steve 2010-03-02 16:20:32 UTC
I'm running into the same issue trying to emerge nmap-5.00-r2 on an x86 install. Everything newer is masked by ~x86 and I can't see why this is still coming up since the changes in CVS should have been merged into the tree nearly a month ago.

System uname: Linux-2.6.30-gentoo-r6-i686-Pentium_III_-Coppermine-with-gentoo-1.12.13
Timestamp of tree: Tue, 02 Mar 2010 15:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.4-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       3.3.6-r1, 4.1.2, 4.3.2-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=i686 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.ccccom.com"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j2"
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://rsync.us.gentoo.org/gentoo-portage"
USE="X acl alsa apache2 bash-completion berkdb browserplugin bzip2 cli cracklib crypt ctype cxx dbus dri dvd eds esd ethereal firefox fortran gdbm gif gnome gpm gstreamer gtk gtk2 iconv ipv6 java javascript jpeg mad mailwrapper modules motif mozilla mp3 mpeg mudflap mysql mysqli mythtv ncurses nls nptl nptlonly nptlpcre nsplugin ogg opengl openmp pam pcre pdf perl png pppd python qt4 readline reflection samba sdl session slang snmp sockets spell spl ssl symlink sysfs tcl tcltk tcpd tk unicode vorbis x86 xmms xorg xv zip 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" 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, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY