All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 01/15] package.bbclass: run pre/post installation/removal scriptlets using sh -e
@ 2018-03-01 14:00 Alexander Kanavin
  2018-03-01 14:00 ` [PATCH 02/15] meta/lib/oe/package_manager.py: warn about failing scriptlets for all package types Alexander Kanavin
                   ` (13 more replies)
  0 siblings, 14 replies; 21+ messages in thread
From: Alexander Kanavin @ 2018-03-01 14:00 UTC (permalink / raw)
  To: openembedded-core

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.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
 meta/classes/package.bbclass     | 12 ++++++++++++
 meta/classes/package_rpm.bbclass |  8 ++++----
 2 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index e7e93a067a6..56b3beb2e65 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -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')
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index e26b2ad6625..af64ef62c58 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -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('')
-- 
2.15.1



^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 02/15] meta/lib/oe/package_manager.py: warn about failing scriptlets for all package types
  2018-03-01 14:00 [PATCH 01/15] package.bbclass: run pre/post installation/removal scriptlets using sh -e Alexander Kanavin
@ 2018-03-01 14:00 ` Alexander Kanavin
  2018-03-01 14:00 ` [PATCH 03/15] oe-selftest: add a test for failing package post-installation scriptlets Alexander Kanavin
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 21+ messages in thread
From: Alexander Kanavin @ 2018-03-01 14:00 UTC (permalink / raw)
  To: openembedded-core

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.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
 meta/lib/oe/package_manager.py | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index f7e013437c9..1ae31f8e744 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -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
 
-- 
2.15.1



^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 03/15] oe-selftest: add a test for failing package post-installation scriptlets
  2018-03-01 14:00 [PATCH 01/15] package.bbclass: run pre/post installation/removal scriptlets using sh -e Alexander Kanavin
  2018-03-01 14:00 ` [PATCH 02/15] meta/lib/oe/package_manager.py: warn about failing scriptlets for all package types Alexander Kanavin
@ 2018-03-01 14:00 ` Alexander Kanavin
  2018-03-01 14:00 ` [PATCH 04/15] latencytop: remove recipe Alexander Kanavin
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 21+ messages in thread
From: Alexander Kanavin @ 2018-03-01 14:00 UTC (permalink / raw)
  To: openembedded-core

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.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
 .../recipes-test/postinst/postinst_1.0.bb          | 14 +++++++-
 meta/lib/oeqa/selftest/cases/runtime_test.py       | 37 ++++++++++++++++++++++
 2 files changed, 50 insertions(+), 1 deletion(-)

diff --git a/meta-selftest/recipes-test/postinst/postinst_1.0.bb b/meta-selftest/recipes-test/postinst/postinst_1.0.bb
index d4bab6dcc22..913bfabf89e 100644
--- a/meta-selftest/recipes-test/postinst/postinst_1.0.bb
+++ b/meta-selftest/recipes-test/postinst/postinst_1.0.bb
@@ -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
+}
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py
index 1c69255b568..9c9b4b34111 100644
--- a/meta/lib/oeqa/selftest/cases/runtime_test.py
+++ b/meta/lib/oeqa/selftest/cases/runtime_test.py
@@ -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 <alexander.kanavin@intel.com>
+        """
+
+        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")
+
-- 
2.15.1



^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 04/15] latencytop: remove recipe
  2018-03-01 14:00 [PATCH 01/15] package.bbclass: run pre/post installation/removal scriptlets using sh -e Alexander Kanavin
  2018-03-01 14:00 ` [PATCH 02/15] meta/lib/oe/package_manager.py: warn about failing scriptlets for all package types Alexander Kanavin
  2018-03-01 14:00 ` [PATCH 03/15] oe-selftest: add a test for failing package post-installation scriptlets Alexander Kanavin
@ 2018-03-01 14:00 ` Alexander Kanavin
  2018-03-01 14:00 ` [PATCH 05/15] lsbinitscripts: update to 9.79 Alexander Kanavin
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 21+ messages in thread
From: Alexander Kanavin @ 2018-03-01 14:00 UTC (permalink / raw)
  To: openembedded-core

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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
 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

diff --git a/meta/conf/distro/include/distro_alias.inc b/meta/conf/distro/include/distro_alias.inc
index 1a217daa390..8ec623befbd 100644
--- a/meta/conf/distro/include/distro_alias.inc
+++ b/meta/conf/distro/include/distro_alias.inc
@@ -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"
diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index 50392487903..965fd34ca04 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -304,7 +304,6 @@ RECIPE_MAINTAINER_pn-kmod-native = "Chen Qi <Qi.Chen@windriver.com>"
 RECIPE_MAINTAINER_pn-kmscube = "Carlos Rafael Giani <dv@pseudoterminal.org>"
 RECIPE_MAINTAINER_pn-l3afpad = "Maxin B. John <maxin.john@intel.com>"
 RECIPE_MAINTAINER_pn-lame = "Tanu Kaskinen <tanuk@iki.fi>"
-RECIPE_MAINTAINER_pn-latencytop = "Alexander Kanavin <alexander.kanavin@intel.com>"
 RECIPE_MAINTAINER_pn-ldconfig-native = "Khem Raj <raj.khem@gmail.com>"
 RECIPE_MAINTAINER_pn-less = "Yi Zhao <yi.zhao@windriver.com>"
 RECIPE_MAINTAINER_pn-liba52 = "Tanu Kaskinen <tanuk@iki.fi>"
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
index a8e47da40cd..e3814a44bc2 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
@@ -26,7 +26,6 @@ RRECOMMENDS_${PN} = "\
 
 PROFILETOOLS = "\
     powertop \
-    latencytop \
     "
 PERF = "perf"
 PERF_libc-musl = ""
diff --git a/meta/recipes-kernel/latencytop/latencytop-0.5/0001-Rectify-the-function-signatures-to-fix-prototype-mis.patch b/meta/recipes-kernel/latencytop/latencytop-0.5/0001-Rectify-the-function-signatures-to-fix-prototype-mis.patch
deleted file mode 100644
index b248133460e..00000000000
--- a/meta/recipes-kernel/latencytop/latencytop-0.5/0001-Rectify-the-function-signatures-to-fix-prototype-mis.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-From db112739dc4f608a968b8104b382955dc3d96ca3 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Mon, 7 Sep 2015 07:40:10 +0000
-Subject: [PATCH] Rectify the function signatures to fix prototype mismatches
-
-clang is less forgiving when it comes to coding standards, correct the
-function signatures to reflect the function logic
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
-Upstream-Status: Pending
-
- fsync.c      | 7 ++++---
- latencytop.h | 2 +-
- 2 files changed, 5 insertions(+), 4 deletions(-)
-
-diff --git a/fsync.c b/fsync.c
-index 82dff0e..5cefba9 100644
---- a/fsync.c
-+++ b/fsync.c
-@@ -51,7 +51,7 @@ struct fsync_files {
- static GList *fsync_data;
- 
- 
--static chain_file(struct fsync_process *proc, char *filename)
-+static void chain_file(struct fsync_process *proc, char *filename)
- {
- 	struct fsync_files *file;
- 	GList *item;
-@@ -75,7 +75,7 @@ static chain_file(struct fsync_process *proc, char *filename)
- 	proc->files = g_list_append(proc->files, file);
- }
- 
--static report_file(char *process, char *file)
-+static void report_file(char *process, char *file)
- {
- 	struct fsync_process *proc;
- 	GList *item;
-@@ -157,9 +157,10 @@ int enable_fsync_tracer(void)
- 	write_to_file("/sys/kernel/debug/tracing/current_tracer", "fsync");	
- 	write_to_file("/sys/kernel/debug/tracing/iter_ctrl", "ftrace_printk");	
- 	write_to_file("/sys/kernel/debug/tracing/tracing_on", "1");
-+	return ret;
- }
- 
--int disable_fsync_tracer(void)
-+void disable_fsync_tracer(void)
- {
- 	write_to_file("/sys/kernel/debug/tracing/tracing_on", "0");
- }
-diff --git a/latencytop.h b/latencytop.h
-index 5394d73..9d107a8 100644
---- a/latencytop.h
-+++ b/latencytop.h
-@@ -54,5 +54,5 @@ extern char *translate(char *line);
- extern void init_translations(char *filename);
- extern int fsync_display(int duration);
- extern int enable_fsync_tracer(void);
--extern int disable_fsync_tracer(void);
-+extern void disable_fsync_tracer(void);
- extern void update_list(void);
--- 
-2.5.1
-
diff --git a/meta/recipes-kernel/latencytop/latencytop-0.5/latencytop-fsync.patch b/meta/recipes-kernel/latencytop/latencytop-0.5/latencytop-fsync.patch
deleted file mode 100644
index 7848ccf2aea..00000000000
--- a/meta/recipes-kernel/latencytop/latencytop-0.5/latencytop-fsync.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-linux: sysfs: use tracing_on as tracing_enabled is deprecated
-
-tracing_enabled use in the kernel is being deprecated as per commit
-6752ab4a9c30 [tracing: Deprecate tracing_enabled for tracing_on] in
-the linux mainline kernel. tracing_enabled use will generate a warning
-and may no longer function as expected, therefore move to use tracing_on.
-
-Upstream-Status: Pending
-
-Signed-off-by: Dennis Hall <dennis.hall@windriver.com>
-
-Index: latencytop-0.5/fsync.c
-===================================================================
---- latencytop-0.5.orig/fsync.c	2012-08-03 10:45:49.000000000 -0400
-+++ latencytop-0.5/fsync.c	2012-08-03 10:48:39.000000000 -0400
-@@ -149,19 +149,19 @@
-  * cd /sys/kernel/debug/tracing
-  * echo fsync > current_tracer
-  * echo ftrace_printk > iter_ctrl 
-- * echo 1 > tracing_enabled
-+ * echo 1 > tracing_on
-  */
- 	ret = system("/bin/mount -t debugfs none /sys/kernel/debug/");
- 	if (!ret) 
- 		return -1;
- 	write_to_file("/sys/kernel/debug/tracing/current_tracer", "fsync");	
- 	write_to_file("/sys/kernel/debug/tracing/iter_ctrl", "ftrace_printk");	
--	write_to_file("/sys/kernel/debug/tracing/tracing_enabled", "1");
-+	write_to_file("/sys/kernel/debug/tracing/tracing_on", "1");
- }
- 
- int disable_fsync_tracer(void)
- {
--	write_to_file("/sys/kernel/debug/tracing/tracing_enabled", "0");
-+	write_to_file("/sys/kernel/debug/tracing/tracing_on", "0");
- }
- 
- 
-@@ -339,8 +339,8 @@
- 		if (curduration > 5)
- 			curduration = 5;
- 		/* clear the ftrace buffer */
--		write_to_file("/sys/kernel/debug/tracing/tracing_enabled", "0");
--		write_to_file("/sys/kernel/debug/tracing/tracing_enabled", "1");
-+		write_to_file("/sys/kernel/debug/tracing/tracing_on", "0");
-+		write_to_file("/sys/kernel/debug/tracing/tracing_on", "1");
- 		key = select(1, &rfds, NULL, NULL, &end);
- 		parse_ftrace();
- 		print_global_list();
diff --git a/meta/recipes-kernel/latencytop/latencytop-0.5/latencytop-makefile.patch b/meta/recipes-kernel/latencytop/latencytop-0.5/latencytop-makefile.patch
deleted file mode 100644
index 7147fda5d35..00000000000
--- a/meta/recipes-kernel/latencytop/latencytop-0.5/latencytop-makefile.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-
-Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
-Upstream-Status: Pending
-
-diff --git a/Makefile.orig b/Makefile
-index 16a2369..fa797a2 100644
---- a/Makefile.orig
-+++ b/Makefile
-@@ -1,10 +1,11 @@
--# FIXME: Use autoconf ?
--HAS_GTK_GUI = 1
-+#
-+#
- 
- DESTDIR =
- SBINDIR = /usr/sbin
- XCFLAGS = -W  -g `pkg-config --cflags glib-2.0` -D_FORTIFY_SOURCE=2 -Wno-sign-compare
--LDF = -Wl,--as-needed `pkg-config --libs glib-2.0`   -lncursesw 
-+LDF = -Wl,--as-needed `pkg-config --libs glib-2.0`   -lncurses $(LDFLAGS)
-+CC ?= gcc
- 
- OBJS= latencytop.o text_display.o translate.o fsync.o
- 
-@@ -26,16 +27,17 @@ endif
- 
- # We write explicity this "implicit rule"
- %.o : %.c
--	gcc -c $(CFLAGS) $(XCFLAGS) $< -o $@
-+	$(CC) -c $(CFLAGS) $(XCFLAGS) $< -o $@
- 
- latencytop:  $(OBJS) latencytop.h Makefile
--	gcc $(CFLAGS) $(OBJS) $(LDF) -o latencytop 
-+	$(CC) $(CFLAGS) $(OBJS) $(LDF) -o latencytop
- 
- clean:
- 	rm -f *~ latencytop DEADJOE *.o
- 
- install: latencytop
- 	mkdir -p $(DESTDIR)/usr/share/latencytop
-+	mkdir -p $(DESTDIR)/$(SBINDIR)
- 	install -m 0644 latencytop.trans $(DESTDIR)/usr/share/latencytop/latencytop.trans
- 	install -m 0644 *.png $(DESTDIR)/usr/share/latencytop/
- 	install -m 0755 latencytop $(DESTDIR)$(SBINDIR)/
diff --git a/meta/recipes-kernel/latencytop/latencytop_0.5.bb b/meta/recipes-kernel/latencytop/latencytop_0.5.bb
deleted file mode 100644
index eb19471ce8b..00000000000
--- a/meta/recipes-kernel/latencytop/latencytop_0.5.bb
+++ /dev/null
@@ -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}
-}
-- 
2.15.1



^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 05/15] lsbinitscripts: update to 9.79
  2018-03-01 14:00 [PATCH 01/15] package.bbclass: run pre/post installation/removal scriptlets using sh -e Alexander Kanavin
                   ` (2 preceding siblings ...)
  2018-03-01 14:00 ` [PATCH 04/15] latencytop: remove recipe Alexander Kanavin
@ 2018-03-01 14:00 ` Alexander Kanavin
  2018-03-01 14:00 ` [PATCH 06/15] btrfs-tools: update to 4.15.1 Alexander Kanavin
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 21+ messages in thread
From: Alexander Kanavin @ 2018-03-01 14:00 UTC (permalink / raw)
  To: openembedded-core

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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
 .../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%)

diff --git a/meta/recipes-extended/lsb/lsbinitscripts/functions.patch b/meta/recipes-extended/lsb/lsbinitscripts/functions.patch
index 9c58d90c382..e912daa701a 100644
--- a/meta/recipes-extended/lsb/lsbinitscripts/functions.patch
+++ b/meta/recipes-extended/lsb/lsbinitscripts/functions.patch
@@ -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 <fan.xin@jp.fujitsu.com>
 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 <xiaofeng.yan@windriver.com>
 Signed-off-by: Saul Wold <sgw@linux.intel.com>
@@ -10,23 +10,24 @@ Rebase on 9.72
 
 Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
 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
 
diff --git a/meta/recipes-extended/lsb/lsbinitscripts_9.72.bb b/meta/recipes-extended/lsb/lsbinitscripts_9.79.bb
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
--- a/meta/recipes-extended/lsb/lsbinitscripts_9.72.bb
+++ b/meta/recipes-extended/lsb/lsbinitscripts_9.79.bb
@@ -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"
-- 
2.15.1



^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 06/15] btrfs-tools: update to 4.15.1
  2018-03-01 14:00 [PATCH 01/15] package.bbclass: run pre/post installation/removal scriptlets using sh -e Alexander Kanavin
                   ` (3 preceding siblings ...)
  2018-03-01 14:00 ` [PATCH 05/15] lsbinitscripts: update to 9.79 Alexander Kanavin
@ 2018-03-01 14:00 ` Alexander Kanavin
  2018-03-01 14:00 ` [PATCH 07/15] gtk-doc.bbclass: inherit python3native Alexander Kanavin
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 21+ messages in thread
From: Alexander Kanavin @ 2018-03-01 14:00 UTC (permalink / raw)
  To: openembedded-core

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.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
 ...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%)

diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Fix-build-with-musl-missing-header-include-for-dev_t.patch b/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Fix-build-with-musl-missing-header-include-for-dev_t.patch
deleted file mode 100644
index 790676b9cbf..00000000000
--- a/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Fix-build-with-musl-missing-header-include-for-dev_t.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From bc35c4caebb57cc8b96c30c25432b12ca8dc18d5 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex.kanavin@gmail.com>
-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 <alex.kanavin@gmail.com>
----
- 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
-
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.13.3.bb b/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.15.1.bb
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
--- a/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.13.3.bb
+++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.15.1.bb
@@ -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() {
-- 
2.15.1



^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 07/15] gtk-doc.bbclass: inherit python3native
  2018-03-01 14:00 [PATCH 01/15] package.bbclass: run pre/post installation/removal scriptlets using sh -e Alexander Kanavin
                   ` (4 preceding siblings ...)
  2018-03-01 14:00 ` [PATCH 06/15] btrfs-tools: update to 4.15.1 Alexander Kanavin
@ 2018-03-01 14:00 ` Alexander Kanavin
  2018-03-01 23:34   ` Burton, Ross
  2018-03-01 14:00 ` [PATCH 08/15] strace: use strace.io as the tarball location Alexander Kanavin
                   ` (7 subsequent siblings)
  13 siblings, 1 reply; 21+ messages in thread
From: Alexander Kanavin @ 2018-03-01 14:00 UTC (permalink / raw)
  To: openembedded-core

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.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
 meta/classes/gtk-doc.bbclass | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/meta/classes/gtk-doc.bbclass b/meta/classes/gtk-doc.bbclass
index 5201c7151c6..9bc8fa2b21d 100644
--- a/meta/classes/gtk-doc.bbclass
+++ b/meta/classes/gtk-doc.bbclass
@@ -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



^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 08/15] strace: use strace.io as the tarball location
  2018-03-01 14:00 [PATCH 01/15] package.bbclass: run pre/post installation/removal scriptlets using sh -e Alexander Kanavin
                   ` (5 preceding siblings ...)
  2018-03-01 14:00 ` [PATCH 07/15] gtk-doc.bbclass: inherit python3native Alexander Kanavin
@ 2018-03-01 14:00 ` Alexander Kanavin
  2018-03-01 14:00 ` [PATCH 09/15] mpg123: upgrade 1.25.8 -> 1.25.10 Alexander Kanavin
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 21+ messages in thread
From: Alexander Kanavin @ 2018-03-01 14:00 UTC (permalink / raw)
  To: openembedded-core

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

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
 meta/recipes-devtools/strace/strace_4.20.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/strace/strace_4.20.bb b/meta/recipes-devtools/strace/strace_4.20.bb
index d5df25eba8f..869c12f65a7 100644
--- a/meta/recipes-devtools/strace/strace_4.20.bb
+++ b/meta/recipes-devtools/strace/strace_4.20.bb
@@ -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 \
-- 
2.15.1



^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 09/15] mpg123: upgrade 1.25.8 -> 1.25.10
  2018-03-01 14:00 [PATCH 01/15] package.bbclass: run pre/post installation/removal scriptlets using sh -e Alexander Kanavin
                   ` (6 preceding siblings ...)
  2018-03-01 14:00 ` [PATCH 08/15] strace: use strace.io as the tarball location Alexander Kanavin
@ 2018-03-01 14:00 ` Alexander Kanavin
  2018-03-01 14:00 ` [PATCH 10/15] ffmpeg: upgrade 3.4.1 -> 3.4.2 Alexander Kanavin
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 21+ messages in thread
From: Alexander Kanavin @ 2018-03-01 14:00 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
 .../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%)

diff --git a/meta/recipes-multimedia/mpg123/mpg123_1.25.8.bb b/meta/recipes-multimedia/mpg123/mpg123_1.25.10.bb
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
--- a/meta/recipes-multimedia/mpg123/mpg123_1.25.8.bb
+++ b/meta/recipes-multimedia/mpg123/mpg123_1.25.10.bb
@@ -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
 
-- 
2.15.1



^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 10/15] ffmpeg: upgrade 3.4.1 -> 3.4.2
  2018-03-01 14:00 [PATCH 01/15] package.bbclass: run pre/post installation/removal scriptlets using sh -e Alexander Kanavin
                   ` (7 preceding siblings ...)
  2018-03-01 14:00 ` [PATCH 09/15] mpg123: upgrade 1.25.8 -> 1.25.10 Alexander Kanavin
@ 2018-03-01 14:00 ` Alexander Kanavin
  2018-03-01 14:00 ` [PATCH 11/15] epiphany: upgrade 3.26.5.1 -> 3.26.6 Alexander Kanavin
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 21+ messages in thread
From: Alexander Kanavin @ 2018-03-01 14:00 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
 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%)

diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.4.1.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.4.2.bb
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
--- a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.4.1.bb
+++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.4.2.bb
@@ -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"
-- 
2.15.1



^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 11/15] epiphany: upgrade 3.26.5.1 -> 3.26.6
  2018-03-01 14:00 [PATCH 01/15] package.bbclass: run pre/post installation/removal scriptlets using sh -e Alexander Kanavin
                   ` (8 preceding siblings ...)
  2018-03-01 14:00 ` [PATCH 10/15] ffmpeg: upgrade 3.4.1 -> 3.4.2 Alexander Kanavin
@ 2018-03-01 14:00 ` Alexander Kanavin
  2018-03-01 14:00 ` [PATCH 12/15] vala: upgrade 0.38.6 -> 0.38.8 Alexander Kanavin
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 21+ messages in thread
From: Alexander Kanavin @ 2018-03-01 14:00 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
 .../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%)

diff --git a/meta/recipes-gnome/epiphany/epiphany_3.26.5.1.bb b/meta/recipes-gnome/epiphany/epiphany_3.26.6.bb
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
--- a/meta/recipes-gnome/epiphany/epiphany_3.26.5.1.bb
+++ b/meta/recipes-gnome/epiphany/epiphany_3.26.6.bb
@@ -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}"
 
-- 
2.15.1



^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 12/15] vala: upgrade 0.38.6 -> 0.38.8
  2018-03-01 14:00 [PATCH 01/15] package.bbclass: run pre/post installation/removal scriptlets using sh -e Alexander Kanavin
                   ` (9 preceding siblings ...)
  2018-03-01 14:00 ` [PATCH 11/15] epiphany: upgrade 3.26.5.1 -> 3.26.6 Alexander Kanavin
@ 2018-03-01 14:00 ` Alexander Kanavin
  2018-03-01 14:00 ` [PATCH 13/15] meson: upgrade 0.44.0 -> 0.44.1 Alexander Kanavin
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 21+ messages in thread
From: Alexander Kanavin @ 2018-03-01 14:00 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
 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%)

diff --git a/meta/recipes-devtools/vala/vala_0.38.6.bb b/meta/recipes-devtools/vala/vala_0.38.8.bb
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
--- a/meta/recipes-devtools/vala/vala_0.38.6.bb
+++ b/meta/recipes-devtools/vala/vala_0.38.8.bb
@@ -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"
-- 
2.15.1



^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 13/15] meson: upgrade 0.44.0 -> 0.44.1
  2018-03-01 14:00 [PATCH 01/15] package.bbclass: run pre/post installation/removal scriptlets using sh -e Alexander Kanavin
                   ` (10 preceding siblings ...)
  2018-03-01 14:00 ` [PATCH 12/15] vala: upgrade 0.38.6 -> 0.38.8 Alexander Kanavin
@ 2018-03-01 14:00 ` Alexander Kanavin
  2018-03-01 14:00 ` [PATCH 14/15] expect: upgrade 5.45.3 -> 5.45.4 Alexander Kanavin
  2018-03-01 14:00 ` [PATCH 15/15] trace-cmd: update to 2.7 Alexander Kanavin
  13 siblings, 0 replies; 21+ messages in thread
