* [Buildroot] [git commit] openblas: SPARC support is for Sparc v9
From: Thomas Petazzoni @ 2017-05-13 14:09 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=6714d79a22b4c0ad7651659c8009f93574bbd59d
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Makefile.sparc in the openblas source code passes -mcpu=v9, i.e it
assumes a SPARCv9 CPU. Therefore, this commit adjusts openblas
Config.in file so that SPARC is only used for BR2_sparc_v9.
Fixes:
http://autobuild.buildroot.net/results/805087e87b8bb7d11adb49d9eca3959a37aca3a2/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/openblas/Config.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/openblas/Config.in b/package/openblas/Config.in
index de26ab3..bc62896 100644
--- a/package/openblas/Config.in
+++ b/package/openblas/Config.in
@@ -31,7 +31,8 @@ config BR2_PACKAGE_OPENBLAS_DEFAULT_TARGET
default "SICORTEX" if BR2_MIPS_CPU_MIPS64
# I6400 is built with MSA support which is only available in Codescape toolchains
default "I6400" if BR2_mips_i6400 && BR2_TOOLCHAIN_EXTERNAL_CODESCAPE_IMG_MIPS
- default "SPARC" if BR2_sparc
+ # OpenBLAS assumes SPARC=Sparc v9
+ default "SPARC" if BR2_sparc_v9
# Cortex-A15 always have a VFPv4
default "CORTEXA15" if (BR2_cortex_a15 && BR2_ARM_EABIHF)
# Cortex-A9 have an optional VFPv3, so we need to make sure it
^ permalink raw reply related
* [Buildroot] Analysis of build results for 2017-05-12
From: Thomas Petazzoni @ 2017-05-13 13:39 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170513063125.BA761220BB@mail.free-electrons.com>
Hello,
Fabrice, Alexey, Bernd, Vicente, Peter, there are some
questions/comments for you below. Thanks!
On Sat, 13 May 2017 08:31:25 +0200 (CEST), Thomas Petazzoni wrote:
> successes : 232
> failures : 22
Still not bad, but let's try to do better!
On 22 failures, 13 failures have already been resolved, which leaves 9
failures to be investigated.
> x86_64 | domoticz-3.5877 | NOK | http://autobuild.buildroot.net/results/3c35110f53601bce09028249f9a069934f05782a |
Seems like a C++11 related issue. Fabrice, could you have a look ?
> m68k | ffmpeg-3.3 | NOK | http://autobuild.buildroot.net/results/66b48ed9ab5c816cf5b2a50133c0ecbec1be7e54 |
Still the coldfire/ffmpeg issue. There are some patches pending, but
I'm not sure they are the best/correct solution.
> arc | libcdio-0.94 | NOK | http://autobuild.buildroot.net/results/e837737abaea851bea428a35ea9d3395a6565c54 |
> arc | libcdio-0.94 | NOK | http://autobuild.buildroot.net/results/1dab93aff5555f092ff30674ec0b35301ce62411 |
> arc | libcdio-0.94 | NOK | http://autobuild.buildroot.net/results/90f0899f158af53dfa62ba20a46276e72d2facfd |
Alexey, this still happens with the latest ARC toolchain components (I
tested here). Since it has been happening for a while with no fix, I've
disabled libcdio on ARC for the moment:
https://git.buildroot.org/buildroot/commit/?id=459f7302df8cdc45aa0f7f2581ebb6f05fb6432a
> x86_64 | libcec-4.0.2 | NOK | http://autobuild.buildroot.net/results/643f200d63f1505f8a44eae82a00572c1ee2bcaa |
Another C++11 issue, quite similar to the one for domoticz it seems.
Bernd, could you have a look?
> i686 | mplayer-1.3.0 | NOK | http://autobuild.buildroot.net/results/7e6c45a56d09a61fe63bdb4ed807091f140045df |
CC libavcodec/x86/blockdsp_init.o
libavcodec/x86/ac3dsp_init.c: In function 'ac3_downmix_sse':
libavcodec/x86/ac3dsp_init.c:161:9: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
libavcodec/x86/ac3dsp_init.c:165:9: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
Bernd, could you have a look?
> sparc | openblas-f04af36ad0e85b64f1... | NOK | http://autobuild.buildroot.net/results/996e0b2872f7712db9e8ec6aa724fb373c578d43 |
Architecture mismatch problem. Needs investigation.
> i686 | opencv3-3.2.0 | NOK | http://autobuild.buildroot.net/results/3932419d50af337230e58964238a3bb9e6c8ac15 |
> i586 | opencv3-3.2.0 | NOK | http://autobuild.buildroot.net/results/93fd12dd4deac0569f88ea18ee593159a218740f |
> i686 | opencv3-3.2.0 | NOK | http://autobuild.buildroot.net/results/f0beae1fe9825d5561e8f6b13ff318071b2a4629 |
> arc | opencv3-3.2.0 | NOK | http://autobuild.buildroot.net/results/2f2bdfa62da64124a86401cadcfd300239042698 |
> powerpc64 | opencv3-3.2.0 | NOK | http://autobuild.buildroot.net/results/347d8fd2e286b3e4e5e18743e64d862bdb66dbb9 |
> powerpc64 | opencv3-3.2.0 | NOK | http://autobuild.buildroot.net/results/e54dc73660bc3e0edbe4bee6c54a10d6723c522d |
> i586 | opencv3-3.2.0 | NOK | http://autobuild.buildroot.net/results/ca7c9442a98bdc0eef7d5860f99f7b3f6e1df18b |
> aarch64 | opencv3-3.2.0 | NOK | http://autobuild.buildroot.net/results/0a5c2f06dd447801efc9378b09dd31bb3399cf77 |
I believe most, if not all of these have been fixed by:
https://git.buildroot.org/buildroot/commit/?id=b6ea64aec80d50b840881bc89d4a2a1102b49d7e
> arm | qt-4.8.7 | NOK | http://autobuild.buildroot.net/results/6756c1e49da27aa5af8e42a69e908380a91235bf | ORPH
A static linking configuration, but Qt tries to uses libltdl. Peter
(Seiderer) could you have a look?
> mipsel | qt5webkit-5.8.0 | NOK | http://autobuild.buildroot.net/results/5f6aa282d19019a078ad0b3aec112eb4f05e8799 |
{standard input}: Assembler messages:
{standard input}:708: Error: opcode not supported on this processor: mips32r6 (mips32r6) `movz $v0,$t8,$t7'
{standard input}:759: Error: opcode not supported on this processor: mips32r6 (mips32r6) `movz $v1,$t8,$t7'
Vicente, since this is MIPS stuff, could you have a look? Webkit not
suitable for mips32r6 ?
> arm | rabbitmq-c-v0.8.0 | NOK | http://autobuild.buildroot.net/results/fe6f800c292633e4cf296a23c614b6379f8be42f |
> m68k | rabbitmq-c-v0.8.0 | NOK | http://autobuild.buildroot.net/results/27695ec6b216acc379f31b24fd2777ae8d85aba0 |
Static linking issues, again and again.
> nios2 | uclibc-ng-test-c9b9876cefc1... | NOK | http://autobuild.buildroot.net/results/d61c8d169fc070271114a515159650f7a0f333c0 |
> arm | uclibc-ng-test-c9b9876cefc1... | NOK | http://autobuild.buildroot.net/results/22295711046c519df44d5d976e0bfcae1f006e5a |
Fixed by
https://git.buildroot.org/buildroot/commit/?id=e7a64ddcbc0b262eaa549fede9bd1e8ca3bb310f.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [git commit] libcdio: disable on ARC, triggers a toolchain bug
From: Thomas Petazzoni @ 2017-05-13 13:33 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=459f7302df8cdc45aa0f7f2581ebb6f05fb6432a
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
libcdio doesn't build on ARC, with the following compiler error:
iso9660.c:155:1: error: unrecognized supposed constant
[...]
iso9660.c:155:1: internal compiler error: in arc_legitimate_constant_p, at config/arc/arc.c:6028
Please submit a full bug report,
Since this has been happening for a while and is quite noisy in the
autobuilders results, we disable this package on ARC.
Fixes:
http://autobuild.buildroot.net/results/e837737abaea851bea428a35ea9d3395a6565c54/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/libcdio/Config.in | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/libcdio/Config.in b/package/libcdio/Config.in
index fdc001e..531af3b 100644
--- a/package/libcdio/Config.in
+++ b/package/libcdio/Config.in
@@ -1,6 +1,8 @@
config BR2_PACKAGE_LIBCDIO
bool "libcdio"
depends on BR2_USE_MMU # fork()
+ # ARC toolchain issue
+ depends on !BR2_arc
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
help
The GNU Compact Disc Input and Control library.
^ permalink raw reply related
* [Buildroot] [PATCH 1/1] mono: remove copy of host etc files on install
From: Thomas Petazzoni @ 2017-05-13 13:27 UTC (permalink / raw)
To: buildroot
In-Reply-To: <CA+TH9VnNgxSvsUiSTPUstqpa3uuEbKbMxR+OfK1xMEdDqq3Z0w@mail.gmail.com>
Angelo,
On Thu, 6 Apr 2017 19:08:35 +0200, Angelo Compagnucci wrote:
> > Below is the diff between staging and host. I am using a Ubuntu VM to
> > compile for an ARM target with uCLibc.
> > The appropriate .so files (libc.so.0) are referenced in the config file in
> > the staging directory but not in the host.
> > The patch I referenced in my commit is:
> > * package/mono/0002-Adjust-libc.so-path-depending-on-C-
> > library-being-use.patch
> > This patch addresses the proper generation of the /etc/mono/config file in
> > the staging directory, I believe.
> >
> > Thanks!
> >
>
> Could you send me a minimal example that exibits the problem?!
Do you have some further feedback on this issue? Dustin's patch is
still pending, waiting for you to confirm or not the issue and indicate
if Dustin's solution is the most appropriate or not.
Thanks for your feedback,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [PATCH 2/9] package/mke2img: check nb_blocks is specified
From: Thomas Petazzoni @ 2017-05-13 13:17 UTC (permalink / raw)
To: buildroot
In-Reply-To: <aaa50531bc8d795818d2c4aa8955ad366342e0e4.1493654310.git.yann.morin.1998@free.fr>
Hello,
On Mon, 1 May 2017 17:58:37 +0200, Yann E. MORIN wrote:
> Since we do not have autocalculation anymore, the user must specify the
> exact number of blocks.
>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> ---
> package/mke2img/mke2img | 3 +++
> 1 file changed, 3 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [git commit] package/mke2img: check nb_blocks is specified
From: Thomas Petazzoni @ 2017-05-13 13:16 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=48d5bebe76fafdd7cc3a990b1e6e49468397a2cc
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Since we do not have autocalculation anymore, the user must specify the
exact number of blocks.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/mke2img/mke2img | 3 +++
1 file changed, 3 insertions(+)
diff --git a/package/mke2img/mke2img b/package/mke2img/mke2img
index b773aa9..758b6de 100755
--- a/package/mke2img/mke2img
+++ b/package/mke2img/mke2img
@@ -44,6 +44,9 @@ main() {
if [ -z "${image}" ]; then
error "you must specify an output image file with '-o'\n"
fi
+ if [ -z "${nb_blocks}" ]; then
+ error "you must specify the size of the output image with '-b'\n"
+ fi
case "${gen}:${rev}" in
2:0|2:1|3:1|4:1)
;;
^ permalink raw reply related
* [Buildroot] [PATCH] .gitignore: add vim temporary files
From: Thomas Petazzoni @ 2017-05-13 13:16 UTC (permalink / raw)
To: buildroot
In-Reply-To: <fec91e1a48d4dd8d7fc7d019329ee4c3cf5c0c79.1494313042.git.baruch@tkos.co.il>
Hello,
On Tue, 9 May 2017 09:57:22 +0300, Baruch Siach wrote:
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> .gitignore | 1 +
> 1 file changed, 1 insertion(+)
We got exactly the same patch about a year ago, and here was the
feedback from Arnout:
http://lists.busybox.net/pipermail/buildroot/2016-February/151271.html
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [PATCH] radvd: fix build with 4.11 kernel headers
From: Thomas Petazzoni @ 2017-05-13 13:14 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1494488270-10121-1-git-send-email-thomas.petazzoni@free-electrons.com>
Hello,
On Thu, 11 May 2017 09:37:50 +0200, Thomas Petazzoni wrote:
> Since the introduction of 4.11 kernel headers in Buildroot, radvd has
> failed to build with all toolchains using this kernel header version.
>
> The issue comes from the fact that radvd includes both <net/if_arp.h>
> and <linux/if_arp.h> if they are available. Until 4.11,
> <linux/if_arp.h> was in fact not included, because the
> AC_CHECK_HEADERS() test concluded this header was unsuitable. This has
> been fixed in the upstream kernel by commit
> 2618be7dccf8739b89e1906b64bd8d551af351e6 ("uapi: fix linux/if.h
> userspace compilation errors"). So now, the radvd configure script
> considers both <net/if_arp.h> and <linux/if_arp.h> as suitable
> headers, and includes both of them, leading to the duplicate
> definition of various types.
>
> Since it's redundant to include both <net/if_arp.h> and
> <linux/if_arp.h>, we simply force radvd to believe that
> <linux/if_arp.h> is not available by passing the appropriate autoconf
> cache variable. This gets us back to the previous situation, where
> <linux/if_arp.h> was never used.
>
> This has been tested with a uClibc toolchain using 4.11 kernel
> headers, and verified to work on glibc and musl with older kernel
> headers as well.
>
> Fixes:
>
> http://autobuild.buildroot.net/results/949a75d96299394e4ac957746fa23a4b52f31b43/
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> package/radvd/radvd.mk | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [PATCH] core/download: fix source check for git method
From: Thomas Petazzoni @ 2017-05-13 13:14 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170512155429.26176-1-yann.morin.1998@free.fr>
Hello,
On Fri, 12 May 2017 17:54:29 +0200, Yann E. MORIN wrote:
> Running foo-source-check on packages retrieved from git fails.
>
> This is because there is no associated stamp file, so we do not have a
> rule-assignment that sets PKG for foo-source-check.
>
> But it does not make sense to have a stamp file at all, because
> source-check is not supposed to change anything: the status after is
> exactly the same as before; nothing is downlaoded, so there is no
> progress (whatsoever) to memorise.
>
> Fix that by just defining PKG in the source-check rule definition.
>
> Fixes #9796.
>
> Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> package/pkg-generic.mk | 1 +
> 1 file changed, 1 insertion(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [git commit] radvd: fix build with 4.11 kernel headers
From: Thomas Petazzoni @ 2017-05-13 13:13 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=205c5283042ffd96859e1b78e539492a0143d0c4
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Since the introduction of 4.11 kernel headers in Buildroot, radvd has
failed to build with all toolchains using this kernel header version.
The issue comes from the fact that radvd includes both <net/if_arp.h>
and <linux/if_arp.h> if they are available. Until 4.11,
<linux/if_arp.h> was in fact not included, because the
AC_CHECK_HEADERS() test concluded this header was unsuitable. This has
been fixed in the upstream kernel by commit
2618be7dccf8739b89e1906b64bd8d551af351e6 ("uapi: fix linux/if.h
userspace compilation errors"). So now, the radvd configure script
considers both <net/if_arp.h> and <linux/if_arp.h> as suitable
headers, and includes both of them, leading to the duplicate
definition of various types.
Since it's redundant to include both <net/if_arp.h> and
<linux/if_arp.h>, we simply force radvd to believe that
<linux/if_arp.h> is not available by passing the appropriate autoconf
cache variable. This gets us back to the previous situation, where
<linux/if_arp.h> was never used.
This has been tested with a uClibc toolchain using 4.11 kernel
headers, and verified to work on glibc and musl with older kernel
headers as well.
Fixes:
http://autobuild.buildroot.net/results/949a75d96299394e4ac957746fa23a4b52f31b43/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/radvd/radvd.mk | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/package/radvd/radvd.mk b/package/radvd/radvd.mk
index 64f755d..8822187 100644
--- a/package/radvd/radvd.mk
+++ b/package/radvd/radvd.mk
@@ -8,7 +8,11 @@ RADVD_VERSION = 2.12
RADVD_SOURCE = radvd-$(RADVD_VERSION).tar.xz
RADVD_SITE = http://www.litech.org/radvd/dist
RADVD_DEPENDENCIES = host-bison flex host-flex host-pkgconf
-RADVD_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
+# We need to ignore <linux/if_arp.h>, because radvd already includes
+# <net/if_arp.h>, which conflicts with <linux/if_arp.h>.
+RADVD_CONF_ENV = \
+ ac_cv_prog_cc_c99='-std=gnu99' \
+ ac_cv_header_linux_if_arp_h=no
# For 0002-Don-t-force-fstack-protector-the-toolchain-might-lac.patch
RADVD_AUTORECONF = YES
RADVD_LICENSE = BSD-4-Clause-like
^ permalink raw reply related
* [Buildroot] [Bug 9796] source-check broken for Git downloads
From: bugzilla at busybox.net @ 2017-05-13 13:13 UTC (permalink / raw)
To: buildroot
In-Reply-To: <bug-9796-163@https.bugs.busybox.net/>
https://bugs.busybox.net/show_bug.cgi?id=9796
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #6 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Fixed by
https://git.buildroot.org/buildroot/commit/?id=4c0aacbc317d298397cede593f74ece26d0a89f0.
Thanks a lot Yann!
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply
* [Buildroot] [git commit] core/download: fix source check for git method
From: Thomas Petazzoni @ 2017-05-13 13:08 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=4c0aacbc317d298397cede593f74ece26d0a89f0
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Running foo-source-check on packages retrieved from git fails.
This is because there is no associated stamp file, so we do not have a
rule-assignment that sets PKG for foo-source-check.
But it does not make sense to have a stamp file at all, because
source-check is not supposed to change anything: the status after is
exactly the same as before; nothing is downlaoded, so there is no
progress (whatsoever) to memorise.
Fix that by just defining PKG in the source-check rule definition.
Fixes #9796.
Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/pkg-generic.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
index 3b26e6b..f474704 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk
@@ -694,6 +694,7 @@ $(1)-legal-source: $$($(2)_TARGET_ACTUAL_SOURCE)
endif # actual sources != sources
endif # actual sources != ""
+$(1)-source-check: PKG=$(2)
$(1)-source-check:
$$(foreach p,$$($(2)_ALL_DOWNLOADS),$$(call SOURCE_CHECK,$$(p))$$(sep))
^ permalink raw reply related
* [Buildroot] [PATCH] package/odroid-scripts: relax dependencies to include armeb
From: Thomas Petazzoni @ 2017-05-13 13:07 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170512191509.25736-1-yann.morin.1998@free.fr>
Hello,
On Fri, 12 May 2017 21:15:09 +0200, Yann E. MORIN wrote:
> odroid-scripts are just scripts, so they should also work on a armeb
> board.
>
> Besides, odroid-mali selects it, but it only depends on arm-eabihf,
> which means armeb is not ruled out.
>
> Fixes unmet dependencies (with BR2_armeb=y):
> warning: (BR2_PACKAGE_ODROID_MALI) selects BR2_PACKAGE_ODROID_SCRIPTS
> which has unmet direct dependencies(BR2_aarch64 || BR2_arm)
>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> Cc: Dagg Stompler <daggs@gmx.com>
> ---
> package/odroid-scripts/Config.in | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [git commit] package/odroid-scripts: relax dependencies to include armeb
From: Thomas Petazzoni @ 2017-05-13 13:07 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=dff77face5b3840e5ff09afdd8ba8c06f84c8cb8
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
odroid-scripts are just scripts, so they should also work on a armeb
board.
Besides, odroid-mali selects it, but it only depends on arm-eabihf,
which means armeb is not ruled out.
Fixes unmet dependencies (with BR2_armeb=y):
warning: (BR2_PACKAGE_ODROID_MALI) selects BR2_PACKAGE_ODROID_SCRIPTS
which has unmet direct dependencies(BR2_aarch64 || BR2_arm)
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/odroid-scripts/Config.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/odroid-scripts/Config.in b/package/odroid-scripts/Config.in
index c4e09ca..c07c3a4 100644
--- a/package/odroid-scripts/Config.in
+++ b/package/odroid-scripts/Config.in
@@ -1,6 +1,6 @@
config BR2_PACKAGE_ODROID_SCRIPTS
bool "odroid-scripts"
- depends on BR2_aarch64 || BR2_arm
+ depends on BR2_aarch64 || BR2_arm || BR2_armeb
select BR2_PACKAGE_FBSET # runtime
select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # needed for fbset
help
^ permalink raw reply related
* [Buildroot] [git commit] toolchain: Bump ARC tools to arc-2017.03-rc2
From: Thomas Petazzoni @ 2017-05-13 13:05 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=043737282010f83e8ec20618a034131bc7e8cae1
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
This commit bumps ARC toolchain to arc-2017.03-rc2
Please note that it is a release candidate and it might contain some
breakages, please don't use it for production builds.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/binutils/Config.in.host | 2 +-
.../{arc-2017.03-rc1 => arc-2017.03-rc2}/0300-PATCH-ld-makefile.patch | 0
.../0301-PATCH-check-ldrunpath-length.patch | 0
.../0500-add-sysroot-fix-from-bug-3049.patch | 0
.../0600-poison-system-directories.patch | 0
package/binutils/binutils.hash | 2 +-
package/gcc/Config.in.host | 2 +-
.../{arc-2017.03-rc1 => arc-2017.03-rc2}/301-missing-execinfo_h.patch | 0
package/gcc/{arc-2017.03-rc1 => arc-2017.03-rc2}/860-cilk-wchar.patch | 0
.../940-uclinux-enable-threads.patch | 0
package/gcc/gcc.hash | 2 +-
package/gdb/Config.in.host | 2 +-
package/gdb/gdb.hash | 2 +-
13 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host
index e147ef0..9e89e57 100644
--- a/package/binutils/Config.in.host
+++ b/package/binutils/Config.in.host
@@ -23,7 +23,7 @@ endchoice
config BR2_BINUTILS_VERSION
string
- default "arc-2017.03-rc1" if BR2_arc
+ default "arc-2017.03-rc2" if BR2_arc
default "2.26.1" if BR2_BINUTILS_VERSION_2_26_X
default "2.27" if BR2_BINUTILS_VERSION_2_27_X
default "2.28" if BR2_BINUTILS_VERSION_2_28_X
diff --git a/package/binutils/arc-2017.03-rc1/0300-PATCH-ld-makefile.patch b/package/binutils/arc-2017.03-rc2/0300-PATCH-ld-makefile.patch
similarity index 100%
rename from package/binutils/arc-2017.03-rc1/0300-PATCH-ld-makefile.patch
rename to package/binutils/arc-2017.03-rc2/0300-PATCH-ld-makefile.patch
diff --git a/package/binutils/arc-2017.03-rc1/0301-PATCH-check-ldrunpath-length.patch b/package/binutils/arc-2017.03-rc2/0301-PATCH-check-ldrunpath-length.patch
similarity index 100%
rename from package/binutils/arc-2017.03-rc1/0301-PATCH-check-ldrunpath-length.patch
rename to package/binutils/arc-2017.03-rc2/0301-PATCH-check-ldrunpath-length.patch
diff --git a/package/binutils/arc-2017.03-rc1/0500-add-sysroot-fix-from-bug-3049.patch b/package/binutils/arc-2017.03-rc2/0500-add-sysroot-fix-from-bug-3049.patch
similarity index 100%
rename from package/binutils/arc-2017.03-rc1/0500-add-sysroot-fix-from-bug-3049.patch
rename to package/binutils/arc-2017.03-rc2/0500-add-sysroot-fix-from-bug-3049.patch
diff --git a/package/binutils/arc-2017.03-rc1/0600-poison-system-directories.patch b/package/binutils/arc-2017.03-rc2/0600-poison-system-directories.patch
similarity index 100%
rename from package/binutils/arc-2017.03-rc1/0600-poison-system-directories.patch
rename to package/binutils/arc-2017.03-rc2/0600-poison-system-directories.patch
diff --git a/package/binutils/binutils.hash b/package/binutils/binutils.hash
index be3f703..486bf37 100644
--- a/package/binutils/binutils.hash
+++ b/package/binutils/binutils.hash
@@ -4,4 +4,4 @@ sha512 cf276f84935312361a2ca077e04d0b469d23a3aed979d8ba5d92ea590904ffb2c2e7ed12c
sha512 ede2e4e59a800260eea8c14eafbaee94e30abadafd5c419a3370f9f62213cf027d6400a1d4970b6958bd4d220e675dcd483a708107016e7abd5c99d7392ba8fd binutils-2.28.tar.bz2
# Locally calculated (fetched from Github)
-sha512 536d252a4dae94803eb95a400e16d43c8e709276e3baed1d0c07fd764b2457b7845a0b3de9c78ab10211ab7e18a49c3a988570fc434357a72aac05cee9ca6beb binutils-arc-2017.03-rc1.tar.gz
+sha512 577fbd59dc8d41022ed511b86f3afc49af48ab798a7b187411a466621dc6247dff7dd84fa110ca278f09a9e523d8bdb892a233c00bf47d11b92be70e7278efe9 binutils-arc-2017.03-rc2.tar.gz
diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
index 4bcb23e..ba4063d 100644
--- a/package/gcc/Config.in.host
+++ b/package/gcc/Config.in.host
@@ -106,7 +106,7 @@ config BR2_GCC_VERSION
default "4.9.4" if BR2_GCC_VERSION_4_9_X
default "5.4.0" if BR2_GCC_VERSION_5_X
default "6.3.0" if BR2_GCC_VERSION_6_X
- default "arc-2017.03-rc1" if BR2_GCC_VERSION_ARC
+ default "arc-2017.03-rc2" if BR2_GCC_VERSION_ARC
default "musl-5.4.0" if BR2_GCC_VERSION_OR1K
config BR2_EXTRA_GCC_CONFIG_OPTIONS
diff --git a/package/gcc/arc-2017.03-rc1/301-missing-execinfo_h.patch b/package/gcc/arc-2017.03-rc2/301-missing-execinfo_h.patch
similarity index 100%
rename from package/gcc/arc-2017.03-rc1/301-missing-execinfo_h.patch
rename to package/gcc/arc-2017.03-rc2/301-missing-execinfo_h.patch
diff --git a/package/gcc/arc-2017.03-rc1/860-cilk-wchar.patch b/package/gcc/arc-2017.03-rc2/860-cilk-wchar.patch
similarity index 100%
rename from package/gcc/arc-2017.03-rc1/860-cilk-wchar.patch
rename to package/gcc/arc-2017.03-rc2/860-cilk-wchar.patch
diff --git a/package/gcc/arc-2017.03-rc1/940-uclinux-enable-threads.patch b/package/gcc/arc-2017.03-rc2/940-uclinux-enable-threads.patch
similarity index 100%
rename from package/gcc/arc-2017.03-rc1/940-uclinux-enable-threads.patch
rename to package/gcc/arc-2017.03-rc2/940-uclinux-enable-threads.patch
diff --git a/package/gcc/gcc.hash b/package/gcc/gcc.hash
index 052a825..4313f15 100644
--- a/package/gcc/gcc.hash
+++ b/package/gcc/gcc.hash
@@ -12,6 +12,6 @@ sha512 2941cc950c8f2409a314df497631f9b0266211aa74746c1839c46e04f1c7c299afe2528d
sha512 234dd9b1bdc9a9c6e352216a7ef4ccadc6c07f156006a59759c5e0e6a69f0abcdc14630eff11e3826dd6ba5933a8faa43043f3d1d62df6bd5ab1e82862f9bf78 gcc-6.3.0.tar.bz2
# Locally calculated (fetched from Github)
-sha512 e4fe5a179b8feabf932a8a6f4794ff6907b868a65487412d855a4b3671aa24ec8544a44f3b63e69ea2c12fcd4d8028d0619d40bf016ee7c1a5b5a99aa9315ef3 gcc-arc-2017.03-rc1.tar.gz
+sha512 8157d784367de2de853f7d288a213ee3222ac77321d18a887cd5a9c55b53f5948cc8608ec82398cb7e0a155ffa79f86f6469a23b505b22cd0eb5b69d610abd41 gcc-arc-2017.03-rc2.tar.gz
# Locally calculated (fetched from Github)
sha512 841101f7de45f327bf2e92f3efc73ca88a021e4b9b541458ce80a16e55882bd8606a8492d75c57c589ee2c10d42ae2865b67690155d7289a541df1d68096402f gcc-musl-5.4.0.tar.gz
diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host
index 62b5b1a..b1f0b55 100644
--- a/package/gdb/Config.in.host
+++ b/package/gdb/Config.in.host
@@ -55,7 +55,7 @@ endif
# If cross-gdb is not enabled, the latest working version is chosen.
config BR2_GDB_VERSION
string
- default "arc-2017.03-rc1-gdb" if BR2_arc
+ default "arc-2017.03-rc2-gdb" if BR2_arc
default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze
default "7.10.1" if BR2_GDB_VERSION_7_10
default "7.11.1" if BR2_GDB_VERSION_7_11 || !BR2_PACKAGE_HOST_GDB
diff --git a/package/gdb/gdb.hash b/package/gdb/gdb.hash
index efb5b11..32526d5 100644
--- a/package/gdb/gdb.hash
+++ b/package/gdb/gdb.hash
@@ -5,4 +5,4 @@ sha512 0ac8d0a495103611ef41167a08313a010dce6ca4c6d827cbe8558a0c1a1a8a6bfa53f1b7
# Locally calculated (fetched from Github)
sha512 0a467091d4b01fbecabb4b8da1cb743025c70e7f4874a0b5c8fa2ec623569a39bde6762b91806de0be6e63711aeb6909715cfbe43860de73d8aec6159a9f10a7 gdb-6be65fb56ea6694a9260733a536a023a1e2d4d57.tar.gz
-sha512 0bd0ec8169ee059493675db59170f09a6c16d12408a426d6f07892a72d43b73e3ef0059ea409e9fb72998da6cb762d336b852d2e13e2817a0a0fe976e20803bd gdb-arc-2017.03-rc1-gdb.tar.gz
+sha512 275241c215d0bd32ab0f9f16358c46a66fd0d5db09d9a148b169a6b8135cfe91c6240a6bb75977573d4fc449a98f0702254577cbdc4598c6153ebbdca39253cf gdb-arc-2017.03-rc2-gdb.tar.gz
^ permalink raw reply related
* [Buildroot] [PATCH] package: tmux: bump to v2.4
From: Thomas Petazzoni @ 2017-05-13 13:04 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170512165943.13617-1-mrugiero@gmail.com>
Hello,
On Fri, 12 May 2017 13:59:43 -0300, Mario J. Rugiero wrote:
> Also removes 0001-compat-don-t-re-define-program_invocation_short_name.patch,
> since it's applied to upstream in this version.
>
> Tested with:
> qemu_ppc_g3beige_defconfig
>
> Signed-off-by: Mario J. Rugiero <mrugiero@gmail.com>
> ---
> ...t-re-define-program_invocation_short_name.patch | 42 ----------------------
> package/tmux/tmux.hash | 2 +-
> package/tmux/tmux.mk | 2 +-
> 3 files changed, 2 insertions(+), 44 deletions(-)
> delete mode 100644 package/tmux/0001-compat-don-t-re-define-program_invocation_short_name.patch
Applied to next, thanks. However, not that the commit title should have
been:
package/tmux: bump to v2.4
or:
tmux: bump to v2.4
We don't use "package: tmux: " as a prefix.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [git commit branch/next] package/tmux: bump to v2.4
From: Thomas Petazzoni @ 2017-05-13 13:03 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=f1b31f07e6a915336fb8ff6750851b94369bf68b
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next
Also removes 0001-compat-don-t-re-define-program_invocation_short_name.patch,
since it's applied to upstream in this version.
Tested with:
qemu_ppc_g3beige_defconfig
Signed-off-by: Mario J. Rugiero <mrugiero@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
...t-re-define-program_invocation_short_name.patch | 42 ----------------------
package/tmux/tmux.hash | 2 +-
package/tmux/tmux.mk | 2 +-
3 files changed, 2 insertions(+), 44 deletions(-)
diff --git a/package/tmux/0001-compat-don-t-re-define-program_invocation_short_name.patch b/package/tmux/0001-compat-don-t-re-define-program_invocation_short_name.patch
deleted file mode 100644
index bddc2c7..0000000
--- a/package/tmux/0001-compat-don-t-re-define-program_invocation_short_name.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 9b18a98614a9f201b0883c2b15e7c7bde0aa0ff2 Mon Sep 17 00:00:00 2001
-From: "Yann E. MORIN" <yann.morin.1998@free.fr>
-Date: Sun, 5 Feb 2017 17:12:00 +0100
-Subject: [PATCH] compat: don't re-define program_invocation_short_name
-
-program_invocation_short_name is defined in errno.h, and its definition
-can differ between the various C libraries: glibc defines it as:
- extern char *program_invocation_short_name;
-
-while uClibc defines it as:
- extern const char *program_invocation_short_name;
-
-So there is not simple solution to know the prototype.
-
-But since it is defined in errno.h, there is no reason to try and define
-it ourselves; let's just trust what the header provides.
-
-Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
----
- compat/getprogname.c | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/compat/getprogname.c b/compat/getprogname.c
-index 80a496d..ad619fc 100644
---- a/compat/getprogname.c
-+++ b/compat/getprogname.c
-@@ -19,11 +19,10 @@
- #include "compat.h"
-
- #if defined(HAVE_PROGRAM_INVOCATION_SHORT_NAME)
-+#include <errno.h>
- const char *
- getprogname(void)
- {
-- extern char *program_invocation_short_name;
--
- return (program_invocation_short_name);
- }
- #elif defined(HAVE___PROGNAME)
---
-2.7.4
-
diff --git a/package/tmux/tmux.hash b/package/tmux/tmux.hash
index 9195a16..ac42571 100644
--- a/package/tmux/tmux.hash
+++ b/package/tmux/tmux.hash
@@ -1,2 +1,2 @@
# Locally computed:
-sha256 55313e132f0f42de7e020bf6323a1939ee02ab79c48634aa07475db41573852b tmux-2.3.tar.gz
+sha256 757d6b13231d0d9dd48404968fc114ac09e005d475705ad0cd4b7166f799b349 tmux-2.4.tar.gz
diff --git a/package/tmux/tmux.mk b/package/tmux/tmux.mk
index f6dd1a9..6636b9b 100644
--- a/package/tmux/tmux.mk
+++ b/package/tmux/tmux.mk
@@ -4,7 +4,7 @@
#
################################################################################
-TMUX_VERSION = 2.3
+TMUX_VERSION = 2.4
TMUX_SITE = https://github.com/tmux/tmux/releases/download/$(TMUX_VERSION)
TMUX_LICENSE = ISC
TMUX_LICENSE_FILES = README
^ permalink raw reply related
* [Buildroot] [PATCH/next] package/{mesa3d, mesa3d-headers}: bump version to 17.0.6
From: Thomas Petazzoni @ 2017-05-13 13:00 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170513081651.3088-1-bernd.kuhls@t-online.de>
Hello,
On Sat, 13 May 2017 10:16:51 +0200, Bernd Kuhls wrote:
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> package/mesa3d-headers/mesa3d-headers.mk | 2 +-
> package/mesa3d/mesa3d.hash | 10 +++++-----
> package/mesa3d/mesa3d.mk | 2 +-
> 3 files changed, 7 insertions(+), 7 deletions(-)
Applied to next, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [git commit branch/next] package/{mesa3d, mesa3d-headers}: bump version to 17.0.6
From: Thomas Petazzoni @ 2017-05-13 12:59 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=9a2f7fbeb3cff048cc08f1958eef1d1fd10de486
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
| 2 +-
package/mesa3d/mesa3d.hash | 10 +++++-----
package/mesa3d/mesa3d.mk | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
--git a/package/mesa3d-headers/mesa3d-headers.mk b/package/mesa3d-headers/mesa3d-headers.mk
index d0dceb7..fbde9ec 100644
--- a/package/mesa3d-headers/mesa3d-headers.mk
+++ b/package/mesa3d-headers/mesa3d-headers.mk
@@ -12,7 +12,7 @@ endif
# Not possible to directly refer to mesa3d variables, because of
# first/second expansion trickery...
-MESA3D_HEADERS_VERSION = 17.0.5
+MESA3D_HEADERS_VERSION = 17.0.6
MESA3D_HEADERS_SOURCE = mesa-$(MESA3D_HEADERS_VERSION).tar.xz
MESA3D_HEADERS_SITE = https://mesa.freedesktop.org/archive
MESA3D_HEADERS_LICENSE = MIT, SGI, Khronos
diff --git a/package/mesa3d/mesa3d.hash b/package/mesa3d/mesa3d.hash
index 3e10178..ccd1afe 100644
--- a/package/mesa3d/mesa3d.hash
+++ b/package/mesa3d/mesa3d.hash
@@ -1,5 +1,5 @@
-# From https://lists.freedesktop.org/archives/mesa-announce/2017-April/000322.html
-md5 5587b6b693260e3a3125f60fed6a625d mesa-17.0.5.tar.xz
-sha1 030fe080bb53377e44ece3f99b969af08e4a4ff8 mesa-17.0.5.tar.xz
-sha256 668efa445d2f57a26e5c096b1965a685733a3b57d9c736f9d6460263847f9bfe mesa-17.0.5.tar.xz
-sha512 942fa62c9098bcd030856cd622696eae418f292addb912e1d558cf27d396f25c3f2000dae97a12d1ff233f1ea157497259442082005035bb27b9bafb2cfc33c3 mesa-17.0.5.tar.xz
+# From https://lists.freedesktop.org/archives/mesa-announce/2017-May/000327.html
+md5 77ea38dc0ab899864b06ea2941ac31a4 mesa-17.0.6.tar.xz
+sha1 f348781d5e4342ef5b78572f68ef9749e308dbd7 mesa-17.0.6.tar.xz
+sha256 89ecf3bcd0f18dcca5aaa42bf36bb52a2df33be89889f94aaaad91f7a504a69d mesa-17.0.6.tar.xz
+sha512 537d28aa694c2d48811d2467e33b3adc841067d5f1cdb7e0809ba100f71869090285bbb246e57e5f0177401a539b44cc32b1ccfcb32a1855c14b011b92d32eaf mesa-17.0.6.tar.xz
diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
index b26d677..1404f84 100644
--- a/package/mesa3d/mesa3d.mk
+++ b/package/mesa3d/mesa3d.mk
@@ -5,7 +5,7 @@
################################################################################
# When updating the version, please also update mesa3d-headers
-MESA3D_VERSION = 17.0.5
+MESA3D_VERSION = 17.0.6
MESA3D_SOURCE = mesa-$(MESA3D_VERSION).tar.xz
MESA3D_SITE = https://mesa.freedesktop.org/archive
MESA3D_LICENSE = MIT, SGI, Khronos
^ permalink raw reply related
* [Buildroot] [PATCH] package: libcgi: set upstream to https://github.com/rafaelsteil/libcgi
From: Thomas Petazzoni @ 2017-05-13 12:59 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170512221546.20280-1-mrugiero@gmail.com>
Hello,
On Fri, 12 May 2017 19:15:46 -0300, Mario J. Rugiero wrote:
> Also, bump to version 1.1 and cleanup. The patch is no longer needed.
>
> Tested with:
> nitrogen6sx_defconfig
>
> Signed-off-by: Mario J. Rugiero <mrugiero@gmail.com>
Thanks, but we already have a similar patch submitted, in
https://patchwork.ozlabs.org/patch/757847/.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [PATCH] package/gpsd: do not interact with systemd on install
From: Thomas Petazzoni @ 2017-05-13 12:58 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170513082736.22734-1-yann.morin.1998@free.fr>
Hello,
On Sat, 13 May 2017 10:27:36 +0200, Yann E. MORIN wrote:
> When building on a systemd-based host for a systemd-based target, gpsd's
> buildsystem will try to tell systemd to reload the its configuration and
> recreate the entire dependency tree of services.
>
> Of course, this can not work when run as a user:
> >>> gpsd 3.16 Installing to target
> ==== AUTHENTICATING FOR org.freedesktop.systemd1.reload-daemon ===
> Authentication is required to reload the systemd state.
> Authenticating as: root
> Password:
>
> In fact, this does not even mean anything in cross-compilation.
>
> Fortunately, upstream has already fixed their sin, so we backport it
> (tweaked to apply onto 3.16).
>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
>
> ---
> Note: this was never observed in any of the autobuilders, even those
> running on a systemd-based distro, because in this case stdin is
> redirected and systemctl simply fails, but the construct is just to
> ignore the failure, so the build proceeds; the issue only occurs when
> there is an actual terminal to provide user input... :-/
> ---
> ...eract-with-systemctl-when-cross-compiling.patch | 41 ++++++++++++++++++++++
> 1 file changed, 41 insertions(+)
> create mode 100644 package/gpsd/0001-do-not-interact-with-systemctl-when-cross-compiling.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [PATCH] package/uclibc-ng-test: disable tst-cond22 with glibc based toolchain
From: Thomas Petazzoni @ 2017-05-13 12:58 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170513123636.23978-1-romain.naour@gmail.com>
Hello,
On Sat, 13 May 2017 14:36:36 +0200, Romain Naour wrote:
> uclibc-ng-test is broken with glibc 2.25 due to pthread_cond_t changes
> introduced by [1].
> Waldemar has disabled this test (tst-cond22) with glibc based toolchain
> [2] but the current uclibc-ng-test package doesn't contain this patch.
>
> So here it is.
>
> Fixes:
> [nios2] http://autobuild.buildroot.net/results/d61c8d169fc070271114a515159650f7a0f333c0
> [arm] http://autobuild.buildroot.net/results/22295711046c519df44d5d976e0bfcae1f006e5a
>
> [1] https://sourceware.org/git/?p=glibc.git;a=commit;h=ed19993b5b0d05d62cc883571519a67dae481a14
> [2] https://gogs.waldemar-brodkorb.de/linux/uclibc-ng-test/commit/787e584f18afc967d91cfe1a8443df2657579ecb
>
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
> Cc: Waldemar Brodkorb <wbx@openadk.org>
> ---
> .../uclibc-ng-test/0001-disable-for-glibc.patch | 40 ++++++++++++++++++++++
> 1 file changed, 40 insertions(+)
> create mode 100644 package/uclibc-ng-test/0001-disable-for-glibc.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [git commit] package/gpsd: do not interact with systemd on install
From: Thomas Petazzoni @ 2017-05-13 12:58 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=0d0fcfa443754ed33ab81b52dd22c5e89ea45c24
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
When building on a systemd-based host for a systemd-based target, gpsd's
buildsystem will try to tell systemd to reload the its configuration and
recreate the entire dependency tree of services.
Of course, this can not work when run as a user:
>>> gpsd 3.16 Installing to target
==== AUTHENTICATING FOR org.freedesktop.systemd1.reload-daemon ===
Authentication is required to reload the systemd state.
Authenticating as: root
Password:
In fact, this does not even mean anything in cross-compilation.
Fortunately, upstream has already fixed their sin, so we backport it
(tweaked to apply onto 3.16).
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
...eract-with-systemctl-when-cross-compiling.patch | 41 ++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/package/gpsd/0001-do-not-interact-with-systemctl-when-cross-compiling.patch b/package/gpsd/0001-do-not-interact-with-systemctl-when-cross-compiling.patch
new file mode 100644
index 0000000..9e91a02
--- /dev/null
+++ b/package/gpsd/0001-do-not-interact-with-systemctl-when-cross-compiling.patch
@@ -0,0 +1,41 @@
+From 777cb3737ae85b13642fff48eabb601c4d40f527 Mon Sep 17 00:00:00 2001
+From: James Knight <james.d.knight@live.com>
+Date: Tue, 16 Feb 2016 23:51:08 -0500
+Subject: [PATCH] do not interact with systemctl when cross-compiling
+
+The installation process for GPSd on a systemd environment will attempt
+to reload systemd's manager configuration (systemctl daemon-reload).
+This is to allow the system to take advantage of the newly installed
+GPSd services. When cross-compiling, the installation process should not
+attempt to interact with the build environment's systemd instance (if
+any). The following change checks if the build is not cross compiling
+(via 'not env["sysroot"]') before attempting to do a systemd reload.
+
+Signed-off-by: James Knight <james.d.knight@live.com>
+[yann.morin.1998 at free.fr: tweak to apply on 3.16]
+Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
+---
+ SConstruct | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/SConstruct b/SConstruct
+index c3bfd0d1..97c1b3a9 100644
+--- a/SConstruct
++++ b/SConstruct
+@@ -1909,10 +1909,12 @@ udev_install = Utility('udev-install', 'install', [
+ ] + hotplug_wrapper_install)
+
+ if env['systemd']:
++ env.Requires(udev_install, systemd_install)
++
++if env['systemd'] and not env["sysroot"]:
+ systemctl_daemon_reload = Utility('systemctl-daemon-reload', '', [ 'systemctl daemon-reload || true'])
+ env.AlwaysBuild(systemctl_daemon_reload)
+ env.Precious(systemctl_daemon_reload)
+- env.Requires(udev_install, systemd_install)
+ env.Requires(systemctl_daemon_reload, systemd_install)
+ env.Requires(udev_install, systemctl_daemon_reload)
+
+--
+2.11.0
+
^ permalink raw reply related
* [Buildroot] [git commit] package/uclibc-ng-test: disable tst-cond22 with glibc based toolchain
From: Thomas Petazzoni @ 2017-05-13 12:57 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=e7a64ddcbc0b262eaa549fede9bd1e8ca3bb310f
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
uclibc-ng-test is broken with glibc 2.25 due to pthread_cond_t changes
introduced by [1].
Waldemar has disabled this test (tst-cond22) with glibc based toolchain
[2] but the current uclibc-ng-test package doesn't contain this patch.
So here it is.
Fixes:
[nios2] http://autobuild.buildroot.net/results/d61c8d169fc070271114a515159650f7a0f333c0
[arm] http://autobuild.buildroot.net/results/22295711046c519df44d5d976e0bfcae1f006e5a
[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=ed19993b5b0d05d62cc883571519a67dae481a14
[2] https://gogs.waldemar-brodkorb.de/linux/uclibc-ng-test/commit/787e584f18afc967d91cfe1a8443df2657579ecb
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
.../uclibc-ng-test/0001-disable-for-glibc.patch | 40 ++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/package/uclibc-ng-test/0001-disable-for-glibc.patch b/package/uclibc-ng-test/0001-disable-for-glibc.patch
new file mode 100644
index 0000000..13786c9
--- /dev/null
+++ b/package/uclibc-ng-test/0001-disable-for-glibc.patch
@@ -0,0 +1,40 @@
+From 787e584f18afc967d91cfe1a8443df2657579ecb Mon Sep 17 00:00:00 2001
+From: Waldemar Brodkorb <wbx@openadk.org>
+Date: Fri, 12 May 2017 00:44:01 +0200
+Subject: [PATCH] disable for glibc
+
+uclibc-ng-test is broken with glibc 2.25 due to pthread_cond_t changes introduced by [1].
+Disable test-cond22 for glibc based toolchain.
+
+[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=ed19993b5b0d05d62cc883571519a67dae481a14
+
+Signed-off-by: Romain Naour <romain.naour@gmail.com>
+---
+ test/nptl/tst-cond22.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/test/nptl/tst-cond22.c b/test/nptl/tst-cond22.c
+index 3255cc0..23697dd 100644
+--- a/test/nptl/tst-cond22.c
++++ b/test/nptl/tst-cond22.c
+@@ -2,7 +2,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+
+-#if defined(__GLIBC__) || defined(__UCLIBC__)
++#if defined(__UCLIBC__)
+ static pthread_barrier_t b;
+ static pthread_cond_t c = PTHREAD_COND_INITIALIZER;
+ static pthread_mutex_t m = PTHREAD_MUTEX_INITIALIZER;
+@@ -54,7 +54,7 @@ tf (void *arg)
+ static int
+ do_test (void)
+ {
+-#if defined(__GLIBC__) || defined(__UCLIBC__)
++#if defined(__UCLIBC__)
+ int status = 0;
+
+ if (pthread_barrier_init (&b, NULL, 2) != 0)
+--
+2.9.3
+
^ permalink raw reply related
* [Buildroot] [PATCH/next 1/1] package/vlc: bump to version 2.2.5.1
From: Thomas Petazzoni @ 2017-05-13 12:57 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170513145643.166cfda9@free-electrons.com>
Hello,
On Sat, 13 May 2017 14:56:43 +0200, Thomas Petazzoni wrote:
> Hello,
>
> On Sat, 13 May 2017 11:21:33 +0200, Bernd Kuhls wrote:
> > Added all hashes provided by upstream.
> >
> > Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> > ---
> > package/vlc/vlc.hash | 8 ++++++--
> > package/vlc/vlc.mk | 2 +-
> > 2 files changed, 7 insertions(+), 3 deletions(-)
>
> Since it contains security fixes, I've applied to master. Thanks!
I mistakenly replied to the v1 of the patch, but I really applied the
v2.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox