Subject: pkg/32309: chat/kmess doesn't compile on amd64/current
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Wouter Schoot <wouter@schoot.org>
List: pkgsrc-bugs
Date: 12/15/2005 15:15:00
	Note: There was a bad value `sw-bug=20' for the field `Class'.
	It was set to the default value of `sw-bug'.

	Note: There was a bad value `high=20' for the field `Priority'.
	It was set to the default value of `medium'.

	Note: There was a bad value `no=20' for the field `Confidential'.
	It was set to the default value of `yes'.

>Number:         32309
>Category:       pkg
>Synopsis:       chat/kmess doesn't compile on amd64/current
>Confidential:   yes
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 15 15:15:00 +0000 2005
>Originator:     =09
>Release:        NetBSD 3.99.14
>Organization:
=09
>Environment:
=09
=09
System: NetBSD ascwin 3.99.14 NetBSD 3.99.14 (GENERIC) #0: Mon Dec 12 14:16=
:42 CET 2005 test2@ascent:/home/test2/src/_obj/sys/arch/amd64/compile/GENER=
IC amd64
Architecture: x86_64
Machine: amd64
>Description:
=09

Script started on Tue Dec 13 22:41:12 2005
# make

^D=08=08=3D=3D=3D> Checking for vulnerabilities in kmess-1.1nb8
=3D=3D=3D> Building for kmess-1.1nb8
/usr/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory `/usr/pkgsrc/chat/kmess/work/kmess-1.1'
Making all in kmess
gmake[2]: Entering directory `/usr/pkgsrc/chat/kmess/work/kmess-1.1/kmess'
Making all in chat
gmake[3]: Entering directory `/usr/pkgsrc/chat/kmess/work/kmess-1.1/kmess/c=
hat'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/usr/pkgsrc/chat/kmess/work/kmess-1.1/kmess/ch=
at'
Making all in network
gmake[3]: Entering directory `/usr/pkgsrc/chat/kmess/work/kmess-1.1/kmess/n=
etwork'
source=3D'application.cpp' object=3D'application.o' libtool=3Dno \
depfile=3D'.deps/application.Po' tmpdepfile=3D'.deps/application.TPo' \
depmode=3Dgcc3 /bin/sh ../../admin/depcomp \
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/pkg/include -I/usr/pkg/qt3/inclu=
de -I/usr/pkg/xorg/include  -I/usr/pkg/include -I/usr/pkg/xorg/include  -DQ=
T_THREAD_SUPPORT -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt3/include -=
DGLX_GLXEXT_LEGACY -I/usr/pkg/xorg/include -I/usr/include/krb5 -I/usr/pkg/i=
nclude/freetype2  -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wu=
ndef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-string=
s -DNDEBUG -DNO_DEBUG -O2 -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/=
qt3/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/xorg/include -I/usr/include/krb5=
 -I/usr/pkg/include/freetype2 -fno-exceptions -fno-check-new  -c -o applica=
tion.o `test -f application.cpp || echo './'`application.cpp
cc1plus: warning: "-Wbad-function-cast" is valid for C/ObjC but not for C++
application.cpp: In member function `QCString Application::generateCookie()=
=20
   const':
application.cpp:110: error: `rand' undeclared (first use this function)
application.cpp:110: error: (Each undeclared identifier is reported only on=
ce=20
   for each function it appears in.)
gmake[3]: *** [application.o] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/chat/kmess/work/kmess-1.1/kmess/ne=
twork'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/chat/kmess/work/kmess-1.1/kmess'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/chat/kmess/work/kmess-1.1'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/chat/kmess
=3D=3D=3D>=20
=3D=3D=3D> There was an error during the ``build'' phase.
=3D=3D=3D> Please investigate the following for more information:
=3D=3D=3D>      * log of the build
=3D=3D=3D>      * /usr/pkgsrc/chat/kmess/work/.work.log
=3D=3D=3D>=20
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/chat/kmess
#=20
Script done on Tue Dec 13 22:41:27 2005
>How-To-Repeat:
=09
>Fix:
=09
	Sorry, none

>Unformatted:
 =09
 =09