Summary: | app-i18n/uim can choose host qmake-qt5 over prefixed qmake | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nick Bowler <nbowler> |
Component: | Current packages | Assignee: | CJK Team <cjk> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
proposed fix
Example of failed build due to incorrectly linking host libraries |
Description
Nick Bowler
2020-03-10 22:02:34 UTC
Created attachment 617954 [details]
Example of failed build due to incorrectly linking host libraries
Here is an example build log of what can go wrong when building a prefixed uim.
Note the line in the configure output:
checking for Qt5 version of qmake... /usr/bin/qmake-qt5
The qmake-qt5 command ends up injecting -L/usr/lib64 into the linker command line and everything goes horribly wrong at the end. This detection is fixed by the above simple ebuild change enabling uim to build and work properly.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7def0ba1bb0def667a74e7298fb877bd86ed7c23 commit 7def0ba1bb0def667a74e7298fb877bd86ed7c23 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2021-01-07 22:10:40 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2021-01-07 23:56:49 +0000 app-i18n/uim: EAPI-7, use qmake-utils, sort some deps Closes: https://bugs.gentoo.org/764329 Closes: https://bugs.gentoo.org/712098 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> app-i18n/uim/uim-1.8.8.ebuild | 54 +++++++++++++++++++++++++------------------ 1 file changed, 31 insertions(+), 23 deletions(-) |