Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214648 - net-analyzer/nmap-4.53 doesn't compile w/ USE="-lua"
Summary: net-analyzer/nmap-4.53 doesn't compile w/ USE="-lua"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-25 08:31 UTC by Bartłomiej Syryjczyk
Modified: 2008-03-25 14:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bartłomiej Syryjczyk 2008-03-25 08:31:24 UTC
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 Michal Januszewski (RETIRED) gentoo-dev 2008-03-25 14:37:38 UTC
This should now be fixed in CVS.