Bug 745979

Summary: perl-XML-Xerces doesn't build on centos 6
Product: [Fedora] Fedora EPEL Reporter: Ulrik Haugen <ulrik.haugen>
Component: perl-XML-XercesAssignee: Xavier Bachelot <xavier>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: xavier
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-14 08:21:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 745978    
Bug Blocks:    
Attachments:
Description Flags
Error messages from rpmbuild
none
Patch to the spec file to make make rebuild wrappers with swig and pass path to config.status none

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.