Subject: Cannot build p5-subversion from pkgsrc; threaded perl issue?
To: None <netbsd-help@NetBSD.org>
From: Mike Frandsen <michael.frandsen@sri.com>
List: netbsd-help
Date: 09/08/2005 09:55:45
I cannot build subversion unless I first build and install perl5 with
threading support. However, subversion depends on p5-subversion and I
get the below error when trying to build it.
I'm building off of the latest pkgsrc from CVS. The log for
p5-subversion is below.
Thanks,
Mike
===> Building for p5-subversion-1.2.3
/bin/sh /usr/pkgsrc/devel/p5-subversion/work/subversion-1.2.3/libtool
--tag=CC --silent --mode=compile cc -I/usr/include -I/usr/pkg/include
-DNETBSD -O2 -I/usr/include -I/usr/pkg/include -g -O2 -DNEON_ZLIB
-DNEON_SSL
-I/usr/pkgsrc/devel/p5-subversion/work/subversion-1.2.3/subversion/bindings/swig
-I/usr/pkgsrc/devel/p5-subversion/work/subversion-1.2.3/subversion/include
-I/usr/pkgsrc/devel/p5-subversion/work/.buildlink/share/swig/1.3
-DSVN_SWIG_VERSION=103024 -DSWIG_TABLE_TYPE=subversion
-I/usr/pkg/include/apr-0 -I/usr/pkg/include/apr-0 -I/usr/pkg/include
-fno-strict-aliasing -pipe -I/usr/pkg/include
-I/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE
-I./subversion/include -I./subversion
-I/usr/pkg/include/neon -I/usr/pkg/include/apr-0
-I/usr/pkg/include/apr-0 -I/usr/pkg/include -o
subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.lo -c
/usr/pkgsrc/devel/p5-subversion/work/subversion-1.2.3/subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c
In file included from
/usr/pkgsrc/devel/p5-subversion/work/subversion-1.2.3/subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c:20:
/usr/pkgsrc/devel/p5-subversion/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE/perl.h:2322:
pthread.h: No such file or directory
In file included from
/usr/pkgsrc/devel/p5-subversion/work/subversion-1.2.3/subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c:20:
/usr/pkgsrc/devel/p5-subversion/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE/perl.h:2324:
parse error before `perl_os_thread'
/usr/pkgsrc/devel/p5-subversion/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE/perl.h:2324:
warning: data definition has no type or storage class
/usr/pkgsrc/devel/p5-subversion/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE/perl.h:2325:
parse error before `perl_mutex'
/usr/pkgsrc/devel/p5-subversion/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE/perl.h:2325:
warning: data definition has no type or storage class
/usr/pkgsrc/devel/p5-subversion/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE/perl.h:2326:
parse error before `perl_cond'
/usr/pkgsrc/devel/p5-subversion/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE/perl.h:2326:
warning: data definition has no type or storage class
/usr/pkgsrc/devel/p5-subversion/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE/perl.h:2327:
parse error before `perl_key'
/usr/pkgsrc/devel/p5-subversion/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE/perl.h:2327:
warning: data definition has no type or storage class
In file included from
/usr/pkgsrc/devel/p5-subversion/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE/perl.h:3851,
from
/usr/pkgsrc/devel/p5-subversion/work/subversion-1.2.3/subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c:20:
/usr/pkgsrc/devel/p5-subversion/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE/perlvars.h:31:
parse error before `PL_thr_key'
/usr/pkgsrc/devel/p5-subversion/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE/perlvars.h:31:
warning: data definition has no type or storage class
/usr/pkgsrc/devel/p5-subversion/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE/perlvars.h:48:
parse error before `PL_op_mutex'
/usr/pkgsrc/devel/p5-subversion/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE/perlvars.h:48:
warning: data definition has no type or storage class
/usr/pkgsrc/devel/p5-subversion/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE/perlvars.h:52:
parse error before `PL_dollarzero_mutex'
/usr/pkgsrc/devel/p5-subversion/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE/perlvars.h:52:
warning: data definition has no type or storage class
In file included from
/usr/pkgsrc/devel/p5-subversion/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE/perlapi.h:38,
from
/usr/pkgsrc/devel/p5-subversion/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE/XSUB.h:320,
from
/usr/pkgsrc/devel/p5-subversion/work/subversion-1.2.3/subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c:21:
/usr/pkgsrc/devel/p5-subversion/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE/perlvars.h:31:
parse error before `*'
/usr/pkgsrc/devel/p5-subversion/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE/perlvars.h:31:
warning: data definition has no type or storage class
/usr/pkgsrc/devel/p5-subversion/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE/perlvars.h:48:
parse error before `*'
/usr/pkgsrc/devel/p5-subversion/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE/perlvars.h:48:
warning: data definition has no type or storage class
/usr/pkgsrc/devel/p5-subversion/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE/perlvars.h:52:
parse error before `*'
/usr/pkgsrc/devel/p5-subversion/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE/perlvars.h:52:
warning: data definition has no type or storage class
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/p5-subversion/work/subversion-1.2.3
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/p5-subversion
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===> * log of the build
===> * /usr/pkgsrc/devel/p5-subversion/work/.work.log
===>
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/p5-subversion
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/p5-subversion
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/subversion
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/subversion
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/subversion
gamera#