[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, 8 months
[Bug 2000995] perl-CGI-Session missing for RHEL 8
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2000995
Kevin Fenzi <kevin(a)scrye.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|epel-release |perl-CGI-Session
Version|epel8 |rawhide
CC| |andreas(a)bawue.net,
| |perl-devel(a)lists.fedoraproj
| |ect.org
Assignee|kevin(a)scrye.com |andreas(a)bawue.net
Product|Fedora EPEL |Fedora
Doc Type|--- |If docs needed, set a value
--- Comment #1 from Kevin Fenzi <kevin(a)scrye.com> ---
Moving to fedora perl-CGI-Session package to see if it's maintainers wish to
maintain it in epel8.
--
You are receiving this mail because:
You are on the CC list for the bug.
2 years, 8 months
[Bug 1655461] w3c-markup-validator-21.9.2 is available
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=1655461
--- Comment #27 from Upstream Release Monitoring <upstream-release-monitoring(a)fedoraproject.org> ---
Skipping the scratch build because an SRPM could not be built: ['rpmbuild',
'-D', '_sourcedir .', '-D', '_topdir .', '-bs',
'/var/tmp/thn-s8tobrhk/w3c-markup-validator.spec'] returned 1: b'error: Bad
source: ./w3c-markup-validator-21.9.2.tar.xz: No such file or directory\n'
--
You are receiving this mail because:
You are on the CC list for the bug.
2 years, 8 months