| Summary: | python_testcapi, _ctypes_test, _tkinter dangling links | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Bit Twister <bittwister2> |
| Component: | RPM Packages | Assignee: | Python Stack Maintainers <python> |
| Status: | REOPENED --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | jani.valimaa, marja11 |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | python-2.7.15-5.mga7.src.rpm | CVE: | |
| Status comment: | |||
| Attachments: |
latest dangles
latest dangles |
||
|
Description
Bit Twister
2017-12-19 00:12:09 CET
Marja Van Waes
2017-12-19 08:25:36 CET
Assignee:
bugsquad =>
python Created attachment 10106 [details]
latest dangles
Bit Twister
2018-04-26 20:01:21 CEST
Summary:
python /.build-id/ dangling links =>
python_testcapi, _ctypes_test, _tkinter dangling links latest release removed the links Status:
NEW =>
RESOLVED latest python update re-created dangles. Source RPM:
python-2.7.14-1.mga7.src.rpm =>
python-2.7.15-1.mga7.src.rpm There's a bug in rpm that causes dangling symlinks if %exclude is used in %files section for binaries/libraries. Rpm puts files under /usr/lib/.build-id/ to pkg where %exclude is used and not to pkg where excluded files really are.
Workaround for this issue is to explicitly list all files under some directory and not to use
%{_datadir}/foo/*
%exclude %{_datadir}/foo/barCC:
(none) =>
jani.valimaa http://svnweb.mageia.org/packages/cauldron/python/current/SPECS/python.spec?r1=1224654&r2=1224658 Removing /usr/lib/.build-id is totally wrong approach to the issue. It causes problems when one needs to trace, profile or debug issues in python. (In reply to Jani Välimaa from comment #5) > There's a bug in rpm that causes dangling symlinks if %exclude is used in > %files section for binaries/libraries. Rpm puts files under > /usr/lib/.build-id/ to pkg where %exclude is used and not to pkg where > excluded files really are. Correction (from bug 22407 comment 2): There's a bug in rpm which causes that .build-id symlink ends to a _multiple pkgs_ if %exclude is used in .spec.
Bit Twister
2018-05-23 23:56:43 CEST
Source RPM:
python-2.7.15-1.mga7.src.rpm =>
python-2.7.15-5.mga7.src.rpm |