Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1908156
Summary: | F34FailsToInstall: python3-colcon-bundle | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | python-colcon-bundle | Assignee: | Scott K Logan <logans> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | logans |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-colcon-bundle-0.1.0-2.fc33 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-12-18 10:08:48 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1868279 |
Description
Miro Hrončok
2020-12-16 00:00:04 UTC
From the recent build log: + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/lib/python3.9/site-packages/colcon_bundle/verb/assets/v1_setup.sh from /usr/bin/env sh to #!/usr/bin/sh mangling shebang in /usr/lib/python3.9/site-packages/colcon_bundle/verb/assets/v2_setup.jinja2.sh from /usr/bin/env {{ shell }} to #!/usr/bin/{{ shell }} mangling shebang in /usr/lib/python3.9/site-packages/colcon_bundle/verb/assets/v2_workspace_setup.jinja2.sh from /usr/bin/env {{ shell }} to #!/usr/bin/{{ shell }} The files seem to be templates. Consider removing them from both the shebang mangling and rpm requires generator. Ideally however, templates would not be executable (that can be fixed in upsream). > Ideally however, templates would not be executable (that can be fixed in upstream)
I'll pursue that, thanks.
PS: I was staring at the build logs in complete confusion. Thanks for pointing out the source of the issue - I understand now.
Suggested and tested fix: # Templates with Jinja2 variables in shebangs: %global __requires_exclude_from \\.jinja2\\.sh$ %global __brp_mangle_shebangs_exclude_from \\.jinja2\\.sh$ FEDORA-2020-029dbf3cd0 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-029dbf3cd0 FEDORA-2020-029dbf3cd0 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-029dbf3cd0 FEDORA-2020-029dbf3cd0 has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-029dbf3cd0` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-029dbf3cd0 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. Hello, Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok). All subpackages of a package against which this bug was filled are now installable or removed from Fedora 34. Thanks for taking care of it! FEDORA-2020-029dbf3cd0 has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report. |