Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 445566 - net-analyzer/nmap-6.25 compile fails
Summary: net-analyzer/nmap-6.25 compile fails
Status: RESOLVED DUPLICATE of bug 445552
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-02 06:23 UTC by Drunkard Zhang
Modified: 2012-12-03 03:00 UTC (History)
13 users (show)

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


Attachments
Full build log. (build.log.gz,8.98 KB, text/plain)
2012-12-02 06:26 UTC, Drunkard Zhang
Details
build.log (build.log,54.89 KB, text/plain)
2012-12-02 07:22 UTC, Pavel Volkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Drunkard Zhang 2012-12-02 06:23:36 UTC
net-analyzer/nmap-6.25 compile fails.

Reproducible: Always

Steps to Reproduce:
1.echo '=net-analyzer/nmap-6.25' >> /etc/portage/package.keywords
2.emerge -avq =net-analyzer/nmap-6.25
3.
Actual Results:  
Compiling fails.

make[2]: Entering directory `/var/tmp/portage/net-analyzer/nmap-6.25/work/nmap-6.25/nbase'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/net-analyzer/nmap-6.25/work/nmap-6.25/nbase'
x86_64-pc-linux-gnu-g++ -c -I./liblinear -DNOLUA -I./libdnet-stripped/include  -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -D_FORTIFY_SOURCE=2 -mtune=amdfam10 -O2 -pipe -Wall -fno-strict-aliasing   nmap_error.cc -o nmap_error.o
In file included from NmapOps.h:98:0,
                 from main.cc:99:
output.h:258:23: error: ‘ScriptResult’ was not declared in this scope
output.h:258:43: error: ‘ScriptResult’ was not declared in this scope
output.h:258:62: error: expression list treated as compound expression in initializer [-fpermissive]
In file included from nmap_error.cc:96:0:
output.h:258:23: error: ‘ScriptResult’ was not declared in this scope
output.h:258:43: error: ‘ScriptResult’ was not declared in this scope
output.h:258:62: error: expression list treated as compound expression in initializer [-fpermissive]
In file included from NmapOps.h:98:0,
                 from targets.cc:101:
output.h:258:23: error: ‘ScriptResult’ was not declared in this scope
output.h:258:43: error: ‘ScriptResult’ was not declared in this scope
output.h:258:62: error: expression list treated as compound expression in initializer [-fpermissive]
make[1]: *** [nmap_error.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [main.o] Error 1
In file included from NmapOps.h:98:0,
                 from nmap.cc:102:
output.h:258:23: error: ‘ScriptResult’ was not declared in this scope
output.h:258:43: error: ‘ScriptResult’ was not declared in this scope
output.h:258:62: error: expression list treated as compound expression in initializer [-fpermissive]
In file included from NmapOps.h:98:0,
                 from tcpip.cc:104:
output.h:258:23: error: ‘ScriptResult’ was not declared in this scope
output.h:258:43: error: ‘ScriptResult’ was not declared in this scope
output.h:258:62: error: expression list treated as compound expression in initializer [-fpermissive]
make[1]: *** [targets.o] Error 1
make[1]: *** [tcpip.o] Error 1
make[1]: *** [nmap.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-analyzer/nmap-6.25/work/nmap-6.25'
make: *** [all] Error 2


emerge --info =net-analyzer/nmap-6.25
Portage 2.3.5-r3 (funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-4.6.3, glibc-2.15-r3, 3.6.8-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.6.8-gentoo-x86_64-AMD_A8-3500M_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.2.0
Timestamp of tree: Sat, 01 Dec 2012 18:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1000
dev-lang/python:          2.7.3-r1000, 3.2.3-r1000
dev-util/cmake:           2.8.10.1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2.0-r3
sys-apps/openrc:          0.10.2-r6
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.5-r1
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo science ltsp hacking-gentoo sunrise gentoo-zh
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-mtune=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync mini-manifest news nodoc parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirrors.163.com/gentoo/ http://mirrors.sohu.com/gentoo/ http://gentoo.gwbnsh.net.cn/ "
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="zh_CN zh_TW zh en ru de bo ug"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/science /var/lib/layman/ltsp /var/lib/layman/hacking-gentoo /var/lib/layman/sunrise /var/lib/layman/gentoo-zh"
SYNC="git://github.com/funtoo/ports-2012.git"
SYNC_USER="root"
USE="3dnow 3dnowext X a52 acl acpi aio alsa amd64 bash-completion berkdb branding bzip2 cjk cracklib crypt cups cxx dbus djvu dri dvd dvdr dvdread encode ffmpeg flac gconf gdbm geoip gif gimp gmp gnome gpm gstreamer gtk gtk3 iconv icu idn introspection ipv6 jpeg jpeg2k lame libass libsamplerate mad mmap mmx mmxext modules mp3 mpeg mplayer mudflap multilib ncurses nls nptl ogg opengl openmp pam pch pcre pdf png postgres postscript pppd pulseaudio python readline resolvconf smp sse sse2 ssl svg theora threads tiff truetype udev unicode vim-syntax vorbis wavpack wifi x264 xft xinerama xml xorg xvmc 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 authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid 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 authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver presenter-console presenter-minimizer" LINGUAS="zh_CN zh_TW zh en ru de bo ug" PHP_TARGETS="php5-3" PYTHON_ABIS="2.7 3.2" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="arm i386 mips mips64 mips64el mipsel sparc sparc64 x86_64" QEMU_USER_TARGETS="arm i386 mips mipsel sparc sparc32plus sparc64 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fglrx radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK
Comment 1 Drunkard Zhang 2012-12-02 06:26:29 UTC
Created attachment 331182 [details]
Full build log.
Comment 2 Pavel Volkov 2012-12-02 07:21:26 UTC
Drunkard's log looks currupted, so I attach mine
Comment 3 Pavel Volkov 2012-12-02 07:22:00 UTC
Created attachment 331184 [details]
build.log
Comment 4 André Terpstra 2012-12-02 07:50:06 UTC
same error here
Comment 5 Mario Bachmann 2012-12-02 09:21:52 UTC
same here:

make[2]: Entering directory `/var/tmp/portage/net-analyzer/nmap-6.25/work/nmap-6.25/nbase'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/net-analyzer/nmap-6.25/work/nmap-6.25/nbase'
x86_64-pc-linux-gnu-g++ -c -I./liblinear -DNOLUA -I./libdnet-stripped/include  -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -D_FORTIFY_SOURCE=2 -march=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mavx -msse4.2 -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=generic -O2 -pipe -Wall -fno-strict-aliasing   utils.cc -o utils.o
x86_64-pc-linux-gnu-g++ -c -I./liblinear -DNOLUA -I./libdnet-stripped/include  -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -D_FORTIFY_SOURCE=2 -march=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mavx -msse4.2 -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=generic -O2 -pipe -Wall -fno-strict-aliasing   idle_scan.cc -o idle_scan.o
x86_64-pc-linux-gnu-g++ -c -I./liblinear -DNOLUA -I./libdnet-stripped/include  -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -D_FORTIFY_SOURCE=2 -march=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mavx -msse4.2 -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=generic -O2 -pipe -Wall -fno-strict-aliasing   osscan.cc -o osscan.o
In file included from NmapOps.h:98:0,
                 from main.cc:99:
