pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/28969: libnasl breaks on build



>Number:         28969
>Category:       pkg
>Synopsis:       libnasl breaks on build
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 14 20:39:00 +0000 2005
>Originator:     diro%nixsys.bz@localhost
>Release:        NetBSD 1.6.2
>Organization:
>Environment:
System: NetBSD nixsys 1.6.2 NetBSD 1.6.2 (NIXSYS) #10: Thu Mar 4 22:20:38 EST 
2004 root@nixsys:/usr/src/sys/arch/alpha/compile/NIXSYS alpha
Architecture: alpha
Machine: alpha
>Description:

===> Building for libnasl-2.2.2a
cd nasl && /usr/bin/make
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -c 
nasl_packet_forgery.c
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -c 
nasl_socket.c
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -c 
nasl_crypto.c
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -c 
-DNESSUS_STATE_DIR=\"/var\" nasl_crypto2.c
nasl_crypto2.c: In function `verify_script_signature':
nasl_crypto2.c:882: warning: cast from pointer to integer of different size
nasl_crypto2.c:882: warning: cast from pointer to integer of different size
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -c nasl_http.c
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -c nasl_host.c
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -c 
nasl_text_utils.c
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -c 
nasl_nessusd_glue.c
nasl_nessusd_glue.c: In function `get_kb_item':
nasl_nessusd_glue.c:657: warning: cast from pointer to integer of different size
nasl_nessusd_glue.c: In function `get_kb_fresh_item':
nasl_nessusd_glue.c:713: warning: cast from pointer to integer of different size
nasl_nessusd_glue.c: In function `replace_kb_item':
nasl_nessusd_glue.c:748: warning: cast to pointer from integer of different size
nasl_nessusd_glue.c: In function `set_kb_item':
nasl_nessusd_glue.c:779: warning: cast to pointer from integer of different size
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -c 
nasl_misc_funcs.c
nasl_misc_funcs.c: In function `nasl_start_denial':
nasl_misc_funcs.c:196: warning: cast to pointer from integer of different size
nasl_misc_funcs.c:198: warning: cast to pointer from integer of different size
nasl_misc_funcs.c:210: warning: cast to pointer from integer of different size
nasl_misc_funcs.c:212: warning: cast to pointer from integer of different size
nasl_misc_funcs.c: In function `nasl_end_denial':
nasl_misc_funcs.c:221: warning: cast from pointer to integer of different size
nasl_misc_funcs.c:234: warning: cast from pointer to integer of different size
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -c 
-DNESSUS_STATE_DIR=\"/var\" nasl_cmd_exec.c
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -c 
capture_packet.c
bison -d -v -t -p nasl nasl_grammar.y
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -c 
nasl_grammar.tab.c
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -c nasl_tree.c
nasl_tree.c: In function `nasl_dump_tree':
nasl_tree.c:438: warning: cast from pointer to integer of different size
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -c nasl_var.c
nasl_var.c: In function `get_var_name':
nasl_var.c:254: warning: cast from pointer to integer of different size
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -c exec.c
exec.c: In function `execute_nasl_script':
exec.c:1822: warning: assignment discards qualifiers from pointer target type
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -c lint.c
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -c 
nasl_lex_ctxt.c
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -c nasl_func.c
nasl_func.c: In function `insert_nasl_func':
nasl_func.c:100: warning: passing arg 4 of `qsort' from incompatible pointer 
type
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -c 
-DVERSION=\"2.2.2\" nasl_init.c
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -c strutils.c
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -c regex.c
regex.c: In function `re_match_2':
regex.c:3771: warning: cast from pointer to integer of different size
regex.c:3771: warning: cast from pointer to integer of different size
regex.c:3777: warning: cast to pointer from integer of different size
regex.c:3777: warning: cast to pointer from integer of different size
regex.c:3924: warning: cast to pointer from integer of different size
regex.c:3924: warning: cast to pointer from integer of different size
regex.c:3977: warning: cast to pointer from integer of different size
regex.c:3977: warning: cast to pointer from integer of different size
regex.c:4083: warning: cast from pointer to integer of different size
regex.c:4084: warning: cast from pointer to integer of different size
regex.c:4116: warning: cast to pointer from integer of different size
regex.c:4116: warning: cast to pointer from integer of different size
regex.c:4129: warning: cast to pointer from integer of different size
regex.c:4129: warning: cast to pointer from integer of different size
regex.c:4297: warning: cast from pointer to integer of different size
regex.c:4298: warning: cast from pointer to integer of different size
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -c lfind.c
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -c smb_crypt.c
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -c 
smb_crypt2.c
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -c md5.c
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -c hmacmd5.c
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -c preparse.c
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -c 
-DNESSUS_STATE_DIR=\"/var\" nasl_server.c
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -c 
nasl_debug.c
/bin/sh /usr/src/sys/pkgsrc/security/libnasl/work/libnasl/libtool --silent cc 
-pipe -O2 -mieee -I/usr/pkg/include -I/usr/include  `sh ./cflags` -lrpcsvc 
-lcompat `/usr/pkg/bin/nessus-config --libs` -o libnasl.la 
nasl_packet_forgery.lo  nasl_socket.lo  nasl_crypto.lo  nasl_crypto2.lo  
nasl_http.lo  nasl_host.lo  nasl_text_utils.lo  nasl_nessusd_glue.lo  
nasl_misc_funcs.lo  nasl_cmd_exec.lo  capture_packet.lo  nasl_grammar.tab.lo  
nasl_tree.lo  nasl_var.lo  exec.lo  lint.lo  nasl_lex_ctxt.lo  nasl_func.lo  
nasl_init.lo  strutils.lo  regex.lo  lfind.lo  smb_crypt.lo  smb_crypt2.lo  
md5.lo  hmacmd5.lo  preparse.lo  nasl_server.lo  nasl_debug.lo -rpath 
/usr/pkg/lib  -version-info 4:2:2

*** Warning: This library needs some functionality provided by -lrpcsvc.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This library needs some functionality provided by -lcompat.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
cc -pipe -O2 -mieee -I/usr/pkg/include -I/usr/include   `sh ./cflags` -I. 
-I/usr/src/sys/pkgsrc/security/libnasl/work/libnasl/include -o nasl 
-DVERSION=\"2.2.2\" nasl.c nasl_packet_forgery.o  nasl_socket.o  nasl_crypto.o  
nasl_crypto2.o  nasl_http.o  nasl_host.o  nasl_text_utils.o  
nasl_nessusd_glue.o  nasl_misc_funcs.o  nasl_cmd_exec.o  capture_packet.o  
nasl_grammar.tab.o  nasl_tree.o  nasl_var.o  exec.o  lint.o  nasl_lex_ctxt.o  
nasl_func.o  nasl_init.o  strutils.o  regex.o  lfind.o  smb_crypt.o  
smb_crypt2.o  md5.o  hmacmd5.o  preparse.o  nasl_server.o  nasl_debug.o 
-lrpcsvc -lcompat `/usr/pkg/bin/nessus-config --libs`
nasl_socket.o(.text+0x127c): In function `nasl_recv_line':
: undefined reference to `stream_get_buffer_sz'
nasl_socket.o(.text+0x1280): In function `nasl_recv_line':
: undefined reference to `stream_get_buffer_sz'
collect2: ld returned 1 exit status
*** Error code 1

>How-To-Repeat:
        make libnasl in pkgsrc-current.
>Fix:
        




Home | Main Index | Thread Index | Old Index