summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pybind11/0001-Do-not-check-pointer-size-when-cross-compiling.patch
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2021-04-06 16:26:16 +0200
committerArmin Kuster <akuster808@gmail.com>2021-04-08 13:13:10 -0700
commit9ea7a4336163697448a9e9f2d8ca670b3428de70 (patch)
tree2ed155cbad88783e5d1134a858f747143be6e14d /meta-python/recipes-devtools/python/python3-pybind11/0001-Do-not-check-pointer-size-when-cross-compiling.patch
parent622ede33f6cd5e6e08d20e4e2ac0218e5559645c (diff)
downloadmeta-openembedded-9ea7a4336163697448a9e9f2d8ca670b3428de70.tar.gz
libsmi: use /bin/sh instead of ${base_bindir}/sh to silence QA error with usrmerge
* with usrmerge ${base_bindir} is /usr/bin/sh and libsmi fails with: ERROR: libsmi-0.5.0-r0 do_package_qa: QA Issue: /usr/bin/smistrip contained in package libsmi requires /usr/bin/sh, but no providers found in RDEPENDS_libsmi? [file-rdeps] ERROR: libsmi-0.5.0-r0 do_package_qa: QA run found fatal errors. Please consider fixing them. * this is a bit strange as busybox does install /usr/bin/sh file: ./1.33.0-r0.usrmerge/image/usr/bin/sh ./1.33.0-r0.default/image/bin/sh but also adds /bin/sh to RPROVIDES_${PN} for usrmerge in DISTRO_FEATURES: RPROVIDES_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', '/bin/sh', '', d)}" added in: https://git.openembedded.org/openembedded-core/commit/?id=1f6c14939c8daa5e09103789c3ff5031cc888d16 and 1.33.0-r0.usrmerge/pkgdata/runtime/busybox:FILERPROVIDES_/usr/bin/busybox.nosuid_busybox correctly contains /usr/bin/sh * adding runtime dependency on busybox as /usr/bin/sh provider would silence the QA warning but people might not like adding busybox to their image * using /bin/sh silences the QA warning as well, because /bin/sh is explicitly ignored in file-rdeps insane.bbclass: https://git.openembedded.org/openembedded-core/tree/meta/classes/insane.bbclass?id=1f6c14939c8daa5e09103789c3ff5031cc888d16#n907 if "file-rdeps" not in skip: ignored_file_rdeps = set(['/bin/sh', '/usr/bin/env', 'rtld(GNU_HASH)']) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 08fad9f3a6d1026eea84906c2ede7a4a2dc93863) Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pybind11/0001-Do-not-check-pointer-size-when-cross-compiling.patch')
0 files changed, 0 insertions, 0 deletions