Subject: pkg/23421: its4 package doesn't build
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tls@netbsd.org>
List: netbsd-bugs
Date: 11/13/2003 01:40:50
>Number:         23421
>Category:       pkg
>Synopsis:       its4 package does not build due to C++ compiler errors
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 13 01:41:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Thor Lancelot Simon
>Release:        NetBSD-current as of 2003-10-30; pkgsrc as of 2003-11-12
>Organization:
	The NetBSD Project
>Environment:
NetBSD enola-gay 1.6ZE NetBSD 1.6ZE (ENOLA-GAY.MPBIOS) #1: Thu Nov  6 18:33:10 EST 2003  root@enola-gay:/u2/src/sys/arch/i386/compile/ENOLA-GAY.MPBIOS i386
Architecture: i386
Machine: i386
>Description:
===> *** No /u2/pkgsrc/distfiles/pkg-vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
=> Checksum OK for its4-1.1.1.tgz.
===> Extracting for its4-1.1.1
===> Patching for its4-1.1.1
===> Overriding tools for its4-1.1.1
===> Configuring for its4-1.1.1
Looking for a C++ compiler... g++
Checking for a BSD compatible install... yes
Checking for snprintf()... yes
Checking for getopt_long()... yes
Checking for unistd.h... yes

******************* Configuration completed *******************
To build, type 'make'.  Then, to install, type 'make install'.
===> Building for its4-1.1.1
g++ -c -DDATA_DIR=/usr/pkg/share/its4 -Wall -DHAVE_SNPRINTF -DHAVE_GETOPT_LONG -DHAVE_UNISTD -O3 token.C
g++ -c -DDATA_DIR=/usr/pkg/share/its4 -Wall -DHAVE_SNPRINTF -DHAVE_GETOPT_LONG -DHAVE_UNISTD -O3 lex.C
g++ -c -DDATA_DIR=/usr/pkg/share/its4 -Wall -DHAVE_SNPRINTF -DHAVE_GETOPT_LONG -DHAVE_UNISTD -O3 main.C
In file included from main.C:9:
formatter.H:13:8: warning: extra tokens at end of #endif directive
g++ -c -DDATA_DIR=/usr/pkg/share/its4 -Wall -DHAVE_SNPRINTF -DHAVE_GETOPT_LONG -DHAVE_UNISTD -O3 scanner.C
g++ -c -DDATA_DIR=/usr/pkg/share/its4 -Wall -DHAVE_SNPRINTF -DHAVE_GETOPT_LONG -DHAVE_UNISTD -O3 resultsdb.C
resultsdb.C: In function `void AddResult(char*, int, Severity_enum, VulnInfo*, 
   int)':
resultsdb.C:47: error: default argument given for parameter 5 of `void 
   AddResult(char*, int, Severity_enum, VulnInfo*, int)'
resultsdb.H:26: error: after previous specification in `void AddResult(char*, 
   int, Severity_enum, VulnInfo*, int)'
*** Error code 1

Stop.
make: stopped in /u2/pkgsrc/devel/its4/work.i386/its4
*** Error code 1

Stop.
make: stopped in /u2/pkgsrc/devel/its4
*** Error code 1

Stop.
make: stopped in /u2/pkgsrc/devel/its4
>How-To-Repeat:
	Type "make" in the its4 pkgsrc directory.
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: