Bug 2196756

Summary: perl-Class-Autouse-2.01-34.fc39 FTBFS: Can't locate inc/Module/Install/DSL.pm
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-Class-AutouseAssignee: Ralf Corsepius <rc040203>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: jplesnik, lkundrak, lxtnow, perl-devel, rc040203
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://koschei.fedoraproject.org/package/perl-Class-Autouse
Whiteboard:
Fixed In Version: perl-Class-Autouse-2.01-36.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-26 11:17:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2168842    

Description Petr Pisar 2023-05-10 06:40:09 UTC
perl-Class-Autouse-2.01-34.fc39 fails to build in Fedora 39:

+ /usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
Can't locate inc/Module/Install/DSL.pm in @INC (you may need to install the inc::Module::Install::DSL module) (@INC contains: /usr/local/lib64/perl5/5.36 /usr/local/share/perl5/5.36 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.2aG8mg (%build)

This is triggered by upgrading perl-Module-Install from 1.19-24.fc38 to 1.21-1.fc39:

Changes for Perl programming language extension Module-Install
 
1.21  2023-04-28
  - fix tests broken by Module::Install::DSL removal
 
1.20  2023-04-27
  - Module::Install::DSL has been removed, as its use is highly discouraged.

Reproducible: Always

Comment 1 Jitka Plesnikova 2023-05-10 06:58:16 UTC
I created a pull request with a possible fix:
https://src.fedoraproject.org/rpms/perl-Class-Autouse/pull-request/1

Comment 2 Jitka Plesnikova 2023-05-10 06:58:57 UTC
*** Bug 2196757 has been marked as a duplicate of this bug. ***