pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/31044: devel/pcre-6.2 fail to build on macppc



>Number:         31044
>Category:       pkg
>Synopsis:       devel/pcre-6.2 fail to build on macppc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 23 11:09:00 +0000 2005
>Originator:     Daniel Eggert
>Release:        NetBSD 2.0.2
>Organization:
macvaerk.dtu.dk
>Environment:
System: NetBSD boedewadt.dk 2.0.2 NetBSD 2.0.2 (GENERIC.MP) #0: Wed Mar 23 
09:10:48 UTC 2005 
jmc%faith.netbsd.org@localhost:/home/builds/ab/netbsd-2-0-2-RELEASE/i386/200503220140Z-obj/home/builds/ab/netbsd-2-0-2-RELEASE/src/sys/arch/i386/compile/GENERIC.MP
 i386
Architecture: i386
Machine: i386
>Description:

When building devel/pcre it fails with the following output. The version of 
pcre in pkgsrc is 6.2:

/usr/include/g++/bits/type_traits.h:296: error: previous definition of `struct 
   _Is_integer<int>'
/usr/include/g++/type_traits.h:345: error: redefinition of `struct 
   _Is_integer<unsigned int>'
/usr/include/g++/bits/type_traits.h:300: error: previous definition of `struct 
   _Is_integer<unsigned int>'
/usr/include/g++/type_traits.h:349: error: redefinition of `struct 
   _Is_integer<long int>'
/usr/include/g++/bits/type_traits.h:304: error: previous definition of `struct 
   _Is_integer<long int>'
/usr/include/g++/type_traits.h:353: error: redefinition of `struct 
   _Is_integer<long unsigned int>'
/usr/include/g++/bits/type_traits.h:308: error: previous definition of `struct 
   _Is_integer<long unsigned int>'
/usr/include/g++/type_traits.h:359: error: redefinition of `struct 
   _Is_integer<long long int>'
/usr/include/g++/bits/type_traits.h:312: error: previous definition of `struct 
   _Is_integer<long long int>'
/usr/include/g++/type_traits.h:363: error: redefinition of `struct 
   _Is_integer<long long unsigned int>'
/usr/include/g++/bits/type_traits.h:316: error: previous definition of `struct 
   _Is_integer<long long unsigned int>'
In file included from pcrecpp.cc:45:
pcre_stringpiece.h: In constructor `pcrecpp::StringPiece::StringPiece()':
pcre_stringpiece.h:67: error: `NULL' undeclared (first use this function)
pcre_stringpiece.h:67: error: (Each undeclared identifier is reported only once 
   for each function it appears in.)
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/pcre/work/pcre-6.2
*** Error code 1

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

Stop.
make: stopped in /usr/pkgsrc/devel/pcre



% tail /usr/pkgsrc/devel/pcre/work/.work.log
    (cmd-sink) pop: -I.
    (cmd-sink) pop: -DPOSIX_MALLOC_THRESHOLD=10
    (cmd-sink) pop: ./pcrecpp.cc
    (cmd-sink) pop: -fPIC
    (cmd-sink) pop: -DPIC
    (cmd-sink) pop: -o
    (cmd-sink) pop: .libs/pcrecpp.o
    (cmd-sink) pop: -I/usr/pkgsrc/devel/pcre/work/.buildlink/include
    (cmd-sink) pop: -L/usr/pkgsrc/devel/pcre/work/.buildlink/lib
<.> /usr/pkgsrc/devel/pcre/work/.gcc/bin/g++ -c -O2 -I. 
-DPOSIX_MALLOC_THRESHOLD=10 ./pcrecpp.cc -fPIC -DPIC -o .libs/pcrecpp.o 
-I/usr/pkgsrc/devel/pcre/work/.buildlink/include 
-L/usr/pkgsrc/devel/pcre/work/.buildlink/lib



>How-To-Repeat:

Get and install pkgsrc.
% cd /usr/pkgsrc/devel/pcre
% make

>Fix:


>Unformatted:
                pkgsrc from Aug 20 05:26



Home | Main Index | Thread Index | Old Index