From: Alexander Kanavin @ 2018-03-01 14:00 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
 .../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%)

diff --git a/meta/recipes-devtools/meson/meson/0003-native_bindir.patch b/meta/recipes-devtools/meson/meson/0003-native_bindir.patch
index 8911dd6b34e..af5e6a190bf 100644
--- a/meta/recipes-devtools/meson/meson/0003-native_bindir.patch
+++ b/meta/recipes-devtools/meson/meson/0003-native_bindir.patch
@@ -1,6 +1,7 @@
+From ffa72eac56558aa4171dd70ac1e9c27a07338fa2 Mon Sep 17 00:00:00 2001
 From: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
 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 <ricardo.ribalda@gmail.com>
+
 ---
- 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
+
diff --git a/meta/recipes-devtools/meson/meson_0.44.0.bb b/meta/recipes-devtools/meson/meson_0.44.1.bb
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
--- a/meta/recipes-devtools/meson/meson_0.44.0.bb
+++ b/meta/recipes-devtools/meson/meson_0.44.1.bb
@@ -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
-- 
2.15.1



^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 14/15] expect: upgrade 5.45.3 -> 5.45.4
  2018-03-01 14:00 [PATCH 01/15] package.bbclass: run pre/post installation/removal scriptlets using sh -e Alexander Kanavin
                   ` (11 preceding siblings ...)
  2018-03-01 14:00 ` [PATCH 13/15] meson: upgrade 0.44.0 -> 0.44.1 Alexander Kanavin
