Skip to contentSkip to conversation

package.bbclass: run pre/post installation/removal scriptlets using sh -e

PATCH In review Alexander Kanavin 4 participants 21 messages Mar 1, 2018 – Mar 2, 2018 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/15 package.bbclass: run pre/post installation/removal scriptlets using sh -e

This allows catching errors in the scriptlets which would otherwise go unnoticed, e.g. this sequence:
====
bogus_command
proper_command
====
would work just fine without any visible warnings or errors.

This was previously done only for rpm packages; this patch replaces the rpm-specific tweak with one that works for all package types.

---
 meta/classes/package.bbclass     | 12 ++++++++++++
 meta/classes/package_rpm.bbclass |  8 ++++----
 2 files changed, 16 insertions(+), 4 deletions(-)
meta/classes/package.bbclass +12 -0
index e7e93a067a6..56b3beb2e65 100644
@@ -1343,6 +1343,17 @@ fi
             postinst += postinst_ontarget
             d.setVar('pkg_postinst_%s' % pkg, postinst)
 
+    def add_set_e_to_scriptlets(pkg):
+        for scriptlet_name in ('pkg_preinst', 'pkg_postinst', 'pkg_prerm', 'pkg_postrm'):
+            scriptlet = d.getVar('%s_%s' % (scriptlet_name, pkg))
+            if scriptlet:
+                scriptlet_split = scriptlet.split('\n')
+                if scriptlet_split[0].startswith("#!"):
+                    scriptlet = scriptlet_split[0] + "\nset -e\n" + "\n".join(scriptlet_split[1:])
+                else:
+                    scriptlet = "set -e\n" + "\n".join(scriptlet_split[0:])
+            d.setVar('%s_%s' % (scriptlet_name, pkg), scriptlet)
+
     def write_if_exists(f, pkg, var):
         def encode(str):
             import codecs
@@ -1439,6 +1450,7 @@ fi
         write_if_exists(sf, pkg, 'FILES')
         write_if_exists(sf, pkg, 'CONFFILES')
         process_postinst_on_target(pkg, d.getVar("MLPREFIX"))
+        add_set_e_to_scriptlets(pkg)
         write_if_exists(sf, pkg, 'pkg_postinst')
         write_if_exists(sf, pkg, 'pkg_postrm')
         write_if_exists(sf, pkg, 'pkg_preinst')
meta/classes/package_rpm.bbclass +4 -4
index e26b2ad6625..af64ef62c58 100644
@@ -470,12 +470,12 @@ python write_specfile () {
 
         # Now process scriptlets
         if splitrpreinst:
-            spec_scriptlets_bottom.append('%%pre -n %s -p "/bin/sh -e"' % splitname)
+            spec_scriptlets_bottom.append('%%pre -n %s' % splitname)
             spec_scriptlets_bottom.append('# %s - preinst' % splitname)
             spec_scriptlets_bottom.append(splitrpreinst)
             spec_scriptlets_bottom.append('')
         if splitrpostinst:
-            spec_scriptlets_bottom.append('%%post -n %s -p "/bin/sh -e"' % splitname)
+            spec_scriptlets_bottom.append('%%post -n %s' % splitname)
             spec_scriptlets_bottom.append('# %s - postinst' % splitname)
             spec_scriptlets_bottom.append(splitrpostinst)
             spec_scriptlets_bottom.append('')
@@ -564,12 +564,12 @@ python write_specfile () {
     spec_preamble_top.append('')
 
     if srcrpreinst:
-        spec_scriptlets_top.append('%pre -p "/bin/sh -e"')
+        spec_scriptlets_top.append('%pre')
         spec_scriptlets_top.append('# %s - preinst' % srcname)
         spec_scriptlets_top.append(srcrpreinst)
         spec_scriptlets_top.append('')
     if srcrpostinst:
-        spec_scriptlets_top.append('%post -p "/bin/sh -e"')
+        spec_scriptlets_top.append('%post')
         spec_scriptlets_top.append('# %s - postinst' % srcname)
         spec_scriptlets_top.append(srcrpostinst)
         spec_scriptlets_top.append('')
Signature · 1 line
2.15.1
#1 lore raw

PATCH 2/15 meta/lib/oe/package_manager.py: warn about failing scriptlets for all package types

Previously this was done only for rpm packages; now also ipk/deb scriptlet failures are reported.

In the future this will become a hard error, but it can't yet happen due to the legacy 'exit 1' way of deferring scriptlet execution to first boot which needs a deprecation period.

---
 meta/lib/oe/package_manager.py | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)
meta/lib/oe/package_manager.py +15 -3
index f7e013437c9..1ae31f8e744 100644
@@ -83,6 +83,11 @@ def opkg_query(cmd_output):
 
     return output
 
+# Note: this should be bb.fatal in the future.
+def failed_postinsts_warn(pkgs, log_path):
+    bb.warn("""Intentionally failing postinstall scriptlets of %s to defer them to first boot is deprecated. Please place them into pkg_postinst_ontarget_${PN} ().
+If deferring to first boot wasn't the intent, then scriptlet failure may mean an issue in the recipe, or a regression elsewhere.
+Details of the failure are in %s.""" %(pkgs, log_path))
 
 class Indexer(object, metaclass=ABCMeta):
     def __init__(self, d, deploy_dir):
@@ -605,8 +610,7 @@ class RpmPM(PackageManager):
                 failed_scriptlets_pkgnames[line.split()[-1]] = True
 
         if len(failed_scriptlets_pkgnames) > 0:
-            bb.warn("Intentionally failing postinstall scriptlets of %s to defer them to first boot is deprecated. Please place them into pkg_postinst_ontarget_${PN} ()." %(list(failed_scriptlets_pkgnames.keys())))
-            bb.warn("If deferring to first boot wasn't the intent, then scriptlet failure may mean an issue in the recipe, or a regression elsewhere.")
+            failed_postinsts_warn(list(failed_scriptlets_pkgnames.keys()), self.d.expand("${T}/log.do_rootfs"))
         for pkg in failed_scriptlets_pkgnames.keys():
             self.save_rpmpostinst(pkg)
 
@@ -1068,6 +1072,13 @@ class OpkgPM(OpkgDpkgPM):
             bb.note(cmd)
             output = subprocess.check_output(cmd.split(), stderr=subprocess.STDOUT).decode("utf-8")
             bb.note(output)
+            failed_pkgs = []
+            for line in output.split('\n'):
+                if line.endswith("configuration required on target."):
+                    bb.warn(line)
+                    failed_pkgs.append(line.split(".")[0])
+            if failed_pkgs:
+                failed_postinsts_warn(failed_pkgs, self.d.expand("${T}/log.do_rootfs"))
         except subprocess.CalledProcessError as e:
             (bb.fatal, bb.note)[attempt_only]("Unable to install packages. "
                                               "Command '%s' returned %d:\n%s" %
@@ -1331,9 +1342,10 @@ class DpkgPM(OpkgDpkgPM):
                                 stderr=subprocess.STDOUT).decode("utf-8")
                         bb.note(output)
                     except subprocess.CalledProcessError as e:
-                        bb.note("%s for package %s failed with %d:\n%s" %
+                        bb.warn("%s for package %s failed with %d:\n%s" %
                                 (control_script.name, pkg_name, e.returncode,
                                     e.output.decode("utf-8")))
+                        failed_postinsts_warn([pkg_name], self.d.expand("${T}/log.do_rootfs"))
                         failed_pkgs.append(pkg_name)
                         break
 
Signature · 1 line
2.15.1
#2 lore raw

PATCH 3/15 oe-selftest: add a test for failing package post-installation scriptlets

In reply to Alexander Kanavin

The test runs a scriptlet that has an intentionally failing command in the middle and checks for two things:
1) that bitbake does warn the user about the failure
2) that scriptlet execution stops at that point.