output.h:258:23: error: ‘ScriptResult’ was not declared in this scope
output.h:258:43: error: ‘ScriptResult’ was not declared in this scope
output.h:258:62: error: expression list treated as compound expression in initializer [-fpermissive]
In file included from nmap_error.cc:96:0:
output.h:258:23: error: ‘ScriptResult’ was not declared in this scope
output.h:258:43: error: ‘ScriptResult’ was not declared in this scope
output.h:258:62: error: expression list treated as compound expression in initializer [-fpermissive]
In file included from NmapOps.h:98:0,
                 from utils.cc:98:
output.h:258:23: error: ‘ScriptResult’ was not declared in this scope
output.h:258:43: error: ‘ScriptResult’ was not declared in this scope
output.h:258:62: error: expression list treated as compound expression in initializer [-fpermissive]
make[1]: *** [main.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [nmap_error.o] Error 1
In file included from NmapOps.h:98:0,
                 from targets.cc:101:
output.h:258:23: error: ‘ScriptResult’ was not declared in this scope
output.h:258:43: error: ‘ScriptResult’ was not declared in this scope
output.h:258:62: error: expression list treated as compound expression in initializer [-fpermissive]
In file included from NmapOps.h:98:0,
                 from tcpip.cc:104:
output.h:258:23: error: ‘ScriptResult’ was not declared in this scope
output.h:258:43: error: ‘ScriptResult’ was not declared in this scope
output.h:258:62: error: expression list treated as compound expression in initializer [-fpermissive]
make[1]: *** [utils.o] Error 1
In file included from NmapOps.h:98:0,
                 from nmap.cc:102:
output.h:258:23: error: ‘ScriptResult’ was not declared in this scope
output.h:258:43: error: ‘ScriptResult’ was not declared in this scope
output.h:258:62: error: expression list treated as compound expression in initializer [-fpermissive]
In file included from NmapOps.h:98:0,
                 from idle_scan.cc:104:
output.h:258:23: error: ‘ScriptResult’ was not declared in this scope
output.h:258:43: error: ‘ScriptResult’ was not declared in this scope
output.h:258:62: error: expression list treated as compound expression in initializer [-fpermissive]
In file included from NmapOps.h:98:0,
                 from osscan.cc:99:
output.h:258:23: error: ‘ScriptResult’ was not declared in this scope
output.h:258:43: error: ‘ScriptResult’ was not declared in this scope
output.h:258:62: error: expression list treated as compound expression in initializer [-fpermissive]
make[1]: *** [targets.o] Error 1
make[1]: *** [tcpip.o] Error 1
make[1]: *** [idle_scan.o] Error 1
make[1]: *** [nmap.o] Error 1
make[1]: *** [osscan.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-analyzer/nmap-6.25/work/nmap-6.25'
make: *** [all] Error 2
 * ERROR: net-analyzer/nmap-6.25 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-analyzer/nmap-6.25'`,
 * the complete build log and the output of `emerge -pqv '=net-analyzer/nmap-6.25'`.
 * The complete build log is located at '/var/tmp/portage/net-analyzer/nmap-6.25/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/nmap-6.25/temp/environment'.
 * Working directory: '/var/tmp/portage/net-analyzer/nmap-6.25/work/nmap-6.25'
 * S: '/var/tmp/portage/net-analyzer/nmap-6.25/work/nmap-6.25'

>>> Failed to emerge net-analyzer/nmap-6.25, Log file:
Comment 6 Nikos Chantziaras 2012-12-02 13:44:41 UTC
Also here. Same problem.
Comment 7 Nikolaj Šujskij 2012-12-02 14:02:02 UTC
Guys, just tick "Add me to CC" box and Save changes, if you want notifications, please don't bug another CCed users with "+1"s and "Me too"s. Number of concerned people are easily deduced from CC list as well.
Comment 8 Nikos Chantziaras 2012-12-02 15:08:29 UTC
Upstream bug report:

http://thread.gmane.org/gmane.comp.security.nmap.devel/23871

(They don't have a bugtracker. They use a mailing list for bug reports.)
Comment 9 Guillaume Castagnino 2012-12-02 16:47:01 UTC
This is fixed by bug #445552.
Fix already in tree.
Comment 10 Rick Farina (Zero_Chaos) gentoo-dev 2012-12-02 17:58:45 UTC

*** This bug has been marked as a duplicate of bug 445552 ***
Comment 11 Anton Bolshakov 2012-12-03 03:00:10 UTC
(In reply to comment #8)
> Upstream bug report:
> 
> http://thread.gmane.org/gmane.comp.security.nmap.devel/23871
> 
> (They don't have a bugtracker. They use a mailing list for bug reports.)

It was reported 1 day before your report:
http://seclists.org/nmap-dev/2012/q4/366

I can only suggest to check it first before wasting your time and file dups everywhere.