Summary: | dev-qt/qtcore-5.9.2 fails configure phase - Please make sure to unset the QMAKESPEC, XQMAKESPEC, QMAKEPATH, and QMAKEFEATURES environment variables prior to building Qt. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christian Schmidt <gentoo> |
Component: | Current packages | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | che |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Patch to unset all mentioned environment variables
0001-qt5-build.eclass-unset-variables-that-if-set-cause-c.patch |
Description
Christian Schmidt
2017-10-09 13:03:06 UTC
From configure: if [ -n "$QMAKESPEC" ] || [ -n "$XQMAKESPEC" ] || \ [ -n "$QMAKEPATH" ] || [ -n "$QMAKEFEATURES" ]; then echo >&2 "Please make sure to unset the QMAKESPEC, XQMAKESPEC, QMAKEPATH," echo >&2 "and QMAKEFEATURES environment variables prior to building Qt." exit 1 fi Created attachment 498212 [details, diff]
0001-qt5-build.eclass-unset-variables-that-if-set-cause-c.patch
Since configure is called called by all qtbase packages, I think we should unset in the eclass instead. Please review attached patch.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/qt.git/commit/?id=bba86bf1171f811e5f8fe04b305d35b01f5f9a5a commit bba86bf1171f811e5f8fe04b305d35b01f5f9a5a Author: Michael Palimaka <kensington@gentoo.org> AuthorDate: 2017-10-09 13:14:46 +0000 Commit: Michael Palimaka <kensington@gentoo.org> CommitDate: 2017-10-10 11:13:19 +0000 qt5-build.eclass: unset variables that, if set, cause configure to fail Bug: https://bugs.gentoo.org/633838 eclass/qt5-build.eclass | 5 +++++ 1 file changed, 5 insertions(+)} The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9f1f66749b20415bd5f172e06f6d30fce413e97 commit d9f1f66749b20415bd5f172e06f6d30fce413e97 Author: Michael Palimaka <kensington@gentoo.org> AuthorDate: 2017-10-09 13:14:46 +0000 Commit: Michael Palimaka <kensington@gentoo.org> CommitDate: 2017-10-10 11:15:46 +0000 qt5-build.eclass: unset variables that, if set, cause configure to fail Closes: https://bugs.gentoo.org/633838 eclass/qt5-build.eclass | 5 +++++ 1 file changed, 5 insertions(+) |