The test is run for all three package types: rpm, deb, ipk.

---
 .../recipes-test/postinst/postinst_1.0.bb          | 14 +++++++-
 meta/lib/oeqa/selftest/cases/runtime_test.py       | 37 ++++++++++++++++++++++
 2 files changed, 50 insertions(+), 1 deletion(-)
meta-selftest/recipes-test/postinst/postinst_1.0.bb +13 -1
index d4bab6dcc22..913bfabf89e 100644
@@ -3,11 +3,12 @@ LICENSE = "MIT"
 
 inherit allarch
 
-PACKAGES = "${PN}-rootfs ${PN}-delayed-a ${PN}-delayed-b"
+PACKAGES = "${PN}-rootfs ${PN}-delayed-a ${PN}-delayed-b ${PN}-rootfs-failing"
 
 ALLOW_EMPTY_${PN}-rootfs = "1"
 ALLOW_EMPTY_${PN}-delayed-a = "1"
 ALLOW_EMPTY_${PN}-delayed-b = "1"
+ALLOW_EMPTY_${PN}-rootfs-failing = "1"
 
 RDEPENDS_${PN}-delayed-a = "${PN}-rootfs"
 RDEPENDS_${PN}-delayed-b = "${PN}-delayed-a"
@@ -58,3 +59,14 @@ pkg_postinst_ontarget_${PN}-delayed-b () {
 
     touch ${TESTDIR}/delayed-b
 }
+
+# This scriptlet intentionally includes a bogus command in the middle to test 
+# that we catch and report such errors properly.
+pkg_postinst_${PN}-rootfs-failing () {
+    mkdir -p $D${TESTDIR}
+    touch $D${TESTDIR}/rootfs-before-failure
+    run_a_really_broken_command
+    # Scriptlet execution should stop here; the following commands are NOT supposed to run.
+    # (oe-selftest checks for it).
+    touch $D${TESTDIR}/rootfs-after-failure
+}
meta/lib/oeqa/selftest/cases/runtime_test.py +37 -0
index 1c69255b568..9c9b4b34111 100644
@@ -221,3 +221,40 @@ class Postinst(OESelftestTestCase):
                         for filename in ("rootfs", "delayed-a", "delayed-b"):
                             status, output = qemu.run_serial("test -f %s && echo found" % os.path.join(targettestdir, filename))
                             self.assertEqual(output, "found", "%s was not present on boot" % filename)
+
+
+
+    def test_failing_postinst(self):
+        """
+        Summary:        The purpose of this test case is to verify that post-installation
+                        scripts that contain errors are properly reported.
+        Expected:       The scriptlet failure is properly reported.
+                        The file that is created after the error in the scriptlet is not present.
+        Product: oe-core
+        Author: Alexander Kanavin <[email protected]>
+        """
+
+        import oe.path
+
+        vars = get_bb_vars(("IMAGE_ROOTFS", "sysconfdir"), "core-image-minimal")
+        rootfs = vars["IMAGE_ROOTFS"]
+        self.assertIsNotNone(rootfs)
+        sysconfdir = vars["sysconfdir"]
+        self.assertIsNotNone(sysconfdir)
+        # Need to use oe.path here as sysconfdir starts with /
+        hosttestdir = oe.path.join(rootfs, sysconfdir, "postinst-test")
+
+        for classes in ("package_rpm", "package_deb", "package_ipk"):
+            with self.subTest(package_class=classes):
+                features = 'CORE_IMAGE_EXTRA_INSTALL = "postinst-rootfs-failing"\n'
+                features += 'PACKAGE_CLASSES = "%s"\n' % classes
+                self.write_config(features)
+                bb_result = bitbake('core-image-minimal')
+                self.assertGreaterEqual(bb_result.output.find("Intentionally failing postinstall scriptlets of ['postinst-rootfs-failing'] to defer them to first boot is deprecated."), 0,
+                    "Warning about a failed scriptlet not found in bitbake output: %s" %(bb_result.output))
+
+                self.assertTrue(os.path.isfile(os.path.join(hosttestdir, "rootfs-before-failure")),
+                                    "rootfs-before-failure file was not created")
+                self.assertFalse(os.path.isfile(os.path.join(hosttestdir, "rootfs-after-failure")),
+                                    "rootfs-after-failure file was created")
+
Signature · 1 line
2.15.1
#3 lore raw

PATCH 4/15 latencytop: remove recipe

In reply to Alexander Kanavin

Last commit and release were in 2009; website is down; it's a dead project.

---
 meta/conf/distro/include/distro_alias.inc          |  1 -
 meta/conf/distro/include/maintainers.inc           |  1 -
 .../packagegroup-core-tools-profile.bb             |  1 -
 ...-function-signatures-to-fix-prototype-mis.patch | 64 ----------------------
 .../latencytop-0.5/latencytop-fsync.patch          | 49 -----------------
 .../latencytop-0.5/latencytop-makefile.patch       | 43 ---------------
 meta/recipes-kernel/latencytop/latencytop_0.5.bb   | 32 -----------
 7 files changed, 191 deletions(-)
 delete mode 100644 meta/recipes-kernel/latencytop/latencytop-0.5/0001-Rectify-the-function-signatures-to-fix-prototype-mis.patch
 delete mode 100644 meta/recipes-kernel/latencytop/latencytop-0.5/latencytop-fsync.patch
 delete mode 100644 meta/recipes-kernel/latencytop/latencytop-0.5/latencytop-makefile.patch
 delete mode 100644 meta/recipes-kernel/latencytop/latencytop_0.5.bb
meta/conf/distro/include/distro_alias.inc +0 -1
index 1a217daa390..8ec623befbd 100644
@@ -159,7 +159,6 @@ DISTRO_PN_ALIAS_pn-kern-tools-native = "Windriver"
 DISTRO_PN_ALIAS_pn-keymaps = "OE-Core"
 DISTRO_PN_ALIAS_pn-kf = "OSPDT"
 DISTRO_PN_ALIAS_pn-lame = "Debian=lame Ubuntu=lame"
