Bug 773622 - ExtUtils::MakeMaker sets LD_RUN_PATH, causing RPATHs to be inserted
Summary: ExtUtils::MakeMaker sets LD_RUN_PATH, causing RPATHs to be inserted
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-ExtUtils-MakeMaker
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-12 12:55 UTC by Paul Howarth
Modified: 2012-01-12 16:25 UTC (History)
3 users (show)

Fixed In Version: perl-ExtUtils-MakeMaker-6.62-2.fc17
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-12 16:25:22 UTC
Type: ---


Attachments (Terms of Use)
Fix (5.25 KB, patch)
2012-01-12 16:18 UTC, Petr Pisar
no flags Details | Diff

Description Paul Howarth 2012-01-12 12:55:14 UTC
Description of problem:
The ExtUtils::MakeMaker in the main perl package has been patched for a long time to not set LD_RUN_PATH unless the USE_MM_LD_RUN_PATH environment variable is set in the MakeMaker run, to avoid adding RPATH entries for (say) /usr/lib64 when linking against external libraries. The recently-added dual-lived version of the package does not include this patch (perl-USE_MM_LD_RUN_PATH.patch), so the RPATHs are back in newly-built packages in Rawhide.

Version-Release number of selected component (if applicable):
perl-ExtUtils-MakeMaker-6.62-1.fc17

How reproducible:
Easily.

Steps to Reproduce:
1. Build perl-Math-GMP for Rawhide x86_64 and see the RPATH in the resulting package.
  
Actual results:
$ rpmlint ~/perl-Math-GMP-*
perl-Math-GMP.src: W: spelling-error %description -l en_US BigInt -> Big Int, Biting, Big-int
perl-Math-GMP.x86_64: W: spelling-error %description -l en_US BigInt -> Big Int, Biting, Big-int
perl-Math-GMP.x86_64: E: binary-or-shlib-defines-rpath /usr/lib64/perl5/vendor_perl/auto/Math/GMP/GMP.so ['/usr/lib64']
perl-Math-GMP.x86_64: E: incorrect-fsf-address /usr/share/doc/perl-Math-GMP-2.06/LICENSE
perl-Math-GMP-debuginfo.x86_64: E: incorrect-fsf-address /usr/src/debug/Math-GMP/Math-GMP-2.06/GMP.xs

Expected results:
$ rpmlint ~/perl-Math-GMP-*
perl-Math-GMP.src: W: spelling-error %description -l en_US BigInt -> Big Int, Biting, Big-int
perl-Math-GMP.x86_64: W: spelling-error %description -l en_US BigInt -> Big Int, Biting, Big-int
perl-Math-GMP.x86_64: E: incorrect-fsf-address /usr/share/doc/perl-Math-GMP-2.06/LICENSE
perl-Math-GMP-debuginfo.x86_64: E: incorrect-fsf-address /usr/src/debug/Math-GMP/Math-GMP-2.06/GMP.xs

Additional info:
This really could do with fixing before the Fedora 17 mass rebuilt starts later today.

Comment 1 Petr Pisar 2012-01-12 16:18:35 UTC
Created attachment 552448 [details]
Fix

Rebased patch from `perl' package. Fix verified by building perl-Math-GMP.

Comment 2 Petr Pisar 2012-01-12 16:25:22 UTC
Thank you very much for finding this issue. I'm sorry I did fix it sooner because I had to dig through extraordinary load of mails from package database.

This bug should be fixed in perl-ExtUtils-MakeMaker-6.62-2.fc17.


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