Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203964 - Nmap Not Installing Properly Under Prefix
Summary: Nmap Not Installing Properly Under Prefix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 OS X
: High normal (vote)
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-01 13:08 UTC by Neil
Modified: 2008-01-01 13:37 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 Neil 2008-01-01 13:08:49 UTC
Nmap does not install properly under prefix; looks like there are some new files in the 4.50 version which aren't being put in their $EPREFIX'd place.

Below is a (probably excessive) output listing.  emerge --info follows.

>>> Source compiled.
>>> Test phase [not enabled]: net-analyzer/nmap-4.50

>>> Install nmap-4.50 into /opt/gentoo/var/tmp/portage/net-analyzer/nmap-4.50/image/opt/gentoo/ category net-analyzer
./shtool mkdir -f -p -m 755 /opt/gentoo/var/tmp/portage/net-analyzer/nmap-4.50/image//opt/gentoo/usr/bin /opt/gentoo/var/tmp/portage/net-analyzer/nmap-4.50/image//opt/gentoo/usr/share/man/man1 /opt/gentoo/var/tmp/portage/net-analyzer/nmap-4.50/image//usr/share/nmap
./shtool install  -c -m 755 nmap /opt/gentoo/var/tmp/portage/net-analyzer/nmap-4.50/image//opt/gentoo/usr/bin/nmap
/opt/gentoo/usr/bin/i686-apple-darwin9-strip -x /opt/gentoo/var/tmp/portage/net-analyzer/nmap-4.50/image//opt/gentoo/usr/bin/nmap
./shtool install  -c -m 644 docs/nmap.1 /opt/gentoo/var/tmp/portage/net-analyzer/nmap-4.50/image//opt/gentoo/usr/share/man/man1/
./shtool install  -c -m 644 docs/nmap.xsl /opt/gentoo/var/tmp/portage/net-analyzer/nmap-4.50/image//usr/share/nmap/
./shtool install  -c -m 644 docs/nmap.dtd /opt/gentoo/var/tmp/portage/net-analyzer/nmap-4.50/image//usr/share/nmap/
./shtool install  -c -m 644 nmap-services /opt/gentoo/var/tmp/portage/net-analyzer/nmap-4.50/image//usr/share/nmap/
./shtool install  -c -m 644 nmap-rpc /opt/gentoo/var/tmp/portage/net-analyzer/nmap-4.50/image//usr/share/nmap/
./shtool install  -c -m 644 nmap-os-db /opt/gentoo/var/tmp/portage/net-analyzer/nmap-4.50/image//usr/share/nmap/
./shtool install  -c -m 644 nmap-service-probes /opt/gentoo/var/tmp/portage/net-analyzer/nmap-4.50/image//usr/share/nmap/
./shtool install  -c -m 644 nmap-protocols /opt/gentoo/var/tmp/portage/net-analyzer/nmap-4.50/image//usr/share/nmap/
./shtool install  -c -m 644 nmap-mac-prefixes /opt/gentoo/var/tmp/portage/net-analyzer/nmap-4.50/image//usr/share/nmap/
./shtool mkdir -f -p -m 755 /opt/gentoo/var/tmp/portage/net-analyzer/nmap-4.50/image//usr/share/nmap/scripts
cp -f scripts/script.db scripts/*.nse /opt/gentoo/var/tmp/portage/net-analyzer/nmap-4.50/image//usr/share/nmap/scripts
./shtool mkdir -f -p -m 755 /opt/gentoo/var/tmp/portage/net-analyzer/nmap-4.50/image//usr/share/nmap/nselib
cp -f nselib/*.lua /opt/gentoo/var/tmp/portage/net-analyzer/nmap-4.50/image//usr/share/nmap/nselib
./shtool mkdir -f -p -m 755 /opt/gentoo/var/tmp/portage/net-analyzer/nmap-4.50/image//opt/gentoo/usr/libexec/nmap/nselib-bin
cp -f nselib-bin/*.so /opt/gentoo/var/tmp/portage/net-analyzer/nmap-4.50/image//opt/gentoo/usr/libexec/nmap/nselib-bin
NMAP SUCCESSFULLY INSTALLED
>>> Completed installing nmap-4.50 into /opt/gentoo/var/tmp/portage/net-analyzer/nmap-4.50/image/opt/gentoo/

ecompressdir: bzip2 -9 opt/gentoo//usr/share/man
 * QA Notice: the following files are outside of the prefix:
 * /usr
/usr/share
/usr/share/nmap
/usr/share/nmap/nmap-mac-prefixes
/usr/share/nmap/nmap-os-db
/usr/share/nmap/nmap-protocols
/usr/share/nmap/nmap-rpc
/usr/share/nmap/nmap-service-probes
/usr/share/nmap/nmap-services
/usr/share/nmap/nmap.dtd
/usr/share/nmap/nmap.xsl
/usr/share/nmap/nselib
/usr/share/nmap/nselib/ipOps.lua
/usr/share/nmap/nselib/listop.lua
/usr/share/nmap/nselib/match.lua
/usr/share/nmap/nselib/packet.lua
/usr/share/nmap/nselib/shortport.lua
/usr/share/nmap/nselib/stdnse.lua
/usr/share/nmap/nselib/strbuf.lua
/usr/share/nmap/nselib/url.lua
/usr/share/nmap/scripts
/usr/share/nmap/scripts/anonFTP.nse
/usr/share/nmap/scripts/bruteTelnet.nse
/usr/share/nmap/scripts/chargenTest.nse
/usr/share/nmap/scripts/daytimeTest.nse
/usr/share/nmap/scripts/dns-test-open-recursion.nse
/usr/share/nmap/scripts/echoTest.nse
/usr/share/nmap/scripts/finger.nse
/usr/share/nmap/scripts/ftpbounce.nse
/usr/share/nmap/scripts/HTTP_open_proxy.nse
/usr/share/nmap/scripts/HTTPAuth.nse
/usr/share/nmap/scripts/HTTPpasswd.nse
/usr/share/nmap/scripts/HTTPtrace.nse
/usr/share/nmap/scripts/iax2Detect.nse
/usr/share/nmap/scripts/ircServerInfo.nse
/usr/share/nmap/scripts/ircZombieTest.nse
/usr/share/nmap/scripts/kibuvDetection.nse
/usr/share/nmap/scripts/MSSQLm.nse
/usr/share/nmap/scripts/mswindowsShell.nse
/usr/share/nmap/scripts/nbstat.nse
/usr/share/nmap/scripts/netbios-smb-os-discovery.nse
/usr/share/nmap/scripts/PPTPversion.nse
/usr/share/nmap/scripts/promiscuous.nse
/usr/share/nmap/scripts/RealVNC_auth_bypass.nse
/usr/share/nmap/scripts/ripeQuery.nse
/usr/share/nmap/scripts/robots.nse
/usr/share/nmap/scripts/script.db
/usr/share/nmap/scripts/showHTMLTitle.nse
/usr/share/nmap/scripts/showHTTPVersion.nse
/usr/share/nmap/scripts/showOwner.nse
/usr/share/nmap/scripts/showSMTPVersion.nse
/usr/share/nmap/scripts/showSSHVersion.nse
/usr/share/nmap/scripts/skype_v2-version.nse
/usr/share/nmap/scripts/SMTP_openrelay_test.nse
/usr/share/nmap/scripts/SMTPcommands.nse
/usr/share/nmap/scripts/SNMPsysdesr.nse
/usr/share/nmap/scripts/SQLInject.nse
/usr/share/nmap/scripts/SSHv1-support.nse
/usr/share/nmap/scripts/SSLv2-support.nse
/usr/share/nmap/scripts/strangeSMTPport.nse
/usr/share/nmap/scripts/xamppDefaultPass.nse
/usr/share/nmap/scripts/zoneTrans.nse
 * 
 * ERROR: net-analyzer/nmap-4.50 failed.
 * Call stack:
 *       misc-functions.sh, line 692:  Called install_qa_check
 *       misc-functions.sh, line 223:  Called die
 * The specific snippet of code:
 *   			die "Aborting due to QA concerns: there are files installed outside the prefix"
 *  The die message:
 *   Aborting due to QA concerns: there are files installed outside the prefix
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/opt/gentoo/var/tmp/portage/net-analyzer/nmap-4.50/temp/build.log'.
 * The ebuild environment file is located at '/opt/gentoo/var/tmp/portage/net-analyzer/nmap-4.50/temp/environment'.
 * 
!!! install_qa_check failed; exiting.


Neil@blackfire:/opt/gentoo/usr/portage $  emerge --info
Portage 2.2.00.9063-prefix (default-prefix/darwin/macos/10.5/x86, gcc-4.0.1, unavailable, 9.1.0 i386)
=================================================================
System uname: 9.1.0 i386 i386
Timestamp of tree: Tue, 01 Jan 2008 12:48:51 +0000
distcc 2.18.5-Apple.1 powerpc-apple-darwin9.0 (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.5.1-r4
sys-devel/autoconf:  2.13, 2.61-r01.1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
ACCEPT_KEYWORDS="x86-macos ~x86 ~x86-macos"
CBUILD="i686-apple-darwin9"
CFLAGS="-O2 -pipe -march=prescott"
CHOST="i686-apple-darwin9"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=prescott"
DISTDIR="/opt/gentoo/usr/portage/distfiles"
EPREFIX="/opt/gentoo"
FEATURES="collision-protect distlocks metadata-transfer nostrip preserve-libs sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/opt/gentoo/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/opt/gentoo/var/tmp"
PORTDIR="/opt/gentoo/usr/portage"
SYNC="svn+http://overlays.gentoo.org/svn/proj/alt/trunk/prefix-overlay"
USE="aqua bash-completion coreaudio cracklib midi mmx mmxext ncurses objc objc++ pcre perl prefix python readline sse sse2 ssl x86-macos zlib" 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="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Elias Pipping (RETIRED) gentoo-dev 2008-01-01 13:37:23 UTC
fixed in r14711, thanks.



[1] http://overlays.gentoo.org/proj/alt/changeset/14711