[Bug 1972637] New: FTBFS with glibc-devel-2.33.9000-18.fc35:
Installed (but unpackaged) file(s) found: /usr/lib64/perl5/features-time64.ph
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=1972637
Bug ID: 1972637
Summary: FTBFS with glibc-devel-2.33.9000-18.fc35: Installed
(but unpackaged) file(s) found:
/usr/lib64/perl5/features-time64.ph
Product: Fedora
Version: rawhide
URL: https://koji.fedoraproject.org/koji/taskinfo?taskID=70
221595
Status: NEW
Component: perl
Assignee: jplesnik(a)redhat.com
Reporter: ppisar(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: caillon+fedoraproject(a)gmail.com, iarnell(a)gmail.com,
jplesnik(a)redhat.com, kasal(a)ucw.cz,
mmaslano(a)redhat.com, mspacek(a)redhat.com,
perl-devel(a)lists.fedoraproject.org, ppisar(a)redhat.com,
psabata(a)redhat.com, rhughes(a)redhat.com,
sandmann(a)redhat.com, spotrh(a)gmail.com
Blocks: 1927309 (F35FTBFS,RAWHIDEFTBFS)
Target Milestone: ---
Classification: Fedora
All perls fail to build Fedora 35 with glibc-devel-2.33.9000-18.fc35:
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/home/test/rpmbuild/BUILDROOT/perl-5.34.0-479.fc35.x86_64
error: Installed (but unpackaged) file(s) found:
/usr/lib64/perl5/features-time64.ph
RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/lib64/perl5/features-time64.ph
Tested with glibc-devel-2.33.9000-18.fc35 and and perl-bootstrap:5.32
<https://koji.fedoraproject.org/koji/taskinfo?taskID=70221595>.
Perl build script generates *.ph files from system header files and packages
the *.ph files. The latest glibc apparently added a new header file. You need
to update "%files ph" section.
Also please port this fix to f33 branch to make perl:5.32 buildable (and make
sure not to break building f33 perl in Fedoras < 35).
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1927309
[Bug 1927309] Fedora 35 FTBFS Tracker
--
You are receiving this mail because:
You are on the CC list for the bug.
2 years, 9 months
[Bug 1947703] New: Fix broken call to perl.prov when filenames
contain spaces
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=1947703
Bug ID: 1947703
Summary: Fix broken call to perl.prov when filenames contain
spaces
Product: Fedora
Version: 33
Status: NEW
Component: perl-generators
Assignee: jplesnik(a)redhat.com
Reporter: bab(a)debian.org
QA Contact: extras-qa(a)fedoraproject.org
CC: jplesnik(a)redhat.com,
perl-devel(a)lists.fedoraproject.org, ppisar(a)redhat.com
Target Milestone: ---
Classification: Fedora
Created attachment 1770474
--> https://bugzilla.redhat.com/attachment.cgi?id=1770474&action=edit
Patch to fix issue
Description of problem:
If %_topdir contains spaces, then RPM package builds produce errors when
calculating perl dependencies. These errors appear to be non-fatal (the RPM
builds run to completion), but given the nature of the problem it does seem
possible that the perl dependencies are not being deduced correctly.
The issue is simple: /usr/lib/rpm/perl.req contains a readpipe call to
"$prov_script $file", which is interpreted by the shell, without properly
quoting or escaping its $file argument.
I've attached a patch which fixes this, patched and tested against Fedora 33.
The patch is simple: it puts single quotes around the argument $file in the
readpipe() call to stop the shell splitting the $file argument (or indeed doing
other unwanted substitutions/code-calling/etc.). Since $file might also
contain single quotes, I've added a substitution regex beforehand that replaces
each ' with '"'"' so that the shell picks up any single quotes correctly.
How reproducible:
Consistently reproducible; just use a topdir with spaces and then build any
spec file that includes perl scripts.
Additional info:
For me at least the bug was practical, not just theoretical - I encountered
this when building Fedora packages in a continuous integration system, where
the RPM build directories were beneath machine-specific directories with names
such as "Fedora 33", "Fedora 32", etc.
--
You are receiving this mail because:
You are on the CC list for the bug.
2 years, 9 months