pkgsrc-Bugs archive

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

pkg/36397: textproc/p5-XML-Xerces fails to build on 3.1/macppc



>Number:         36397
>Category:       pkg
>Synopsis:       textproc/p5-XML-Xerces fails to build on 3.1/macppc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 29 04:50:00 +0000 2007
>Originator:     David H. Gutteridge
>Release:        NetBSD 3.1
>Organization:
>Environment:


System: NetBSD arcusv.nonus-porta.net 3.1 NetBSD 3.1 (ARCUSV) #0: Sat May 12 
18:56:15 EDT 2007 
root%arcusv.nonus-porta.net@localhost:/usr/src/sys/arch/macppc/compile/ARCUSV 
macppc
Architecture: powerpc
Machine: macppc
>Description:
textproc/p5-XML-Xerces doesn't build on NetBSD 3.1/macppc.  It does on
3.1/i386.

On macppc, the results are:

=> Required installed package digest>=20010302: digest-20050731 found

===> Checking for vulnerabilities in p5-XML-Xerces-2.7.0.0

=> Checksum SHA1 OK for XML-Xerces-2.7.0-0.tar.gz

=> Checksum RMD160 OK for XML-Xerces-2.7.0-0.tar.gz

===> Installing dependencies for p5-XML-Xerces-2.7.0.0

=> Required installed package digest>=20010302: digest-20050731 found

=> Required installed package gmake>=3.78: gmake-3.81 found

=> Required installed package xerces-c>=2.7.0: xerces-c-2.7.0nb1 found

=> Required installed package perl>=5.8.7: perl-5.8.8nb1 found

===> Overriding tools for p5-XML-Xerces-2.7.0.0

===> Extracting for p5-XML-Xerces-2.7.0.0

===> Patching for p5-XML-Xerces-2.7.0.0

===> Creating toolchain wrappers for p5-XML-Xerces-2.7.0.0

===> Configuring for p5-XML-Xerces-2.7.0.0

Using XERCES_LIB = /usr/pkg/lib

Using XERCES_INCLUDE = /usr/pkg/include



   WARNING



You have defined the XERCESCROOT variable, but the file:



  XERCESCROOT/src/xercesc/config.status



does not seem to point to the config.status file that was used to

build your Xerces-C library. Without that file, I may not be able to

properly build the C++ glue files that come with Xerces.pm.



Proceeding anyway ...

Using Xerces-C version info from 
/usr/pkg/include/xercesc/util/XercesVersion.hpp

Checking to see if libxerces is in your library path...Success!!

Using Xerces-C version: 2.7.0

Checking if your kit is complete...

Looks good

Writing Makefile for Handler

Writing Makefile for XML::Xerces

===> Building for p5-XML-Xerces-2.7.0.0

cp Xerces.pm blib/lib/XML/Xerces.pm

/usr/pkg/bin/gmake -C Handler static

gmake[1]: Entering directory 
`/usr/pkgsrc/textproc/p5-XML-Xerces/work/XML-Xerces-2.7.0-0/Handler'

cc -c  -I. -IHandler -I/usr/pkg/include -fno-strict-aliasing -pipe 
-I/usr/pkg/include -O2 -mcpu=750 -pipe -I/usr/pkg/include -I/usr/include   
-I/usr/pkg/include -I/usr/include   -DVERSION=\"\" -DXS_VERSION=\"\" -DPIC 
-fPIC  "-I/usr/pkg/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE"   
PerlCallbackHandler.cpp

In file included from PerlCallbackHandler.hpp:28,

                 from PerlCallbackHandler.cpp:18:

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perl.h:2700:
 
error: parse

   error before `__attribute__'

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perl.h:2710:
 
error: parse

   error before `__attribute__'

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perl.h:2710:
 
error: syntax

   error before `)' token

In file included from 
/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/iperlsys.h:51,

                 from 
/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perl.h:2733,

                 from PerlCallbackHandler.hpp:28,

                 from PerlCallbackHandler.cpp:18:

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perlio.h:117:
 
error: parse

   error before `__attribute__'

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perlio.h:
 
In

   function `void PerlIO_define_layer(...)':

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perlio.h:118:
 
error: parse

   error before `__attribute__'

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perlio.h:
 
In

   function `PerlIO_funcs* PerlIO_find_layer(...)':

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perlio.h:121:
 
error: parse

   error before `__attribute__'

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perlio.h:
 
In

   function `PerlIOl** PerlIO_push(...)':

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perlio.h:123:
 
error: parse

   error before `__attribute__'

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perlio.h:
 
In

   function `void PerlIO_pop(...)':

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perlio.h:124:
 
error: parse

   error before `__attribute__'

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perlio.h:
 
In

   function `AV* PerlIO_get_layers(...)':

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perlio.h:125:
 
error: parse

   error before `__attribute__'

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perlio.h:
 
In

   function `void PerlIO_clone(...)':

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perlio.h:220:
 
error: parse

   error before `__attribute__'

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perlio.h:
 
In

   function `void PerlIO_init(...)':

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perlio.h:233:
 
