[Bug 773622] New: ExtUtils::MakeMaker sets LD_RUN_PATH, causing RPATHs to be inserted

bugzilla at redhat.com bugzilla at redhat.com
Thu Jan 12 12:55:15 UTC 2012


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: ExtUtils::MakeMaker sets LD_RUN_PATH, causing RPATHs to be inserted

https://bugzilla.redhat.com/show_bug.cgi?id=773622

           Summary: ExtUtils::MakeMaker sets LD_RUN_PATH, causing RPATHs
                    to be inserted
           Product: Fedora
           Version: rawhide
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: unspecified
          Priority: unspecified
         Component: perl-ExtUtils-MakeMaker
        AssignedTo: ppisar at redhat.com
        ReportedBy: paul at city-fan.org
         QAContact: extras-qa at fedoraproject.org
                CC: fedora-perl-devel-list at redhat.com,
                    mmaslano at redhat.com, ppisar at redhat.com
    Classification: Fedora
      Story Points: ---
              Type: ---
        Regression: ---
        Mount Type: ---
     Documentation: ---


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.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the perl-devel mailing list