Bug 1451592 - perl-TheSchwartz-1.12-6.fc27 FTBFS: Can't locate Module/Build.pm
Summary: perl-TheSchwartz-1.12-6.fc27 FTBFS: Can't locate Module/Build.pm
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-TheSchwartz
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Emmanuel Seyman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-17 06:18 UTC by Petr Pisar
Modified: 2017-05-17 21:57 UTC (History)
2 users (show)

Fixed In Version: perl-TheSchwartz-1.12-7.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-17 21:57:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2017-05-17 06:18:15 UTC

Comment 1 Petr Pisar 2017-05-17 06:22:51 UTC
perl-TheSchwartz-1.12-6.fc27 fails to build in F27 when bootstrapping perl:

Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Tdvm3P
+ umask 022
+ cd /builddir/build/BUILD
+ cd TheSchwartz-1.12
+ /usr/bin/perl Build.PL installdirs=vendor
Can't locate Module/Build.pm in @INC (you may need to install the Module::Build module) (@INC contains: /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 Build.PL line 4.
BEGIN failed--compilation aborted at Build.PL line 4.

This is triggered by removing perl-CPAN run-time dependency on Module::Build when boostrapping (core modules cannot depend on non-core modules on bootstrap).

This is caused by wrong build-requires in the perl-TheSchwartz.spec. It lists perl(ExtUtils::MakeMaker) but calls "perl Build.PL".

I also noticed perl-TheSchwartz build-requires perl(CPAN) for unknown reason. It's nowhere used in the code and the commit message does not explain.

Please review and fix the dependency list.

Comment 2 Emmanuel Seyman 2017-05-17 07:09:40 UTC
Will do.

Comment 3 Emmanuel Seyman 2017-05-17 21:57:58 UTC
Done.
https://koji.fedoraproject.org/koji/buildinfo?buildID=894432


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