Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302983 - portage/net-analyzer:nmap-5.21 fails during install phase - NmapOptions.pyc: No such file or directory
Summary: portage/net-analyzer:nmap-5.21 fails during install phase - NmapOptions.pyc: ...
Status: RESOLVED DUPLICATE of bug 302636
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-31 12:59 UTC by Jon Gerdes
Modified: 2010-01-31 13:05 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 Jon Gerdes 2010-01-31 12:59:13 UTC
Updating world and nmap 5.21 fails during the installation phase: 

/usr/bin/install -c -d /var/tmp/portage/net-analyzer/nmap-5.21/image//usr/bin /var/tmp/portage/net-analyzer/nmap-5.21/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.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/NmapOptions.pyc: No such file or directory
make: *** [install-zenmap] Error 1
 * ERROR: net-analyzer/nmap-5.21 failed:
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  48:  Called src_install
 *   environment, line 2663:  Called die
 * The specific snippet of code:
 *       LC_ALL=C emake DESTDIR="${D}" -j1 STRIP=: nmapdatadir=/usr/share/nmap install || die;

I've tried running python-updater and am a bit stuck how to fix this.  

Looking through the log, NmapOptions.py is copied but the error relates to a .pyc which I presume is a compiled form of it.  The error mentions byte-compiling is disabled so that is probably the cause of the fault.

Reproducible: Always




emerge --info                                        
Portage 2.2_rc62 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.11-r1, 2.6.33-rc5 x86_64)
=================================================================                       
System uname: Linux-2.6.33-rc5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 31 Jan 2010 09:30:01 +0000                                                
app-shells/bash:     4.0_p37                                                                      
dev-java/java-config: 2.1.10                                                                      
dev-lang/python:     2.5.4-r4, 2.6.4-r1, 3.1.1-r1                                                 
dev-util/cmake:      2.8.0-r1                                                                     
sys-apps/baselayout: 2.0.1                                                                        
sys-apps/openrc:     0.6.0-r1                                                                     
sys-apps/sandbox:    2.2                                                                          
sys-devel/autoconf:  2.13, 2.65                                                                   
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1                                           
sys-devel/binutils:  2.20                                                                         
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 -mtune=core2 -O2 -mssse3 -msse4.1 -pipe"                                     
CHOST="x86_64-pc-linux-gnu"                                                                       
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind /var/lib/hsqldb"              
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"                                                               
CXXFLAGS="-march=core2 -mtune=core2 -O2 -mssse3 -msse4.1 -pipe"                                                                                  
DISTDIR="/usr/portage/distfiles"                                                                                                                 
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"                                                                                                                
GENTOO_MIRRORS="http://distfiles.gentoo.org"                                                                                                     
LDFLAGS="-Wl,-O1"                                                                                                                                
LINGUAS="en_GB"                                                                                                                                  
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/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit X Xaw3d a52 aac acl acpi activefilter additions admin administrator ads agent alsa amarok amarok2 amd64 apache2 asf augeas bash-completion bcmath berkdb bluetooth boost branding bzip2 cairo calendar caps cdda cddb cdr cdrom cgi chipcard chipcard2 chm cisco clamav clamd clamdtop cleartype cli client config-file consolekit cracklib crypt ctype cups curl custom-optimization customlog cxx daap dba dbus dell dga dhcp divx dmi dns dnsdb dragonplayer dri dv dvb dvd dvdr dvdread eap-tls edirectory embedded enca encode epson exif exim exiscan exiscan-acl expat extensions fam fbcon fbcondecor ffmpeg fftw filter firefox flac flash flexresp2 foomaticdb fortran frontend ftp fts3 fuse gd gdbm geoip geolocation gimp glitz gnutls gpm graphviz groupwise h224 h281 h323 hal hbci html htmlhandbook http-forms http-server iconv ieee1394 imagemagick imap inkjar iodbc ipod iproute2 ipv6 irda irmc jabber java java5 javacomm javamail javascript jbig jboss jce jmx jni john joystick jpeg jpeg2k jpgraph jta jumpplay kcal kde kdehiddenvisibility kdepim kerberos kexi kipi kvm latex lcd lcms ldap lm_sensors log4j logrotate lzo mad maildir math mcal mdb mdnsresponder-compat mime ming mjpeg mmkeys mmx mmxext mng modules mono mozsvg mp3 mp3tunes mp4 mp4live mpd mpeg mpeg2 mplayer msdfs mtp mudflap multilib multipath multiuser musepack musicbrainz mysql mysqli nas ncurses nls no-helper nptl nptlonly nsplugin ntfs nxclient oav office ofx ogg on-the-fly-crypt openexr opengl openmp ospfapi overlays pam passwordsave pcap pcre pda pdf perl php pic pipechan plasma plotutils png postgresql ppds pppd python qt3 qt3support qt4 quicktime quotes rdesktop readline realmedia realms redeyes reflection reiserfs ruby ruby-bindings samba sasl scanner screen sdl semantic-desktop session sip sipim slp smp sni snmp soap spf spl sql sqlite srt sse sse2 sse3 sse4a ssl ssse3 startup-notification subversion suexec svg svgz swat sysfs syslog tcpd templates theora tiff tools truetype udev uk_bleb uk_rt underscores unicode usb v4l v4l2 vboxbfe vcd visualization vorbis watchdog wav wavpack webdav webkit wifi winbind winetools winpopup wma wmf wmp wps wxwindows xanim xattr xcb xinerama xml xmlreader xmlrpc xmlwriter xorg xosd xpm xscreensaver xulrunner xv xvid xvmc xvnc yv12 zeo zip zlib" ALSA_CARDS="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 auth_digest authn_anon authn_dbd                  authn_dbm authn_default authn_file authnz_ldap authz_dbm                  authz_default authz_groupfile authz_host authz_owner                  authz_user autoindex cache cgi cgid dav dav_fs dav_lock                  dbd deflate dir disk_cache env expires ext_filter file_cache                  filter headers ident imagemap include info ldap log_config                  logio mem_cache mime mime_magic negotiation proxy proxy_ajp                  proxy_balancer proxy_connect proxy_http rewrite setenvif so                  speling ssl status suexec unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Dror Levin (RETIRED) gentoo-dev 2010-01-31 13:05:45 UTC

*** This bug has been marked as a duplicate of bug 302636 ***