Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 120772 - Own "auto" compat dirs, remove buildroot traces
Summary: Own "auto" compat dirs, remove buildroot traces
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Chip Turner
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks: FC2Blocker FC3Target FC4Target
TreeView+ depends on / blocked
 
Reported: 2004-04-13 20:25 UTC by Ville Skyttä
Modified: 2007-11-30 22:10 UTC (History)
2 users (show)

Fixed In Version: 5.8.5-9
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-01-29 14:39:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Suggested specfile patch (deleted)
2004-04-13 20:27 UTC, Ville Skyttä
no flags Details | Diff
Bring patch from comment #1 up to date (perl-5.8.4-3). (deleted)
2004-07-01 21:54 UTC, Jose Pedro Oliveira
no flags Details | Diff

Description Ville Skyttä 2004-04-13 20:25:39 UTC
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).

Comment 1 Ville Skyttä 2004-04-13 20:27:41 UTC
Created attachment 99380 [details]
Suggested specfile patch

Comment 2 Ville Skyttä 2004-04-23 15:31:24 UTC
BTW 5.8.4 is out.

Comment 3 Warren Togami 2004-05-07 04:10:31 UTC
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?

Comment 4 Warren Togami 2004-05-07 04:46:02 UTC
Jeremy said if this can be built on Friday, it should be okay for FC2.
 Ville please double check against latest perl ASAP.

Comment 5 Ville Skyttä 2004-05-07 17:30:55 UTC
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.

Comment 6 Jose Pedro Oliveira 2004-07-01 21:49:01 UTC
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)
---------- 


Comment 7 Jose Pedro Oliveira 2004-07-01 21:54:40 UTC
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).

Comment 8 Robert Scheck 2004-10-14 07:06:22 UTC
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

Comment 9 Warren Togami 2004-10-14 07:12:59 UTC
Chip, too late for this?

Comment 10 Ville Skyttä 2005-01-29 14:39:12 UTC
This is almost completely fixed in 5.8.5-9.  "Almost" -> see bug 127025.


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