Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

nmap won't emerge


donjames

Question

When I run:

emerge -uDNv nmap

 

I get:

make: 'makefile.dep' is up to date.
make: Leaving directory '/var/tmp/portage/net-analyzer/nmap-7.01/work/nmap-7.01/libnetutil'
make -j2 -C ncat makefile.dep 
make: Entering directory '/var/tmp/portage/net-analyzer/nmap-7.01/work/nmap-7.01/ncat'
make: *** No rule to make target 'makefile.dep'.  Stop.
make: Leaving directory '/var/tmp/portage/net-analyzer/nmap-7.01/work/nmap-7.01/ncat'
 * ERROR: net-analyzer/nmap-7.01::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-analyzer/nmap-7.01::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-analyzer/nmap-7.01::gentoo'`.
 * The complete build log is located at '/var/log/portage/net-analyzer:nmap-7.01:20151226-223937.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/nmap-7.01/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/nmap-7.01/temp/environment'.
 * Working directory: '/var/tmp/portage/net-analyzer/nmap-7.01/work/nmap-7.01'
 * S: '/var/tmp/portage/net-analyzer/nmap-7.01/work/nmap-7.01'

>>> Failed to emerge net-analyzer/nmap-7.01, Log file:

>>>  '/var/log/portage/net-analyzer:nmap-7.01:20151226-223937.log'

 * Messages for package net-analyzer/nmap-7.01:

 * ERROR: net-analyzer/nmap-7.01::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-analyzer/nmap-7.01::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-analyzer/nmap-7.01::gentoo'`.
 * The complete build log is located at '/var/log/portage/net-analyzer:nmap-7.01:20151226-223937.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/nmap-7.01/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/nmap-7.01/temp/environment'.
 * Working directory: '/var/tmp/portage/net-analyzer/nmap-7.01/work/nmap-7.01'
 * S: '/var/tmp/portage/net-analyzer/nmap-7.01/work/nmap-7.01'

 * GNU info directory index is up-to-date.

Can someone give me a clue about what is going on here?

 

Thanks,

 

Don James

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Nmap-7.01 builds on stable x86 funtoo, current amd64 funtoo.
There are no bug reports on nmap build failures.
Hard to determine what went wrong without your nmap build log and what nmap USE flags you have enabled.
My build log: varlogportagenet-analyzer-nmap-7-01-20151227-011022-log
Your compile dies after line 600 on my log.
make: Entering directory '/var/tmp/portage/net-analyzer/nmap-7.01/work/nmap-7.01'
make: *** No rule to make target 'makefile.dep'. Stop.
My compile reports on line 601: Makefile:486: makefile.dep: No such file or directory
Compile continues and writes makefile.dep on line 602

x86_64-pc-linux-gnu-g++ -MM -I./liblua -I./libdnet-stripped/include  -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"https://nmap.org\" -DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\" -march=core2 -O2 -pipe -Wall -fno-strict-aliasing   charpool.cc FingerPrintResults.cc FPEngine.cc FPModel.cc idle_scan.cc MACLookup.cc main.cc nmap.cc nmap_dns.cc nmap_error.cc nmap_ftp.cc NmapOps.cc NmapOutputTable.cc nmap_tty.cc osscan2.cc osscan.cc output.cc payload.cc portlist.cc portreasons.cc protocols.cc scan_engine.cc scan_engine_connect.cc scan_engine_raw.cc service_scan.cc services.cc Target.cc TargetGroup.cc targets.cc tcpip.cc timing.cc traceroute.cc utils.cc xml.cc nse_main.cc nse_utility.cc nse_nsock.cc nse_dnet.cc nse_fs.cc nse_nmaplib.cc nse_debug.cc nse_pcrelib.cc nse_binlib.cc nse_bit.cc nse_lpeg.cc nse_openssl.cc nse_ssl_cert.cc > makefile.dep
rj@funtoo ~ $ equery b  x86_64-pc-linux-gnu-g++
 * Searching for x86_64-pc-linux-gnu-g++ ... 
sys-devel/gcc-4.9.3 (/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3/x86_64-pc-linux-gnu-g++)
rj@funtoo ~ $ gcc-config -l
 [1] x86_64-pc-linux-gnu-4.9.3 *
rj@funtoo ~ $ gcc --version
gcc (Funtoo 4.9.3) 4.9.3
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
funtoo rj # emerge -av nmap

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] net-analyzer/nmap-7.01::gentoo  USE="ipv6 nls nse ssl -libressl -ncat -ndiff -nmap-update -nping (-system-lua) -zenmap" LINGUAS="-de -fr -hi -hr -it -ja -pl -pt_BR -ru -zh" PYTHON_TARGETS="python2_7" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...