error: parse

   error before `__attribute__'

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perlio.h:
 
In

   function `PerlIOl** PerlIO_openn(...)':

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perlio.h:351:
 
error: parse

   error before `__attribute__'

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perlio.h:
 
In

   function `PerlIOl** PerlIO_fdupopen(...)':

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perlio.h:360:
 
error: parse

   error before `__attribute__'

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perlio.h:
 
In

   function `int PerlIO_apply_layers(...)':

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perlio.h:364:
 
error: parse

   error before `__attribute__'

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perlio.h:
 
In

   function `int PerlIO_binmode(...)':

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perlio.h:371:
 
error: parse

   error before `__attribute__'

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perlio.h:
 
In

   function `void PerlIO_destruct(...)':

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perlio.h:376:
 
error: parse

   error before `__attribute__'

In file included from 
/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/perl.h:2746,

                 from PerlCallbackHandler.hpp:28,

                 from PerlCallbackHandler.cpp:18:

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/regexp.h:
 
In

   function `void PerlIO_cleanup(...)':

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/regexp.h:31:
 
error: declaration

   of `struct regexp' in `void PerlIO_cleanup(...)' which does not enclose 
`::'

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE/regexp.h:31:
 
confused by earlier errors, bailing out



[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:

/usr/pkgsrc/textproc/p5-XML-Xerces/work/.gcc/bin/gcc -c -I. -IHandler 
-I/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/include 
-fno-strict-aliasing -pipe -O2 -mcpu=750 -pipe -DVERSION=\"\" 
-DXS_VERSION=\"\" -DPIC -fPIC 
-I/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib/perl5/5.8.0/powerpc-netbsd-thread-multi/CORE
 
PerlCallbackHandler.cpp 
-L/usr/pkgsrc/textproc/p5-XML-Xerces/work/.buildlink/lib

gmake[1]: *** [PerlCallbackHandler.o] Error 1

gmake[1]: Leaving directory 
`/usr/pkgsrc/textproc/p5-XML-Xerces/work/XML-Xerces-2.7.0-0/Handler'

gmake: *** [blib/arch/auto/Handler/Handler.a] Error 2

*** Error code 2



Stop.

make: stopped in /usr/pkgsrc/textproc/p5-XML-Xerces

*** Error code 1



Stop.

make: stopped in /usr/pkgsrc/textproc/p5-XML-Xerces

Whereas on 3.1/i386 I get:

=> Required installed package digest>=20010302: digest-20060826 found

===> Checking for vulnerabilities in p5-XML-Xerces-2.7.0.0

=> Checksum SHA1 OK for XML-Xerces-2.7.0-0.tar.gz

=> Checksum RMD160 OK for XML-Xerces-2.7.0-0.tar.gz

===> Installing dependencies for p5-XML-Xerces-2.7.0.0

=> Required installed package gmake>=3.78: gmake-3.81 found

=> Required installed package xerces-c>=2.7.0: xerces-c-2.7.0nb1 found

=> Required installed package perl>=5.8.7: perl-5.8.8nb3 found

===> Overriding tools for p5-XML-Xerces-2.7.0.0

===> Extracting for p5-XML-Xerces-2.7.0.0

===> Patching for p5-XML-Xerces-2.7.0.0

===> Creating toolchain wrappers for p5-XML-Xerces-2.7.0.0

===> Configuring for p5-XML-Xerces-2.7.0.0

Using XERCES_LIB = /usr/pkg/lib

Using XERCES_INCLUDE = /usr/pkg/include



   WARNING



You have defined the XERCESCROOT variable, but the file:



  XERCESCROOT/src/xercesc/config.status



does not seem to point to the config.status file that was used to

build your Xerces-C library. Without that file, I may not be able to

properly build the C++ glue files that come with Xerces.pm.



Proceeding anyway ...

Using Xerces-C version info from 
/usr/pkg/include/xercesc/util/XercesVersion.hpp

Checking to see if libxerces is in your library path...Success!!

Using Xerces-C version: 2.7.0

Checking if your kit is complete...

Looks good

Writing Makefile for Handler

Writing Makefile for XML::Xerces

===> Building for p5-XML-Xerces-2.7.0.0

cp Xerces.pm blib/lib/XML/Xerces.pm

/usr/pkg/bin/gmake -C Handler static

