debhelper-9.20150628-1.fc24 fails to build in F24 because tests fail: ./run perl -MTest::Harness -e 'runtests grep { ! /CVS/ && ! /\.svn/ && -f && -x } @ARGV' t/* t/buildsystems/* t/dh-lib .......................... ok Can't locate Test.pm in @INC (you may need to install the Test module) (@INC contains: /builddir/build/BUILD/debhelper /builddir/build/BUILD/debhelper /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at t/dh_install line 2. BEGIN failed--compilation aborted at t/dh_install line 2. t/dh_install ...................... Dubious, test returned 2 (wstat 512, 0x200) No subtests run This is because Test module was moved from perl package into separate package and debhelper does not declare the build-time dependency.
Hi, Can you provide a patch ? or what I need to add ?
I fixed it. There were many missing dependencies. I removed the "man-db" from build-requires because I could not find where it is used. In case of Perl, if you need a "Test" Perl module for building a package, you will need to add "BuildRequire: perl(Test)".
Thanks