[OE-core] Incorrect environment-setup script in SDK using musl

2020-05-01 Thread Dominic Sacré
Hi, I'm trying to build an SDK for an image that uses musl. The problem is that the environment-setup script in the SDK lacks the -mmusl compiler flag, so binaries produced by sourcing the environment and running $CC will not run on the image. As far as I can see, the flag should have been added

[OE-core] [PATCH] bitbake.conf: Point KERNELORG_MIRROR to cdn.kernel.org

2017-02-16 Thread Dominic Sacré
Use cdn.kernel.org to distribute the server load and improve download speeds. Leave www.kernel.org in MIRRORS as a fallback. See https://www.kernel.org/introducing-fastly-cdn.html Signed-off-by: Dominic Sacré --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[OE-core] [PATCH] lib/oe/patch: Support xz-compressed patches

2017-02-15 Thread Dominic Sacré
Add .xz to the list of extensions recognized by patch_path(), so that compressed patches ending in .patch.xz or .diff.xz are automatically applied. Signed-off-by: Dominic Sacré --- meta/lib/oe/patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe/patch.py b

[OE-core] [PATCH] python3: Build and package precompiled modules

2016-10-25 Thread Dominic Sacré
one level below the corresponding .py files, whereas in Python2 they used to be right next to the sources. This change significantly reduces the startup overhead of Python3 scripts. For example, on a Cortex-A9, "python3 -c pass" took 0.40s before, and 0.19s after. Signed-off-by: Dominic

[OE-core] [krogoth][master][PATCH] dropbear: Remove incorrect SFTPSERVER_PATH from CFLAGS

2016-05-25 Thread Dominic Sacré
e SSH server. Signed-off-by: Dominic Sacré --- meta/recipes-core/dropbear/dropbear.inc | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/recipes-core/dropbear/dropbear.inc b/meta/recipes-core/dropbear/dropbear.inc index 1dce2a5..923d31c 100644 --- a/meta/recipes-core/dropbear/dropbear.inc

[OE-core] [PATCH 2/4] cpio: fix install if bindir == base_bindir

2015-09-17 Thread Dominic Sacré
Don't try to move binaries onto themselves if ${bindir} and ${base_bindir} are the same, as is the case on systems with a merged /usr directory. Signed-off-by: Dominic Sacré --- meta/recipes-extended/cpio/cpio_v2.inc | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --

[OE-core] [PATCH 0/4] Some fixes for distros with merged /usr directory

2015-09-17 Thread Dominic Sacré
This fixes a few recipes that move binaries from ${bindir} to ${base_bindir}, which fails if the two directories are the same. Dominic Sacré (4): tar: fix install if bindir == base_bindir cpio: fix install if bindir == base_bindir gzip: fix install if bindir == base_bindir grep: fix

[OE-core] [PATCH 1/4] tar: fix install if bindir == base_bindir

2015-09-17 Thread Dominic Sacré
Don't try to move binaries onto themselves if ${bindir} and ${base_bindir} are the same, as is the case on systems with a merged /usr directory. Signed-off-by: Dominic Sacré --- meta/recipes-extended/tar/tar.inc | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a

[OE-core] [PATCH 4/4] grep: fix install if bindir == base_bindir

2015-09-17 Thread Dominic Sacré
Don't try to move binaries onto themselves if ${bindir} and ${base_bindir} are the same, as is the case on systems with a merged /usr directory. Signed-off-by: Dominic Sacré --- meta/recipes-extended/grep/grep_2.21.bb | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-)

[OE-core] [PATCH 3/4] gzip: fix install if bindir == base_bindir

2015-09-17 Thread Dominic Sacré
Don't try to move binaries onto themselves if ${bindir} and ${base_bindir} are the same, as is the case on systems with a merged /usr directory. Signed-off-by: Dominic Sacré --- meta/recipes-extended/gzip/gzip.inc | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff

Re: [OE-core] [PATCH 2/4] python3: remove package python3-robotparser

2015-08-09 Thread Dominic Sacré
On 2015-08-09 03:02, Khem Raj wrote: >> On Jul 28, 2015, at 7:58 AM, Dominic Sacré wrote: >> >> robotparser has been moved to urllib.robotparser in Python 3, and gets >> packaged as part of python3-netclient alongside the rest of urllib. >> This causes python3

Re: [OE-core] [PATCH] boost: add python3 support

2015-08-01 Thread Dominic Sacré
On 2015-08-01 14:14, Andreas Müller wrote: > On Wed, Jul 22, 2015 at 10:21 AM, Andreas Müller > wrote: >> * Both - python/python3 - libs are build by adding 'python' to PACKAGECONFIG >> but are packed into separate packages >> * Indention was wrong in __anonymous() >> >> Signed-off-by: Andreas M

[OE-core] [PATCH 0/4] python3: fix building extension modules, make python3-modules installable

2015-07-28 Thread Dominic Sacré
This series of patches fixes several issues with the python3 recipe. These caused packages to be incomplete or missing, and prevented the python3-modules package from being installed. [YOCTO #8048] Dominic Sacré (4): python3: detect libraries in STAGING_LIBDIR python3: remove package python3

[OE-core] [PATCH 4/4] python3: delete patches that don't get applied anywhere

2015-07-28 Thread Dominic Sacré
These patches are not referenced in any of the Python recipes. Signed-off-by: Dominic Sacré --- .../python3/06-ctypes-libffi-fix-configure.patch | 44 --- .../python/python3/fix-ast.h-dependency.patch | 26 - .../python3/pip_build_directory_unclean.patch | 28

[OE-core] [PATCH 3/4] python3: remove 2to3 symlink from package python3-2to3

2015-07-28 Thread Dominic Sacré
The 2to3 symlink conflicts with its Python 2 equivalent in package python-2to3. The Python 3 version of the tool is still available as 2to3-3.4. Signed-off-by: Dominic Sacré --- meta/recipes-devtools/python/python-3.4-manifest.inc | 2 +- meta/recipes-devtools/python/python3_3.4.3.bb| 3

[OE-core] [PATCH 1/4] python3: detect libraries in STAGING_LIBDIR

2015-07-28 Thread Dominic Sacré
e case. A previous patch that only affects the search paths for SSL is dropped, as this one is a more complete fix for [YOCTO #7768]. Part of the fix for [YOCTO #8048]. Signed-off-by: Dominic Sacré --- .../python/python3/fix_ssl_include_dir.patch | 41 -- .../setup.py-find-li

[OE-core] [PATCH 2/4] python3: remove package python3-robotparser

2015-07-28 Thread Dominic Sacré
urllib, so it makes more sense to eliminate the python3-robotparser package than to alter the manifest for python3-netclient. Part of the fix for [YOCTO #8048]. Signed-off-by: Dominic Sacré --- meta/recipes-devtools/python/python-3.4-manifest.inc | 10 +++--- scripts/contrib/python/generate

[OE-core] [PATCH] opkg-utils: fix bashism in opkg-build

2015-07-27 Thread Dominic Sacré
Fix error '[[: not found' if /bin/sh is not bash. This issue was introduced by the recent addition of tar_ignore_error.patch to the opkg-utils recipe. Signed-off-by: Dominic Sacré --- meta/recipes-devtools/opkg-utils/opkg-utils/tar_ignore_error.patch | 4 ++-- 1 file changed, 2