Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 531202 - dev-qt/qt*-5.3.2 - installs invalid *.prl files
Summary: dev-qt/qt*-5.3.2 - installs invalid *.prl files
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL: https://qt.gitorious.org/qt/qtbase/co...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-30 07:39 UTC by Sergey Ilinykh
Modified: 2015-06-15 00:39 UTC (History)
0 users

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 Sergey Ilinykh 2014-11-30 07:39:02 UTC
Actual problem was introduced by this commit https://qt.gitorious.org/qt/qtbase/commit/be1116fe909a60341f714d5ce0765798a08722e7

in short if we have CONFIG += depend_prl, a project won't build with Qt5.
upstream changed meaning of depend_prl and introduced fast_depend_prl.

I believe the proper way to solve this is removing QMAKE_PRL_BUILD_DIR from installed *.prl files.


easy way to fix qt5 installation:
for f in /usr/lib64/*.prl; do sed '/QMAKE_PRL_BUILD_DIR/d' -i $f; done

Reproducible: Always

Steps to Reproduce:
echo "CONFIG += depend_prl" > test.pro
/usr/lib64/qt5/bin/qmake test.pro
Actual Results:  
generated Makefile forces rebuilding of Qt5 libraries in not existing paths

Expected Results:  
generated Makefile does not try to rebuild Qt5 libraries.
Comment 1 Davide Pesavento (RETIRED) gentoo-dev 2014-11-30 17:42:27 UTC
(In reply to Rion from comment #0)
> in short if we have CONFIG += depend_prl, a project won't build with Qt5.

Give an example of a project that uses depend_prl. I don't think you're supposed to use it in your project.
Comment 2 Sergey Ilinykh 2014-12-01 11:05:35 UTC
net-im/psi
Comment 3 Sergey Ilinykh 2014-12-01 12:20:20 UTC
hm just checked documentation. depend_prl is undocumented and therefore  probably shouldn't be used.

in case of psi, most likely it should be replaced by link_prl.

in any case that's strange to have those not existing paths in *.prl files which may break compilation.
Comment 4 Davide Pesavento (RETIRED) gentoo-dev 2014-12-01 12:27:13 UTC
(In reply to Rion from comment #3)
> hm just checked documentation. depend_prl is undocumented and therefore 
> probably shouldn't be used.
> 
> in case of psi, most likely it should be replaced by link_prl.
> 

Yes, link_prl is what I've seen in other projects.

> in any case that's strange to have those not existing paths in *.prl files
> which may break compilation.

I agree in principle, but if depend_prl is indeed "for internal usage only", this point becomes moot.
Comment 5 Davide Pesavento (RETIRED) gentoo-dev 2015-06-15 00:39:59 UTC
I consider this invalid. If psi is misusing depend_prl, file a bug against that package. This is not a qt bug.