-DISTRO_PN_ALIAS_pn-latencytop = "Meego=latencytop Fedora=latencytop Debian=latencytop OpenSuSE=latencytop"
 DISTRO_PN_ALIAS_pn-ldconfig-native = "Ubuntu=libc-bin Fedora=glibc"
 DISTRO_PN_ALIAS_pn-liba52 = "Mandriva=a52dec Debian=a52dec"
 DISTRO_PN_ALIAS_pn-libacpi = "Ubuntu=libacpi Mandriva=libacpi"
meta/conf/distro/include/maintainers.inc +0 -1
index 50392487903..965fd34ca04 100644
@@ -304,7 +304,6 @@ RECIPE_MAINTAINER_pn-kmod-native = "Chen Qi <[email protected]>"
 RECIPE_MAINTAINER_pn-kmscube = "Carlos Rafael Giani <[email protected]>"
 RECIPE_MAINTAINER_pn-l3afpad = "Maxin B. John <[email protected]>"
 RECIPE_MAINTAINER_pn-lame = "Tanu Kaskinen <[email protected]>"
-RECIPE_MAINTAINER_pn-latencytop = "Alexander Kanavin <[email protected]>"
 RECIPE_MAINTAINER_pn-ldconfig-native = "Khem Raj <[email protected]>"
 RECIPE_MAINTAINER_pn-less = "Yi Zhao <[email protected]>"
 RECIPE_MAINTAINER_pn-liba52 = "Tanu Kaskinen <[email protected]>"
meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb +0 -1
index a8e47da40cd..e3814a44bc2 100644
@@ -26,7 +26,6 @@ RRECOMMENDS_${PN} = "\
 
 PROFILETOOLS = "\
     powertop \
-    latencytop \
     "
 PERF = "perf"
 PERF_libc-musl = ""
meta/recipes-kernel/latencytop/latencytop-0.5/0001-Rectify-the-function-signatures-to-fix-prototype-mis.patch deleted +0 -64

64 lines not on this page · raw message

meta/recipes-kernel/latencytop/latencytop-0.5/latencytop-fsync.patch deleted +0 -49

49 lines not on this page · raw message

meta/recipes-kernel/latencytop/latencytop-0.5/latencytop-makefile.patch deleted +0 -43

43 lines not on this page · raw message

meta/recipes-kernel/latencytop/latencytop_0.5.bb deleted +0 -32
deleted file mode 100644
index eb19471ce8b..00000000000
@@ -1,32 +0,0 @@
-SUMMARY = "Linux tool for measuring and fixing latency"
-HOMEPAGE = "http://www.latencytop.org/"
-
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://latencytop.c;endline=23;md5=ee9ea9b1415356e5734adad4a87dc7fa"
-
-inherit pkgconfig
-
-DEPENDS = "virtual/libintl ncurses glib-2.0"
-
-PR = "r3"
-
-SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/${BPN}/${BP}.tar.gz/73bb3371c6ee0b0e68e25289027e865c/${BP}.tar.gz \
-            file://latencytop-makefile.patch \
-            file://latencytop-fsync.patch \
-            file://0001-Rectify-the-function-signatures-to-fix-prototype-mis.patch \
-"
-
-SRC_URI[md5sum] = "73bb3371c6ee0b0e68e25289027e865c"
-SRC_URI[sha256sum] = "9e7f72fbea7bd918e71212a1eabaad8488d2c602205d2e3c95d62cd57e9203ef"
-
-PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
-
-PACKAGECONFIG[x11] = ",,gtk+"
-
-EXTRA_OEMAKE_X = "${@bb.utils.contains('PACKAGECONFIG', 'x11', 'HAS_GTK_GUI=1', '', d)}"
-
-#CFLAGS += "${LDFLAGS}"
-
-do_install() {
-    oe_runmake install DESTDIR=${D} ${EXTRA_OEMAKE_X}
-}
Signature · 1 line
2.15.1
#4 lore raw

PATCH 5/15 lsbinitscripts: update to 9.79

In reply to Alexander Kanavin

Switch to github as pkgs.fedoraproject.org is down.

---
 .../lsb/lsbinitscripts/functions.patch              | 21 +++++++++++----------
 ...sbinitscripts_9.72.bb => lsbinitscripts_9.79.bb} |  8 +++++---
 2 files changed, 16 insertions(+), 13 deletions(-)
 rename meta/recipes-extended/lsb/{lsbinitscripts_9.72.bb => lsbinitscripts_9.79.bb} (73%)
meta/recipes-extended/lsb/lsbinitscripts/functions.patch +11 -10
index 9c58d90c382..e912daa701a 100644
@@ -1,7 +1,7 @@
-From 57468c5f4e364bdad556604dca09046e1afca929 Mon Sep 17 00:00:00 2001
+From e46b056282c8420f096d5c34d78c00f816788784 Mon Sep 17 00:00:00 2001
 From: Fan Xin <[email protected]>
 Date: Mon, 5 Jun 2017 16:26:47 +0900
-Subject: [PATCH] Upstream-Status: Inappropriate [configuration]
+Subject: [PATCH 1/2] Upstream-Status: Inappropriate [configuration]
 
 Signed-off-by: Xiaofeng Yan <[email protected]>
 Signed-off-by: Saul Wold <[email protected]>
@@ -10,23 +10,24 @@ Rebase on 9.72
 
 Signed-off-by: Fan Xin <[email protected]>
 Upstream-Status: Pending
+
 ---
- initscripts-9.72/rc.d/init.d/functions | 2 +-
+ rc.d/init.d/functions | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/initscripts-9.72/rc.d/init.d/functions b/initscripts-9.72/rc.d/init.d/functions
-index 0f627f1..a6aa092 100644
---- a/initscripts-9.72/rc.d/init.d/functions
-+++ b/initscripts-9.72/rc.d/init.d/functions
+diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
+index 2e3da964..1a204dec 100644
+--- a/rc.d/init.d/functions
++++ b/rc.d/init.d/functions
 @@ -59,7 +59,7 @@ systemctl_redirect () {
  [ -z "${COLUMNS:-}" ] && COLUMNS=80
  
  if [ -z "${CONSOLETYPE:-}" ]; then
--    if [ -c "/dev/stderr" -a -r "/dev/stderr" ]; then
-+    if [ -c "/dev/stderr" -a -r "/dev/stderr" -a -e /sbin/consoletype ]; then
+-    if [ -c "/dev/stderr" ] && [ -r "/dev/stderr" ]; then
++    if [ -c "/dev/stderr" ] && [ -r "/dev/stderr" ] && [ -e /sbin/consoletype ]; then
          CONSOLETYPE="$(/sbin/consoletype < /dev/stderr 2>/dev/null)"
      else
          CONSOLETYPE="serial"
 -- 
-1.9.1
+2.15.1
 
meta/recipes-extended/lsb/lsbinitscripts_9.79.bb renamed from meta/recipes-extended/lsb/lsbinitscripts_9.72.bb +5 -3
similarity index 73%
rename from meta/recipes-extended/lsb/lsbinitscripts_9.72.bb
rename to meta/recipes-extended/lsb/lsbinitscripts_9.79.bb
index 2d74a6f9d3b..46edeed8a48 100644
@@ -10,11 +10,13 @@ RCONFLICTS_${PN} = "initscripts-functions"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=ebf4e8b49780ab187d51bd26aaa022c6"
 
-S="${WORKDIR}/initscripts-${PV}"
-SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/initscripts/initscripts-${PV}.tar.gz/sha512/b6ed38f9576e9227c2ecf047e2d60e1e872f40d51d13861b0c91dddb282f10f7e6b79706a4d1435d7a57a14a0b73a1b71541cfe44c00e8e03ef96b08de19ec32/initscripts-${PV}.tar.gz \
-           file://functions.patch;striplevel=2 \
+S = "${WORKDIR}/git"
+SRC_URI = "git://github.com/fedora-sysv/initscripts \
+           file://functions.patch \
            file://0001-functions-avoid-exit-1-which-causes-init-scripts-to-.patch \
           " 
+SRCREV = "a51c1b4f7dcf55b568b2ee4c2b18078849943469"
+UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)"
 
 SRC_URI[md5sum] = "d6c798f40dceb117e12126d94cb25a9a"
 SRC_URI[sha256sum] = "1793677bdd1f7ee4cb00878ce43346196374f848a4c8e4559e086040fc7487db"
