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 - F34FailsToInstall: python3-colcon-bundle
Summary: F34FailsToInstall: python3-colcon-bundle
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-colcon-bundle
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Scott K Logan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F34FailsToInstall
TreeView+ depends on / blocked
 
Reported: 2020-12-16 00:00 UTC by Miro Hrončok
Modified: 2021-01-05 01:25 UTC (History)
1 user (show)

Fixed In Version: python-colcon-bundle-0.1.0-2.fc33
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-18 10:08:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github colcon colcon-bundle pull 206 0 None open Explicitly fix script permissions after copying 2020-12-16 00:52:45 UTC

Description Miro Hrončok 2020-12-16 00:00:04 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok).

Your package (python-colcon-bundle) Fails To Install in Fedora 34:

can't install python3-colcon-bundle:
  - nothing provides /usr/bin/{{ needed by python3-colcon-bundle-0.1.0-1.fc34.noarch
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.

P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors.

P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/rawhide-gating/multi-builds/

Thanks!

Comment 1 Miro Hrončok 2020-12-16 00:03:39 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).

Comment 2 Scott K Logan 2020-12-16 00:07:42 UTC
> 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.

Comment 3 Miro Hrončok 2020-12-16 00:09:54 UTC
Suggested and tested fix:

# Templates with Jinja2 variables in shebangs:
%global __requires_exclude_from \\.jinja2\\.sh$
%global __brp_mangle_shebangs_exclude_from \\.jinja2\\.sh$

Comment 4 Fedora Update System 2020-12-17 21:11:42 UTC
FEDORA-2020-029dbf3cd0 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-029dbf3cd0

Comment 5 Fedora Update System 2020-12-17 21:11:43 UTC
FEDORA-2020-029dbf3cd0 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-029dbf3cd0

Comment 6 Fedora Update System 2020-12-18 01:14:00 UTC
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.

Comment 7 Miro Hrončok 2020-12-18 10:08:48 UTC
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!

Comment 8 Fedora Update System 2021-01-05 01:25:39 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.