Bug 243203

Summary: security/nmap: Fails to build on 11.3 i386: ld: cannot find -libverbs
Product: Ports & Packages Reporter: Victor Sudakov <vas>
Component: Individual Port(s)Assignee: Olli Hauer <ohauer>
Status: Open ---    
Severity: Affects Some People CC: vas
Priority: --- Keywords: needs-patch, needs-qa
Version: LatestFlags: bugzilla: maintainer-feedback? (ohauer)
koobs: merge-quarterly?
Hardware: i386   
OS: Any   
Attachments:
Description Flags
Complete poudriere log none

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.