Subject: pkg/32113: lang/kaffe fails to compile on NetBSD 2.1 alpha
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <georg.schwarz@freenet.de>
List: pkgsrc-bugs
Date: 11/19/2005 11:32:00
>Number: 32113
>Category: pkg
>Synopsis: lang/kaffe fails to compile on NetBSD 2.1 alpha
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Nov 19 11:32:00 +0000 2005
>Originator: Georg Schwarz
>Release: 2.1
>Organization:
>Environment:
NetBSD alpha 2.1 NetBSD 2.1 (GENERIC.MP) #0: Mon Oct 24 19:21:50 UTC 2005 jmc@faith.netbsd.org:/home/builds/ab/netbsd-2-1-RELEASE/alpha/200510241747Z-obj/home/builds/ab/netbsd-2-1-RELEASE/src/sys/arch/alpha/compile/GENERIC.MP alpha
>Description:
this is from the current pkgsrc
...
cc -DHAVE_CONFIG_H -I. -I../../../../config -I../.. -I./../.. -I../../../../kaffe/kaffevm/jni -I../../../../include -DINTERPRETER -I/home/schwarz/pkgsrc/pkgsrc/lang/kaffe/work/kaffe-1.1.6/./kaffe/kaffevm -I/home/schwarz/pkgsrc/pkgsrc/lang/kaffe/work/kaffe-1.1.6/./kaffe/kaffevm/intrp -I/home/schwarz/pkgsrc/pkgsrc/lang/kaffe/work/kaffe-1.1.6/./kaffe/kaffevm/systems/unix-pthreads -I../../../../replace -I../../../../binreloc -Dunix -I/home/schwarz/pkgsrc/pkgsrc/lang/kaffe/work/.buildlink/include -DKAFFE_VMDEBUG -D_REENTRANT -pthread -O3 -mcpu=21264a -mieee -Wall -W -mieee -pthread -MT libkthread_la-signal.lo -MD -MP -MF .deps/libkthread_la-signal.Tpo -c signal.c -fPIC -DPIC -o .libs/libkthread_la-signal.o
signal.c:61: error: parse error before '(' token
signal.c:69: warning: type defaults to `int' in declaration of `restoreSyncSignalHandler'
signal.c:69: warning: parameter names (without types) in function declaration
signal.c:69: error: conflicting types for `restoreSyncSignalHandler'
jsignal.h:33: error: previous declaration of `restoreSyncSignalHandler'
signal.c:69: warning: data definition has no type or storage class
signal.c:72: warning: type defaults to `int' in declaration of `unblockSignal'
signal.c:72: warning: parameter names (without types) in function declaration
signal.c:72: error: conflicting types for `unblockSignal'
jsignal.h:40: error: previous declaration of `unblockSignal'
signal.c:72: warning: data definition has no type or storage class
signal.c:93: error: parse error before numeric constant
signal.c:93: warning: type defaults to `int' in declaration of `nullHandler'
signal.c:93: error: `nullHandler' redeclared as different kind of symbol
signal.c:53: error: previous declaration of `nullHandler'
signal.c:93: warning: data definition has no type or storage class
signal.c: In function `jthread_initexceptions':
signal.c:122: error: invalid lvalue in assignment
signal.c:129: error: `nullException' undeclared (first use in this function)
signal.c:129: error: (Each undeclared identifier is reported only once
signal.c:129: error: for each function it appears in.)
signal.c: At top level:
signal.c:267: error: conflicting types for `restoreSyncSignalHandler'
signal.c:69: error: previous declaration of `restoreSyncSignalHandler'
signal.c:312: error: conflicting types for `unblockSignal'
signal.c:72: error: previous declaration of `unblockSignal'
signal.c:429: error: parse error before '(' token
signal.c:432: error: parse error before '(' token
signal.c:432: warning: type defaults to `int' in declaration of `longjmp'
signal.c:432: error: conflicting types for `longjmp'
/usr/include/setjmp.h:69: error: previous declaration of `longjmp'
signal.c:432: error: parse error before numeric constant
signal.c: In function `detectStackBoundaries':
signal.c:451: error: `stackOverflowDetector' undeclared (first use in this function)
signal.c:484: warning: assignment discards qualifiers from pointer target type
signal.c: At top level:
signal.c:53: warning: `nullHandler' defined but not used
gmake[3]: *** [libkthread_la-signal.lo] Error 1
gmake[3]: Leaving directory `/home/schwarz/pkgsrc/pkgsrc/lang/kaffe/work/kaffe-1.1.6/kaffe/kaffevm/systems/unix-pthreads'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/schwarz/pkgsrc/pkgsrc/lang/kaffe/work/kaffe-1.1.6/kaffe/kaffevm/systems'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/schwarz/pkgsrc/pkgsrc/lang/kaffe/work/kaffe-1.1.6/kaffe/kaffevm'
gmake: *** [all-recursive] Error 1
*** Error code 2
Stop.
bmake: stopped in /home/schwarz/pkgsrc/pkgsrc/lang/kaffe
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===> * log of the build
===> * /home/schwarz/pkgsrc/pkgsrc/lang/kaffe/work/.work.log
===>
*** Error code 1
Stop.
bmake: stopped in /home/schwarz/pkgsrc/pkgsrc/lang/kaffe
>How-To-Repeat:
>Fix: