USE="-lua" emerge -u net-analyzer/nmap don't work.
Reproducible: Always
Steps to Reproduce:
1. USE="-lua" emerge -u net-analyzer/nmap
Actual Results:
[...]
x86_64-pc-linux-gnu-g++ -c -Ilibdnet-stripped/include -O2 -pipe
-march=athlon64 -Wall -fno-strict-aliasing -Inbase -Insock/include
-DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://insecure.org\"
-DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\"
-DNMAPLIBEXECDIR=\"/usr/libexec/nmap\" nse_debug.cc -o nse_debug.o
x86_64-pc-linux-gnu-g++ -c -Ilibdnet-stripped/include -O2 -pipe
-march=athlon64 -Wall -fno-strict-aliasing -Inbase -Insock/include
-DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://insecure.org\"
-DNMAP_PLATFORM=\"x86_64-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/share/nmap\"
-DNMAPLIBEXECDIR=\"/usr/libexec/nmap\" nse_pcrelib.cc -o nse_pcrelib.o
nse_pcrelib.cc: In function 'int luaopen_pcrelib(lua_State*)':
nse_pcrelib.cc:373: error: 'luaL_openlib' was not declared in this scope
make[1]: *** [nse_pcrelib.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/net-analyzer/nmap-4.53/work/nmap-4.53'
make: *** [all] Error 2
*
* ERROR: net-analyzer/nmap-4.53 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2396: Called die
* The specific snippet of code:
* emake -j1 || die
* The die message:
* (no error message)
*
* If you need support, post the topmost build error, and the call stack if
relevant.
* A complete build log is located at
'/var/tmp/portage/net-analyzer/nmap-4.53/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/net-analyzer/nmap-4.53/temp/environment'.
*
USE="lua" emerge -u net-analyzer/nmap works fine