Skip to contentSkip to conversation

package/libqmi: fix build failure without host-python

PATCH New Marcus Hoffmann 1 participant 1 message Feb 9, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libqmi: fix build failure without host-python

Add an upstream patch to use python3 instead of just python during the libqmi build.

Fixes a build error with the following defconfig inside the buildroot:base docker image.

BR2_aarch64=y
BR2_cortex_a72=y
BR2_ARM_FPU_VFPV4=y
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_PACKAGE_LIBQMI=y

Fixes:

FAILED: src/libqmi-glib/generated/qmi-ctl.c src/libqmi-glib/generated/qmi-ctl.h src/libqmi-glib/generated/qmi-ctl.sections
/builds/othermo/buildroot/output/build/libqmi-1.30.2/build-aux/qmi-codegen/qmi-codegen --input /builds/othermo/buildroot/output/build/libqmi-1.30.2/data/qmi-service-ctl.json --include /builds/othermo/buildroot/output/build/libqmi-1.30.2/data/qmi-common.json --output src/libqmi-glib/generated/qmi-ctl /usr/bin/env: 'python': No such file or directory

---
 package/libqmi/libqmi.hash | 1 +
 package/libqmi/libqmi.mk   | 1 +
 2 files changed, 2 insertions(+)
package/libqmi/libqmi.hash +1 -0
index 1f2da45ac0..854de8512c 100644
@@ -2,3 +2,4 @@
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
 sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  COPYING.LIB
 sha256  2eb7c7971b91a64ad830643b0170cff692a69bf0f093ca61d72d3f466a0272d4  libqmi-1.30.2.tar.gz
+sha256  1fb80064cddc9a0a2a2abeb622acc535c3f1c74795bdee48c81f32e15442d7d7  17c604d7bd78dd081868798a702db0eaa8abb169.patch
package/libqmi/libqmi.mk +1 -0
index a4839f1efb..f3c51f7486 100644
@@ -6,6 +6,7 @@
 
 LIBQMI_VERSION = 1.30.2
 LIBQMI_SITE = https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/archive/$(LIBQMI_VERSION)
+LIBQMI_PATCH = https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/commit/17c604d7bd78dd081868798a702db0eaa8abb169.patch
 LIBQMI_LICENSE = LGPL-2.0+ (library), GPL-2.0+ (programs)
 LIBQMI_LICENSE_FILES = COPYING COPYING.LIB
 LIBQMI_CPE_ID_VENDOR = libqmi_project
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot