Bug 214648 - net-analyzer/nmap-4.53 doesn't compile w/ USE="-lua"
Bug#: 214648 Product:  Gentoo Linux Version: unspecified Platform: AMD64
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: spock@gentoo.org Reported By: guzik@anka.net.pl
Component: Applications
URL: 
Summary: net-analyzer/nmap-4.53 doesn't compile w/ USE="-lua"
Keywords:  
Status Whiteboard: 
Opened: 2008-03-25 08:31 0000
Description:   Opened: 2008-03-25 08:31 0000
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

------- Comment #1 From Michal Januszewski 2008-03-25 14:37:38 0000 -------
This should now be fixed in CVS.