@ 2018-03-01 14:00 ` Alexander Kanavin
  2018-03-02 14:12   ` Burton, Ross
  2018-03-01 14:00 ` [PATCH 15/15] trace-cmd: update to 2.7 Alexander Kanavin
  13 siblings, 1 reply; 21+ messages in thread
From: Alexander Kanavin @ 2018-03-01 14:00 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
 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%)

diff --git a/meta/recipes-devtools/expect/expect_5.45.3.bb b/meta/recipes-devtools/expect/expect_5.45.4.bb
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
--- a/meta/recipes-devtools/expect/expect_5.45.3.bb
+++ b/meta/recipes-devtools/expect/expect_5.45.4.bb
@@ -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+[\.\-_]*)+)/"
-- 
2.15.1



^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 15/15] trace-cmd: update to 2.7
  2018-03-01 14:00 [PATCH 01/15] package.bbclass: run pre/post installation/removal scriptlets using sh -e Alexander Kanavin
                   ` (12 preceding siblings ...)
  2018-03-01 14:00 ` [PATCH 14/15] expect: upgrade 5.45.3 -> 5.45.4 Alexander Kanavin
@ 2018-03-01 14:00 ` Alexander Kanavin
  13 siblings, 0 replies; 21+ messages in thread
From: Alexander Kanavin @ 2018-03-01 14:00 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
 meta/recipes-kernel/trace-cmd/trace-cmd.inc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-kernel/trace-cmd/trace-cmd.inc b/meta/recipes-kernel/trace-cmd/trace-cmd.inc
