package/pinentry: fix build with Qt4
PATCH 1/1 package/pinentry: fix build with Qt4
Help configure find the correct moc, as the comment in m4/qt.m4 states:
#configure tried to run $ac_cv_path_moc and the test didn't #succeed. If configure shouldn't have tried this one, set #the environment variable MOC to the right one before running #configure.
Fixes:
http://autobuild.buildroot.org/results/06c/06c5c2762ec22271fec20a6d15548011e40875d1 http://autobuild.buildroot.org/results/0d7/0d78a2ff8c952cd104794f5049b07216978fdf11 http://autobuild.buildroot.org/results/af8/af8f7f588dfa64d82c98a4b42ec78fd17dde137c
Also fixes using the host moc:
http://autobuild.buildroot.org/results/836/836962f23dcad77b145fcdfeffb40e38e64d6971
---
Peter, your autobuilder gcc10 has a host moc installed, which is making the build 836962f above configure fine, but break at build time (because it is a different version?).
--- package/pinentry/pinentry.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/pinentry/pinentry.mk +1 -1
@@ -39,7 +39,7 @@ endif ifeq ($(BR2_PACKAGE_PINENTRY_QT4),y) # -pthread needs to be passed for certain toolchains # http://autobuild.buildroot.net/results/6be/6be109ccedec603a67cebdb31b55865dcce0e128/ -PINENTRY_CONF_OPTS += LIBS=-pthread +PINENTRY_CONF_OPTS += LIBS=-pthread MOC=$(HOST_DIR)/usr/bin/moc PINENTRY_CONF_OPTS += --enable-pinentry-qt4 PINENTRY_DEPENDENCIES += qt else
Signature · 1 line
1.9.1
PATCH 1/1 package/pinentry: fix build with Qt4
Quoted 13 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Yann" == Yann E MORIN <[email protected]> writes:
Help configure find the correct moc, as the comment in m4/qt.m4 states:
#configure tried to run $ac_cv_path_moc and the test didn't #succeed. If configure shouldn't have tried this one, set #the environment variable MOC to the right one before running #configure.Fixes:
http://autobuild.buildroot.org/results/06c/06c5c2762ec22271fec20a6d15548011e40875d1 http://autobuild.buildroot.org/results/0d7/0d78a2ff8c952cd104794f5049b07216978fdf11 http://autobuild.buildroot.org/results/af8/af8f7f588dfa64d82c98a4b42ec78fd17dde137c
Quoted 5 lines
Also fixes using the host moc:
http://autobuild.buildroot.org/results/836/836962f23dcad77b145fcdfeffb40e38e64d6971Signed-off-by "Yann E. MORIN" <[email protected]>Cc Peter Korsgaard <[email protected]>
Committed, thanks.
Quoted 4 lines
---
Peter, your autobuilder gcc10 has a host moc installed, which is making the build 836962f above configure fine, but break at build time (because it is a different version?).
Ahh, ok. Others might have similar setups, so it is good that we caught it!
Signature · 1 line
Bye, Peter Korsgaard