Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485912 - net-analyzer/openvas-libraries-6.0.0 fails to build with bison-3
Summary: net-analyzer/openvas-libraries-6.0.0 fails to build with bison-3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: bison-3-breakage
  Show dependency tree
 
Reported: 2013-09-25 02:35 UTC by Patrick Lauer
Modified: 2014-04-29 09:38 UTC (History)
0 users

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 Patrick Lauer gentoo-dev 2013-09-25 02:35:26 UTC
Building C object nasl/CMakeFiles/openvas_nasl_static.dir/nasl_host.c.o
cd /var/tmp/portage/net-analyzer/openvas-libraries-6.0.0/work/openvas-libraries-6.0.0_build/nasl && /usr/bin/x86_64-pc-linux-gnu-gcc  -DENABLE_LDAP_AUTH=1 -DHAVE_LIBKSBA -DHAVE_LIBSSH  -DNDEBUG -O2 -pipe -march=native  -Wformat -Wformat-security -O2 -D_FORTIFY_SOURCE=2 -fstack-protector -Wl,-z,relro -Wl,-z,now -Wall -D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE=1 -fno-strict-aliasing -I/var/tmp/portage/net-analyzer/openvas-libraries-6.0.0/work/openvas-libraries-6.0.0/nasl/../base -I/var/tmp/portage/net-analyzer/openvas-libraries-6.0.0/work/openvas-libraries-6.0.0/nasl/../hg -I/var/tmp/portage/net-analyzer/openvas-libraries-6.0.0/work/openvas-libraries-6.0.0/nasl/../misc -I/var/tmp/portage/net-analyzer/openvas-libraries-6.0.0/work/openvas-libraries-6.0.0/nasl/../include    -DOPENVAS_STATE_DIR=\"/var/lib/openvas\" -DOPENVASLIB_VERSION=\"6.0.0\" -DOPENVAS_SYSCONF_DIR=\"/etc/openvas\" -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -I/usr/include/gpgme   -L/usr/lib64 -Wl,-rpath,/usr/lib64 -lpcap -o CMakeFiles/openvas_nasl_static.dir/nasl_host.c.o -c /var/tmp/portage/net-analyzer/openvas-libraries-6.0.0/work/openvas-libraries-6.0.0/nasl/nasl_host.c
nasl_grammar.tab.c: In function ‘naslparse’:
nasl_grammar.tab.c:1542:7: error: too few arguments to function ‘nasllex’
/var/tmp/portage/net-analyzer/openvas-libraries-6.0.0/work/openvas-libraries-6.0.0/nasl/nasl_grammar.y:57:12: note: declared here
 static int nasllex(YYSTYPE * lvalp, void * parm);
            ^
/var/tmp/portage/net-analyzer/openvas-libraries-6.0.0/work/openvas-libraries-6.0.0/nasl/nasl_grammar.y:143:16: error: ‘parm’ undeclared (first use in this function)
    ((naslctxt*)parm)->tree = $1;
                ^
/var/tmp/portage/net-analyzer/openvas-libraries-6.0.0/work/openvas-libraries-6.0.0/nasl/nasl_grammar.y:143:16: note: each undeclared identifier is reported only once for each function it appears in
/var/tmp/portage/net-analyzer/openvas-libraries-6.0.0/work/openvas-libraries-6.0.0/nasl/nasl_grammar.y:298:8: error: too many arguments to function ‘naslparse’
        if (! naslparse(&subctx))
        ^
/var/tmp/portage/net-analyzer/openvas-libraries-6.0.0/work/openvas-libraries-6.0.0/nasl/nasl_grammar.tab.c:63:25: note: declared here
 #define yyparse         naslparse
                         ^
nasl_grammar.tab.c:1373:1: note: in expansion of macro ‘yyparse’
make[2]: *** [nasl/CMakeFiles/openvas_nasl_static.dir/nasl_grammar.tab.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
/var/tmp/portage/net-analyzer/openvas-libraries-6.0.0/work/openvas-libraries-6.0.0/nasl/nasl_host.c:1:0: note: this is the location of the previous definition
 /* Nessus Attack Scripting Language
 ^
make[2]: Leaving directory `/var/tmp/portage/net-analyzer/openvas-libraries-6.0.0/work/openvas-libraries-6.0.0_build'
make[1]: *** [nasl/CMakeFiles/openvas_nasl_static.dir/all] Error 2
make[1]: Leaving directory `/var/tmp/portage/net-analyzer/openvas-libraries-6.0.0/work/openvas-libraries-6.0.0_build'
make: *** [all] Error 2
 * ERROR: net-analyzer/openvas-libraries-6.0.0::gentoo failed (compile phase):
 *   emake failed
Comment 1 Hanno Böck gentoo-dev 2013-11-10 18:40:57 UTC
Can you retry with 6.0.1? I can't reproduce it here with the new version.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-04-29 09:38:17 UTC
I can confirm this is fixed in =net-analyzer/openvas-libraries-6.0.1