index 0ea8b13f24d..0a1789c4590 100644
--- a/meta/recipes-kernel/trace-cmd/trace-cmd.inc
+++ b/meta/recipes-kernel/trace-cmd/trace-cmd.inc
@@ -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 \
 "
-- 
2.15.1



^ permalink raw reply related	[flat|nested] 21+ messages in thread

* Re: [PATCH 07/15] gtk-doc.bbclass: inherit python3native
  2018-03-01 14:00 ` [PATCH 07/15] gtk-doc.bbclass: inherit python3native Alexander Kanavin
@ 2018-03-01 23:34   ` Burton, Ross
  2018-03-02  8:55     ` Alexander Kanavin
  0 siblings, 1 reply; 21+ messages in thread
From: Burton, Ross @ 2018-03-01 23:34 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 1347 bytes --]

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

Ross

On 1 March 2018 at 14:00, Alexander Kanavin <
alexander.kanavin@linux.intel.com> wrote:

> 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.
>
> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
> ---
>  meta/classes/gtk-doc.bbclass | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
>
> diff --git a/meta/classes/gtk-doc.bbclass b/meta/classes/gtk-doc.bbclass
> index 5201c7151c6..9bc8fa2b21d 100644
> --- a/meta/classes/gtk-doc.bbclass
> +++ b/meta/classes/gtk-doc.bbclass
> @@ -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
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>

[-- Attachment #2: Type: text/html, Size: 2076 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 07/15] gtk-doc.bbclass: inherit python3native
  2018-03-01 23:34   ` Burton, Ross