Signature · 1 line
2.15.1
#5 lore raw

PATCH 6/15 btrfs-tools: update to 4.15.1

In reply to Alexander Kanavin

Drop upstreamed 0001-Fix-build-with-musl-missing-header-include-for-dev_t.patch

Add --disable-zstd as libzstd isn't provided in oe-core.

---
 ...ith-musl-missing-header-include-for-dev_t.patch | 26 ----------------------
 ...btrfs-tools_4.13.3.bb => btrfs-tools_4.15.1.bb} |  4 ++--
 2 files changed, 2 insertions(+), 28 deletions(-)
 delete mode 100644 meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Fix-build-with-musl-missing-header-include-for-dev_t.patch
 rename meta/recipes-devtools/btrfs-tools/{btrfs-tools_4.13.3.bb => btrfs-tools_4.15.1.bb} (90%)
meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Fix-build-with-musl-missing-header-include-for-dev_t.patch deleted +0 -26
deleted file mode 100644
index 790676b9cbf..00000000000
@@ -1,26 +0,0 @@
-From bc35c4caebb57cc8b96c30c25432b12ca8dc18d5 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <[email protected]>
-Date: Fri, 6 Oct 2017 15:03:49 +0300
-Subject: [PATCH] Fix build with musl (missing header include for dev_t).
-
-Upstream-Status: Pending
-Signed-off-by: Alexander Kanavin <[email protected]>
----
- convert/source-fs.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/convert/source-fs.h b/convert/source-fs.h
-index 23f3356..6fd770f 100644
---- a/convert/source-fs.h
-+++ b/convert/source-fs.h
-@@ -20,6 +20,7 @@
- #include "kerncompat.h"
- #include <linux/kdev_t.h>
- #include <pthread.h>
-+#include <sys/types.h>
- 
- #define CONV_IMAGE_SUBVOL_OBJECTID BTRFS_FIRST_FREE_OBJECTID
- 
--- 
-2.14.1
-
meta/recipes-devtools/btrfs-tools/btrfs-tools_4.15.1.bb renamed from meta/recipes-devtools/btrfs-tools/btrfs-tools_4.13.3.bb +2 -2
similarity index 90%
rename from meta/recipes-devtools/btrfs-tools/btrfs-tools_4.13.3.bb
rename to meta/recipes-devtools/btrfs-tools/btrfs-tools_4.15.1.bb
index 263fc657550..4490b82d91d 100644
@@ -14,15 +14,15 @@ DEPENDS = "util-linux attr e2fsprogs lzo acl"
 DEPENDS_append_class-target = " udev"
 RDEPENDS_${PN} = "libgcc"
 
-SRCREV = "a7a1ea0f4f2a1d6eeeb3d106e062c7f1034f16d4"
+SRCREV = "3097f02c948f69f520c565ff8f8ba476aa6edb88"
 SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git \
            file://0001-Makefile-build-mktables-using-native-gcc.patch \
-           file://0001-Fix-build-with-musl-missing-header-include-for-dev_t.patch \
            "
 
 inherit autotools-brokensep pkgconfig manpages
 
 PACKAGECONFIG[manpages] = "--enable-documentation, --disable-documentation, asciidoc-native xmlto-native"
+EXTRA_OECONF = " --disable-zstd"
 EXTRA_OECONF_append_libc-musl = " --disable-backtrace "
 
 do_configure_prepend() {
Signature · 1 line
2.15.1
#6 lore raw

PATCH 7/15 gtk-doc.bbclass: inherit python3native

In reply to Alexander Kanavin

Previously the use of native python3 was non-deterministic based on what specific recipes pulled in, and could cause a failure if host python3 did not have python3-six installed.

---
 meta/classes/gtk-doc.bbclass | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
meta/classes/gtk-doc.bbclass +1 -4
index 5201c7151c6..9bc8fa2b21d 100644
@@ -33,7 +33,7 @@ do_configure_prepend () {
 	( cd ${S}; gtkdocize --docdir ${GTKDOC_DOCDIR} || true )
 }
 
-inherit qemu
+inherit qemu pkgconfig python3native
 
 export STAGING_DIR_HOST
 
@@ -65,6 +65,3 @@ fi
 EOF
         chmod +x ${B}/gtkdoc-qemuwrapper
 }
-
-
-inherit pkgconfig
Signature · 1 line
2.15.1
#7 lore raw

Re: [PATCH 07/15] gtk-doc.bbclass: inherit python3native

Can the inherit of python3native be avoided if gtk-doc isn't enabled? (I just removed the dependency on py3native in glib)

Ross

Quoted 39 lines · Alexander Kanavin

Previously the use of native python3 was non-deterministic based on what specific recipes pulled in,
and could cause a failure if host python3 did not have python3-six installed.

---
 meta/classes/gtk-doc.bbclass | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
meta/classes/gtk-doc.bbclass +1 -5
index 5201c7151c6..9bc8fa2b21d 100644
@@ -33,7 +33,7 @@ do_configure_prepend () {
        ( cd ${S}; gtkdocize --docdir ${GTKDOC_DOCDIR} || true )
 }
 
-inherit qemu
+inherit qemu pkgconfig python3native
 
 export STAGING_DIR_HOST
 
@@ -65,6 +65,3 @@ fi
 EOF
         chmod +x ${B}/gtkdoc-qemuwrapper
 }
-
-
-inherit pkgconfig
--

2.15.1

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#8 lore raw

Re: [PATCH 07/15] gtk-doc.bbclass: inherit python3native

Quoted 2 lines · Ross

Can the inherit of python3native be avoided if gtk-doc isn't enabled?
 (I just removed the dependency on py3native in glib)

gobject-introspection has the same inherit. And meson, and rpm. I don't think we should fight against this: python3 does not take very long to build, and is not on a critical path (from my many observations of the build process). I'd look into why perl takes over 4 minutes to build first.

