* [Buildroot] [PATCH/next] package/uhd: fix python module detection
@ 2021-11-29 15:53 Gwenhael Goavec-Merou
2021-12-04 20:36 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Gwenhael Goavec-Merou @ 2021-11-29 15:53 UTC (permalink / raw)
To: buildroot; +Cc: Gwenhael Goavec-Merou
From: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
$(HOST_DIR)/bin/python symlink is only created when BR2_PACKAGE_PYTHON3 is
set.
When only host-python3 is used this symlink is not present and build fails
with:
-- Python checking for Python version 2.7 or greater
-- Python checking for Python version 2.7 or greater - unknown error
--
-- Python checking for Mako templates 0.4.2 or greater
-- Python checking for Mako templates 0.4.2 or greater - unknown error
--
-- Python checking for requests 2.0 or greater
-- Python checking for requests 2.0 or greater - unknown error
--
-- Python checking for numpy 1.7 or greater
-- Python checking for numpy 1.7 or greater - unknown error
--
-- Configuring LibUHD support...
-- Dependency Boost_FOUND = TRUE
-- Dependency HAVE_PYTHON_PLAT_MIN_VERSION = FALSE
-- Dependency HAVE_PYTHON_MODULE_MAKO = FALSE
This patch set explicitly PYTHON_EXECUTABLE to $(HOST_DIR)/bin/python3
fixes:
- http://autobuild.buildroot.net/results/35c0b9597c75dade241a3b3786fae30551c48008
- http://autobuild.buildroot.net/results/89069102bf8785ce8a9ec3b4c6fa32749c2e3586
Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
---
package/uhd/uhd.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/uhd/uhd.mk b/package/uhd/uhd.mk
index 5da1697925..e8f197f9dd 100644
--- a/package/uhd/uhd.mk
+++ b/package/uhd/uhd.mk
@@ -19,7 +19,7 @@ UHD_DEPENDENCIES = \
host-python-mako
UHD_CONF_OPTS = \
- -DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python \
+ -DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python3 \
-DRUNTIME_PYTHON_EXECUTABLE=/usr/bin/python \
-DENABLE_C_API=ON \
-DENABLE_DOXYGEN=OFF \
--
2.30.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-04 20:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-29 15:53 [Buildroot] [PATCH/next] package/uhd: fix python module detection Gwenhael Goavec-Merou
2021-12-04 20:36 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox