[Bug 1239335] New: perl-version rebuild attempts to change files outside of build directory

bugzilla at redhat.com bugzilla at redhat.com
Sun Jul 5 20:11:36 UTC 2015


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

            Bug ID: 1239335
           Summary: perl-version rebuild attempts to change files outside
                    of build directory
           Product: Fedora
           Version: 21
         Component: perl-version
          Assignee: psabata at redhat.com
          Reporter: joe at josephdwagner.info
        QA Contact: extras-qa at fedoraproject.org
                CC: perl-devel at lists.fedoraproject.org, psabata at redhat.com



Description of problem:
perl-version attempts to modify files outside of the build directory, resulting
in an access denied error when rebuild by an unprivileged user.

Version-Release number of selected component (if applicable):
perl-version-0.99.12-1.fc21.src.rpm

How reproducible: 100%


Steps to Reproduce:
# rpmbuild --rebuild --clean --target=i686 perl-version-0.99.12-1.fc21.src.rpm

Actual results:
Manifying blib/man3/version::Internals.3pm
Manifying blib/man3/version.3pm
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.URdhHG
+ umask 022
+ cd /home/joseph/rpmbuild/BUILD
+ cd version-0.9912
+ make pure_install
DESTDIR=/home/joseph/rpmbuild/BUILDROOT/perl-version-0.99.12-1.el6.i386
make[1]: Entering directory `/home/joseph/rpmbuild/BUILD/version-0.9912/vutil'
make[1]: Leaving directory `/home/joseph/rpmbuild/BUILD/version-0.9912/vutil'
Files found in blib/arch: installing files in blib/lib into architecture
dependent library tree
Installing
/home/joseph/rpmbuild/BUILDROOT/perl-version-0.99.12-1.el6.i386/usr/lib/perl5/vendor_perl/auto/version/vxs/vxs.so
Installing
/home/joseph/rpmbuild/BUILDROOT/perl-version-0.99.12-1.el6.i386/usr/lib/perl5/vendor_perl/auto/version/vxs/vxs.bs
Installing
/home/joseph/rpmbuild/BUILDROOT/perl-version-0.99.12-1.el6.i386/usr/lib/perl5/vendor_perl/version.pod
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: WARNING: Failed chmod(0666, /usr/share/perl5/version.pod): Operation
not permitted

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Cannot unlink '/usr/share/perl5/version.pod': Permission denied
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 at -e line 1

make: *** [pure_vendor_install] Error 13
error: Bad exit status from /var/tmp/rpm-tmp.URdhHG (%install)


RPM build errors:
    InstallSourcePackage at: psm.c:244: Header V3 RSA/SHA256 Signature, key ID
95a43f54: NOKEY
    user mockbuild does not exist - using root
    group mockbuild does not exist - using root
    user mockbuild does not exist - using root
    group mockbuild does not exist - using root
    Bad exit status from /var/tmp/rpm-tmp.URdhHG (%install)


Expected results:
Successful build.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the perl-devel mailing list