NetBSD Problem Report #42036

From kre@munnari.OZ.AU  Thu Sep 10 11:43:01 2009
Return-Path: <kre@munnari.OZ.AU>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 19AAA63B877
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 10 Sep 2009 11:43:01 +0000 (UTC)
Message-Id: <200909101142.n8ABgtis026411@jade.coe.psu.ac.th>
Date: Thu, 10 Sep 2009 18:42:55 +0700 (ICT)
From: kre@munnari.OZ.AU
To: gnats-bugs@gnats.NetBSD.org
Subject: security/openvas-client compilation errors (NetBSD 4.0 / i386)
X-Send-Pr-Version: 3.95

>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:/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:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.