First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 228159
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Michal Januszewski <spock@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Priit Laes <amd@store20.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
nmap-4.68.patch Patch to run make install with LC_ALL=C patch Michal Januszewski 2008-07-06 22:52 0000 281 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 228159 depends on: Show dependency tree
Bug 228159 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-06-18 21:24 0000
>>> Install nmap-4.65 into /var/tmp/portage/net-analyzer/nmap-4.65/image/ category net-analyzer
./shtool mkdir -f -p -m 755
/var/tmp/portage/net-analyzer/nmap-4.65/image//usr/bin
/var/tmp/portage/net-analyzer/nmap-4.65/image//usr/share/man/man1
/var/tmp/portage/net-analyzer/nmap-4.65/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

------- Comment #1 From Priit Laes 2008-06-18 21:25:38 0000 -------
plaes@chi ~ $ emerge --info
Portage 2.1.5.6 (default-linux/amd64/2007.0/no-multilib, gcc-4.2.4,
glibc-2.8_p20080602-r0, 2.6.25-05301-gc3bf9bc x86_64)
=================================================================
System uname: 2.6.25-05301-gc3bf9bc x86_64 Intel(R) Core(TM)2 CPU L7400 @
1.50GHz
Timestamp of tree: Wed, 18 Jun 2008 21:06:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     9999
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -ggdb -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
/etc/eselect/postgresql /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/terminfo
/etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -ggdb -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks multilib-strict parallel-fetch
sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="et_EE.UTF-8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en et"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
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/portage/local/layman/science
/home/plaes/code/gentoo/gnome /home/plaes/code/gentoo/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi adns alsa amd64 amr apache2 ares avahi berkdb blas
bluetooth branding bzip2 cairo cdr cjk cli cracklib crypt cups curl daap dbus
dga djvu dri dvd dvdr dvi eds encode exif fam ffmpeg fftw flac fortran fuse
galago gdbm gif gimp git glitz gmp gnome gnome-keyring gnuplot gnutls gphoto2
gs gsl gstreamer gtk hal hdri iconv idn ipv6 isdnlog jpeg kdrive lapack laptop
latex lcms libnotify lzma lzo mad midi mmx mng mozdevelop mp3 mpeg mudflap
nautilus ncurses network network-cron networkmanager nls nptl nptlonly nsplugin
ogg opengl openmp pam pcmcia pcre pcsc-lite pdf perl png pppd python readline
reflection resolvconf samba sdl session smartcard smp source spl sse sse2 ssl
subversion svg tcpd theora tiff truetype unicode usb v4l v4l2 vim-syntax vorbis
x264 xcb xinerama xml xmp xorg xulrunner xv xvid xvmc zeroconf 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 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 authz_dbm authz_default authz_groupfile
authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd
deflate dir disk_cache env expires ext_filter file_cache filter headers ident
imagemap include info log_config logio mem_cache mime mime_magic negotiation
proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so
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 et"
USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #2 From Michal Januszewski 2008-06-29 11:01:05 0000 -------
Where does your /bin/sh symlink point to?

------- Comment #3 From Priit Laes 2008-06-30 10:37:37 0000 -------
toorb@xxx ~ $ ls -l /bin/sh 
lrwxrwxrwx 1 root root 4 18. mai   15:14 /bin/sh -> bash

------- Comment #4 From 7v5w7go9ub0o 2008-07-02 20:42:03 0000 -------
Ditto here (net-analyzer/nmap-4.68 [4.65] USE="ssl -gtk -lua" 0 kB)


