Bug 1738158
Summary: | trace-cmd depends on Python 2 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lumír Balhar <lbalhar> |
Component: | trace-cmd | Assignee: | Zamir SUN <sztsian> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | jonstanley, mhroncok, sztsian |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | trace-cmd-2.7-7.fc31 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-08-07 15:44:19 UTC | Type: | Bug |
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: | 1698500 |
Description
Lumír Balhar
2019-08-06 13:18:21 UTC
Hi Lumir, Thanks for the info. I suppose you are checking against an old snapshot, isn't it? The dependency was actually switched to python3 last week. https://src.fedoraproject.org/rpms/trace-cmd/c/8b530dd0d5e078c721dbb1095ee8faa95dec6492?branch=master If this bug aims at getting the reason for why this happens late, I would say that I did not figure out how to make swig work without python2-devel before, but now it works. You are completely right. My source database for these bugs was slightly outdated. Everything looks good here. Thank you! In fact, trace-cmd 2.7-6 still requires Python 2: $ repoquery --repo=rawhide --requires trace-cmd-python3 /usr/bin/python2 ... It might be caused by a hardcoded shebang in event-viewer.py: $ grep -iIrn python2 trace-cmd-v2.7/ trace-cmd-v2.7/Makefile:639: $(shell python2 -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('LINKFORSHARED')") trace-cmd-v2.7/event-viewer.py:1:#!/usr/bin/env python2 Facepalm. Thanks. I'll take a look. Fixed with trace-cmd-2.7-7.fc31. I temporary replace the shebang with python3, as I am already working on updating trace-cmd to a newer upstream version (currently blocked by some CFLAGS issue). I'll raise the hardcode issue to upstream when I resolved the build issue with the newer version. |