@ 2018-03-02  8:55     ` Alexander Kanavin
  0 siblings, 0 replies; 21+ messages in thread
From: Alexander Kanavin @ 2018-03-02  8:55 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core

On 03/02/2018 01:34 AM, Burton, Ross wrote:
> 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


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 14/15] expect: upgrade 5.45.3 -> 5.45.4
  2018-03-01 14:00 ` [PATCH 14/15] expect: upgrade 5.45.3 -> 5.45.4 Alexander Kanavin
@ 2018-03-02 14:12   ` Burton, Ross
  2018-03-02 18:14     ` Denys Dmytriyenko
  0 siblings, 1 reply; 21+ messages in thread
From: Burton, Ross @ 2018-03-02 14:12 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 2933 bytes --]

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

On 1 March 2018 at 14:00, Alexander Kanavin <
alexander.kanavin@linux.intel.com> wrote:

> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
> ---
>  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%)
>
> diff --git a/meta/recipes-devtools/expect/expect_5.45.3.bb
> b/meta/recipes-devtools/expect/expect_5.45.4.bb
> 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
> --- a/meta/recipes-devtools/expect/expect_5.45.3.bb
> +++ b/meta/recipes-devtools/expect/expect_5.45.4.bb
> @@ -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"
> +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
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>

[-- Attachment #2: Type: text/html, Size: 4995 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 14/15] expect: upgrade 5.45.3 -> 5.45.4
  2018-03-02 14:12   ` Burton, Ross
@ 2018-03-02 18:14     ` Denys Dmytriyenko
  2018-03-02 20:56       ` Burton, Ross
  2018-03-02 22:40       ` Richard Purdie
  0 siblings, 2 replies; 21+ messages in thread
From: Denys Dmytriyenko @ 2018-03-02 18:14 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core

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


On Fri, Mar 02, 2018 at 02:12:22PM +0000, Burton, Ross wrote:
> 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
> 
> On 1 March 2018 at 14:00, Alexander Kanavin <
> alexander.kanavin@linux.intel.com> wrote:
> 
> > Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
> > ---
> >  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%)
> >
> > diff --git a/meta/recipes-devtools/expect/expect_5.45.3.bb
> > b/meta/recipes-devtools/expect/expect_5.45.4.bb
> > 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
> > --- a/meta/recipes-devtools/expect/expect_5.45.3.bb
> > +++ b/meta/recipes-devtools/expect/expect_5.45.4.bb
> > @@ -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"
> > +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
> > Openembedded-core@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
> >

> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 14/15] expect: upgrade 5.45.3 -> 5.45.4
  2018-03-02 18:14     ` Denys Dmytriyenko
@ 2018-03-02 20:56       ` Burton, Ross
  2018-03-02 22:40       ` Richard Purdie
  1 sibling, 0 replies; 21+ messages in thread
From: Burton, Ross @ 2018-03-02 20:56 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 3973 bytes --]

That would be it, thanks Denys.

Ross

On 2 March 2018 at 18:14, Denys Dmytriyenko <denis@denix.org> wrote:

> 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
>
>
> On Fri, Mar 02, 2018 at 02:12:22PM +0000, Burton, Ross wrote:
> > 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
> >
> > On 1 March 2018 at 14:00, Alexander Kanavin <
> > alexander.kanavin@linux.intel.com> wrote:
> >
> > > Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
> > > ---
> > >  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%)
> > >
> > > diff --git a/meta/recipes-devtools/expect/expect_5.45.3.bb
> > > b/meta/recipes-devtools/expect/expect_5.45.4.bb
> > > 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
> > > --- a/meta/recipes-devtools/expect/expect_5.45.3.bb
> > > +++ b/meta/recipes-devtools/expect/expect_5.45.4.bb
> > > @@ -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"
> > > +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
> > > Openembedded-core@lists.openembedded.org
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-core
> > >
>
> > --
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>

[-- Attachment #2: Type: text/html, Size: 6904 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 14/15] expect: upgrade 5.45.3 -> 5.45.4
  2018-03-02 18:14     ` Denys Dmytriyenko
  2018-03-02 20:56       ` Burton, Ross
@ 2018-03-02 22:40       ` Richard Purdie
  1 sibling, 0 replies; 21+ messages in thread
