Subject: devel/ptl2 fails to build on -current
To: None <tech-pkg@netbsd.org>
From: Arto Huusko <arto.huusko@utu.fi>
List: tech-pkg
Date: 12/13/2002 19:52:01
I'm having some trouble building PTL2 (2.1.8nb1, pkgsrc from
early last Saturday) on 1.6K (from beginning of previous week).
It fails very early in the build with the following:
-----------
cc `./ccarg.sh` -g -O3
/mnt/maailma/usr/pkgsrc/devel/ptl2/work/PTL-2.1.8/Util/
stk-grow-dir.c -o stk-grow-dir
-L/mnt/maailma/usr/pkgsrc/devel/ptl2/work/PTL-2
.1.8/libaltsys/A.i386-unknown-netbsdelf1.6K -laltsys `cat
/mnt/maailma/usr/pkgsr
c/devel/ptl2/work/PTL-2.1.8/libaltsys/A.i386-unknown-netbsdelf1.6K/linker_opt`
In file included from
/mnt/maailma/usr/pkgsrc/devel/ptl2/work/PTL-2.1.8/A.i386-u
nknown-netbsdelf1.6K/include/setjmp.h:26,
from
/mnt/maailma/usr/pkgsrc/devel/ptl2/work/PTL-2.1.8/src/ansi
.h:37,
from
/mnt/maailma/usr/pkgsrc/devel/ptl2/work/PTL-2.1.8/Util/stk
-grow-dir.c:24:
/mnt/maailma/usr/pkgsrc/devel/ptl2/work/PTL-2.1.8/A.i386-unknown-netbsdelf1.6K/i
nclude/signal.h:88: `siginfo' defined as wrong kind of tag
/mnt/maailma/usr/pkgsrc/devel/ptl2/work/PTL-2.1.8/A.i386-unknown-netbsdelf1.6K/i
nclude/signal.h:89: warning: no semicolon at end of struct or union
/mnt/maailma/usr/pkgsrc/devel/ptl2/work/PTL-2.1.8/A.i386-unknown-netbsdelf1.6K/i
nclude/signal.h:89: parse error before `.'
/mnt/maailma/usr/pkgsrc/devel/ptl2/work/PTL-2.1.8/A.i386-unknown-netbsdelf1.6K/i
nclude/signal.h:90: parse error before `.'
*** Error code 1
Stop.
make: stopped in
/mnt/maailma/usr/pkgsrc/devel/ptl2/work/PTL-2.1.8/A.i386-unknow
n-netbsdelf1.6K
*** Error code 1
Stop.
make: stopped in /mnt/maailma/usr/pkgsrc/devel/ptl2/work/PTL-2.1.8
*** Error code 1
Stop.
make: stopped in /mnt/maailma/usr/pkgsrc/devel/ptl2/work/PTL-2.1.8
*** Error code 1
Stop.
make: stopped in /mnt/maailma/usr/pkgsrc/devel/ptl2
*** Error code 1
Stop.
make: stopped in /mnt/maailma/usr/pkgsrc/devel/ptl2
----------------------------
I think there's been some work regarding siginfo lately, and indeed,
<sys/siginfo.h> (which, I think, gets included by PTL's signal.h)
does define union siginfo.
So, what am I to do? Can I waltz around this somehow, without breaking
anything?
(And, what's the point of metacity requiring PTL2, while GTK 2 et co
uses pth?).
p.s. plese CC me.