gedit: Inherit python3targetconfig
PATCH 1/5 gedit: Inherit python3targetconfig
From: Khem Raj <[email protected]>
This is needed to find _PYTHON_SYSCONFIGDATA_NAME
--- meta-gnome/recipes-gnome/gedit/gedit_3.34.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gnome/recipes-gnome/gedit/gedit_3.34.1.bb +1 -1
@@ -19,7 +19,7 @@ DEPENDS = " \ gtksourceview4 \ " -inherit gnomebase gsettings itstool gnome-help gobject-introspection gtk-doc vala gettext features_check upstream-version-is-even mime-xdg +inherit gnomebase gsettings itstool gnome-help gobject-introspection gtk-doc vala gettext features_check upstream-version-is-even mime-xdg python3targetconfig REQUIRED_DISTRO_FEATURES = "x11"
Signature · 1 line
2.17.1
PATCH 2/5 openipmi: Inherit python3targetconfig
From: Khem Raj <[email protected]>
Fixes
configure: error:
Could not link test program to Python. Maybe the main Python library has been installed in some non-standard library path. If so, pass it to configure, via the LIBS environment variable.
Example: ./configure LIBS="-L/usr/non-standard-path/python/lib"
--- meta-networking/recipes-support/openipmi/openipmi_2.0.29.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-support/openipmi/openipmi_2.0.29.bb +1 -1
@@ -38,7 +38,7 @@ S = "${WORKDIR}/OpenIPMI-${PV}" SRC_URI[md5sum] = "46b452e95d69c92e4172b3673ed88d52" SRC_URI[sha256sum] = "2244124579afb14e569f34393e9ac61e658a28b6ffa8e5c0d2c1c12a8ce695cd" -inherit autotools-brokensep pkgconfig python3native perlnative update-rc.d systemd cpan-base +inherit autotools-brokensep pkgconfig python3native perlnative update-rc.d systemd cpan-base python3targetconfig EXTRA_OECONF = "--disable-static \ --with-perl='${STAGING_BINDIR_NATIVE}/perl-native/perl' \
Signature · 1 line
2.17.1
PATCH 3/5 libplist: Inherit python3targetconfig
In reply to akusterFrom: Khem Raj <[email protected]>
Fixes
configure: error:
Could not link test program to Python. Maybe the main Python library has been installed in some non-standard library path. If so, pass it to configure, via the LIBS environment variable.
Example: ./configure LIBS="-L/usr/non-standard-path/python/lib"
--- meta-oe/recipes-extended/libimobiledevice/libplist_2.1.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-extended/libimobiledevice/libplist_2.1.0.bb +1 -1
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=ebb5c50ab7cab4baeffba14977030c07 \ DEPENDS = "libxml2 glib-2.0 swig python3" -inherit autotools pkgconfig python3native +inherit autotools pkgconfig python3native python3targetconfig SRCREV = "3df02d4d0e9008771e8622fdc10de8333b3f0d85" SRC_URI = "git://github.com/libimobiledevice/libplist;protocol=https \
Signature · 1 line
2.17.1
PATCH 4/5 postgresql: Inherit python3targetconfig
In reply to akusterFrom: Khem Raj <[email protected]>
it now ends up searching native python shared libraries and tries to link with it and fails on non-host architectures
recipe-sysroot-native/usr/lib/libpython3.9.so: file not recognized: file format not recognized
collect2: error: ld returned 1 exit status
--- meta-oe/recipes-dbs/postgresql/postgresql.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-dbs/postgresql/postgresql.inc +1 -1
@@ -36,7 +36,7 @@ LEAD_SONAME = "libpq.so" # LDFLAGS for shared libraries export LDFLAGS_SL = "${LDFLAGS}" -inherit autotools pkgconfig perlnative python3native useradd update-rc.d systemd gettext cpan-base +inherit autotools pkgconfig perlnative python3native python3targetconfig useradd update-rc.d systemd gettext cpan-base CFLAGS += "-I${STAGING_INCDIR}/${PYTHON_DIR} -I${STAGING_INCDIR}/tcl8.6"
Signature · 1 line
2.17.1
PATCH 5/5 python3-pykwalify: Do not unset _PYTHON_SYSCONFIGDATA_NAME
In reply to akusterFrom: Khem Raj <[email protected]>
its been shoved out of setuptools3 in oe-core now
--- meta-python/recipes-devtools/python/python3-pykwalify_1.7.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-pykwalify_1.7.0.bb +1 -1
@@ -10,8 +10,8 @@ SRC_URI[sha256sum] = "7e8b39c5a3a10bc176682b3bd9a7422c39ca247482df198b402e8015de SRC_URI += "file://0001-rule.py-fix-missing-comma.patch" PYPI_PACKAGE = "pykwalify" + inherit setuptools3 pypi -unset _PYTHON_SYSCONFIGDATA_NAME RDEPENDS_${PN} = "\ ${PYTHON_PN}-dateutil \
Signature · 1 line
2.17.1