Re: [OE-core] Meson support in oe-core

2017-08-09 Thread Khem Raj
On Wed, Aug 9, 2017 at 2:10 PM, Randy MacLeod wrote: > On 2017-08-07 09:47 AM, Alexander Kanavin wrote: >> >> On 08/07/2017 04:00 PM, Richard Purdie wrote: >> >>> Thanks for looking at this. Whilst some project still have some support >>> for both, could we get

[OE-core] [PATCH] recipetool: create: disable PREMIRRORS and MIRRORS by default

2017-08-09 Thread Chang Rebecca Swee Fun
When creating new recipes, we are almost certainly fetching a new source rather that something that has already been fetched. I have disable PREMIRRORS and MIRRORS settings in the recipe that created by devtool while leaving an option for users to enable them manually if needed. Since devtool

[OE-core] [PATCH v4] externalsrc: Handle .git not being a directory

2017-08-09 Thread Joshua Watt
Use git rev-parse to determine the location of the .git directory, in case it is not an immediate child of EXTERNALSRC (e.g. when using submodules). In the event git can't resolve the .git directory, fall back to the non-git method for hashing. Signed-off-by: Joshua Watt

[OE-core] [PATCH 0/1] sysstat: fix creating configuration file for /var/log/sa

2017-08-09 Thread Chen Qi
The following changes since commit 5e4bd86130866d4a92fa7b0fa6d3628126dfdf91: libinput: Upgrade 1.7.3 -> 1.8.1 (2017-08-09 09:38:25 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/sysstat_conf

[OE-core] [PATCH 1/1] sysstat: fix creating configuration file for /var/log/sa

2017-08-09 Thread Chen Qi
Fix to create configuration file related to /var/log/sa for sysvinit and systemd systems respectively. Signed-off-by: Chen Qi --- meta/recipes-extended/sysstat/sysstat.inc | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git

[OE-core] [PATCH v3] distrodata: add a utility script to compare list of recipes

2017-08-09 Thread Tan Shen Joon
distrocompare.sh is added to compare the added list of recipes between two releases. The output of the script will share the information of the licenses required and other distributions that are using the package. If a single input is provided, it will compare the current branch with the provided

Re: [OE-core] Meson support in oe-core

2017-08-09 Thread Burton, Ross
On 9 August 2017 at 22:10, Randy MacLeod wrote: > Yep, total time for 'without gtk-doc' is *more* than cut in half! > gtk-doc does some large XSLT transforms, which are single-threaded. There is a plan to move gtk-doc to use a simpler set of transformations which

Re: [OE-core] Meson support in oe-core

2017-08-09 Thread Randy MacLeod
On 2017-08-07 09:47 AM, Alexander Kanavin wrote: On 08/07/2017 04:00 PM, Richard Purdie wrote: Thanks for looking at this. Whilst some project still have some support for both, could we get timings of do_{configure|compile|install} for autotools vs. meson? So far there's just one recipe that

[OE-core] [PATCH] python3-docutils: update to 0.14

2017-08-09 Thread Jose Lamego
python3-docutils recipe must be upgraded to latest stable release. LIC_FILES_CHKSUM changed due to a typo fix from previous version, but license type and information remained the same. This change was tested on qemu with core-image-minimal. Signed-off-by: Jose Lamego

Re: [OE-core] [PATCH 6/7] oprofile: update to 1.2.0

2017-08-09 Thread Burton, Ross
Breaks with musl: http://errors.yoctoproject.org/Errors/Details/150200/ Ross On 7 August 2017 at 12:45, Alexander Kanavin < alexander.kana...@linux.intel.com> wrote: > Drop upstreamed 0001-Fix-FTBFS-problem-with-GCC-6.patch > > Signed-off-by: Alexander Kanavin

Re: [OE-core] [PATCH V2 1/1] ltp: upgrade to upstream latest commit on 20170804

2017-08-09 Thread Burton, Ross
Breaks with musl: http://errors.yoctoproject.org/Errors/Details/150199/ Ross On 4 August 2017 at 11:00, Dengke Du wrote: > drop 4 patches because the upstream already contains them: > > 0001-dirtyc0w-Include-stdint.h.patch >

[OE-core] [PATCH] python*-setuptools: update to 36.2.7

2017-08-09 Thread Jose Lamego
Both python-setuptools and python3-setuptools must be updated to latest stable release. These changes were tested on qemu with core-image-minimal Signed-off-by: Jose Lamego --- meta/recipes-devtools/python/python-setuptools.inc| 4 ++--

Re: [OE-core] [PATCH 4/4] cairo: Add pkgconfig for opengl support

2017-08-09 Thread Khem Raj
On Wed, Aug 9, 2017 at 11:24 AM, Andre McCurdy wrote: > On Wed, Aug 9, 2017 at 11:11 AM, Khem Raj wrote: >> On 8/9/17 8:41 AM, Andre McCurdy wrote: >>> On Wed, Aug 9, 2017 at 7:19 AM, Khem Raj wrote: Signed-off-by: Khem Raj

Re: [OE-core] [PATCH v3 11/11] poky-reproducible.conf: Initial version

2017-08-09 Thread Andre McCurdy
On Wed, Aug 9, 2017 at 10:48 AM, Juro Bystricky wrote: > Simplify building reproducible images by using > > DISTRO="poky-reproducible" > > Sets some variables to reasonable values so users do not > have to set them in local.conf. > > Signed-off-by: Juro Bystricky

Re: [OE-core] [PATCH 4/4] cairo: Add pkgconfig for opengl support

2017-08-09 Thread Andre McCurdy
On Wed, Aug 9, 2017 at 11:11 AM, Khem Raj wrote: > On 8/9/17 8:41 AM, Andre McCurdy wrote: >> On Wed, Aug 9, 2017 at 7:19 AM, Khem Raj wrote: >>> Signed-off-by: Khem Raj >> >> Any explanation? Was this previously non-deterministic? If

Re: [OE-core] [PATCH 4/4] cairo: Add pkgconfig for opengl support

2017-08-09 Thread Khem Raj
On Wed, Aug 9, 2017 at 11:16 AM, Burton, Ross wrote: > Breaks the no-x11 builder: > https://autobuilder.yoctoproject.org/main/builders/nightly-no-x11/builds/543/steps/BuildImages/logs/stdio > yes I was expecting that > Ross > > On 9 August 2017 at 19:11, Khem Raj

Re: [OE-core] [PATCH 4/4] cairo: Add pkgconfig for opengl support

2017-08-09 Thread Burton, Ross
Breaks the no-x11 builder: https://autobuilder.yoctoproject.org/main/builders/nightly-no-x11/builds/543/steps/BuildImages/logs/stdio Ross On 9 August 2017 at 19:11, Khem Raj wrote: > On 8/9/17 8:41 AM, Andre McCurdy wrote: > > On Wed, Aug 9, 2017 at 7:19 AM, Khem Raj

Re: [OE-core] [PATCH 4/4] cairo: Add pkgconfig for opengl support

2017-08-09 Thread Khem Raj
On 8/9/17 8:41 AM, Andre McCurdy wrote: > On Wed, Aug 9, 2017 at 7:19 AM, Khem Raj wrote: >> Signed-off-by: Khem Raj > > Any explanation? Was this previously non-deterministic? If so, how far > back does the problem go? it isnt non-deterministic atleast

Re: [OE-core] [PATCH v3 07/11] image_types.bbclass: improve cpio image reproducibility

2017-08-09 Thread Andre McCurdy
On Wed, Aug 9, 2017 at 10:48 AM, Juro Bystricky wrote: > This patch helps to build cpio images that are binary reproducible. > The changes are as follows: > > 1. By default, cpio from the host is used, which can be quite old. >Hence we need to implement a way to

[OE-core] [PATCH v3 09/11] python3: improve reproducibility

2017-08-09 Thread Juro Bystricky
The compiled .pyc files contain time stamp corresponding to the compile time. This prevents binary reproducibility. This patch allows to achieve binary reproducibility by overriding the build time stamp by the value exported via SOURCE_DATE_EPOCH. Patch by Bernhard M. Wiedemann. [YOCTO#11241]

[OE-core] [PATCH v3 00/11] Reproducible binaries

2017-08-09 Thread Juro Bystricky
This patch-set contains basic changes needed in order to support building of reproducible bianries. The set containes the following patches: 0001-reproducible_build.bbclass-initial-support-for-binar.patch 0002-image-prelink.bbclass-support-binary-reproducibility.patch

[OE-core] [PATCH v3 11/11] poky-reproducible.conf: Initial version

2017-08-09 Thread Juro Bystricky
Simplify building reproducible images by using DISTRO="poky-reproducible" Sets some variables to reasonable values so users do not have to set them in local.conf. Signed-off-by: Juro Bystricky --- meta-poky/conf/distro/include/reproducible-group | 50

[OE-core] [PATCH v3 10/11] kernel.bbclass: improve reproducibility

2017-08-09 Thread Juro Bystricky
Several tweaks to improve reproducibility: 1. If BUILD_REPRODUCIBLE_BINARIES == 1, set KBUILD_BUILD_TIMESTAMP to a reproducible value. This is either a non-zero SOURCE_DATE_EPOCH, or the value obtained from top entry of GIT repo, or (if there is no GIT repo) fallback to

[OE-core] [PATCH v3 03/11] rootfs-postcommands.bbclass: support binary reproducibility

2017-08-09 Thread Juro Bystricky
Conditionally support binary reproducibility of rootfs images. If BUILD_REPRODUCIBLE_BINARIES = 1 then: 1. set /etc/timestamp to a reproducible value 2. set /etc/version to a reproducible value 3. set /etc/gconf: set mtime in all %gconf.xml to reproducible values The reproducible value is taken

[OE-core] [PATCH v3 04/11] busybox.inc: improve reproducibility

2017-08-09 Thread Juro Bystricky
For reproducible builds do not generate build timestamp as part of the version string. Remove host tools references from .config file. With this patch all eight busybox packages are built as binary reproducible. Signed-off-by: Juro Bystricky ---

[OE-core] [PATCH v3 06/11] cpio: provide cpio-replacement-native

2017-08-09 Thread Juro Bystricky
By default, bitbake uses host cpio, which can be quite old and missing crucial newever features. This patch allows to use the cpio-native instead, which is the latest upstream version. To use the cpio-native instead of the cpio from host, you need to specify: IMAGE_DEPENDS_cpio_append = "

[OE-core] [PATCH v3 08/11] python2.7: improve reproducibility

2017-08-09 Thread Juro Bystricky
The compiled .pyc files contain time stamp corresponding to the compile time. This prevents binary reproducibility. This patch allows to achieve binary reproducibility by overriding the build time stamp by the value exported via SOURCE_DATE_EPOCH. Patch by Bernhard M. Wiedemann, backported from

[OE-core] [PATCH v3 07/11] image_types.bbclass: improve cpio image reproducibility

2017-08-09 Thread Juro Bystricky
This patch helps to build cpio images that are binary reproducible. The changes are as follows: 1. By default, cpio from the host is used, which can be quite old. Hence we need to implement a way to use/call cpio-native, which supports new features needed for binary reproducibility, notably

[OE-core] [PATCH v3 05/11] image.bbclass: support binary reproducibility

2017-08-09 Thread Juro Bystricky
Added a new task "reproducible_final_image_task". If binary reproducibility is desired ($BUILD_REPRODUCIBLE_BINARIES" = "1"), then recursivley modify mtimes of all files to a reproducible vale. The value is obtained via REPRODUCIBLE_TIMESTAMP_ROOTFS. This task is executed as the very last step in

[OE-core] [PATCH v3 01/11] reproducible_build.bbclass: initial support for binary reproducibility

2017-08-09 Thread Juro Bystricky
Conditionally set some environment variables in order to achieve improved binary reproducibility. Providing BUILD_REPRODUCIBLE_BINARIES is set to "1", we set the following environment variables: export PYTHONHASHSEED=0 export PERL_HASH_SEED=0 export TZ="UTC" Additionally, we export and set

[OE-core] [PATCH v3 02/11] image-prelink.bbclass: support binary reproducibility

2017-08-09 Thread Juro Bystricky
Conditionally support binary reproducibility in built images. If BUILD_REPRODUCIBLE_BINARIES = 1 then: 1. Do not randomize library addresses 2. Set/export PRELINK_TIMESTAMP to a reproducible value. If REPRODUCIBLE_TIMESTAMP_ROOTFS is specified, then the value will be used. Otherwise the

[OE-core] [PATCH] rootfs-postcommands.bbclass: Filter out dangling symlinks in ssh_allow_empty_password()

2017-08-09 Thread Khem Raj
In images built with pam in DISTRO_FEATURES, we end up with dangling symlinks if su is not packaged into image $ ls /mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/core-image-minimal/1.0-r0/rootfs/etc/pam.d/su-l -l lrwxrwxrwx 1 kraj users 2 Aug 9 07:56

Re: [OE-core] [PATCH 4/4] cairo: Add pkgconfig for opengl support

2017-08-09 Thread Andre McCurdy
On Wed, Aug 9, 2017 at 7:19 AM, Khem Raj wrote: > Signed-off-by: Khem Raj Any explanation? Was this previously non-deterministic? If so, how far back does the problem go? > --- > meta/recipes-graphics/cairo/cairo.inc | 4 +++- > 1 file changed, 3

Re: [OE-core] [oe-core][PATCH 1/1] slang: fix terminfo related problems

2017-08-09 Thread Randy MacLeod
On 2017-08-01 03:36 PM, Joe Slater wrote: Do not use the JD_TERMCAP macro since we cannot get the terminfo from ncurses pkg-config variants, but fix the macro to not reference host directories. Also add src/test/Makefile.in so that we can use -ltermcap if we want to. Since the recipe DEPENDS

Re: [OE-core] [PATCH] gstreamer-plugins-bad: replace openssl dependency with nettle for hls plugin

2017-08-09 Thread Andre McCurdy
On Wed, Aug 9, 2017 at 4:16 AM, Alexander Kanavin wrote: > It has not been ported to openssl 1.1 (and there's nothing in upstream git), > but it's possible to use nettle or gcrypt intead. > > Also, provide a fallback option to use openssl 1.0 when necessary. > >

[OE-core] [PATCH 4/4] cairo: Add pkgconfig for opengl support

2017-08-09 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/recipes-graphics/cairo/cairo.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-graphics/cairo/cairo.inc b/meta/recipes-graphics/cairo/cairo.inc index 8e1e2e1b88..fd376951bd 100644 ---

[OE-core] [PATCH 3/4] python-numpy: Upgrade to 1.13.1

2017-08-09 Thread Khem Raj
Update LICENSE to BSD-3-Clause as per https://github.com/numpy/numpy/blob/master/LICENSE.txt LIC_FILES_CHKSUM changed due to copyright year change see https://github.com/numpy/numpy/commit/b2ff4f13197dd58508d3d025a9034519974750bd Signed-off-by: Khem Raj ---

[OE-core] [PATCH 2/4] llvm: Keep llvm-native dependency with clang toolchain

2017-08-09 Thread Khem Raj
This was needed when we were conflicting with clang-native but this is solved via append PN to binaries of llvm-native Signed-off-by: Khem Raj --- meta/recipes-devtools/llvm/llvm_git.bb | 2 -- 1 file changed, 2 deletions(-) diff --git

[OE-core] [PATCH 1/4] musl: Drop the protected symbol optimization at configure time

2017-08-09 Thread Khem Raj
lld and gold can not handle it and treat it wrong Fixes [YOCTO #11689] Signed-off-by: Khem Raj --- meta/recipes-core/musl/musl_git.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb index

[OE-core] [meta-qt5] Host paths show up in target qmake environment

2017-08-09 Thread Scott Ellis
This breaks qmake on target. Same behavior in both pyro and master branches of meta-qt5. This differs from earlier branches of meta-qt5, using earlier versions of Qt. root@rpi3:~# qmake -query

[OE-core] [PATCH] gstreamer-plugins-bad: replace openssl dependency with nettle for hls plugin

2017-08-09 Thread Alexander Kanavin
It has not been ported to openssl 1.1 (and there's nothing in upstream git), but it's possible to use nettle or gcrypt intead. Also, provide a fallback option to use openssl 1.0 when necessary. Signed-off-by: Alexander Kanavin ---

Re: [OE-core] [PATCH 4/4] gstreamer-plugins-bad: replace openssl dependency with nettle for hls plugin

2017-08-09 Thread Alexander Kanavin
On 08/08/2017 09:55 PM, Mark Hatle wrote: For now I'm fine with 1.0 support. So something like: # ensure OpenSSL is used for HLS AES description instead of nettle # (OpenSSL is a shared dependency with dtls) PACKAGECONFIG[hls_openssl10] = "--enable-hls

[OE-core] [PATCH] qemu: apic: fallthrough to PIC

2017-08-09 Thread zhe.he
From: He Zhe Backport a commit from qemu upstream to fix a protection fault https://lists.gnu.org/archive/html/qemu-devel/2013-04/msg00878.html Signed-off-by: He Zhe --- .../qemu/qemu/apic-fixup-fallthrough-to-PIC.patch | 46 ++

Re: [OE-core] [PATCH 01/10] oeqa/targetcontrol.py: simplify checking for qemu_use_kvm

2017-08-09 Thread Robert Yang
On 08/08/2017 11:30 PM, Richard Purdie wrote: On Mon, 2017-07-31 at 02:50 -0700, Robert Yang wrote: The "if qemu_use_kvm" is not needed. Signed-off-by: Robert Yang --- meta/lib/oeqa/targetcontrol.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff

Re: [OE-core] [PATCH 01/10] oeqa/targetcontrol.py: simplify checking for qemu_use_kvm

2017-08-09 Thread Robert Yang
On 08/08/2017 11:30 PM, Richard Purdie wrote: On Mon, 2017-07-31 at 02:50 -0700, Robert Yang wrote: The "if qemu_use_kvm" is not needed. Signed-off-by: Robert Yang --- meta/lib/oeqa/targetcontrol.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff

[OE-core] [PATCHv2] libinput: Upgrade 1.7.3 -> 1.8.1

2017-08-09 Thread Jussi Kukkonen
New feature release, see https://lists.freedesktop.org/archives/wayland-devel/2017-June/034286.html for the major features. This is the last major release to support autotools. Configure flag "--enable-event-gui" changed name. Configure flags no longer default to "auto": explicitly disable the