mirror of
https://git.yoctoproject.org/poky
synced 2026-02-13 12:13:02 +01:00
Reversal of global setting in previous commit necessitates
a local fix, otherwise, this happens:
File "/home/pokybuild/yocto-worker/reproducible-debian/build/build-st-52142/tmp/work/x86_64-linux/diffoscope-native/172-r0/recipe-sysroot-native/usr/lib/python3.9/ctypes/__init__.py", line 392, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: nativepython3: undefined symbol: archive_errno
(From OE-Core rev: 0f4531275c1e332de81b31b89e52f588fc34b14a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 87884d9938829d5ae5d250f483c749e00cd83322)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
26 lines
803 B
BlitzBasic
26 lines
803 B
BlitzBasic
SUMMARY = "in-depth comparison of files, archives, and directories"
|
|
HOMEPAGE = "https://diffoscope.org/"
|
|
LICENSE = "GPL-3.0+"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
|
|
|
PYPI_PACKAGE = "diffoscope"
|
|
|
|
inherit pypi setuptools3
|
|
|
|
SRC_URI[sha256sum] = "5ffe7f38555c6409bc7e7edc277ed77dd78641fe1306fc38d153dbbe445ddea4"
|
|
|
|
RDEPENDS_${PN} += "binutils vim squashfs-tools python3-libarchive-c python3-magic"
|
|
|
|
# Dependencies don't build for musl
|
|
COMPATIBLE_HOST_libc-musl = 'null'
|
|
|
|
do_install_append_class-native() {
|
|
create_wrapper ${D}${bindir}/diffoscope \
|
|
MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc \
|
|
RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \
|
|
LD_LIBRARY_PATH=${STAGING_LIBDIR_NATIVE} \
|
|
RPM_ETCCONFIGDIR=${STAGING_DIR_NATIVE}
|
|
}
|
|
|
|
BBCLASSEXTEND = "native"
|