Description of problem: make test from %check requires Thread/Queue.pm which is provided by perl516-perl-Thread-Queue-3.02-1.el6.noarch.rpm The BuildRequires for this rpm should add perl516-perl(Thread::Queue) so that the %check can complete successfully Version-Release number of selected component (if applicable): perl516-perl-threads-1.86-100.el6 How reproducible: 100% Steps to Reproduce: 1. build with mock, populating only what is required by the rpm 2. %check fails Actual results: t/exit.t ........... ok Can't locate Thread/Queue.pm in @INC (@INC contains: /builddir/build/BUILD/threads-1.86/blib/arch /builddir/build/BUILD/threads-1.86/blib/lib /opt/rh/perl516/root/usr/local/lib/perl5 /opt/rh/perl516/root/usr/local/share/perl5 /opt/rh/perl516/root/usr/lib/perl5/vendor_perl /opt/rh/perl516/root/usr/share/perl5/vendor_perl /opt/rh/perl516/root/usr/lib/perl5 /opt/rh/perl516/root/usr/share/perl5 .) at t/free.t line 26. BEGIN failed--compilation aborted at t/free.t line 30. t/free.t ........... Dubious, test returned 2 (wstat 512, 0x200) No subtests run Can't locate Thread/Queue.pm in @INC (@INC contains: /builddir/build/BUILD/threads-1.86/blib/arch /builddir/build/BUILD/threads-1.86/blib/lib /opt/rh/perl516/root/usr/local/lib/perl5 /opt/rh/perl516/root/usr/local/share/perl5 /opt/rh/perl516/root/usr/lib/perl5/vendor_perl /opt/rh/perl516/root/usr/share/perl5/vendor_perl /opt/rh/perl516/root/usr/lib/perl5 /opt/rh/perl516/root/usr/share/perl5 .) at t/free2.t line 30. BEGIN failed--compilation aborted at t/free2.t line 34. t/free2.t .......... Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/join.t ........... ok Can't locate Thread/Queue.pm in @INC (@INC contains: /builddir/build/BUILD/threads-1.86/blib/arch /builddir/build/BUILD/threads-1.86/blib/lib /opt/rh/perl516/root/usr/local/lib/perl5 /opt/rh/perl516/root/usr/local/share/perl5 /opt/rh/perl516/root/usr/lib/perl5/vendor_perl /opt/rh/perl516/root/usr/share/perl5/vendor_perl /opt/rh/perl516/root/usr/lib/perl5 /opt/rh/perl516/root/usr/share/perl5 .) at t/kill.t line 31. BEGIN failed--compilation aborted at t/kill.t line 36. Expected results: Thread/Queue.pm should be required by the rpm BuildRequires: perl516-perl(Thread::Queue) should be added Additional info:
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-0613.html