Bug 1272893 - debhelper-9.20150628-1.fc24 FTBFS: Dependency on Test module not declared
Summary: debhelper-9.20150628-1.fc24 FTBFS: Dependency on Test module not declared
Alias: None
Product: Fedora
Classification: Fedora
Component: debhelper
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2015-10-19 07:38 UTC by Petr Pisar
Modified: 2015-10-22 13:00 UTC (History)
2 users (show)

Fixed In Version: debhelper-9.20150628-2.fc24
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-10-22 10:28:21 UTC
Type: Bug

Attachments (Terms of Use)

Description Petr Pisar 2015-10-19 07:38:17 UTC
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.

Comment 1 Sergio Basto 2015-10-22 04:42:58 UTC
Can you provide a patch ? or what I need to add ?

Comment 2 Petr Pisar 2015-10-22 08:58:06 UTC
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)".

Comment 3 Sergio Basto 2015-10-22 13:00:03 UTC

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