Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 626886 - >=dev-python/txaio-2.6.2 installs stray files/will cause collisions
Summary: >=dev-python/txaio-2.6.2 installs stray files/will cause collisions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Brian Dolbec
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-02 15:54 UTC by Daniel M. Weeks
Modified: 2018-10-15 23:39 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel M. Weeks 2017-08-02 15:54:55 UTC
txaio installs /usr/LICENSE as a result of (incorrectly) including it in data_files within setup.py. I've just pushed a real fix upstream:

https://github.com/crossbario/txaio/pull/114

This is actually a wider problem for python packages - abusing data_files to install directly into the prefix root. I've found it more than once - crossbar, txio - both still affected). It would be good for portage, or at lease the python eclasses, to check for stray files that are likely to cause collisions. I have a hook in my portage bashrc that I use to alert me to such problems: https://danweeks.net/p-blog?id=8

The only reason this does not currently cause a collision with dev-python/crossbar is a sed hack in the crossbar ebuild.

See also bug # 626884.

Reproducible: Always
Comment 1 Virgil Dupras (RETIRED) gentoo-dev 2018-10-15 23:39:22 UTC
This indeed happens in current stable 2.7.1, but was fixed in 2.9.0