Red Hat Bugzilla – Bug 17092
rpm --rebuild perl-5.6.0-9.src.rpm fails on RedHat 6.2
Last modified: 2008-05-01 11:37:58 EDT
Attempting to rebuild the source rpm on a RH 6.2 system will all updates
and security fixes as of Aug 29, 2000 fails.
The package is built for Pinstripe. How exactly does the rebuild fail?
The first error is during the perl's "make test" process. It looks like "make
test" started but is having problems, the following messages appear
"Testing alignment requirements for U32... u32align.c:9: EXTERN.h: No such file
"u32align.c:10: perl.h: No such file or directory"
"Can't compile test program"
The Digest::MD2/SHA1/MD5 build process is started and it looks like it's
successful. The next problem is after a whole lot of cp's & chmod's messages.
The message is
"WARNING: You've never run 'make test'!!! (Installing anyway.)"
The next error is after what looks like the building of the man pages and a line
saying "+ make all -f -" The error message is
"package gcc is not installed"
The same message appears again after "scsi/sg.h -> scsi/sg.ph". The next error
is a perl compiler error from the command
The error message is
"Can't locate Config.pm in @INC" followed by the contents of @INC.
The next error is after the Digest::MD5 install. That error is
"## Differing versions of ./MD5.pm found. You might like to
And finally the last error message is
"Files not found by glob: /var/tmp/per-root/usr/man/*/*"
Many of the configuration options and paths have been tweaked in ways that
aren't going to be fixable with macros in the .spec file (FHS path
modifications, glibc features, compiler flags), so it would definitely require
modifications to build it properly on 6.2. Because 5.6.0 requires rebuilding
almost all (if not all) modules that are to be installed, it's unlikely that
we'll provide 5.6.0 for 6.2 as a supported upgrade.
Okay, I understand that I'm going to have to wait for Pinstripe or build my own
perl package and modules. Do you have any idea how long I will need to wait for
Pinstripe is the public beta for our upcoming release, and is already available
at ftp://ftp.redhat.com/pub/redhat/beta/. Some of the bugs reported against it
are already fixed in the Raw Hide tree (ftp://ftp.redhat.com/pub/rawhide/), and
others are being fixed as we find them and time to fix them.