From 5c87230ad035373cd97f7a869d6ada7ebf14e4f6 Mon Sep 17 00:00:00 2001 From: Enrico Jörns Date: Tue, 10 Sep 2024 22:06:51 +0200 Subject: libconfuse: switch to release tar archive MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Building autotools packages from git can be a bit tricky and requires manual invocations of autogen.sh, etc. An attempt to build for native build fails with: | autoreconf: running: autopoint --force | Can't exec "autopoint": No such file or directory at [..]/tmp/work/x86_64-linux/libconfuse-native/3.3/recipe-sysroot-native/usr/share/autoconf/Autom4te/FileUtils.pm line 318. | autoreconf: error: autopoint failed with exit status: 2 | WARNING: exit code 2 from a shell command. Since the project itself states > Please ensure you download a versioned archive from: > https://github.com/libconfuse/libconfuse/releases/ simply switch this recipe to using release archives and thus simplify it and fix the automake issue. Signed-off-by: Enrico Jörns Signed-off-by: Khem Raj --- meta-oe/recipes-support/libconfuse/libconfuse_3.3.bb | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/meta-oe/recipes-support/libconfuse/libconfuse_3.3.bb b/meta-oe/recipes-support/libconfuse/libconfuse_3.3.bb index cb9a11c128..ec6d6c7c8c 100644 --- a/meta-oe/recipes-support/libconfuse/libconfuse_3.3.bb +++ b/meta-oe/recipes-support/libconfuse/libconfuse_3.3.bb @@ -2,15 +2,11 @@ SUMMARY = "libConfuse is a configuration file parser library" LICENSE = "ISC" LIC_FILES_CHKSUM = "file://LICENSE;md5=42fa47330d4051cd219f7d99d023de3a" -SRCREV = "a42aebf13db33afd575da6e63f55163d371f776d" -SRC_URI = "git://github.com/libconfuse/libconfuse.git;branch=master;protocol=https" +SRC_URI = "https://github.com/libconfuse/libconfuse/releases/download/v${PV}/confuse-${PV}.tar.gz" +SRC_URI[sha256sum] = "3a59ded20bc652eaa8e6261ab46f7e483bc13dad79263c15af42ecbb329707b8" inherit autotools-brokensep pkgconfig gettext -S = "${WORKDIR}/git" - -do_configure:prepend(){ - (cd ${S} && ${S}/autogen.sh) -} +S = "${WORKDIR}/confuse-${PV}" BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf