Bug 2059504

Summary: perl-Test-DistManifest-1.014-22.fc37 FTBFS: Failed test 'All files are listed in MANIFEST or skipped'
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-Test-DistManifestAssignee: Paul Howarth <paul>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mspacek, paul, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-Test-DistManifest-1.014-23.fc37 perl-Test-DistManifest-1.014-23.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-26 15:06:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Pisar 2022-03-01 08:35:38 UTC
perl-Test-DistManifest-1.014-22.fc37 fails to build locally in F37 because a test fails:

t/00-report-prereqs.t .. ok
# Unable to parse MANIFEST.SKIP file:
# No such file or directory
# Using default skip data from ExtUtils::Manifest 1.73
# Distribution files are missing in MANIFEST:
# .package_note-perl-Test-DistManifest-1.014-22.fc37.x86_64.ld

#   Failed test 'All files are listed in MANIFEST or skipped'
#   at t/02manifest.t line 24.
# Looks like you failed 1 test of 4.
t/02manifest.t ......... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests 

I have package-notes-srpm-macros-0.4-14.fc36.noarch and perl-libs-5.34.0-485.fc36.x86_64. See bug #2059502 for a similar report.

Comment 1 Paul Howarth 2022-03-01 16:30:38 UTC
Broken by https://src.fedoraproject.org/rpms/package-notes/c/b7381d as part of https://fedoraproject.org/wiki/Changes/Package_information_on_ELF_objects

Workaround for this noarch package is very similar to similar workaround needed for debuginfo temp files:
%undefine _package_note_file

Comment 2 Fedora Update System 2022-03-01 16:45:48 UTC
FEDORA-2022-45495fdb32 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-45495fdb32

Comment 3 Petr Pisar 2022-03-02 08:14:42 UTC
"%undefine _package_note_file" is not a good workaround because it disables that feature.

Comment 4 Paul Howarth 2022-03-02 08:39:09 UTC
As a general fix no, but this is a noarch package with no ELF files so the feature isn't being used here anyway.

Comment 5 Petr Pisar 2022-03-02 11:14:27 UTC
I see. I wasn't aware the notes generator is active even for noarch packages.

Comment 6 Paul Howarth 2022-03-02 11:28:52 UTC
As is the debuginfo generator, unfortunately.

Comment 7 Fedora Update System 2022-03-02 19:42:53 UTC
FEDORA-2022-45495fdb32 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-45495fdb32`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-45495fdb32

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2022-03-26 15:06:10 UTC
FEDORA-2022-45495fdb32 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.