Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 347868 - x11-libs/qt-core installs useless(?) env.d file
Summary: x11-libs/qt-core installs useless(?) env.d file
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Lowest enhancement (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-06 00:36 UTC by Davide Pesavento
Modified: 2012-06-26 22:27 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 Davide Pesavento gentoo-dev 2010-12-06 00:36:42 UTC
Qt libraries have been using RPATH for a long time, thus obsoleting the need to modify LDPATH to specify their custom locations. If nobody can find a valid reason for /etc/env.d/44qt4 to exist, I propose to stop installing it.

( http://blog.flameeyes.eu/2008/12/30/avoid-ldpath-pollution )
Comment 1 Alex Alexander (RETIRED) gentoo-dev 2011-12-19 19:45:24 UTC
I tried this and all hell broke loose. Didn't rebuild world yet, but there were quite a few packages that stopped working or broke during compilation after removing it.

I'll have to do more testing...
Comment 2 Davide Pesavento gentoo-dev 2012-01-09 13:48:30 UTC
We removed RPATH from all qt libraries in 4.8+, so I don't know if this is still feasible...
Comment 3 Davide Pesavento gentoo-dev 2012-06-26 22:27:17 UTC
(In reply to comment #2)
> We removed RPATH from all qt libraries in 4.8+, so I don't know if this is
> still feasible...

Closing.

In this case it's actually better to add an LDPATH entry than using RPATH, since Qt doesn't install any private libraries nor any plugins there (the subdir is needed just for slotting) and runpaths make more sense in executables.