Re: [OE-core] [PATCH v2 1/2] x265: add x265 recipe

2020-02-09 Thread Scott Branden via Openembedded-core
On 2020-02-09 3:35 p.m., Khem Raj wrote: On Sun, Feb 9, 2020 at 11:27 AM Scott Branden wrote: On 2020-02-08 11:18 a.m., Khem Raj wrote: On Fri, Feb 7, 2020 at 8:02 PM Scott Branden wrote: Hi Khem, On 2020-02-07 5:12 p.m., Khem Raj wrote: On Fri, Feb 7, 2020 at 4:01 PM Scott Branden

[OE-core] [PATCH v4] oeqa: Use --disable-maintainer-mode configure option

2020-02-09 Thread Khem Raj
since the versions of autotools might differ on target and build host, plus difference in timestamps for configure and system can result in reconfigure lets avoid that by disabling maintainer mode Avoids error: newly created file is older than distributed files! [YOCTO #13779] Suggested-by: And

[OE-core] [PATCH] qemuarm: Disable highmem when QB_MACHINE is virt

2020-02-09 Thread Khem Raj
running ptests on qemuarm returns fails since it finds errors in kernel logs like below *** Central error: [4.338465] pci-host-generic 401000.pcie: ECAM ioremap failed *** Since its a 32bit kernel 401000 address is truncated to 1000 and end

Re: [OE-core] [PATCH v2 1/2] x265: add x265 recipe

2020-02-09 Thread Khem Raj
On Sun, Feb 9, 2020 at 11:27 AM Scott Branden wrote: > > > > On 2020-02-08 11:18 a.m., Khem Raj wrote: > > On Fri, Feb 7, 2020 at 8:02 PM Scott Branden > > wrote: > >> Hi Khem, > >> > >> On 2020-02-07 5:12 p.m., Khem Raj wrote: > >> > >> > >> > >> On Fri, Feb 7, 2020 at 4:01 PM Scott Branden via

[OE-core] [PATCH] iproute2: add devlink support to iproute2

2020-02-09 Thread Scott Branden via Openembedded-core
Add devlink support to iproute2 recipe. Signed-off-by: Scott Branden --- meta/recipes-connectivity/iproute2/iproute2.inc | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/meta/recipes-connectivity/iproute2/iproute2.inc b/meta/recipes-connectivity/iproute2/iproute2.i

[OE-core] [PATCH v3 1/2] x265: add x265 recipe

2020-02-09 Thread Scott Branden via Openembedded-core
Add x265 recipe for latest tag of Release_3.2 branch (3.2.1). Signed-off-by: Scott Branden --- meta/recipes-multimedia/x265/x265_3.2.1.bb | 20 1 file changed, 20 insertions(+) create mode 100644 meta/recipes-multimedia/x265/x265_3.2.1.bb diff --git a/meta/recipes-multimed

[OE-core] [PATCH v3 2/2] ffmpeg: add PACKAGECONFIG support for x265

2020-02-09 Thread Scott Branden via Openembedded-core
Add PACKAGECONFIG support for x265 in ffmpeg. Signed-off-by: Scott Branden --- meta/recipes-multimedia/ffmpeg/ffmpeg_4.2.2.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.2.2.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.2.2.bb ind

Re: [OE-core] [PATCH v2 1/2] x265: add x265 recipe

2020-02-09 Thread Scott Branden via Openembedded-core
On 2020-02-08 11:18 a.m., Khem Raj wrote: On Fri, Feb 7, 2020 at 8:02 PM Scott Branden wrote: Hi Khem, On 2020-02-07 5:12 p.m., Khem Raj wrote: On Fri, Feb 7, 2020 at 4:01 PM Scott Branden via Openembedded-core wrote: Add x265 recipe from latest revision of stable branch. I wonder i

Re: [OE-core] [PATCH] x265: add x265 recipe

2020-02-09 Thread Scott Branden via Openembedded-core
Hi Alex, Thanks for the pointers. Yes, too bad - the github mirror is out of date, it would be nice to have commit history. I will setup x265_3.2.1.bb recipe use tarballs to fetch. On 2020-02-08 6:47 a.m., Alexander Kanavin wrote: What I meant is that upstream is actually tagging releases:

Re: [OE-core] Cache unihash ... doesn't match BB_UNIHASH ...

2020-02-09 Thread Joshua Watt
On Sat, Feb 8, 2020, 6:24 PM chris.laplante--- via Openembedded-core < openembedded-core@lists.openembedded.org> wrote: > Hi Richard, > > > > > Anecdotally, we are running Zeus for nightly builds with three > > > > multiconfigs. I cherry-picked your "bitbake: fix2" and "bitbake: > > > > fixup" pat

Re: [OE-core] Cache unihash ... doesn't match BB_UNIHASH ...

2020-02-09 Thread Alex Kiernan
On Sun, Feb 9, 2020 at 7:27 AM Alex Kiernan wrote: > > On Sun, Feb 9, 2020 at 12:23 AM chris.lapla...@agilent.com > wrote: > > > > Hi Richard, > > > > > > > Anecdotally, we are running Zeus for nightly builds with three > > > > > multiconfigs. I cherry-picked your "bitbake: fix2" and "bitbake: >

[OE-core] [zeus 29/29] ncurses: Fix reproducibility issue

2020-02-09 Thread Armin Kuster
From: Richard Purdie The build was deciding whether to rename manpages based upon the presence of /etc/debian_version. Be explicit about the configuration instead and ensure determinism. [YOCTO #13781] (From OE-Core rev: 09c8a28893e7ca94a44232d802e1cb02a8f34b87) (From OE-Core rev: 3d114c08c325

[OE-core] [zeus 28/29] libevdev: Fix determinism issue

2020-02-09 Thread Armin Kuster
From: Richard Purdie We need to sort python dict output to be deterministic and generate consistent header files. (From OE-Core rev: 75e4cedb986379db2e8a897df52ee1363f9a9a80) (From OE-Core rev: fc6e8e527698a82bf8047d02e0e792c4a1a64449) Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster

[OE-core] [zeus 27/29] sysvinit: Fix Reproducibility issue

2020-02-09 Thread Armin Kuster
From: Richard Purdie With a sequence like: bitbake sysvinit bitbake sysvinit -c clean bitbake sysvinit -c package_write_ipk -f then the resulting package has two files with group "root/70" rather than "root/shutdown". The issue is that of do_package is a setscene task, base-passwd isn't present

[OE-core] [zeus 20/29] perl: do not install files that contain build host specific data

2020-02-09 Thread Armin Kuster
From: Alexander Kanavin This was breaking reproducibility, and the files aren't needed on target. [YOCTO #13772] (From OE-Core rev: 2e0f30c4680221c693495e3a0327378d502a518b) (From OE-Core rev: 208efc88fa3c57244b272bf7e7f7f8163f14630c) Signed-off-by: Alexander Kanavin Signed-off-by: Richard P

[OE-core] [zeus 21/29] perl: Fix various reproducibile build issues

2020-02-09 Thread Armin Kuster
From: Richard Purdie Add a patch which handles the following issues: a) Remove the \n from configure_attr.sh since it gets quoted differently depending on whether the shell is bash or dash which can cause the test result to be incorrect. Reported upstream: https://github.com/arsv/perl-cr

[OE-core] [zeus 24/29] libinput: Fix determinism issue

2020-02-09 Thread Armin Kuster
From: Richard Purdie The build was injection git information from the wrong git tree, stop this to allow reproducible builds. (From OE-Core rev: c3f6a6113f562ecdb13386c3ff52adb7973980a4) (From OE-Core rev: 22dc9a3314eef5925241a9a961bd79815d3172b6) Signed-off-by: Richard Purdie Signed-off-by:

[OE-core] [zeus 23/29] iputils: Fix build determinism

2020-02-09 Thread Armin Kuster
From: Richard Purdie The suid/setcap code depends on whether setcap is on the host system or not with suid as a fallback. Disable this functionality to be deterministic. (From OE-Core rev: 8b00ec484fb851c301f13145e17707c0167feab1) (From OE-Core rev: 3997c47dea49d583fd48cb03f83c007f61d2cb35) Si

[OE-core] [zeus 26/29] sudo: specify where target tools are

2020-02-09 Thread Armin Kuster
From: Ross Burton sudo uses AC_PATH_PROG to find target paths, which means at best potential host-contamination (and reproducible issues) and at worst it thinks sh is at /your/build/path/hosttools/sh. Solve this by explicitly passing the correct paths to configure. (From OE-Core rev: 61650dd849

[OE-core] [zeus 25/29] libgcrypt: Fix determinism issue

2020-02-09 Thread Armin Kuster
From: Richard Purdie The build was injection git information from the wrong git tree, stop this to allow reproducible builds. (From OE-Core rev: 506b36b6d86b3454fcc3cb85f6229cbe8d14f5b5) (From OE-Core rev: 2b68ffc6d7c45541958f1b0c0b9ca9e39064e096) Signed-off-by: Richard Purdie Signed-off-by:

[OE-core] [zeus 22/29] openssl: Fix reproducibility issue

2020-02-09 Thread Armin Kuster
From: Richard Purdie There was a build architecture leaking into the target ptest which could vary depending upon host. Remove it as its cosmetic. [YOCTO #13770] (From OE-Core rev: 37db519eedb7eb5cd4f14d05f30f5d580aa7458d) (From OE-Core rev: c31c676319812e6fc036741db2ab8e16eccff723) Signed-of

[OE-core] [zeus 18/29] libidn2: Fix reproducibility issue

2020-02-09 Thread Armin Kuster
From: Richard Purdie The previous tweak for reproducibility didn't handle the duplicate whitepace left behind, fix this. [YOCTO #13771] (From OE-Core rev: 0392fcbdc85180581ce7392212808ebb822cc2e8) (From OE-Core rev: ca213de432d8d9d715ef09e17cea2aa1ee91) Signed-off-by: Richard Purdie Sign

[OE-core] [zeus 19/29] gtk+3: sort resources for reproducible binaries

2020-02-09 Thread Armin Kuster
From: Ross Burton The list of resources is gathered with $(wildcard) in Make, which isn't sorted. If this order changes then the generated libraries will differ. (From OE-Core rev: f3675be6be29426688187a135221431a0941d007) (From OE-Core rev: a2a6d9fa4df66a1f52c1c1fec45eedb4199e8162) Signed-off

[OE-core] [zeus 17/29] patch: Extend to native/nativesdk and depend upon

2020-02-09 Thread Armin Kuster
From: Richard Purdie There is a bug in patch 2.7.3 and earlier where index lines in patches can change file modes when they shouldn't: http://git.savannah.gnu.org/cgit/patch.git/patch/?id=82b800c9552a088a241457948219d25ce0a407a4 This leaks into debug sources in particular (e.g. tcp-wrappers wher

[OE-core] [zeus 15/29] mc: Fix manpage date indeterminism

2020-02-09 Thread Armin Kuster
From: Richard Purdie The man page date can vary depending upon the host perl, e.g. in Russian some versions print 'июня', others 'Июнь' or Polish 'czerwca' or 'czerwiec'. Rather than depend upon perl-native to fix this, just remove the date from the manpages. (From OE-Core rev: 5553c20f9fa4f35bf

[OE-core] [zeus 16/29] tar: Fix build determinism, disable rsh

2020-02-09 Thread Armin Kuster
From: Richard Purdie rsh is insecure and obsolete but tar will enable support if the binary is on the host system. Some systems point it at ssh. Lets explictly disable it for now unless someone actually needs/uses this at which point it could become a packageconfig. (From OE-Core rev: d14a4b0db9

[OE-core] [zeus 13/29] mc: Fix build reproducibility

2020-02-09 Thread Armin Kuster
From: Joshua Watt Fixes some issues with reproducible builds. Adds a patch to allow the configure arguments to be omitted from the build and also explicitly setting some autoconf paths that were picking up hosttools. (From OE-Core rev: f54d60ee8f15229aa515e168b9c7d248663b48fe) (From OE-Core rev

[OE-core] [zeus 14/29] mc: Set zipinfo presence determinstically

2020-02-09 Thread Armin Kuster
From: Richard Purdie This value was floating causing differences in generated files. Set it determinstically. (From OE-Core rev: 11d7a9e37c1d3fc21396a98fefc9d34c0b9e784b) (From OE-Core rev: 8f77075425e2ef9c3b5adbf8e5b29e7cfd7b9b7a) Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --

[OE-core] [zeus 12/29] libxshmfence: Set shm directory deterministically

2020-02-09 Thread Armin Kuster
From: Richard Purdie Without setting this it will vary depending on which directories are present on the host. [YOCTO #13778] (From OE-Core rev: 6217c3a7201b34888aa2fbae8b6e490bea545574) (From OE-Core rev: 10357b0bf3f6b34b54c0329e7e392ecf2c7043cd) Signed-off-by: Richard Purdie Signed-off-by:

[OE-core] [zeus 07/29] opkg-utils: upgrade to version 0.4.2

2020-02-09 Thread Armin Kuster
From: Alejandro del Castillo - Drop 1-Switch-all-scripts-to-use-Python-3.x.patch - Drop 1-opkg-build-clamp-mtimes-to-SOURCE_DATE_EPOCH.patch - Drop pipefail.patch (From OE-Core rev: bf51a4a1312562cc9b5944b7dfccba0b3d11dc3c) (From OE-Core rev: 1b71c28e1ca4fddc0f3c340ea4bcd76854ef620c) S

[OE-core] [zeus 10/29] classes/reproducible_build: Read SDE file later

2020-02-09 Thread Armin Kuster
From: Joshua Watt Defers the resolution of the SOURCE_DATE_EPOCH until the variable needs to be actually realized with a value. The previous method of loading the value in anonymous python had issues because it could occur before other anonymous python functions that affect the location of the ep

[OE-core] [zeus 06/29] gcc-9.2: fix bug #91102 'aarch64 ICE on Linux kernel with -Os'

2020-02-09 Thread Armin Kuster
From: Taras Kondratiuk via Openembedded-core Linux kernel compilation for aarch64 triggers ICE if CONFIG_CC_OPTIMIZE_FOR_SIZE=y. The rootcause is GCC bug #91102 'aarch64 ICE on Linux kernel with -Os'. Apply the fix to 9.2. (From OE-Core rev: 14f34d32bfdaa752f5043e62750d2e7b92c4b419) Signed-of

[OE-core] [zeus 11/29] sudo: Set vardir deterministically

2020-02-09 Thread Armin Kuster
From: Richard Purdie Without setting this it will vary depending on which directories are present on the host. [YOCTO #13775] (From OE-Core rev: 39fe849b56d70689846262c31ab7c182c8443923) (From OE-Core rev: 51274c9b195ad00dd6362f352ad9bbf7e9a3e098) Signed-off-by: Richard Purdie Signed-off-by:

[OE-core] [zeus 08/29] opkg-utils: Fix reproducibility issues in opkg-build

2020-02-09 Thread Armin Kuster
From: Richard Purdie There is a sorting problem with opkg-build where the ipk generated is depending upon the order of files on disk. The reason is the --sort option to tar only influences the orders of files tar reads, not those passed by the -T option. Add in a sort call to resolve this issue.

[OE-core] [zeus 09/29] oeqa/reproducible: Improve test output and ensure deb+ipk compared

2020-02-09 Thread Armin Kuster
From: Richard Purdie Adding newline characters between the packages in the failure output massively improves readability. Also ensure to output ipk failures when there are deb failures by calling self.fail() at the end, else sometimes only partial differences are returned. (From OE-Core rev: 6e

[OE-core] [zeus 04/29] cpio: fix CVE-2019-14866

2020-02-09 Thread Armin Kuster
From: Anuj Mittal Signed-off-by: Anuj Mittal --- .../cpio/cpio-2.12/CVE-2019-14866.patch | 316 ++ meta/recipes-extended/cpio/cpio_2.12.bb | 1 + 2 files changed, 317 insertions(+) create mode 100644 meta/recipes-extended/cpio/cpio-2.12/CVE-2019-14866.patch diff

[OE-core] [zeus 02/29] rsync: whitelist CVE-2017-16548

2020-02-09 Thread Armin Kuster
From: Lee Chee Yang patch for this CVE applies to v3.1.3pre1 not for v3.1.3. patch already in v3.1.3. see https://git.samba.org/rsync.git/?p=rsync.git;a=commitdiff;h=47a63d90e71d3e19e0e96052bb8c6b9cb140ecc1;hp=bc112b0e7feece62ce98708092306639a8a53cce (From OE-Core rev: 1e2739c821312527010fb0afbd

[OE-core] [zeus 03/29] curl: fix CVE-2019-15601

2020-02-09 Thread Armin Kuster
From: Anuj Mittal Signed-off-by: Anuj Mittal --- .../curl/curl/CVE-2019-15601.patch| 46 +++ meta/recipes-support/curl/curl_7.66.0.bb | 1 + 2 files changed, 47 insertions(+) create mode 100644 meta/recipes-support/curl/curl/CVE-2019-15601.patch diff --git a/

[OE-core] [zeus 00/29] Patch review

2020-02-09 Thread Armin Kuster
These are the additional changes to help address reproducibility issues and additional fixes we would like to be included in 3.0.2 Please have comments back by Tuesday The following changes since commit 9b1bf083129be2b849db52d4f0eda9eb6077c97e: python2: add ntpath (2020-02-02 18:19:50 -0800)

[OE-core] [zeus 05/29] devtool/standard.py: Allow recipe to disable menuconfig logic

2020-02-09 Thread Armin Kuster
From: Tom Hochstein u-boot.inc supports u-boot recipes with or without menuconfig [1]. However, running devtool on a u-boot recipe that does not support menuconfig results in an error: cp: cannot stat '/home/r60874/upstream/fsl-xwayland/tmp/work/imx8mmevk-fsl-linux/u-boot-imx/2018.03-r0/u-boot-

[OE-core] [zeus 01/29] Revert "bzip2: Fix CVE-2019-12900"

2020-02-09 Thread Armin Kuster
From: Anuj Mittal This reverts commit 175e6cb75ce328d51a9d4ad18c7e09d9fb92c2e1. This change is already in bzip2 1.0.7. The change fixing a regression caused by this change is in 1.0.8 which is the current version in zeus. This isn't resulting in failures because the patch file isn't included in

Re: [OE-core] [yocto] Support UBI u-boot

2020-02-09 Thread JH
Anyway, hacked the Makefile and mtdpart.c, finally got it compiled to support UBI. I think some latest branch might fix the problems I haven't tested, if not, I am happy to make patches. Thank you all. Kind regards, - jh On 2/9/20, JH wrote: > Changed to https://source.codeaurora.org/external/

Re: [OE-core] [yocto] Support UBI u-boot

2020-02-09 Thread JH
Changed to https://source.codeaurora.org/external/imx/uboot-imx.git branch imx_v2018.03_4.14.98_2.0.0_ga, it can now support CONFIG_CMD_MTDPARTS ind defconfg, all MTDPARTS error gone, but then 2018.03-r0/git/cmd/ubi.c missed dependencies of del_mtd_partitions, add_mtd_partitions, mtd_get_device_siz