Bug 2242265 - perl-Module-ScanDeps-1.34-1.fc40 FTBFS on Perl bootstrap: Failed test 'AutoLoader.pm detected' at t/19-autosplit.t line 33: Undefined subroutine &Foo::blab called at /tmp/TrUJrLgxdv.pl line 5
Summary: perl-Module-ScanDeps-1.34-1.fc40 FTBFS on Perl bootstrap: Failed test 'AutoLo...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Module-ScanDeps
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jitka Plesnikova
QA Contact: Fedora Extras Quality Assurance
URL: https://ppisar.fedorapeople.org/perl_...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-10-05 08:16 UTC by Petr Pisar
Modified: 2023-10-05 12:55 UTC (History)
4 users (show)

Fixed In Version: perl-Module-ScanDeps-1.34-2.fc40
Clone Of:
Environment:
Last Closed: 2023-10-05 12:55:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2023-10-05 08:16:09 UTC
perl-Module-ScanDeps-1.34-1.fc40 fails a test when boostrapping Perl:

# use autosplitted module - static scan
#   Failed test 'AutoLoader.pm detected'
#   at t/19-autosplit.t line 33.
# use autosplitted module - runtime scan, absolute search path
Undefined subroutine &Foo::blab called at /tmp/TrUJrLgxdv.pl line 5.
SYSTEM ERROR in executing /tmp/TrUJrLgxdv.pl fee fo fum: 512 at /builddir/build/BUILD/Module-ScanDeps-1.34/blib/lib/Module/ScanDeps.pm line 1566.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 2 just after 7.
t/19-autosplit.t ................................ 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/7 subtests 

According to scratch Perl boostrap history <https://ppisar.fedorapeople.org/perl_rebuild/scratch/2023-10-02/index.xhtml#pperl-Module-ScanDeps> it started when perl-Module-ScanDeps was upgraded from 1.33-1.fc40 to 1.34-2.fc40 and these two packages emereged in a build root:

	perl-blib-1.07
	perl-IPC-Run3-0.048

I cannot reproduce simply by defining perl_bootstrap, so it's probably needs additional Perl packages built in bootstrap mode.

Please note that perl-Module-ScanDeps blocks perl-Module-Install which blocks a lot of other packages.

Comment 1 Jitka Plesnikova 2023-10-05 12:29:03 UTC
perl(AutoLoader) is new test dependency in t/data/autosplit/Foo.pm which I missed.

Comment 2 Fedora Update System 2023-10-05 12:46:47 UTC
FEDORA-2023-f4dbceb353 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-f4dbceb353

Comment 3 Fedora Update System 2023-10-05 12:55:10 UTC
FEDORA-2023-f4dbceb353 has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


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