gmake[1]: Entering directory 
`/usr/pkgsrc/textproc/p5-XML-Xerces/work/XML-Xerces-2.7.0-0/Handler'

cc -c  -I. -IHandler -I/usr/pkg/include -fno-strict-aliasing -pipe 
-I/usr/pkg/include -O2 -march=athlon-tbird -pipe -I/usr/pkg/include 
-I/usr/include   -I/usr/pkg/include -I/usr/include   -DVERSION=\"\" 
-DXS_VERSION=\"\" -DPIC -fPIC  
"-I/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE"   
PerlCallbackHandler.cpp

cc -c  -I. -IHandler -I/usr/pkg/include -fno-strict-aliasing -pipe 
-I/usr/pkg/include -O2 -march=athlon-tbird -pipe -I/usr/pkg/include 
-I/usr/include   -I/usr/pkg/include -I/usr/include   -DVERSION=\"\" 
-DXS_VERSION=\"\" -DPIC -fPIC  
"-I/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE"   
PerlContentCallbackHandler.cpp

cc -c  -I. -IHandler -I/usr/pkg/include -fno-strict-aliasing -pipe 
-I/usr/pkg/include -O2 -march=athlon-tbird -pipe -I/usr/pkg/include 
-I/usr/include   -I/usr/pkg/include -I/usr/include   -DVERSION=\"\" 
-DXS_VERSION=\"\" -DPIC -fPIC  
"-I/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE"   
PerlDocumentCallbackHandler.cpp

cc -c  -I. -IHandler -I/usr/pkg/include -fno-strict-aliasing -pipe 
-I/usr/pkg/include -O2 -march=athlon-tbird -pipe -I/usr/pkg/include 
-I/usr/include   -I/usr/pkg/include -I/usr/include   -DVERSION=\"\" 
-DXS_VERSION=\"\" -DPIC -fPIC  
"-I/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE"   
PerlErrorCallbackHandler.cpp

rm -rf ../blib/arch/auto/Handler/Handler.a

/usr/bin/ar cr ../blib/arch/auto/Handler/Handler.a PerlCallbackHandler.o 
PerlContentCallbackHandler.o PerlDocumentCallbackHandler.o 
PerlErrorCallbackHandler.o && : ../blib/arch/auto/Handler/Handler.a

chmod 755 ../blib/arch/auto/Handler/Handler.a

gmake[1]: Leaving directory 
`/usr/pkgsrc/textproc/p5-XML-Xerces/work/XML-Xerces-2.7.0-0/Handler'

gmake[1]: Entering directory 
`/usr/pkgsrc/textproc/p5-XML-Xerces/work/XML-Xerces-2.7.0-0/Handler'

gmake[1]: Leaving directory 
`/usr/pkgsrc/textproc/p5-XML-Xerces/work/XML-Xerces-2.7.0-0/Handler'

cc -c  -I. -IHandler -I/usr/pkg/include -D_REENTRANT -O2 -march=athlon-tbird 
-pipe -I/usr/pkg/include -I/usr/include   -I/usr/pkg/include -I/usr/include  
  -DVERSION=\"2.7.0-0\" -DXS_VERSION=\"2.7.0-0\" -DPIC -fPIC  
"-I/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE"   Xerces.cpp

Xerces.cpp: In function `void

   _wrap_SchemaGrammar_putAnnotation(PerlInterpreter*, CV*)':

Xerces.cpp:26918: warning: deleting `void*' is undefined

Xerces.cpp:26925: warning: deleting `void*' is undefined

Xerces.cpp: In function `void

   _wrap_SchemaGrammar_getAnnotation__SWIG_0(PerlInterpreter*, CV*)':

Xerces.cpp:27009: warning: deleting `void*' is undefined

Xerces.cpp:27015: warning: deleting `void*' is undefined

Xerces.cpp: In function `void _wrap_DOMNode_setUserData(PerlInterpreter*, 
CV*)

   ':

Xerces.cpp:32794: warning: deleting `void*' is undefined

Xerces.cpp:32804: warning: deleting `void*' is undefined

Xerces.cpp: In function `void _wrap_DOMBuilder_setProperty(PerlInterpreter*,

   CV*)':

Xerces.cpp:45438: warning: deleting `void*' is undefined

Xerces.cpp:45447: warning: deleting `void*' is undefined

Xerces.cpp: In function `void 
_wrap_SAX2XMLReader_setProperty(PerlInterpreter*,

   CV*)':

Xerces.cpp:63091: warning: deleting `void*' is undefined

Xerces.cpp:63100: warning: deleting `void*' is undefined

Running Mkbootstrap for XML::Xerces ()

chmod 644 Xerces.bs

rm -f blib/arch/auto/XML/Xerces/Xerces.so

LD_RUN_PATH="/usr/pkg/lib" cc  -Wl,-R/usr/pkg/lib --whole-archive -shared  
-L/usr/pkg/lib Xerces.o -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib 
-Wl,-R/usr/lib -o blib/arch/auto/XML/Xerces/Xerces.so 
blib/arch/auto/Handler/Handler.a        \

           -lpthread -L/usr/pkg/lib -lxerces-c 
-L/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE 
-Wl,-R/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE 
-Wl,-R/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE -lperl     \



chmod 755 blib/arch/auto/XML/Xerces/Xerces.so

cp Xerces.bs blib/arch/auto/XML/Xerces/Xerces.bs

chmod 644 blib/arch/auto/XML/Xerces/Xerces.bs

=> Unwrapping files-to-be-installed.

(Of course, I had to use unlimit to build, without doing so, it errors
out on i386 with:

cc1plus: out of memory allocating 64802640 bytes after a total of 92867172 
bytes

gmake: *** [Xerces.o] Error 1

*** Error code 2

That's one big compile.)

(I submitted a PR on this last week through your web form, but it looks
like it must have ended up in /dev/null somewhere.)

>How-To-Repeat:

>Fix:
I haven't had time to look at it.


>Unformatted:
 
 



Home | Main Index | Thread Index | Old Index