Alex

#9 lore raw

PATCH 8/15 strace: use strace.io as the tarball location

In reply to Alexander Kanavin

As explained here:
https://sourceforge.net/projects/strace/files/

---
 meta/recipes-devtools/strace/strace_4.20.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/strace/strace_4.20.bb +2 -2
index d5df25eba8f..869c12f65a7 100644
@@ -1,10 +1,10 @@
 SUMMARY = "System call tracing tool"
-HOMEPAGE = "http://strace.sourceforge.net"
+HOMEPAGE = "http://strace.io"
 SECTION = "console/utils"
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=f132b4d2adfccc63da4139a609367711"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/strace/strace-${PV}.tar.xz \
+SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \
            file://disable-git-version-gen.patch \
            file://more-robust-test-for-m32-mx32-compile-support.patch \
            file://update-gawk-paths.patch \
Signature · 1 line
2.15.1
#10 lore raw

PATCH 9/15 mpg123: upgrade 1.25.8 -> 1.25.10

In reply to Alexander Kanavin
---
 .../recipes-multimedia/mpg123/{mpg123_1.25.8.bb => mpg123_1.25.10.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/mpg123/{mpg123_1.25.8.bb => mpg123_1.25.10.bb} (94%)
meta/recipes-multimedia/mpg123/mpg123_1.25.10.bb renamed from meta/recipes-multimedia/mpg123/mpg123_1.25.8.bb +2 -2
similarity index 94%
rename from meta/recipes-multimedia/mpg123/mpg123_1.25.8.bb
rename to meta/recipes-multimedia/mpg123/mpg123_1.25.10.bb
index 45f3538d70a..929069ab494 100644
@@ -11,8 +11,8 @@ LICENSE_FLAGS = "commercial"
 LIC_FILES_CHKSUM = "file://COPYING;md5=1e86753638d3cf2512528b99079bc4f3"
 
 SRC_URI = "https://www.mpg123.de/download/${BP}.tar.bz2"
-SRC_URI[md5sum] = "62ef1e417eb50f82bf241866d9e6e19b"
-SRC_URI[sha256sum] = "79da51efae011814491f07c95cb5e46de0476aca7a0bf240ba61cfc27af8499b"
+SRC_URI[md5sum] = "ea32caa61d41d8be797f0b04a1b43ad9"
+SRC_URI[sha256sum] = "6c1337aee2e4bf993299851c70b7db11faec785303cfca3a5c3eb5f329ba7023"
 
 inherit autotools pkgconfig
 
Signature · 1 line
2.15.1
#11 lore raw

PATCH 10/15 ffmpeg: upgrade 3.4.1 -> 3.4.2

In reply to Alexander Kanavin
---
 meta/recipes-multimedia/ffmpeg/{ffmpeg_3.4.1.bb => ffmpeg_3.4.2.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/ffmpeg/{ffmpeg_3.4.1.bb => ffmpeg_3.4.2.bb} (97%)
meta/recipes-multimedia/ffmpeg/ffmpeg_3.4.2.bb renamed from meta/recipes-multimedia/ffmpeg/ffmpeg_3.4.1.bb +2 -2
similarity index 97%
rename from meta/recipes-multimedia/ffmpeg/ffmpeg_3.4.1.bb
rename to meta/recipes-multimedia/ffmpeg/ffmpeg_3.4.2.bb
index 1837956904d..879cf7ffb94 100644
@@ -26,8 +26,8 @@ LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 SRC_URI = "https://www.ffmpeg.org/releases/${BP}.tar.xz \
            file://mips64_cpu_detection.patch \
            "
-SRC_URI[md5sum] = "726212db1b8a7eff6c25a2bc2e6fa75c"
-SRC_URI[sha256sum] = "5a77278a63741efa74e26bf197b9bb09ac6381b9757391b922407210f0f991c0"
+SRC_URI[md5sum] = "cbf4ead227fcedddf54c86013705a988"
+SRC_URI[sha256sum] = "2b92e9578ef8b3e49eeab229e69305f5f4cbc1fdaa22e927fc7fca18acccd740"
 
 # Build fails when thumb is enabled: https://bugzilla.yoctoproject.org/show_bug.cgi?id=7717
 ARM_INSTRUCTION_SET = "arm"
Signature · 1 line
2.15.1
#12 lore raw

PATCH 11/15 epiphany: upgrade 3.26.5.1 -> 3.26.6

In reply to Alexander Kanavin
---
 .../epiphany/{epiphany_3.26.5.1.bb => epiphany_3.26.6.bb}             | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-gnome/epiphany/{epiphany_3.26.5.1.bb => epiphany_3.26.6.bb} (84%)
meta/recipes-gnome/epiphany/epiphany_3.26.6.bb renamed from meta/recipes-gnome/epiphany/epiphany_3.26.5.1.bb +2 -2
similarity index 84%
rename from meta/recipes-gnome/epiphany/epiphany_3.26.5.1.bb
rename to meta/recipes-gnome/epiphany/epiphany_3.26.6.bb
index eee53c6015e..e250f76ed1e 100644
@@ -13,8 +13,8 @@ REQUIRED_DISTRO_FEATURES = "x11"
 SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive \
            file://0002-help-meson.build-disable-the-use-of-yelp.patch \
            "
-SRC_URI[archive.md5sum] = "8c2062debde6377320596e2685bb1732"
-SRC_URI[archive.sha256sum] = "4b2f1c48e6f50793ff205d9215add5596ab5c7ebf4cef76907868fcd5a029221"
+SRC_URI[archive.md5sum] = "8449968366a6f9aaff3ac228ddfc7c66"
+SRC_URI[archive.sha256sum] = "01b16aa55d312ae0f17d3136f90d8c68ac748715f119412fb1917023c6f630a8"
 
 EXTRA_OEMESON += " -Ddistributor_name=${DISTRO}"
 
Signature · 1 line
2.15.1
#13 lore raw

PATCH 12/15 vala: upgrade 0.38.6 -> 0.38.8

In reply to Alexander Kanavin
---
 meta/recipes-devtools/vala/{vala_0.38.6.bb => vala_0.38.8.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/vala/{vala_0.38.6.bb => vala_0.38.8.bb} (64%)
meta/recipes-devtools/vala/vala_0.38.8.bb renamed from meta/recipes-devtools/vala/vala_0.38.6.bb +2 -2
similarity index 64%
rename from meta/recipes-devtools/vala/vala_0.38.6.bb
rename to meta/recipes-devtools/vala/vala_0.38.8.bb
index b0b8e00824f..e2baf655596 100644
@@ -6,5 +6,5 @@ SRC_URI += " file://0001-git-version-gen-don-t-append-dirty-if-we-re-not-in-g.pa
 	     file://0001-Disable-valadoc.patch \
 "
 
-SRC_URI[md5sum] = "e0e834869f636fde981ba63d46f31c9c"
-SRC_URI[sha256sum] = "8c676b8307a12fba3420f861463c7e40b2743b0d6fef91f9516a3441ea25029a"
+SRC_URI[md5sum] = "37edd0467d056fd9e3937d0bbceda80b"
+SRC_URI[sha256sum] = "2fa746b51cd66e43577d1da06a80b708c2875cadaafee77e9700ea35cf23882c"
Signature · 1 line
2.15.1
#14 lore raw

PATCH 13/15 meson: upgrade 0.44.0 -> 0.44.1

In reply to Alexander Kanavin
---
 .../meson/meson/0003-native_bindir.patch           | 29 +++++++++++++---------
 .../meson/{meson_0.44.0.bb => meson_0.44.1.bb}     |  4 +--
 2 files changed, 19 insertions(+), 14 deletions(-)
 rename meta/recipes-devtools/meson/{meson_0.44.0.bb => meson_0.44.1.bb} (83%)
meta/recipes-devtools/meson/meson/0003-native_bindir.patch +17 -12
index 8911dd6b34e..af5e6a190bf 100644
@@ -1,6 +1,7 @@
+From ffa72eac56558aa4171dd70ac1e9c27a07338fa2 Mon Sep 17 00:00:00 2001
 From: Ricardo Ribalda Delgado <[email protected]>
 Date: Wed, 15 Nov 2017 15:05:01 +0100
-Subject: [PATCH] native_bindir
+Subject: [PATCH 4/4] native_bindir
 
 Some libraries, like QT, have pre-processors that convert their input
 files into something that the cross-compiler can process. We find the
@@ -14,16 +15,17 @@ that is is OE only. https://github.com/mesonbuild/meson/issues/1849#issuecomment
 
 Upstream-Status: Inappropriate [OE specific]
 Signed-off-by: Ricardo Ribalda Delgado <[email protected]>
+
 ---
- mesonbuild/dependencies/base.py | 14 +++++++++-----
+ mesonbuild/dependencies/base.py | 16 ++++++++++------
  mesonbuild/dependencies/ui.py   |  6 +++---
- 2 files changed, 12 insertions(+), 8 deletions(-)
+ 2 files changed, 13 insertions(+), 9 deletions(-)
 
 diff --git a/mesonbuild/dependencies/base.py b/mesonbuild/dependencies/base.py
-index 0ef33722f196..b3f7e7c06822 100644
+index bf79bc5..c9fd08c 100644
 --- a/mesonbuild/dependencies/base.py
 +++ b/mesonbuild/dependencies/base.py
-@@ -130,7 +130,7 @@ class Dependency:
+@@ -131,7 +131,7 @@ class Dependency:
      def need_threads(self):
          return False
  
@@ -32,7 +34,7 @@ index 0ef33722f196..b3f7e7c06822 100644
          raise DependencyException('{!r} is not a pkgconfig dependency'.format(self.name))
  
      def get_configtool_variable(self, variable_name):
-@@ -149,7 +149,7 @@ class InternalDependency(Dependency):
+@@ -150,7 +150,7 @@ class InternalDependency(Dependency):
          self.sources = sources
          self.ext_deps = ext_deps
  
@@ -41,7 +43,7 @@ index 0ef33722f196..b3f7e7c06822 100644
          raise DependencyException('Method "get_pkgconfig_variable()" is '
                                    'invalid for an internal dependency')
  
-@@ -414,10 +414,14 @@ class PkgConfigDependency(ExternalDependency):
+@@ -425,10 +425,14 @@ class PkgConfigDependency(ExternalDependency):
          return s.format(self.__class__.__name__, self.name, self.is_found,
                          self.version_reqs)
  
@@ -58,16 +60,16 @@ index 0ef33722f196..b3f7e7c06822 100644
          return p.returncode, out.strip()
  
      def _convert_mingw_paths(self, args):
-@@ -499,7 +503,7 @@ class PkgConfigDependency(ExternalDependency):
-                 self.is_libtool = True
-             self.link_args.append(lib)
+@@ -522,7 +526,7 @@ class PkgConfigDependency(ExternalDependency):
+             # linkers such as MSVC, so prepend them.
+             self.link_args = ['-L' + lp for lp in libpaths] + self.link_args
  
 -    def get_pkgconfig_variable(self, variable_name, kwargs):
 +    def get_pkgconfig_variable(self, variable_name, kwargs, use_native=False):
          options = ['--variable=' + variable_name, self.name]
  
          if 'define_variable' in kwargs:
-@@ -512,7 +516,7 @@ class PkgConfigDependency(ExternalDependency):
+@@ -535,7 +539,7 @@ class PkgConfigDependency(ExternalDependency):
  
              options = ['--define-variable=' + '='.join(definition)] + options
  
@@ -77,7 +79,7 @@ index 0ef33722f196..b3f7e7c06822 100644
          if ret != 0:
              if self.required:
 diff --git a/mesonbuild/dependencies/ui.py b/mesonbuild/dependencies/ui.py
-index 1db518c12477..4ed1d041f6f4 100644
+index 1db518c..4ed1d04 100644
 --- a/mesonbuild/dependencies/ui.py
 +++ b/mesonbuild/dependencies/ui.py
 @@ -239,7 +239,7 @@ class QtBaseDependency(ExternalDependency):
@@ -107,3 +109,6 @@ index 1db518c12477..4ed1d041f6f4 100644
  
  
  # There are three different ways of depending on SDL2:
+-- 
+2.15.1
+
meta/recipes-devtools/meson/meson_0.44.1.bb renamed from meta/recipes-devtools/meson/meson_0.44.0.bb +2 -2
similarity index 83%
rename from meta/recipes-devtools/meson/meson_0.44.0.bb
rename to meta/recipes-devtools/meson/meson_0.44.1.bb
index d9c691c7f8b..6a81dab2650 100644
@@ -10,8 +10,8 @@ SRC_URI = "https://github.com/mesonbuild/meson/releases/download/${PV}/${BP}.tar
            file://0001-Linker-rules-move-cross_args-in-front-of-output_args.patch \
            file://0003-native_bindir.patch \
            "
-SRC_URI[md5sum] = "26a7ca93ec9cea5facb365664261f9c6"
-SRC_URI[sha256sum] = "50f9b12b77272ef6ab064d26b7e06667f07fa9f931e6a20942bba2216ba4281b"
+SRC_URI[md5sum] = "82b1198bf714b5a4da84bfe8376c79cc"
+SRC_URI[sha256sum] = "2ea1a721574adb23160b6481191bcc1173f374e02b0ff3bb0ae85d988d97e4fa"
 UPSTREAM_CHECK_URI = "https://github.com/mesonbuild/meson/releases"
 
 inherit setuptools3
Signature · 1 line
2.15.1
#15 lore raw

PATCH 14/15 expect: upgrade 5.45.3 -> 5.45.4

In reply to Alexander Kanavin
---
 meta/recipes-devtools/expect/{expect_5.45.3.bb => expect_5.45.4.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/expect/{expect_5.45.3.bb => expect_5.45.4.bb} (95%)
meta/recipes-devtools/expect/expect_5.45.4.bb renamed from meta/recipes-devtools/expect/expect_5.45.3.bb +2 -2
similarity index 95%
rename from meta/recipes-devtools/expect/expect_5.45.3.bb
rename to meta/recipes-devtools/expect/expect_5.45.4.bb
index 445eca5742d..96eacd92934 100644
@@ -26,8 +26,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/expect/Expect/${PV}/${BPN}${PV}.tar.gz \
            file://0001-Resolve-string-formatting-issues.patch \
            file://0001-expect-Fix-segfaults-if-Tcl-is-built-with-stubs-and-.patch \
           "
-SRC_URI[md5sum] = "a8855cd41c1ef004b9794db9e2a57a9d"
-SRC_URI[sha256sum] = "c520717b7195944a69ce1492ec82ca0ac3f3baf060804e6c5ee6d505ea512be9"
+SRC_URI[md5sum] = "00fce8de158422f5ccd2666512329bd2"
+SRC_URI[sha256sum] = "49a7da83b0bdd9f46d04a04deec19c7767bb9a323e40c4781f89caf760b92c34"
 
 UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/expect/files/Expect/"
 UPSTREAM_CHECK_REGEX = "/Expect/(?P<pver>(\d+[\.\-_]*)+)/"
Signature · 1 line
2.15.1
#16 lore raw

Re: [PATCH 14/15] expect: upgrade 5.45.3 -> 5.45.4

ERROR: expect-5.45.4-r0 do_fetch: Fetcher failure for URL: '
http://downloads.sourceforge.net/expect/Expect/5.45.4/expect5.45.4.tar.gz'.
Checksum mismatch!
File: '/srv/autobuilder/ autobuilder.yoctoproject.org/current_sources/expect5.45.4.tar.gz' has md5 checksum cb530d737c8f2d1023797cf0587b4e05 when 00fce8de158422f5ccd2666512329bd2 was expected
File: '/srv/autobuilder/ autobuilder.yoctoproject.org/current_sources/expect5.45.4.tar.gz' has sha256 checksum 7a07d3f7cca5c0b38ca811984ef8da536da32932d68c1a6cce33ec2462b930bf when 49a7da83b0bdd9f46d04a04deec19c7767bb9a323e40c4781f89caf760b92c34 was expected
If this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe:
SRC_URI[md5sum] = "cb530d737c8f2d1023797cf0587b4e05" SRC_URI[sha256sum] = "7a07d3f7cca5c0b38ca811984ef8da536da32932d68c1a6cce33ec2462b930bf"

Yes, they changed the tarball between you submitting this (and me testing it here), and the autobuilder run last night.

Actually worth checking they haven't been hacked, although god knows who would want to compromise expect of all things.

Ross

Quoted 41 lines · Alexander Kanavin
---
 meta/recipes-devtools/expect/{expect_5.45.3.bb => expect_5.45.4.bb} | 4
++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/expect/{expect_5.45.3.bb => expect_5.45.4.bb}

(95%)

meta/recipes-devtools/expect/expect_5.45.4.bb renamed from meta/recipes-devtools/expect/expect_5.45.3.bb +0 -2
similarity index 95%
rename from meta/recipes-devtools/expect/expect_5.45.3.bb
rename to meta/recipes-devtools/expect/expect_5.45.4.bb
index 445eca5742d..96eacd92934 100644
@@ -26,8 +26,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/expect/
 Expect/${PV}/${BPN}${PV}.tar.gz \
            file://0001-Resolve-string-formatting-issues.patch \
            file://0001-expect-Fix-segfaults-if-Tcl-is-built-with-stubs-and-.patch
 \
           "
-SRC_URI[md5sum] = "a8855cd41c1ef004b9794db9e2a57a9d"
-SRC_URI[sha256sum] = "c520717b7195944a69ce1492ec82ca

0ac3f3baf060804e6c5ee6d505ea512be9"

meta/recipes-devtools/expect/expect_5.45.4.bb renamed from meta/recipes-devtools/expect/expect_5.45.3.bb +2 -0
+SRC_URI[md5sum] = "00fce8de158422f5ccd2666512329bd2"
+SRC_URI[sha256sum] = "49a7da83b0bdd9f46d04a04deec19c

7767bb9a323e40c4781f89caf760b92c34"

UPSTREAM_CHECK_URI = "http://sourceforge.net/
projects/expect/files/Expect/"
UPSTREAM_CHECK_REGEX = "/Expect/(?P<pver>(\d+[\.\-_]*)+)/"
--
2.15.1

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#17 lore raw

Re: [PATCH 14/15] expect: upgrade 5.45.3 -> 5.45.4

FYI, sourceforge is currently experiencing issues (another DDoS attack?) and instead of tarballs, serves HTML file with this text:

We're sorry -- the Sourceforge site is currently in Disaster Recovery mode, and currently requires the use of javascript to function. Please check back later.

Signature · 1 line
Denys
Quoted 77 lines · Ross

ERROR: expect-5.45.4-r0 do_fetch: Fetcher failure for URL: '
http://downloads.sourceforge.net/expect/Expect/5.45.4/expect5.45.4.tar.gz'.
Checksum mismatch!
File: '/srv/autobuilder/ autobuilder.yoctoproject.org/current_sources/expect5.45.4.tar.gz' has md5 checksum cb530d737c8f2d1023797cf0587b4e05 when 00fce8de158422f5ccd2666512329bd2 was expected
File: '/srv/autobuilder/ autobuilder.yoctoproject.org/current_sources/expect5.45.4.tar.gz' has sha256 checksum 7a07d3f7cca5c0b38ca811984ef8da536da32932d68c1a6cce33ec2462b930bf when 49a7da83b0bdd9f46d04a04deec19c7767bb9a323e40c4781f89caf760b92c34 was expected
If this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe:
SRC_URI[md5sum] = "cb530d737c8f2d1023797cf0587b4e05" SRC_URI[sha256sum] = "7a07d3f7cca5c0b38ca811984ef8da536da32932d68c1a6cce33ec2462b930bf"

Yes, they changed the tarball between you submitting this (and me testing it here), and the autobuilder run last night.

Actually worth checking they haven't been hacked, although god knows who would want to compromise expect of all things.

Ross

Quoted 41 lines · Alexander Kanavin
---
 meta/recipes-devtools/expect/{expect_5.45.3.bb => expect_5.45.4.bb} | 4
++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/expect/{expect_5.45.3.bb => expect_5.45.4.bb}

(95%)

meta/recipes-devtools/expect/expect_5.45.4.bb renamed from meta/recipes-devtools/expect/expect_5.45.3.bb +0 -2
similarity index 95%
rename from meta/recipes-devtools/expect/expect_5.45.3.bb
rename to meta/recipes-devtools/expect/expect_5.45.4.bb
index 445eca5742d..96eacd92934 100644
@@ -26,8 +26,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/expect/
 Expect/${PV}/${BPN}${PV}.tar.gz \
            file://0001-Resolve-string-formatting-issues.patch \
            file://0001-expect-Fix-segfaults-if-Tcl-is-built-with-stubs-and-.patch
 \
           "
-SRC_URI[md5sum] = "a8855cd41c1ef004b9794db9e2a57a9d"
-SRC_URI[sha256sum] = "c520717b7195944a69ce1492ec82ca

0ac3f3baf060804e6c5ee6d505ea512be9"

meta/recipes-devtools/expect/expect_5.45.4.bb renamed from meta/recipes-devtools/expect/expect_5.45.3.bb +2 -0
+SRC_URI[md5sum] = "00fce8de158422f5ccd2666512329bd2"
+SRC_URI[sha256sum] = "49a7da83b0bdd9f46d04a04deec19c

7767bb9a323e40c4781f89caf760b92c34"

UPSTREAM_CHECK_URI = "http://sourceforge.net/
projects/expect/files/Expect/"
UPSTREAM_CHECK_REGEX = "/Expect/(?P<pver>(\d+[\.\-_]*)+)/"
--
2.15.1

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Signature · 4 lines
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
#18 lore raw

Re: [PATCH 14/15] expect: upgrade 5.45.3 -> 5.45.4

That would be it, thanks Denys.

Ross

Quoted 99 lines · Denys Dmytriyenko

FYI, sourceforge is currently experiencing issues (another DDoS attack?) and
instead of tarballs, serves HTML file with this text:

We're sorry -- the Sourceforge site is currently in Disaster Recovery mode, and currently requires the use of javascript to function. Please check back
later.

--
Denys

Quoted 2 lines · Ross

ERROR: expect-5.45.4-r0 do_fetch: Fetcher failure for URL: '
http://downloads.sourceforge.net/expect/Expect/5.45.4/

expect5.45.4.tar.gz'.

Quoted 3 lines

Checksum mismatch!
File: '/srv/autobuilder/ autobuilder.yoctoproject.org/current_sources/expect5.45.4.tar.gz' has

md5

Quoted 9 lines

checksum cb530d737c8f2d1023797cf0587b4e05 when 00fce8de158422f5ccd2666512329bd2 was expected
File: '/srv/autobuilder/ autobuilder.yoctoproject.org/current_sources/expect5.45.4.tar.gz' has sha256 checksum 7a07d3f7cca5c0b38ca811984ef8da536da32932d68c1a6cce33ec2462b930bf when 49a7da83b0bdd9f46d04a04deec19c7767bb9a323e40c4781f89caf760b92c34 was expected
If this change is expected (e.g. you have upgraded to a new version

without

Quoted 8 lines

updating the checksums) then you can use these lines within the recipe:
SRC_URI[md5sum] = "cb530d737c8f2d1023797cf0587b4e05" SRC_URI[sha256sum] = "7a07d3f7cca5c0b38ca811984ef8da536da32932d68c1a6cce33ec2462b930bf"

Yes, they changed the tarball between you submitting this (and me testing it here), and the autobuilder run last night.

Quoted 11 lines

Actually worth checking they haven't been hacked, although god knows who would want to compromise expect of all things.

Ross

Quoted 3 lines · Alexander Kanavin

---
meta/recipes-devtools/expect/{expect_5.45.3.bb => expect_5.45.4.bb}

| 4

Quoted 3 lines
Quoted 3 lines

++--

 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/expect/{expect_5.45.3.bb =>

expect_5.45.4.bb}

Quoted 14 lines
Quoted 11 lines

(95%)

meta/recipes-devtools/expect/expect_5.45.4.bb renamed from meta/recipes-devtools/expect/expect_5.45.3.bb +0 -0
similarity index 95%
rename from meta/recipes-devtools/expect/expect_5.45.3.bb
rename to meta/recipes-devtools/expect/expect_5.45.4.bb
index 445eca5742d..96eacd92934 100644

meta/recipes-devtools/expect/expect_5.45.4.bb SRC_URI = "${SOURCEFORGE_MIRROR}/expect/ · line 28

Quoted 3 lines
meta/recipes-devtools/expect/expect_5.45.4.bb renamed from meta/recipes-devtools/expect/expect_5.45.3.bb +0 -0
@@ -26,8 +26,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/expect/
 Expect/${PV}/${BPN}${PV}.tar.gz \
            file://0001-Resolve-string-formatting-issues.patch \
            file://0001-expect-Fix-segfaults-if-Tcl-is-built-

with-stubs-and-.patch

Quoted 27 lines
Quoted 15 lines
meta/recipes-devtools/expect/expect_5.45.4.bb renamed from meta/recipes-devtools/expect/expect_5.45.3.bb +0 -2
 \
           "
-SRC_URI[md5sum] = "a8855cd41c1ef004b9794db9e2a57a9d"
-SRC_URI[sha256sum] = "c520717b7195944a69ce1492ec82ca

0ac3f3baf060804e6c5ee6d505ea512be9"

meta/recipes-devtools/expect/expect_5.45.4.bb renamed from meta/recipes-devtools/expect/expect_5.45.3.bb +2 -0
+SRC_URI[md5sum] = "00fce8de158422f5ccd2666512329bd2"
+SRC_URI[sha256sum] = "49a7da83b0bdd9f46d04a04deec19c

7767bb9a323e40c4781f89caf760b92c34"

UPSTREAM_CHECK_URI = "http://sourceforge.net/
projects/expect/files/Expect/"
UPSTREAM_CHECK_REGEX = "/Expect/(?P<pver>(\d+[\.\-_]*)+)/"
--
2.15.1

Quoted 6 lines

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#19 lore raw

Re: [PATCH 14/15] expect: upgrade 5.45.3 -> 5.45.4

In reply to Denys Dmytriyenko
Quoted 9 lines · Denys Dmytriyenko

FYI, sourceforge is currently experiencing issues (another DDoS attack?) and
instead of tarballs, serves HTML file with this text:

We're sorry -- the Sourceforge site is currently in Disaster Recovery mode,
and currently requires the use of javascript to function.  Please check back
later.

That explains some weird errors I saw on the new autobuilder setup but hadn't debugged, thanks!

Cheers,

Richard

#20 lore raw

PATCH 15/15 trace-cmd: update to 2.7

In reply to Alexander Kanavin
---
 meta/recipes-kernel/trace-cmd/trace-cmd.inc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta/recipes-kernel/trace-cmd/trace-cmd.inc +3 -3
index 0ea8b13f24d..0a1789c4590 100644
@@ -1,11 +1,11 @@
-SRCREV = "57371aaa2f469d0ba15fd85276deca7bfdd7ce36"
-PV = "2.6.2"
+SRCREV = "7d0147bbba3ed1d5ef6eea4eec3f0ad4c98f02b5"
+PV = "2.7"
 
 inherit pkgconfig
 
 FILESEXTRAPATHS =. "${FILE_DIRNAME}/trace-cmd:"
 
-SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git;branch=trace-cmd-stable-v2.6 \
+SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git \
            file://blktrace-api-compatibility.patch \
            file://0001-Include-limits.h-so-that-PATH_MAX-is-defined-an-issu.patch \
 "
Signature · 1 line
2.15.1