Bug 243203 - security/nmap: Fails to build on 11.3 i386: ld: cannot find -libverbs
Summary: security/nmap: Fails to build on 11.3 i386: ld: cannot find -libverbs
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: i386 Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
Keywords: needs-patch, needs-qa
Depends on:
Reported: 2020-01-09 03:23 UTC by Victor Sudakov
Modified: 2022-08-02 23:03 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (ohauer)
koobs: merge-quarterly?

Complete poudriere log (131.55 KB, text/plain)
2020-01-09 03:23 UTC, Victor Sudakov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Sudakov 2020-01-09 03:23:43 UTC
Created attachment 210552 [details]
Complete poudriere log

security/nmap does not build on 11.3 i386:

c++ -L/usr/local/lib -Wl,-E   -fstack-protector-strong  -L/usr/lib -Lnbase -Lnsock/src/   -o nmap charpool.o FingerPrintResults.o FPEngine.o FPModel.o idle_scan.o MACLookup.o nmap_dns.o nmap_error.o nmap.o nmap_ftp.o NmapOps.o NmapOutputTable.o nmap_tty.o osscan2.o osscan.o output.o payload.o portlist.o portreasons.o protocols.o scan_engine.o scan_engine_connect.o scan_engine_raw.o scan_lists.o service_scan.o services.o NewTargets.o TargetGroup.o Target.o targets.o tcpip.o timing.o traceroute.o utils.o xml.o nse_main.o nse_utility.o nse_nsock.o nse_dnet.o nse_fs.o nse_nmaplib.o nse_debug.o nse_pcrelib.o nse_lpeg.o nse_openssl.o nse_ssl_cert.o nse_libssh2.o nse_zlib.o main.o -lnsock -lnbase -lpcre libpcap/libpcap.a -libverbs libssh2/lib/libssh2.a -lssl -lcrypto -lz libnetutil/libnetutil.a ./libdnet-stripped/src/.libs/libdnet.a ./liblua/liblua.a ./liblinear/liblinear.a 
/usr/bin/ld: cannot find -libverbs
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [Makefile:133: nmap] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/nmap/work/nmap-7.80'
*** Error code 1

I'm attaching a complete poudriere log. It does build on 11.3 amd64 though.
Comment 1 Rene Ladan freebsd_committer 2022-08-01 19:35:15 UTC
Commit bit expired.
Comment 2 Nuno Teixeira freebsd_committer 2022-08-02 23:03:57 UTC
(In reply to Rene Ladan from comment #1)
Think this PR can be closed as nmap-7.91_1 builds ok on 11 i386.