android-tools: remove two Debianisms
PATCH 1/1 android-tools: remove two Debianisms
If the build happens on a Debian system, android-tools build will hang forever, filling the log files (and the disk) with the following messages:
make: dpkg-architecture: No such file or directory
make: dpkg-architecture: No such file or directory
make: dpkg-architecture: No such file or directory
make: dpkg-architecture: No such file or directory /usr/share/dpkg/architecture.mk:9: pipe: Too many open files /usr/share/dpkg/architecture.mk:9: pipe: Too many open files /usr/share/dpkg/architecture.mk:9: pipe: Too many open files /usr/share/dpkg/architecture.mk:9: pipe: Too many open files /usr/share/dpkg/architecture.mk:9: pipe: Too many open files
Fix two places which include dpkg makefile fragments from the host system.
--- ...tools-modifications-to-make-it-build-in-yoct.patch | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)
meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0002-android-tools-modifications-to-make-it-build-in-yoct.patch +9 -2
@@ -88,11 +88,12 @@ diff --git a/debian/system/core/libbacktrace.mk b/debian/system/core/libbacktrac index e3411d76..86e69874 100644 --- a/debian/system/core/libbacktrace.mk +++ b/debian/system/core/libbacktrace.mk -@@ -1,3 +1,4 @@ +@@ -1,4 +1,4 @@ +-include /usr/share/dpkg/architecture.mk +include rules_yocto.mk - include /usr/share/dpkg/architecture.mk NAME = libbacktrace + @@ -83,10 +84,9 @@ CPPFLAGS += \ LDFLAGS += \ -L/usr/lib/p7zip \
@@ -218,6 +219,12 @@ diff --git a/debian/system/core/libutils.mk b/debian/system/core/libutils.mk index c37b1d2d..332492c1 100644 --- a/debian/system/core/libutils.mk +++ b/debian/system/core/libutils.mk +@@ -1,4 +1,4 @@ +-include /usr/share/dpkg/architecture.mk ++include rules_yocto.mk + + NAME = libutils + @@ -41,7 +41,7 @@ CPPFLAGS += \ LDFLAGS += \
Signature · 1 line
2.39.2
Khem Raj
AppliedQuoted 14 lines · Dmitry Baryshkov
If the build happens on a Debian system, android-tools build will hang forever, filling the log files (and the disk) with the following messages:
make: dpkg-architecture: No such file or directory
make: dpkg-architecture: No such file or directory
make: dpkg-architecture: No such file or directory
make: dpkg-architecture: No such file or directory/usr/share/dpkg/architecture.mk:9: pipe: Too many open files/usr/share/dpkg/architecture.mk:9: pipe: Too many open files/usr/share/dpkg/architecture.mk:9: pipe: Too many open files/usr/share/dpkg/architecture.mk:9: pipe: Too many open files/usr/share/dpkg/architecture.mk:9: pipe: Too many open files
Quoted 1 line
[...]
Applied, thanks!
[1/1] android-tools: remove two Debianisms
commit: 90976455c1f2494b8b2f54db11dc4bc5881accae
Best regards,
Signature · 1 line
Khem Raj <[email protected]>