Found this in the change log (http://nmap.org/changelog.html)

"o Fixed a bug which prevented the --without-liblua compilation option
  from working.  Thanks to Kris Katterjohn for the patch."

yet, this is the problem. Could Fyodor have an earlier version on the nmap
distribution page?

HTH

p.s. there are many, other "lua" changes throughout the changelog.



------- Comment #5 From 7v5w7go9ub0o 2008-07-02 20:50:34 0000 -------
CRAP

I posted the above on the wrong bug report (s.b. 4.68 requires lua)

....... sorry

------- Comment #6 From Michal Januszewski 2008-07-03 19:00:55 0000 -------
Could you please see whether the nmap-4.68 ebuild works for you?

------- Comment #7 From 7v5w7go9ub0o 2008-07-03 19:56:50 0000 -------
Heh..,had to fool with it. It does compile for me after...

1. Upgrading to lua 5.1.3-r3 (which, among other things, adds deprecated):
[I] dev-lang/lua
     Available versions:  5.1.1-r2 5.1.3-r1 (~)5.1.3-r2 (~)5.1.3-r3 


2. Adding lua to my nmap flags (won't work with -lua):
[ebuild   R   ] dev-lang/lua-5.1.3-r3  USE="deprecated readline -static" 211 kB 
[ebuild   R   ] net-analyzer/nmap-4.68  USE="lua ssl -gtk" 5,839 kB 

So something is borked - my newbie guess remains that the  --without-liblua
option isn't working; perhaps because Fyodor hasn't posted the right distr.

(FWIW, The new snort requires lua, and I've screwed up enough bugzilla posts
recently so I simply added it and moved on. But to your credit, you're diggin'
in :-)

HTH!

------- Comment #8 From Priit Laes 2008-07-04 06:05:08 0000 -------
(In reply to comment #6)
> Could you please see whether the nmap-4.68 ebuild works for you?
> 

I narrowed it down to locale problem :)

LC_ALL=et_EE emerge nmap doesn't work, LC_ALL=C does :D

------- Comment #9 From Michal Januszewski 2008-07-06 22:52:23 0000 -------
Created an attachment (id=159749) [edit]
Patch to run make install with LC_ALL=C

Could you please apply the attached patch to your nmap ebuild and see whether
it emerges successfully without requiring you to manually modify your locale
settings?

------- Comment #10 From Priit Laes 2008-07-07 05:27:41 0000 -------
(In reply to comment #9)
> Created an attachment (id=159749) [edit]
> Patch to run make install with LC_ALL=C
> 
> Could you please apply the attached patch to your nmap ebuild and see whether
> it emerges successfully without requiring you to manually modify your locale
> settings?
> 

Yup, it worked, but I think it should also be reported to upstream, as it is
just a workaround.

------- Comment #11 From Michal Januszewski 2008-07-07 21:29:34 0000 -------
> Yup, it worked, but I think it should also be reported to upstream, as it is
> just a workaround.

Sure, let's just check one more thing first :)  Could you please have a look
at bug #121025 and see whether the patch attached there fixes the problem for
you? (you can either modify the ebuild not to use LC_ALL=C and to apply the
patch, or simply unpack the nmap tarball somewhere, apply the patch manually
and do e.g. ./configure ; make ; make DESTDIR=/tmp/nmap install).


------- Comment #12 From Priit Laes 2008-07-08 07:30:47 0000 -------
> Sure, let's just check one more thing first :)  Could you please have a look
> at bug #121025 and see whether the patch attached there fixes the problem for
> you? (you can either modify the ebuild not to use LC_ALL=C and to apply the
> patch, or simply unpack the nmap tarball somewhere, apply the patch manually
> and do e.g. ./configure ; make ; make DESTDIR=/tmp/nmap install).

Yup, works :)

shtool bundled with nmap is 2.0.2, but latest one upstream is 2.0.7 (which
seems to have this kind of NLS fixes)

------- Comment #13 From Michal Januszewski 2008-07-15 21:36:35 0000 -------
(In reply to comment #12)

> shtool bundled with nmap is 2.0.2, but latest one upstream is 2.0.7 (which
> seems to have this kind of NLS fixes)

Great :)  I sent a shtool upgrade request upstream, we'll see how it goes
from here. 

First Last Prev Next    No search results available      Search page      Enter new bug