Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121025 - nmap-3.9999 install failed
Summary: nmap-3.9999 install failed
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-31 02:58 UTC by Jaak Ristioja
Modified: 2008-06-05 19:16 UTC (History)
1 user (show)

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


Attachments
nmap-shtool-nls.patch (nmap-shtool-nls.patch,646 bytes, patch)
2006-02-03 19:50 UTC, SpanKY
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jaak Ristioja 2006-01-31 02:58:50 UTC
make[1]: Leaving directory `/var/tmp/portage/nmap-3.9999/work/nmap-3.9999/nsock/src'
./shtool mkdir -f -p -m 755 /var/tmp/portage/nmap-3.9999/image//usr/bin /var/tmp/portage/nmap-3.9999/image//usr/share/man/man1 /var/tmp/portage/nmap-3.9999/image//usr/share/nmap
./shtool: line 456: t.opt_MODE_f=.: command not found
./shtool: line 460: t:trace,opt_ALIAS_force=f: command not found
shtool:mkdir:Error: unknown option: `f'
shtool:mkdir:Hint:  run `shtool mkdir -h' or `man shtool' for details
make: *** [install-nmap] Error 1

!!! ERROR: net-analyzer/nmap-3.9999 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_install
  ebuild.sh, line 1037:   Called src_install
  nmap-3.9999.ebuild, line 37:   Called einstall 'install' '-j1' 'nmapdatadir=/var/tmp/portage/nmap-3.9999/image//usr/share/nmap'


emerge --info
Portage 2.1_pre4-r1 (default-linux/amd64/2005.0, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre15
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -pipe -march=athlon64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
LANG="en_US.UTF-8"
LC_ALL="et_EE.UTF-8"
LDFLAGS="-Wl,-O2"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl alsa amd64 apm avi bash-completion bitmap-fonts bzip2 cairo cjk crypt cups dbus directfb divx4linux dri eds emboss encode fbcon ffmpeg flac foomaticdb gif gimpprint gpm gstreamer gtk gtk2 gtkhtml hal imagemagick imlib ithreads jpeg kde lzw lzw-tiff mjpeg mmap mng mozilla mp3 mpeg ncurses nogcj nomotif nptl ogg oggvorbis opengl pam pdflib perl pic png ppds python qt quicktime readline samba sdl ssl subversion svg sysfs tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales vhosts vorbis wmf xinerama xml xml2 xmms xpm xprint xscreensaver xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_ati video_cards_radeon video_cards_nv video_cards_vesa"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LINGUAS
Comment 1 Michal Januszewski (RETIRED) gentoo-dev 2006-02-02 07:41:01 UTC
Do you experience the same problem with nmap-4.00?
Comment 2 Jaak Ristioja 2006-02-02 07:59:19 UTC
Is it in portage yet? 

btw, this might have something to do with my et_EE locales. Many other packages have the tendency to break after i switched to et_EE.

i'll get back to this tomorrow.
Comment 3 Romain 2006-02-02 14:37:59 UTC
No link with this bug but is it possible to put now gtk2 instead of gtk in use ?

Romain
Comment 4 Jaak Ristioja 2006-02-03 01:10:40 UTC
(In reply to comment #1)
> Do you experience the same problem with nmap-4.00?
> 

yes.
Comment 5 Jaak Ristioja 2006-02-03 01:14:03 UTC
This might have something to do with my et_EE locales. Many of my recent bugs seem to occur because of my locale change to et_EE.
Comment 6 Jaak Ristioja 2006-02-03 01:26:59 UTC
3.83, 3.95, 3.9999 and 4.0 have the same error. Version 3.81 emerged successfully.
Comment 7 Michal Januszewski (RETIRED) gentoo-dev 2006-02-03 05:13:47 UTC
If you think this might have something to do with your locales, could you please try unsetting all the locale-related env. variables (LANG, LC_ALL, ..) and see whether you can emerge nmap?
Comment 8 SpanKY gentoo-dev 2006-02-03 19:29:09 UTC
bug in the shtool script
Comment 9 SpanKY gentoo-dev 2006-02-03 19:50:15 UTC
Created attachment 78841 [details, diff]
nmap-shtool-nls.patch

here's an [untested] patch for the issue

i'm going to try and contact the shtool maintainer and see if i can get it fixed in the shtool package itself
Comment 10 Jaak Ristioja 2006-02-04 00:47:54 UTC
Tested. The patch works with all the affected ebuilds: 3.83, 3.95, 3.9999 and 4.0.
Comment 11 Michal Januszewski (RETIRED) gentoo-dev 2006-02-04 02:56:23 UTC
Thanks, added to CVS.
Comment 12 Jaak Ristioja 2008-06-05 19:16:26 UTC
Versions prior to 4 no longer in portage, RIP. Closing.