Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194345 - sys-apps/hal incorrectly stores .pyc files in /usr/share/
Summary: sys-apps/hal incorrectly stores .pyc files in /usr/share/
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Project Gentopia
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-01 06:42 UTC by SpanKY
Modified: 2007-10-01 15:52 UTC (History)
1 user (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 SpanKY gentoo-dev 2007-10-01 06:42:54 UTC
it is a FHS violation for non-portable binary files to be stored in /usr/share/

sys-apps/hal sticks .pyc/.pyo files in there which causes problems obviously when upgrading python versions

$ qfile /usr/share/hal/device-manager -v
sys-apps/hal-0.5.9.1-r2 (/usr/share/hal/device-manager)
$ ls /usr/share/hal/device-manager/*.pyc
/usr/share/hal/device-manager/Const.pyc          /usr/share/hal/device-manager/Device.pyc               /usr/share/hal/device-manager/LibGladeApplication.pyc
/usr/share/hal/device-manager/DeviceManager.pyc  /usr/share/hal/device-manager/GtkAttributesFacade.pyc  /usr/share/hal/device-manager/Representation.pyc
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2007-10-01 13:31:23 UTC
I've already removed the graphical device-manager upstream. It's broken out into it's own package. You can see this in the release candidates for 0.5.10.
Comment 2 SpanKY gentoo-dev 2007-10-01 15:52:47 UTC
i hope the broken out package stores the .py files in the right place so i dont have to file a new bug ;)