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 /home/atu/rpmbuild/BUILDROOT/perl-Module-Build-0.40-3.0.1.bcx.i386/home/atu/perl5/.... Version-Release number of selected component (if applicable): perl-Module-Build-0.40-3 How reproducible: Always. 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:
Created attachment 591443 [details] build log with rpmbuild
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?
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_LOCAL_LIB_ROOT unset PERL_MB_OPT unset PERL_MM_OPT unset PERL5LIB before building locally.
Really, ~/.bashrc was poisoned by this variables (dont know who and why). After Removing all works. Closing bug. Thanks!