From: Richard Purdie @ 2018-03-02 22:40 UTC (permalink / raw)
  To: Denys Dmytriyenko, Burton, Ross; +Cc: OE-core

On Fri, 2018-03-02 at 13:14 -0500, Denys Dmytriyenko wrote:
> 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


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2018-03-02 22:41 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-01 14:00 [PATCH 01/15] package.bbclass: run pre/post installation/removal scriptlets using sh -e Alexander Kanavin
2018-03-01 14:00 ` [PATCH 02/15] meta/lib/oe/package_manager.py: warn about failing scriptlets for all package types Alexander Kanavin
2018-03-01 14:00 ` [PATCH 03/15] oe-selftest: add a test for failing package post-installation scriptlets Alexander Kanavin
2018-03-01 14:00 ` [PATCH 04/15] latencytop: remove recipe Alexander Kanavin
2018-03-01 14:00 ` [PATCH 05/15] lsbinitscripts: update to 9.79 Alexander Kanavin
2018-03-01 14:00 ` [PATCH 06/15] btrfs-tools: update to 4.15.1 Alexander Kanavin
2018-03-01 14:00 ` [PATCH 07/15] gtk-doc.bbclass: inherit python3native Alexander Kanavin
2018-03-01 23:34   ` Burton, Ross
2018-03-02  8:55     ` Alexander Kanavin
2018-03-01 14:00 ` [PATCH 08/15] strace: use strace.io as the tarball location Alexander Kanavin
2018-03-01 14:00 ` [PATCH 09/15] mpg123: upgrade 1.25.8 -> 1.25.10 Alexander Kanavin
2018-03-01 14:00 ` [PATCH 10/15] ffmpeg: upgrade 3.4.1 -> 3.4.2 Alexander Kanavin
2018-03-01 14:00 ` [PATCH 11/15] epiphany: upgrade 3.26.5.1 -> 3.26.6 Alexander Kanavin
2018-03-01 14:00 ` [PATCH 12/15] vala: upgrade 0.38.6 -> 0.38.8 Alexander Kanavin
2018-03-01 14:00 ` [PATCH 13/15] meson: upgrade 0.44.0 -> 0.44.1 Alexander Kanavin
2018-03-01 14:00 ` [PATCH 14/15] expect: upgrade 5.45.3 -> 5.45.4 Alexander Kanavin
2018-03-02 14:12   ` Burton, Ross
2018-03-02 18:14     ` Denys Dmytriyenko
2018-03-02 20:56       ` Burton, Ross
2018-03-02 22:40       ` Richard Purdie
2018-03-01 14:00 ` [PATCH 15/15] trace-cmd: update to 2.7 Alexander Kanavin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.