The new perl packages do not own the "auto" dirs for the compat versions, and config.h contains buildroot traces. Will attach a patch to fix this and make the spec a bit more maintainable (although I'm unable to build this on FC1 probably due to the FindBin patch).
Created attachment 99380 [details] Suggested specfile patch
BTW 5.8.4 is out.
Ah crap... this looks important, but it may be too late for FC2 now. Ville, is your patch still workable with the latest perl? Chip, mind if I check this in, or can you?
Jeremy said if this can be built on Friday, it should be okay for FC2. Ville please double check against latest perl ASAP.
Given this timeframe, checking the 5.8.3 -> 5.8.4 upgrade is way beyond me. There are some (minor) possible incompatibilities listed in the 5.8.4 release notes: http://search.cpan.org/dist/perl/pod/perl584delta.pod#Incompatible_Changes Unless someone has already been preparing to upgrade to 5.8.4, I'd suggest just applying this patch and rebuilding a new 5.8.3 for FC2.
This problem still exists in perl-5.8.4-3. How to reproduce the problem ---------------------------- 1) Install the latest check-buildroot script from fedora.us (Full instructions in comment #1 https://bugzilla.fedora.us/show_bug.cgi?id=1756) 2) rpmbuild -ba perl.spec Building output in a FC2 system (Intel i386) -------------------------------------------- ... extracting debug info from /var/tmp/perl-root/usr/lib/perl5/5.8.4/i386-linux-thread-multi/auto/Socket/Socket.so extracting debug info from /var/tmp/perl-root/usr/bin/a2p extracting debug info from /var/tmp/perl-root/usr/bin/perl extracting debug info from /var/tmp/perl-root/usr/bin/suidperl extracting debug info from /var/tmp/perl-root/usr/bin/perl5.8.4 cpio: perl-5.8.4/x2p/y.tab.c: No such file or directory 32784 blocks + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/check-buildroot /var/tmp/perl-root/usr/lib/perl5/5.8.4/i386-linux-thread-multi/CORE/config.h:#define INSTALL_PREFIX "/var/tmp/perl-root/usr" /**/ /var/tmp/perl-root/usr/lib/perl5/5.8.4/i386-linux-thread-multi/CORE/config.h:#define INSTALL_PREFIX_EXP "/var/tmp/perl-root/usr" /**/ Found '/var/tmp/perl-root' in installed files; aborting error: Bad exit status from /var/tmp/rpm-tmp.59805 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.59805 (%install) ----------
Created attachment 101573 [details] Bring patch from comment #1 up to date (perl-5.8.4-3). I also made a couple more changes. Changelog follows: %changelog * Thu Jul 1 2004 Jose Pedro Oliveira <jpo.pt> - 3:5.8.4-4 - Corrected the license information (missing GPL). - Added the URL tag. - Removed empty .bs files. - Eliminated several strip generated messages (bug 127025). - Corrected problems mentioned in bug 120772 (updated Ville Skyttä patch for perl 5.8.4).
Changelog looks corrupted, here: * Tue Oct 12 2004 Jose Pedro Oliveira <jpo.pt> - Corrected the license information (missing GPL). - Added the URL tag. - Removed empty .bs files. - Eliminated several strip generated messages (bug 127025). - Corrected problems mentioned in bug 120772 (updated Ville Skytt* Tue Oct 12 2004 Chip Turner <cturner> 3:5.8.5-7
Chip, too late for this?
This is almost completely fixed in 5.8.5-9. "Almost" -> see bug 127025.