Description of problem: Building a .deb on Fedora can result in a spurious permissions problem. We saw the bug in [1]. It was also reported [2] and fixed [3] upstream. The fix involves changing "use v5.28" in Dh_lib.pm to "use v5.24". Fedora has the former while Debian's debhelper 13.5.2 [4] has the latter. [1] https://github.com/scylladb/scylla/issues/9781 [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992370#5 [3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992370#15 [4] https://launchpad.net/debian/+source/debhelper/13.5.2 [5] https://github.com/scylladb/scylla.git Version-Release number of selected component (if applicable): 13.5.2-2 How reproducible: Always Steps to Reproduce: 1. Build Scylla [5] Actual results: Fail on building the debian packages Expected results: Success, world peace Additional info:
is this [1] ? [1] https://tracker.debian.org/news/1247918/accepted-debhelper-134nmu1-source-into-unstable/ [ Sean Whitton ] * Non-maintainer upload. * Replace "use v5.28" with "use v5.24" in Dh_Lib.pm. The change to "use v5.28" in 13.4 broke the test to distinguish 0755 from "0755" in the reset_perm_and_owner function, breaking builds. Thanks Adrian Bunk and Ansgar for help isolating the problem.
i.e. if with root permissions you edit /usr/share/perl5/vendor_perl/Debian/Debhelper/Dh_Lib.pm and replace use v5.28; by use v5.24; it works ?
Yes to both.
FEDORA-2021-fe7af4c598 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-fe7af4c598
FEDORA-2021-9b382fb3ba has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-9b382fb3ba
FEDORA-2021-fe7af4c598 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-fe7af4c598` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-fe7af4c598 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-9b382fb3ba has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-9b382fb3ba` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-9b382fb3ba See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
Thanks for the rapid response!
Hi, I don't think this is the correct way to fix this bug but while we don't have a better fix, I applied this one. That was my fault on try keeping "use v5.28" ...
FEDORA-2021-fe7af4c598 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-9b382fb3ba has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report.