Bug 831575 - perl-Module-Build and dependent modules fails to build without mock - install files to /{instdir}/home/...
perl-Module-Build and dependent modules fails to build without mock - install...
Product: Fedora
Classification: Fedora
Component: perl-Module-Build (Show other bugs)
Unspecified Linux
unspecified Severity low
: ---
: ---
Assigned To: Marcela Mašláňová
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-06-13 07:02 EDT by Anton Guda
Modified: 2012-06-13 08:04 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-06-13 08:04:20 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
build log with rpmbuild (13.60 KB, text/plain)
2012-06-13 07:05 EDT, Anton Guda
no flags Details

  None (edit)
Description Anton Guda 2012-06-13 07:02:32 EDT
Description of problem:
If perl-Module-Build or any other module, which uses it for install,
build with mock chroot -- all works. But if rpm package
tryed to build with rpmbuild -ba ...., then build fails
with message about not found files:

File not found by glob: /home/atu/rpmbuild/BUILDROOT/perl-Module-Build-0.40-3.0.1.bcx.i386/usr/share/perl5/vendor_perl/*

But really files installed in 

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Make env to build with rpmbuild
2. rpmbuild -ba --target i686 perl-Module-Build-0.40-3.fc*.src.rpm
Actual results:
Build fails - files in wrong position

Expected results:
Build exit with success.

Additional info:
Comment 1 Anton Guda 2012-06-13 07:05:28 EDT
Created attachment 591443 [details]
build log with rpmbuild
Comment 2 Petr Pisar 2012-06-13 07:21:38 EDT
How could you install the release 3.fc18 into rawhide? The package has been built against perl 5.16 into special build-root which is not part of standard rawhide.

Do you experience the same problem with 2.fc18?
Comment 3 Iain Arnell 2012-06-13 07:28:32 EDT
This looks familiar to me. Are you using perl-local-lib? Or have something in your bash profile that sets PERL_MB_OPT? Try

  unset PERL_MB_OPT
  unset PERL_MM_OPT
  unset PERL5LIB

before building locally.
Comment 4 Anton Guda 2012-06-13 08:04:20 EDT
Really, ~/.bashrc was poisoned by this variables (dont know who and why).
After Removing all works.
Closing bug. Thanks!

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