Hide Forgot
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:
Created attachment 528046 [details] Patch to the spec file to make make rebuild wrappers with swig and pass path to config.status
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.