Bug 745979 - perl-XML-Xerces doesn't build on centos 6
Summary: perl-XML-Xerces doesn't build on centos 6
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: perl-XML-Xerces
Version: el6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Xavier Bachelot
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 745978
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-13 14:53 UTC by Ulrik Haugen
Modified: 2011-10-14 08:21 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-14 08:21:00 UTC
Type: ---


Attachments (Terms of Use)
Error messages from rpmbuild (88.48 KB, application/octet-stream)
2011-10-13 14:53 UTC, Ulrik Haugen
no flags Details
Patch to the spec file to make make rebuild wrappers with swig and pass path to config.status (897 bytes, patch)
2011-10-13 14:55 UTC, Ulrik Haugen
no flags Details | Diff

Description Ulrik Haugen 2011-10-13 14:53:50 UTC
Created attachment 528045 [details]
Error messages from rpmbuild

Description of problem:
Apparently some files need to be rebuilt with swig to work with perl 5.10, see:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466786

Also the build seems to require config.status from xerces-c which isn't installed, see Bug 745978.

Version-Release number of selected component (if applicable):
2.7.0_0-4.el5

How reproducible:
Always

Steps to Reproduce:
1. Find a Centos 6 machine
2. rpm -i perl-XML-Xerces-2.7.0_0-4.el5.src.rpm
3. rpmbuild -bb SPECS/perl-XML-Xerces.spec

  
Actual results:
Warnings about config.status:

"   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 ..."

Lots of swig errors like:
"Xerces.cpp:69331: error: too many initializers for 'swig_command_info'"
"Xerces.cpp: In function 'void boot_XML__Xerces(PerlInterpreter*, CV*)':
Xerces.cpp:69557: error: 'struct swig_command_info' has no member named 'wrapper'"


Expected results:
rpm package built.

Additional info:

Comment 1 Ulrik Haugen 2011-10-13 14:55:17 UTC
Created attachment 528046 [details]
Patch to the spec file to make make rebuild wrappers with swig and pass path to config.status

Comment 2 Ulrik Haugen 2011-10-14 08:21:00 UTC
The comment from Volker Fröhlich in bug 745978 got me at least as far as my patch in this bug and probably suggests a better way forward.

Closing as wontfix.


Note You need to log in before you can comment on or make changes to this bug.