The MD2 got removed in openssl-1.0.0 x86_64-pc-linux-gnu-g++ -c -I/usr/include/lua -Ilibdnet-stripped/include -Inbase -Insock/include -O2 -pipe -msse -msse2 -mmmx -m3dnow -Wall -fno-strict-aliasing -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 nse_ssl_cert.cc -o nse_ssl_cert.o nse_openssl.cc:11:25: error: openssl/md2.h: No such file or directory nse_openssl.cc: In function 'int l_md2(lua_State*)': nse_openssl.cc:215: error: 'MD2' was not declared in this scope distcc[15644] ERROR: compile nse_openssl.cc on localhost failed make[1]: *** [nse_openssl.o] Error 1 make[1]: *** Waiting for unfinished jobs.... nmap_dns.cc: In function 'void parse_resolvdotconf()': nmap_dns.cc:950: warning: format '%u' expects type 'unsigned int', but argument 4 has type 'long unsigned int' make[1]: Leaving directory `/var/tmp/portage/net-analyzer/nmap-5.21/work/nmap-5.21' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce:
This needs USE="ssl lua" both enabled, anyhow... fixed in -r1 by patch from macports.