pkgsrc-Bugs archive

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

pkg/42036: security/openvas-client compilation errors (NetBSD 4.0 / i386)



>Number:         42036
>Category:       pkg
>Synopsis:       security/openvas-client compilation errors (NetBSD 4.0 / i386)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 10 11:45:00 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0 / i386    pkgsrc current (2009-09-09)
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        On NetBSD 4.0 (though I am not sure the system version is
        really relevant for this one) building security/openvas-client
        results in compilation errors.

>How-To-Repeat:
        I use pkg_comp with libkver and NetBSD 4.0 release sets (and sources)
        insalled (except x* sets, I use pkgsrc modular xorg).

        In that environment, building security/openvas-client results in

cc -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2  -Wall 
`sh ./cflags`       -c ../src/openvas-lib/openvas_ssh_login.c
../src/openvas-lib/openvas_ssh_login.c: In function 
'openvas_ssh_privkey_create':
../src/openvas-lib/openvas_ssh_login.c:80: error: expected identifier or '(' 
before '&' token
../src/openvas-lib/openvas_ssh_login.c:81: error: expected identifier or '(' 
before '&' token
../src/openvas-lib/openvas_ssh_login.c:119: error: invalid lvalue in unary '&'
../src/openvas-lib/openvas_ssh_login.c:119: error: invalid lvalue in unary '&'
../src/openvas-lib/openvas_ssh_login.c:125: warning: format '%s' expects type 
'char *', but argument 2 has type 'struct FILE *'
../src/openvas-lib/openvas_ssh_login.c:126: warning: format '%s' expects type 
'char *', but argument 2 has type 'struct FILE *'
../src/openvas-lib/openvas_ssh_login.c: In function 'openvas_ssh_pubkey_create':
../src/openvas-lib/openvas_ssh_login.c:147: error: expected identifier or '(' 
before '&' token
../src/openvas-lib/openvas_ssh_login.c:148: error: expected identifier or '(' 
before '&' token
../src/openvas-lib/openvas_ssh_login.c:194: error: invalid lvalue in unary '&'
../src/openvas-lib/openvas_ssh_login.c:194: error: invalid lvalue in unary '&'
../src/openvas-lib/openvas_ssh_login.c:200: warning: format '%s' expects type 
'char *', but argument 2 has type 'struct FILE *'
../src/openvas-lib/openvas_ssh_login.c:201: warning: format '%s' expects type 
'char *', but argument 2 has type 'struct FILE *'
gmake[1]: *** [openvas_ssh_login.o] Error 1
gmake[1]: Leaving directory 
`/pkg_comp/obj/pkgsrc/security/openvas-client/4x/openvas-client-2.0.1/nessus'
gmake: *** [client] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/security/openvas-client
*** Error code 1

Stop.

>Fix:



Home | Main Index | Thread Index | Old Index