<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>214648</bug_id>
          
          <creation_ts>2008-03-25 08:31 0000</creation_ts>
          <short_desc>net-analyzer/nmap-4.53 doesn&apos;t compile w/ USE=&quot;-lua&quot;</short_desc>
          <delta_ts>2008-03-25 14:37:38 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>guzik@anka.net.pl</reporter>
          <assigned_to>spock@gentoo.org</assigned_to>
          <cc>netmon@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>guzik@anka.net.pl</who>
            <bug_when>2008-03-25 08:31:24 0000</bug_when>
            <thetext>USE=&quot;-lua&quot; emerge -u net-analyzer/nmap don&apos;t work.

Reproducible: Always

Steps to Reproduce:
1. USE=&quot;-lua&quot; 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=\&quot;Nmap\&quot; -DNMAP_URL=\&quot;http://insecure.org\&quot; -DNMAP_PLATFORM=\&quot;x86_64-pc-linux-gnu\&quot; -DNMAPDATADIR=\&quot;/usr/share/nmap\&quot; -DNMAPLIBEXECDIR=\&quot;/usr/libexec/nmap\&quot; 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=\&quot;Nmap\&quot; -DNMAP_URL=\&quot;http://insecure.org\&quot; -DNMAP_PLATFORM=\&quot;x86_64-pc-linux-gnu\&quot; -DNMAPDATADIR=\&quot;/usr/share/nmap\&quot; -DNMAPLIBEXECDIR=\&quot;/usr/libexec/nmap\&quot; nse_pcrelib.cc -o nse_pcrelib.o
nse_pcrelib.cc: In function &apos;int luaopen_pcrelib(lua_State*)&apos;:
nse_pcrelib.cc:373: error: &apos;luaL_openlib&apos; 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&apos;
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 &apos;/var/tmp/portage/net-analyzer/nmap-4.53/temp/build.log&apos;.
 * The ebuild environment file is located at &apos;/var/tmp/portage/net-analyzer/nmap-4.53/temp/environment&apos;.
 * 


USE=&quot;lua&quot; emerge -u net-analyzer/nmap works fine</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>spock@gentoo.org</who>
            <bug_when>2008-03-25 14:37:38 0000</bug_when>
            <thetext>This should now be fixed in CVS.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>