]> Git Repo - buildroot-mgba.git/log
buildroot-mgba.git
8 months agopackage/on2-8170-modules: remove package
Peter Korsgaard [Mon, 3 Jun 2024 07:17:26 +0000 (09:17 +0200)]
package/on2-8170-modules: remove package

With the corresponding binary library and gstreamer 0.10 plugin removed, the
package for the kernel module does not make a lot of sense, so remove the
package.

Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agopackage/on2-8170-libs: remove package
Peter Korsgaard [Mon, 3 Jun 2024 07:17:25 +0000 (09:17 +0200)]
package/on2-8170-libs: remove package

The linux4sam_1.9 upstream is no longer available for this binary-only
library that was used with a gstreamer 0.10 plugin, which was itself removed
in 2020.02 with commit fb49c7a26182f9d (package/gstreamer/*: remove
packages), so remove the package.

Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agopackage/proftpd: download from github
Peter Korsgaard [Mon, 3 Jun 2024 07:17:24 +0000 (09:17 +0200)]
package/proftpd: download from github

The tarball is also available over https from github, so use that instead.

Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agopackage/zip: download from sourceforge
Peter Korsgaard [Mon, 3 Jun 2024 07:17:23 +0000 (09:17 +0200)]
package/zip: download from sourceforge

The tarball (with .tar.gz extension but same content) is also available over
https from sourceforge, so use that instead.

Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agopackage/ulogd: use https:// reference for .hash file
Peter Korsgaard [Mon, 3 Jun 2024 07:17:22 +0000 (09:17 +0200)]
package/ulogd: use https:// reference for .hash file

ftp.netfilter.org no longer provides ftp, so use the https:// url from
_SITE.

Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agopackage/ulogd: use https for _SITE
Peter Korsgaard [Mon, 3 Jun 2024 07:17:21 +0000 (09:17 +0200)]
package/ulogd: use https for _SITE

http redirects to https, so use that instead.

Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agopackage/uboot-tools: use https:// _SITE
Peter Korsgaard [Mon, 3 Jun 2024 07:17:20 +0000 (09:17 +0200)]
package/uboot-tools: use https:// _SITE

The tarballs are also available over https, so use that instead.

Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agopackage/nfacct: use https:// reference for .hash file
Peter Korsgaard [Mon, 3 Jun 2024 07:17:19 +0000 (09:17 +0200)]
package/nfacct: use https:// reference for .hash file

ftp.netfilter.org no longer provides ftp, so use the https:// url from
_SITE.

Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agopackage/nfacct: use https for _SITE
Peter Korsgaard [Mon, 3 Jun 2024 07:17:18 +0000 (09:17 +0200)]
package/nfacct: use https for _SITE

http redirects to https, so use that instead.

Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agopackage/newlib-bare-metal: use https:// _SITE
Peter Korsgaard [Mon, 3 Jun 2024 07:17:17 +0000 (09:17 +0200)]
package/newlib-bare-metal: use https:// _SITE

The tarballs are also available over https, so use that instead.

Signed-off-by: Peter Korsgaard <[email protected]>
Reviewed-by: Neal Frager <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agopackage/ncftp: use https:// _SITE
Peter Korsgaard [Mon, 3 Jun 2024 07:17:16 +0000 (09:17 +0200)]
package/ncftp: use https:// _SITE

The ftp server does not respond, so change to https:// instead.  Here the
3.2.6 version is under older_versions.

wget ftp://ftp.ncftp.com/ncftp/ncftp-3.2.6-src.tar.gz
--2024-06-03 08:10:44--  ftp://ftp.ncftp.com/ncftp/ncftp-3.2.6-src.tar.gz
           => ‘ncftp-3.2.6-src.tar.gz’
Resolving ftp.ncftp.com (ftp.ncftp.com)... 209.197.102.38
Connecting to ftp.ncftp.com (ftp.ncftp.com)|209.197.102.38|:21... ^C

http redirects to https, so update the help text to match.

Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agopackage/lynx: use https:// _SITE
Peter Korsgaard [Mon, 3 Jun 2024 07:17:15 +0000 (09:17 +0200)]
package/lynx: use https:// _SITE

The ftp server does not allow anonymous login, causing the download to fail:

wget --passive-ftp -nd -t 3 -O '/home/peko/source/buildroot/output-qt/build/.lynx2.8.9rel.1.tar.bz2.XlcdCK/output' 'ftp://ftp.invisible-island.net/lynx/tarballs/lynx2.8.9rel.1.tar.bz2'
--2024-06-02 22:21:49--  ftp://ftp.invisible-island.net/lynx/tarballs/lynx2.8.9rel.1.tar.bz2
           => ‘/home/peko/source/buildroot/output-qt/build/.lynx2.8.9rel.1.tar.bz2.XlcdCK/output’
Resolving ftp.invisible-island.net (ftp.invisible-island.net)... 216.194.253.29
Connecting to ftp.invisible-island.net (ftp.invisible-island.net)|216.194.253.29|:21... connected.
Logging in as anonymous ...
Login incorrect.

Luckily the tarball is also available over https://, so use that instead.

Signed-off-by: Peter Korsgaard <[email protected]>
[[email protected]:
  - use https, not http
  - drop trailing '/' in _SITE
]
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agopackage/libnetfilter_log: use https:// reference for .hash file
Peter Korsgaard [Mon, 3 Jun 2024 07:17:14 +0000 (09:17 +0200)]
package/libnetfilter_log: use https:// reference for .hash file

ftp.netfilter.org no longer provides ftp, so use the https:// url from
_SITE.

Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agopackage/libnetfilter_log: use https for _SITE
Peter Korsgaard [Mon, 3 Jun 2024 07:17:13 +0000 (09:17 +0200)]
package/libnetfilter_log: use https for _SITE

http redirects to https, so use that instead.

Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agopackage/libnetfilter_acct: use https:// reference for .hash file
Peter Korsgaard [Mon, 3 Jun 2024 07:17:12 +0000 (09:17 +0200)]
package/libnetfilter_acct: use https:// reference for .hash file

ftp.netfilter.org no longer provides ftp, so use the https:// url from
_SITE.

Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agopackage/libnetfilter_acct: use https for _SITE
Peter Korsgaard [Mon, 3 Jun 2024 07:17:11 +0000 (09:17 +0200)]
package/libnetfilter_acct: use https for _SITE

http redirects to https, so use that instead.

Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agopackage/libmnl: use upstream sha256sum
Peter Korsgaard [Mon, 3 Jun 2024 07:17:10 +0000 (09:17 +0200)]
package/libmnl: use upstream sha256sum

ftp.netfilter.org no longer provides ftp, so use the https:// url from
_SITE.

This provides a .sha256sum but NOT md5/sha1, so update the .hash file to
match.

Signed-off-by: Peter Korsgaard <[email protected]>
Reviewed-by: Dario Binacchi <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agopackage/libmnl: use https for _SITE
Peter Korsgaard [Mon, 3 Jun 2024 07:17:09 +0000 (09:17 +0200)]
package/libmnl: use https for _SITE

http redirects to https, so use that instead.

Signed-off-by: Peter Korsgaard <[email protected]>
Reviewed-by: Dario Binacchi <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agopackage/freeradius-server: use https:// _SITE
Peter Korsgaard [Mon, 3 Jun 2024 07:17:08 +0000 (09:17 +0200)]
package/freeradius-server: use https:// _SITE

The tarballs are also available at
https://freeradius.org/ftp/pub/freeradius/, so use that instead.

Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agopackage/freeradius-client: use https:// _SITE
Peter Korsgaard [Mon, 3 Jun 2024 07:17:07 +0000 (09:17 +0200)]
package/freeradius-client: use https:// _SITE

The tarballs are also available at
https://freeradius.org/ftp/pub/freeradius/, so use that instead.

Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agopackage/file: use https:// _SITE
Peter Korsgaard [Mon, 3 Jun 2024 07:17:06 +0000 (09:17 +0200)]
package/file: use https:// _SITE

ftp.astrom.com also serves the files over https://, so use that instead.

Signed-off-by: Peter Korsgaard <[email protected]>
[[email protected]: use https, not http]
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agopackage/ebtables: switch to https://
Peter Korsgaard [Mon, 3 Jun 2024 07:17:05 +0000 (09:17 +0200)]
package/ebtables: switch to https://

For consistency, adapt the reference in the hash file too.

Signed-off-by: Peter Korsgaard <[email protected]>
[[email protected]: switch to https as suggested by Baruch]
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agopackage/doom-wad: drop reference to ftp.idsoftware.com
Peter Korsgaard [Mon, 3 Jun 2024 07:17:04 +0000 (09:17 +0200)]
package/doom-wad: drop reference to ftp.idsoftware.com

The server was decommisioned in 2017 and is unlikely to ever come back, so
drop the reference:

https://www.doomworld.com/forum/topic/96999-rip-ftpidsoftwarecom/

Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agoconfigs/olimex_stmp157_olinuxino_lime: add hashes
Francois Perrad [Sun, 2 Jun 2024 07:06:33 +0000 (09:06 +0200)]
configs/olimex_stmp157_olinuxino_lime: add hashes

and enable BR2_DOWNLOAD_FORCE_CHECK_HASHES

Signed-off-by: Francois Perrad <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/qt5base: fix download
Yann E. MORIN [Sun, 2 Jun 2024 16:21:23 +0000 (18:21 +0200)]
package/qt5base: fix download

Since qt5base was last bumped in 8ab4a0a348b2 (package/qt5: bump packages
to latest kde submodule versions), the hash for the downloaded tarball
has changed:

    $ make qt5base-source
    [...]
    ERROR: expected: 935d01f5c34903ad9e979431cec7a8a59332ed3fc539e639f5ba87e8d6989b9d
    ERROR: got     : 3067c4d84ba9927bfe65bf606c17af082199e0a3b22781fbf9bc6c6bc3de26dd

We know the hash was good back when 8ab4a0a348b2 was applied, because
the tarball has been cached on sources.buildroot.org with the expected
hash:

    $ curl 'https://sources.buildroot.net/qt5base/qtbase-da6e958319e95fe564d3b30c931492dd666bfaff.tar.bz2' 2>/dev/null |sha256sum -
    935d01f5c34903ad9e979431cec7a8a59332ed3fc539e639f5ba87e8d6989b9d  -

But now, the archive generated by the KDE gorge (Gitlab underneath) has
another hash (as seen above). This means that the KDE forge (Gitlab) has
changed the way it generates archives. So, what's the delta? It turns
out that the only changes are about CRLF that were present in the
original archive, and are no longer in the new one. It is to be noted
that the affected files do not have CRLFS in the repository. It further
turns out that the archive was previously generated with .gitattibutes
of the main branch ('dev' in Qt repositories), while now they are
generated with the .gitattibutes of the commit for which they are
generated.

Switch to using the git download method for really reproducible
archives...

Signed-off-by: Yann E. MORIN <[email protected]>
Cc: Sebastian Weyer <[email protected]>
Cc: Peter Korsgaard <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/pkg-download: use _DL_SUBDIR as root dir of generated archives
Yann E. MORIN [Sun, 2 Jun 2024 14:55:42 +0000 (16:55 +0200)]
package/pkg-download: use _DL_SUBDIR as root dir of generated archives

Currently, when we generate archives, e.g.  for git, svn, cargo or go, we
use the package _BASENAME_RAW as the root directory of the generated
archive.  For example, for package foo at version 1.2.3, that would generate
an archive rooted at foo-1.2.3/.

This is usually what we want, except in one specific condition: when the
package shares its download with another package *and* it is a generated
archive. In that case, the root directory will be different for each of
the two packages, which is incorrect, but was so far benign: we never
had any hash for such generated archives, and they were only generated
in two cases:
  - linux and linux-headers
  - barebox and barebox-aux

As we skip one directory depth when extracting the archives, we did not
care what the root directory was; whether it was that of one package or
the other was of no consequence.

But now that we can have hashes for archives generated from custom
versions, this breaks the usual case where the headers used for the
toolchains are those of the kernel to build for the target. In this
case, we may end up downloading the linux-headers package before we
download the linux package, so we'd get the hash for an archive rooted
at linux-headers-XXX/, but the one for the linux package the archive
would be rooted at linux-XXX/, or we may end up (e.g. with parallel
builds) downloading the linux package first and linux-headers next.

That would cause conflicts in hashes, as demonstrated by the only defconfig
we have in that situation, olimex_stmp157_olinuxino_lime_defconfig.

_BASENAME_RAW is a construct that is expanded to include the RAWNAME
followed by a dash and the version, if there is a version, or with just
the RAWNAME when there is no version.

We tweak the download macro to use _DL_SUBDIR followed by the version.

This is only used by VCS backends (cvs, git, svn...) and so there will
always be a version string, so no need to duplicate the case without a
version like is done for _BASENAME_RAW

_DL_SUBDIR defaults to _RAWNAME, so this is a noop by default, unless
the package declares it shares its download with another one, in which
case the generated archive will now be rooted as for the shared package.

This was triggered by:
    https://patchwork.ozlabs.org/project/buildroot/patch/20240602070634[email protected]/

Reported-by: Peter Korsgaard <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
Cc: Francois Perrad <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/gcc: update to 13.3.0
Waldemar Brodkorb [Sat, 1 Jun 2024 12:39:08 +0000 (14:39 +0200)]
package/gcc: update to 13.3.0

See here for changes made to this release:
https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=13.3

Signed-off-by: Waldemar Brodkorb <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agomicropython: Add patch to avoid textrel on arm/thumb
J. Neuschäfer [Wed, 29 May 2024 18:22:57 +0000 (20:22 +0200)]
micropython: Add patch to avoid textrel on arm/thumb

Signed-off-by: J. Neuschäfer <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agopackage/dnsmasq: Fix init script restart command
Fiona Klute [Fri, 31 May 2024 18:53:28 +0000 (20:53 +0200)]
package/dnsmasq: Fix init script restart command

Restarting dnsmasq can cause constant issues: stop works, but start
fails because the new instance can't bind the socket. Another restart
immediately after works just fine:

    # /etc/init.d/S80dnsmasq restart
    Stopping dnsmasq: OK
    Starting dnsmasq:
    dnsmasq: failed to create listening socket for 192.168.128.1: Address in use
    FAIL
    # /etc/init.d/S80dnsmasq restart
    Stopping dnsmasq: FAIL
    Starting dnsmasq: OK

Solve this by waiting for process to actually stop before returning
from the stop command. Clean up the PID file after to avoid potential
issues with the PID being reused after stop. The wait could also be
placed inside the restart block, but putting it into the stop block
has the advantage that it also avoids similar issues for any other
callers.

Signed-off-by: Fiona Klute <[email protected]>
[[email protected]:
  - fix shellcheck
  - reflow commit log
]
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agopackage/luarocks: bump to version 3.11.1
Francois Perrad [Sat, 1 Jun 2024 12:59:51 +0000 (14:59 +0200)]
package/luarocks: bump to version 3.11.1

Signed-off-by: Francois Perrad <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agoDEVELOPERS: add myself for package/mtd
Brandon Maier [Wed, 29 May 2024 20:24:25 +0000 (20:24 +0000)]
DEVELOPERS: add myself for package/mtd

Signed-off-by: Brandon Maier <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agopackage/mtd: switch to https mirror
Brandon Maier [Wed, 29 May 2024 20:24:23 +0000 (20:24 +0000)]
package/mtd: switch to https mirror

As mentioned in the last release notes, there is an https mirror[1].
Switch to this as ftp is not as widely supported anymore.

[1] https://lists.infradead.org/pipermail/linux-mtd/2023-August/100922.html

Signed-off-by: Brandon Maier <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agosupport/testing: add mtd test
Brandon Maier [Wed, 29 May 2024 20:24:22 +0000 (20:24 +0000)]
support/testing: add mtd test

Signed-off-by: Brandon Maier <[email protected]>
[[email protected]:
  - don't set an empty BR2_ENABLE_LOCALE_WHITELIST
]
Signed-off-by: Yann E. MORIN <[email protected]>
8 months ago{linux, linux-headers}: bump 4.19.x, 5.4.x, 5.10.x, 5.15.x, 6.1.x, 6.6.x, 6.8.x series
Gero Schwäricke [Fri, 31 May 2024 20:31:00 +0000 (22:31 +0200)]
{linux, linux-headers}: bump 4.19.x, 5.4.x, 5.10.x, 5.15.x, 6.1.x, 6.6.x, 6.8.x series

Signed-off-by: Gero Schwäricke <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agoutils/genrandconfig: switch to async/await format
James Hilliard [Tue, 28 May 2024 13:22:18 +0000 (07:22 -0600)]
utils/genrandconfig: switch to async/await format

This requires python 3.5 or newer but is a bit cleaner than the
previous coroutine method.

This should also fix a python3.12 issue:
[Tue, 28 May 2024 13:09:05] INFO: generate the configuration
Traceback (most recent call last):
  File "/home/autobuild/autobuild/instance-0/buildroot/utils/genrandconfig", line 833, in <module>
    ret = asyncio.run(gen_config(args))
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/asyncio/runners.py", line 194, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/asyncio/runners.py", line 89, in run
    raise ValueError("a coroutine was expected, got {!r}".format(coro))
ValueError: a coroutine was expected, got <generator object gen_config at 0xffff7bd822c0>
[Tue, 28 May 2024 13:09:06] WARN: failed to generate configuration

Signed-off-by: James Hilliard <[email protected]>
Reviewed-by: Vincent Fazio <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
8 months agopackage/octave: add optional bzip2 support
Julien Olivain [Wed, 22 May 2024 20:13:26 +0000 (22:13 +0200)]
package/octave: add optional bzip2 support

Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agoconfigs/acmesystems_arietta_*: add hashes for at91bootstrap3/Linux/headers
Dario Binacchi [Thu, 30 May 2024 20:47:06 +0000 (22:47 +0200)]
configs/acmesystems_arietta_*: add hashes for at91bootstrap3/Linux/headers

And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES. With this, we can now drop the
defconfig from .checkpackageignore.

Signed-off-by: Dario Binacchi <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agoconfigs/acmesystems_arietta_*: bump Linux to 4.19.315 to fix compilation error
Dario Binacchi [Thu, 30 May 2024 20:47:05 +0000 (22:47 +0200)]
configs/acmesystems_arietta_*: bump Linux to 4.19.315 to fix compilation error

The Linux kernel failed to build since commit e88225ed882 (package/binutils:
make 2.41 the default version). The new version contains the commit
790756c7e0229 ("ARM: 8933/1: replace Sun/Solaris style flag on section
directive") that fixes the issue.

Signed-off-by: Dario Binacchi <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agoconfigs/acmesystems_aria_*: add hashes for at91bootstrap3/Linux/headers
Dario Binacchi [Thu, 30 May 2024 20:47:04 +0000 (22:47 +0200)]
configs/acmesystems_aria_*: add hashes for at91bootstrap3/Linux/headers

And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES. With this, we can now drop the
defconfig from .checkpackageignore.

Signed-off-by: Dario Binacchi <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agoconfigs/acmesystems_aria_*: bump Linux to 4.19.315 to fix compilation error
Dario Binacchi [Thu, 30 May 2024 20:47:03 +0000 (22:47 +0200)]
configs/acmesystems_aria_*: bump Linux to 4.19.315 to fix compilation error

The Linux kernel failed to build since commit e88225ed882 (package/binutils:
make 2.41 the default version). The new version contains the commit
790756c7e0229 ("ARM: 8933/1: replace Sun/Solaris style flag on section
directive") that fixes the issue.

Signed-off-by: Dario Binacchi <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agoUpdate for 2024.05-rc1
Peter Korsgaard [Thu, 30 May 2024 20:49:26 +0000 (22:49 +0200)]
Update for 2024.05-rc1

Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/cog: bump to version 0.18.4
Adrian Perez de Castro [Wed, 29 May 2024 09:13:47 +0000 (12:13 +0300)]
package/cog: bump to version 0.18.4

This is a small bugfix release, with a rendering fix for popup menus
and that can use weston-protocols version 14 for building. Release
notes:

  https://wpewebkit.org/release/cog-0.18.4.html

Signed-off-by: Adrian Perez de Castro <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agoconfigs/at91sam9x5ek*_defconfig: add hashes for at91bootstrap3/Linux/headers/u-boot
Dario Binacchi [Wed, 29 May 2024 21:37:51 +0000 (23:37 +0200)]
configs/at91sam9x5ek*_defconfig: add hashes for at91bootstrap3/Linux/headers/u-boot

And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES. With this, we can now drop the
defconfig from .checkpackageignore.

Furthermore, the use of the directory board/atmel/at91sam9x5ek/patches
for all 4 at91sam9x5ek*_defconfig configurations automatically fixes the
Linux compilation failure for the at91sam9x5ek_defconfig,
at91sam9x5ek_mmc_defconfig, and at91sam9x5ek_mmc_dev_defconfig
configurations as well.

Signed-off-by: Dario Binacchi <[email protected]>
[Peter: fix u-boot hash]
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agoconfigs/lego_ev3_defconfig: add hashes for Linux/headers/u-boot
Dario Binacchi [Wed, 29 May 2024 18:38:42 +0000 (20:38 +0200)]
configs/lego_ev3_defconfig: add hashes for Linux/headers/u-boot

And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES. With this, we can now drop
the defconfig from .checkpackageignore.

Signed-off-by: Dario Binacchi <[email protected]>
Acked-by: David Lechner <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agoconfigs/lego_ev3_defconfig: bump Linux to 4.19.315 to fix compilation error
Dario Binacchi [Wed, 29 May 2024 18:38:41 +0000 (20:38 +0200)]
configs/lego_ev3_defconfig: bump Linux to 4.19.315 to fix compilation error

The Linux kernel failed to build since commit e88225ed882 (package/binutils:
make 2.41 the default version). The new version contains the commit
790756c7e0229 ("ARM: 8933/1: replace Sun/Solaris style flag on section
directive") that fixes the issue.

Signed-off-by: Dario Binacchi <[email protected]>
Acked-by: David Lechner <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/flannel: Bump to version 0.25.2
Geoff Levand [Wed, 29 May 2024 00:15:12 +0000 (09:15 +0900)]
package/flannel: Bump to version 0.25.2

Signed-off-by: Geoff Levand <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agoutils/add-custom-hashes: symlink linux-headers to linux rv32_nommu
Brandon Maier [Tue, 28 May 2024 15:09:10 +0000 (15:09 +0000)]
utils/add-custom-hashes: symlink linux-headers to linux

Most boards use BR2_KERNEL_HEADERS_AS_KERNEL with their custom kernels.
So when creating their custom hash files, the linux-headers.hash is the
same as linux.hash. In this case we symlink linux-headers to linux to
make maintenance easier. Update the add-custom-hashes tool to explicitly
handle this case.

Signed-off-by: Brandon Maier <[email protected]>
[Peter: use cmp -s]
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agoconfigs/raspberrypi: add hashes
Brandon Maier [Tue, 28 May 2024 14:59:11 +0000 (14:59 +0000)]
configs/raspberrypi: add hashes

Signed-off-by: Brandon Maier <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/ccache: always disable developer mode
Julien Olivain [Tue, 28 May 2024 19:20:08 +0000 (21:20 +0200)]
package/ccache: always disable developer mode

Ccache CMake build system has some conditions that automatically
enables a developer mode (sets CCACHE_DEV_MODE=ON). See [1].

More specifically, if CCACHE_DEV_MODE is unset AND the environment
variable "CI" is set, CCACHE_DEV_MODE is set to "ON".

This situation can happen when Buildroot builds are executed in
Jenkins jobs, for example. Since Buildroot does not set
CCACHE_DEV_MODE and Jenkins sets the "CI" environment variable,
this ccache developer mode can be enabled in an unexpected way
for the Buildroot user. For example, it happened that a Jenkins build
breaks, while the build with the same configuration in the user
session is working.

One of the effects of enabling this ccache developer mode, is to treat
compiler warnings as errors, see [3]. This can lead to build error,
depending on the ccache version and the host compiler being used.

This behavior can be reproduced and observed, with commands:

    cat > .config <<EOF
    BR2_aarch64=y
    BR2_TOOLCHAIN_EXTERNAL=y
    BR2_CCACHE=y
    BR2_PACKAGE_BUSYBOX=y
    EOF
    make olddefconfig

    make clean
    make host-ccache

Outputs:

    ...
    -- Ccache version: 4.9.1
    -- Ccache dev mode: OFF
    -- Setting CMAKE_BUILD_TYPE to Release as none was specified.
    ...

Whereas:

    make clean
    CI=true make host-ccache

Outputs:

    ...
    -- Ccache version: 4.9.1
    -- Ccache dev mode: ON
    -- Setting CMAKE_BUILD_TYPE to Debug as none was specified.
    ...

For a failure example: on Fedora 40 with host gcc 14.1.1, Buildroot at
tag 2024.02 has ccache 4.8.2. Host ccache can fail, when building with
"CI=true make host-ccache" with output:

    /buildroot/output/build/host-ccache-4.8.2/src/third_party/fmt/core.h:3119:44:   in 'constexpr' expansion of 'fmt::v8::make_format_args<>(args#0, args#1)'
    /buildroot/output/build/host-ccache-4.8.2/src/third_party/fmt/core.h:1706:15: error: possibly dangling reference to a temporary [-Werror=dangling-reference]
     1706 |   const auto& arg = arg_mapper<Context>().map(std::forward<T>(val));
          |               ^~~

This commit sets CCACHE_DEV_MODE=OFF to make the ccache behavior more
deterministic in Buildroot, independently of being used in a CI tool
or not.

[1] https://github.com/ccache/ccache/blob/v4.9.1/CMakeLists.txt#L56
[2] https://github.com/jenkinsci/jenkins/blob/jenkins-2.459/core/src/main/java/jenkins/model/CoreEnvironmentContributor.java#L43
[3] https://github.com/ccache/ccache/blob/v4.9.1/cmake/StandardWarnings.cmake#L5

Reported-by: Xavier Roumegue <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agoDEVELOPERS: add Alexander Mukhin for package/zfs
Alexander Mukhin [Mon, 27 May 2024 15:56:39 +0000 (18:56 +0300)]
DEVELOPERS: add Alexander Mukhin for package/zfs

Signed-off-by: Alexander Mukhin <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/wpewebkit: security bump to version 2.44.2
Adrian Perez de Castro [Wed, 22 May 2024 09:16:05 +0000 (12:16 +0300)]
package/wpewebkit: security bump to version 2.44.2

Update to the most recent stable release of WPE WebKit. As this is a
change to a newer release series, there are a few changes in the CMake
build options. Dependencies mostly remain the same. The main changes
are:

 - The new ENABLE_WEB_CODECS option is set along with ENABLE_VIDEO and
   ENABLE_WEB_RTC depending on BR2_PACKAGE_WPEWEBKIT_MULTIMEDIA.
 - The new USE_LIBBACKTRACE option is set accordingly, depending on
   BR2_PACKAGE_LIBBACKTRACE.
 - WebAssembly does not work with ENABLE_C_LOOP, so it needs to be
   disabled alongside it for MIPSr6, ARMv5 and ARMv6; not that building
   WebAssembly support is enabled by default.
 - ENABLE_ACCESSIBILITY has been removed, instead the new USE_ATK option
   can be used to the same effect.
 - JPEG2000 is no longer supported, the openjpeg dependency is removed.

Release notes and announcement:

  - https://wpewebkit.org/blog/2024-wpewebkit-2.44.html

  - https://wpewebkit.org/release/wpewebkit-2.44.0.html
  - https://wpewebkit.org/release/wpewebkit-2.44.1.html
  - https://wpewebkit.org/release/wpewebkit-2.44.2.html

Relevant security advisories:

  - https://wpewebkit.org/security/WSA-2024-0002.html
  - https://wpewebkit.org/security/WSA-2024-0003.html

Signed-off-by: Adrian Perez de Castro <[email protected]>
[Peter: use .tar.xz]
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/libwpe: bump to version 1.16.0
Adrian Perez de Castro [Wed, 22 May 2024 09:16:04 +0000 (12:16 +0300)]
package/libwpe: bump to version 1.16.0

This new stable series brings in support for pointer lock, customization
of subprocess launching, and a build fix that allows using EGL
implementations that do not ship a pkg-config module. Version 1.16.x is
recommended for WPE WebKit 2.44.x, which will be updated in a follow-up
patch.

Release notes:

  https://wpewebkit.org/release/libwpe-1.16.0.html

Signed-off-by: Adrian Perez de Castro <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/tinyproxy: bump version to 1.11.2
Alexander Mukhin [Fri, 24 May 2024 12:54:48 +0000 (15:54 +0300)]
package/tinyproxy: bump version to 1.11.2

Drop now included patch.

Signed-off-by: Alexander Mukhin <[email protected]>
[Peter: drop patch from .checkpackageignore]
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/octave: add optional zlib support
Julien Olivain [Thu, 23 May 2024 20:09:07 +0000 (22:09 +0200)]
package/octave: add optional zlib support

Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/rng-tools: bump to version 6.17
Fabrice Fontaine [Thu, 23 May 2024 19:00:23 +0000 (21:00 +0200)]
package/rng-tools: bump to version 6.17

https://github.com/nhorman/rng-tools/releases/tag/v6.17

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agoconfigs/zynq_*: add hashes
Brandon Maier [Sun, 26 May 2024 20:40:42 +0000 (20:40 +0000)]
configs/zynq_*: add hashes

Signed-off-by: Brandon Maier <[email protected]>
Reviewed-by: Neal Frager <[email protected]>
[Peter: use symlink for linux-headers.hash]
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/zfs: bump version to 2.2.4
Alexander Mukhin [Fri, 24 May 2024 18:18:56 +0000 (21:18 +0300)]
package/zfs: bump version to 2.2.4

Signed-off-by: Alexander Mukhin <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agoconfigs/pine64_star64: uboot needs openssl
Julien Olivain [Sun, 26 May 2024 17:58:28 +0000 (19:58 +0200)]
configs/pine64_star64: uboot needs openssl

The defconfig fails in uboot build, with output:

    In file included from tools/imagetool.c:10:
    include/image.h:1178:12: fatal error: openssl/evp.h: No such file or directory
     1178 | #  include <openssl/evp.h>
          |            ^~~~~~~~~~~~~~~

This commit fixes the issue by adding
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y to the defconfig.

Fixes:
- https://gitlab.com/buildroot.org/buildroot/-/jobs/6918689164

Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/libarchive: security bump to version 3.7.4
Peter Korsgaard [Sun, 26 May 2024 21:06:48 +0000 (23:06 +0200)]
package/libarchive: security bump to version 3.7.4

Fixes the following security issues:

- CVE-2024-26256: libarchive Remote Code Execution Vulnerability
  https://github.com/advisories/GHSA-2jc9-36w4-pmqw

For more details, see the release notes:
https://github.com/libarchive/libarchive/releases/tag/v3.7.4

Signed-off-by: Peter Korsgaard <[email protected]>
8 months agoconfigs/at91sam9x5ek_dev_defconfig: fix Linux compilation error with binutils 2.41+
Dario Binacchi [Sun, 26 May 2024 20:01:10 +0000 (22:01 +0200)]
configs/at91sam9x5ek_dev_defconfig: fix Linux compilation error with binutils 2.41+

The Linux kernel fails to build since commit e88225ed882 (package/binutils:
make 2.41 the default version).  This commit applies the backport patch of
upstream commit 790756c7e0229dedc83bf058ac69633045b1000e to the 4.19.y
stable kernel.

Signed-off-by: Dario Binacchi <[email protected]>
[Peter: extend description to mention binutils 2.41]
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agoconfigs/mx51evk: bump kernel to 5.10.218 to fix build
Julien Olivain [Sun, 26 May 2024 16:43:46 +0000 (18:43 +0200)]
configs/mx51evk: bump kernel to 5.10.218 to fix build

Since commit dc0f721 "package/gcc: switch to 13.x as default",
mx51evk_defconfig is failing to build in Kernel (see [1]),
with output:

    drivers/ata/libahci.c: In function 'ahci_led_store':
    ././include/linux/compiler_types.h:315:45: error: call to '__compiletime_assert_328' declared with attribute error: BUILD_BUG_ON failed: sizeof(_s) > sizeof(long)
      315 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
          |                                             ^

This commit fixes the issue by bumping the Kernel to 5.10.218.

The kernel commit fixing the build failure is [2], first included in
v5.10.184. There is also many other gcc-13 fixes.

While bumping the Kernel, this commit also enables
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y, add the relevant archive hash files,
and removes the defconfig entry in ".checkpackageignore".

Fixes: [1]
[1] https://gitlab.com/buildroot.org/buildroot/-/jobs/6918688967
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4c3ddc06cedb62f2904e58fd95170bf206bee149

Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/weston: fix xcb-util-cursor dependency for xwayland
Thomas Devoogdt [Fri, 5 Apr 2024 14:01:53 +0000 (16:01 +0200)]
package/weston: fix xcb-util-cursor dependency for xwayland

Run-time dependency xcb-cursor found: NO (tried pkgconfig and cmake)

../../br-test-pkg/bootlin-armv7-glibc/build/weston-13.0.0/tests/meson.build:340:2: ERROR: Problem encountered: xcb and xcb-cursor required for running xwayland tests

Fixes:
 - https://bugs.busybox.net/show_bug.cgi?id=15766

Signed-off-by: Thomas Devoogdt <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agoconfigs/amarula_vyasa_rk3288_defconfig: add uboot, linux, linux-headers hashes
Giulio Benetti [Sat, 25 May 2024 14:06:41 +0000 (16:06 +0200)]
configs/amarula_vyasa_rk3288_defconfig: add uboot, linux, linux-headers hashes

Add global patch directory pointing to board specific .hash files
for uboot, linux, linux-headers and add BR2_DOWNLOAD_FORCE_CHECK_HASHES.
This way we can drop this defconfig entry in .checkpackageignore.

Signed-off-by: Giulio Benetti <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agoconfigs/orangepi_pc_defconfig: u-boot 2024.01 needs host-openssl
Peter Korsgaard [Sat, 25 May 2024 09:04:36 +0000 (11:04 +0200)]
configs/orangepi_pc_defconfig: u-boot 2024.01 needs host-openssl

Commit 2e349be94a87db05d (configs/orangepi_pc_defconfig: bump U-boot to
v2024.01 to fix compatibility with setuptools >= 69) bumped U-Boot, but
forgot to add a dependency on host-openssl.  Fix that.

Signed-off-by: Peter Korsgaard <[email protected]>
8 months agoconfigs/orangepi_r1_defconfig: u-boot 2024.01 needs host-openssl
Peter Korsgaard [Sat, 25 May 2024 09:04:35 +0000 (11:04 +0200)]
configs/orangepi_r1_defconfig: u-boot 2024.01 needs host-openssl

Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/6918689094
Commit 113eeb55d67 (configs/orangepi_r1_defconfig: bump U-boot to v2024.01
to fix compatibility with setuptools >= 69) bumped U-Boot, but forgot to add
a dependency on host-openssl.  Fix that.

Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/libgeotiff: bump to version 1.7.3
Fabrice Fontaine [Sat, 25 May 2024 06:11:02 +0000 (08:11 +0200)]
package/libgeotiff: bump to version 1.7.3

https://github.com/OSGeo/libgeotiff/releases/tag/1.7.3

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/dhcpcd: bump to version 10.0.8
Fabrice Fontaine [Sat, 25 May 2024 06:21:42 +0000 (08:21 +0200)]
package/dhcpcd: bump to version 10.0.8

https://github.com/NetworkConfiguration/dhcpcd/releases/tag/v10.0.8
https://github.com/NetworkConfiguration/dhcpcd/releases/tag/v10.0.7
https://github.com/NetworkConfiguration/dhcpcd/releases/tag/v10.0.6

Signed-off-by: Fabrice Fontaine <[email protected]>
[Peter: drop stray line in .mk]
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/cryptodev-linux: fix build with kernel >= 6.7
Fabrice Fontaine [Sat, 25 May 2024 06:12:44 +0000 (08:12 +0200)]
package/cryptodev-linux: fix build with kernel >= 6.7

Fix the following build failure with kernel >= 6.7:

/home/buildroot/autobuild/instance-0/output-1/build/cryptodev-linux-1.13/./cryptlib.c: In function ‘cryptodev_hash_init’:
/home/buildroot/autobuild/instance-0/output-1/build/cryptodev-linux-1.13/./cryptlib.c:384:28: error: implicit declaration of function ‘crypto_ahash_alignmask’; did you mean ‘crypto_aead_alignmask’? [-Werror=implicit-function-declaration]
  384 |         hdata->alignmask = crypto_ahash_alignmask(hdata->async.s);
      |                            ^~~~~~~~~~~~~~~~~~~~~~
      |                            crypto_aead_alignmask

Fixes:
 - http://autobuild.buildroot.org/results/466360c7baec2edf42dc6f0ad9a8d757dd471c88

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agoconfigs/visionfive2: uboot needs openssl
Julien Olivain [Fri, 24 May 2024 21:13:59 +0000 (23:13 +0200)]
configs/visionfive2: uboot needs openssl

The defconfig fails in uboot build, with output:

    scripts/sign-file.c:25:10: fatal error: openssl/opensslv.h: No such file or directory
       25 | #include <openssl/opensslv.h>
          |          ^~~~~~~~~~~~~~~~~~~~

This commit fixes the issue by adding
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y to the defconfig.

Fixes:
- https://gitlab.com/buildroot.org/buildroot/-/jobs/6929002318

Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/libgeotiff: bump to version 1.7.2
Fabrice Fontaine [Thu, 23 May 2024 16:53:11 +0000 (18:53 +0200)]
package/libgeotiff: bump to version 1.7.2

https://github.com/OSGeo/libgeotiff/releases/tag/1.7.2

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/lua-cffi: add luajit support
Fabrice Fontaine [Thu, 23 May 2024 16:21:48 +0000 (18:21 +0200)]
package/lua-cffi: add luajit support

luajit is supported since the addition of the package in commit
13114d0f9352531e5d7ebed45cd3f679407c61d9 and
https://github.com/q66/cffi-lua/commit/cb92c44e781d81e31eb7fe21911b01e54a2c3893

Signed-off-by: Fabrice Fontaine <[email protected]>
[Peter: append to LUA_CFFI_CONF_OPTS]
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/lua-cffi: fix or1k build
Fabrice Fontaine [Thu, 23 May 2024 15:55:57 +0000 (17:55 +0200)]
package/lua-cffi: fix or1k build

Fix the following or1k build failure raised since bump to version 0.2.2
in commit 079d992b271240fc1776a2855299955043774280:

In file included from /home/buildroot/autobuild/run/instance-0/output-1/host/or1k-buildroot-linux-uclibc/sysroot/usr/include/lua.hpp:6,
                 from ../src/lua.hh:23,
                 from ../src/parser.hh:4,
                 from ../src/ffilib.cc:7:
../src/ffilib.cc: In static member function 'static void ffi_module::setup(lua_State*)':
../src/ffilib.cc:1616:28: error: expected ')' before 'FFI_ARCH_NAME'
 1616 |         lua_pushliteral(L, FFI_ARCH_NAME);
      |                            ^~~~~~~~~~~~~

Fixes: 079d992b271240fc1776a2855299955043774280
 - http://autobuild.buildroot.org/results/4e14753732c5b6fe8ba9ecc4050ffb35f471c428

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agoconfigs/qemu_sparc_ss10_defconfig: fix linux hash
Dario Binacchi [Thu, 16 May 2024 15:52:12 +0000 (17:52 +0200)]
configs/qemu_sparc_ss10_defconfig: fix linux hash

Commit c3e17c407a3 (configs/qemu_sparc_ss10: re-introduce defconfig) added a
hash file for the Linux kernel, but mistakingly used the .tar.gz instead of
.tar.xz.

The patch fixes "make legal-info" for qemu_sparc_ss10 configuration:

>>> host-gcc-initial 13.2.0 Collecting legal info
COPYING: OK (sha256: 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c)
COPYING3: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903)
COPYING.LIB: OK (sha256: a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861)
COPYING3.LIB: OK (sha256: a853c2ffec17057872340eee242ae4d96cbf2b520ae27d903e1b2fef1a5f9d1c)
ERROR: No hash found for linux-6.8.6.tar.xz

Signed-off-by: Dario Binacchi <[email protected]>
[Peter: extend commit message]
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/libvpl: bump version to 2.11.0
Bernd Kuhls [Tue, 14 May 2024 21:55:17 +0000 (23:55 +0200)]
package/libvpl: bump version to 2.11.0

Signed-off-by: Bernd Kuhls <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/intel-mediadriver: bump version to 24.2.2
Bernd Kuhls [Tue, 14 May 2024 21:55:16 +0000 (23:55 +0200)]
package/intel-mediadriver: bump version to 24.2.2

Signed-off-by: Bernd Kuhls <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agoconfigs/amarula_vyasa_rk3288_defconfig: bump to Linux version 6.1.91
Giulio Benetti [Wed, 22 May 2024 19:46:10 +0000 (21:46 +0200)]
configs/amarula_vyasa_rk3288_defconfig: bump to Linux version 6.1.91

Build fails with gcc 13 with:
drivers/ata/libahci.c: In function 'ahci_led_store':
././include/linux/compiler_types.h:357:45: error: call to
'__compiletime_assert_302' declared with attribute error: BUILD_BUG_ON failed:
sizeof(_s) > sizeof(long)
  357 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)

As explained in Linux commit[0] that fixes the build, sizeof() of enum
like '(1<<31)' translate to a 64-bit type, but we expect a 32-bit type.
So commit[0] makes sure the data type to be 32-bits wide by using BIT()
macro.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/6865596548

[0]:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=97e28deab8bfe70d5687650f94484f8f9101e566

Signed-off-by: Giulio Benetti <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/ustreamer: fix uclibc build
Fabrice Fontaine [Wed, 15 May 2024 18:10:47 +0000 (20:10 +0200)]
package/ustreamer: fix uclibc build

Fix the following uclibc build failure raised since bump to version 6.11
in commit c6c173dadb7b44ba4af92237d05503b8e83e51dc and
https://github.com/pikvm/ustreamer/commit/2d6716aa4762151f0fb1b900d3cd3295d328cab6:

In file included from libs/base64.h:25,
                 from libs/base64.c:23:
libs/types.h:30:9: error: unknown type name 'ssize_t'
   30 | typedef ssize_t sz;
      |         ^~~~~~~

Fixes: c6c173dadb7b44ba4af92237d05503b8e83e51dc
 - http://autobuild.buildroot.org/results/24498049d7beb4afaaf9f9a0c2fc0bcd26a3ee04

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agoconfigs/orangepi_pc_defconfig: add hashes for Linux/headers/u-boot
Peter Korsgaard [Wed, 22 May 2024 21:57:55 +0000 (23:57 +0200)]
configs/orangepi_pc_defconfig: add hashes for Linux/headers/u-boot

And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES.  With this, we can now drop the
defconfig from .checkpackageignore.

Signed-off-by: Peter Korsgaard <[email protected]>
8 months agoconfigs/orangepi_pc_defconfig: bump Linux kernel to 6.1.91
Peter Korsgaard [Wed, 22 May 2024 21:57:54 +0000 (23:57 +0200)]
configs/orangepi_pc_defconfig: bump Linux kernel to 6.1.91

Linux 6.6.x crashes during boot, so stick to 6.1.x for now.

Signed-off-by: Peter Korsgaard <[email protected]>
8 months agoconfigs/orangepi_pc_defconfig: bump Linux to 5.10.217 to fix gcc 13.x build
Peter Korsgaard [Wed, 22 May 2024 21:57:53 +0000 (23:57 +0200)]
configs/orangepi_pc_defconfig: bump Linux to 5.10.217 to fix gcc 13.x build

The 5.10.9 kernel fails to build with GCC 13.x:

In file included from <command-line>:
drivers/ata/libahci.c: In function ‘ahci_led_store’:
././include/linux/compiler_types.h:315:45: error: call to ‘__compiletime_assert_321’ declared with attribute error: BUILD_BUG_ON failed: sizeof(_s) > sizeof(long)
  315 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                             ^
././include/linux/compiler_types.h:296:25: note: in definition of macro ‘__compiletime_assert’
  296 |                         prefix ## suffix();                             \
      |                         ^~~~~~
././include/linux/compiler_types.h:315:9: note: in expansion of macro ‘_compiletime_assert’
  315 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |         ^~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
   50 |         BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |         ^~~~~~~~~~~~~~~~
./include/linux/nospec.h:58:9: note: in expansion of macro ‘BUILD_BUG_ON’
   58 |         BUILD_BUG_ON(sizeof(_s) > sizeof(long));                        \
      |         ^~~~~~~~~~~~
drivers/ata/libahci.c:1137:23: note: in expansion of macro ‘array_index_nospec’
 1137 |                 pmp = array_index_nospec(pmp, EM_MAX_SLOTS);
      |                       ^~~~~~~~~~~~~~~~~~

This is fixed upstream by commit f07788079f515ca (ata: ahci: fix enum
constants for gcc-13), which has been backported to 5.10.x as of 5.10.184,
so bump to v5.10.217 to fix the build.

Signed-off-by: Peter Korsgaard <[email protected]>
8 months agoconfigs/orangepi_pc_defconfig: bump U-boot to v2024.01 to fix compatibility with...
Peter Korsgaard [Wed, 22 May 2024 21:57:52 +0000 (23:57 +0200)]
configs/orangepi_pc_defconfig: bump U-boot to v2024.01 to fix compatibility with setuptools >= 69

Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/6865597706
setuptools.extern.packaging.version.InvalidVersion: Invalid version: 'u-boot-2020.10'
make[5]: *** [scripts/dtc/pylibfdt/Makefile:30: scripts/dtc/pylibfdt/_libfdt.so] Error 1
make[4]: *** [scripts/Makefile.build:419: scripts/dtc/pylibfdt] Error 2
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [scripts/Makefile.build:419: scripts/dtc] Error 2
make[2]: *** [Makefile:577: scripts] Error 2
make[1]: *** [package/pkg-generic.mk:283: /builds/buildroot.org/buildroot/output/build/uboot-2020.10/.stamp_built] Error 2

Commit 6b62384e3d2a9e1 (package/python-setuptools: bump to version 69.0.3)
bumped setuptools, which now errors out when passed a version with a prefix
string.  This u-boot- prefix string is dropped since U-Boot 2023.01 with
commit c977b1843504 (libfdt: Fix invalid version warning), so bump U-Boot to
v2024.01 to fix this issue.

Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/lmdb: fix CFLAGS handling
Fabrice Fontaine [Tue, 21 May 2024 18:25:59 +0000 (20:25 +0200)]
package/lmdb: fix CFLAGS handling

By passing TARGET_CONFIGURE_OPTS to make, the following usptream CFLAGS
are completely overridden:

CFLAGS = $(THREADS) $(OPT) $(W) $(XCFLAGS)

As a result, setting XCFLAGS is a no-op and -pthread is not passed
resulting in the following build failure since the addition of the
package in commit eb60c4054c25129d78651a66d1e7554aff04767f:

//binhome//.buildroot.//autobuildlib//rungcc//instancepowerpc64--3buildroot/-outputlinux--1gnu//host9.3.0//opt./.ext/-.toolchain.//bin./../../.lib//powerpc64gcc-/buildrootpowerpc64--linuxbuildroot--gnulinux/-bingnu//ld9.3.0:/ .mdb.c.:/(...text/+.0x1a44.)/:. .undefined/ powerpc64reference- buildrootto `pthread_setspecific'

Fixes: eb60c4054c25129d78651a66d1e7554aff04767f
 - http://autobuild.buildroot.org/results/d67c5a99b7d58826e544f1210fa36bb3bc180739

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/atftp: fix build with pcre2 >= 10.43
Fabrice Fontaine [Thu, 23 May 2024 17:00:05 +0000 (19:00 +0200)]
package/atftp: fix build with pcre2 >= 10.43

Fix the following build failure raised since bump of pcre2 to version
10.43 in commit fa9e575776ee3d3d47a31fee3c09a94753c77cc7 and
https://github.com/PCRE2Project/pcre2/commit/014c82d7bcc2873cdb1f3abc5e5348587f477ba4:

tftpd_pcre.c: In function 'tftpd_pcre_open':
tftpd_pcre.c:109:37: error: passing argument 1 of 'pcre2_substring_list_free_8' from incompatible pointer type [-Wincompatible-pointer-types]
  109 |           pcre2_substring_list_free((const PCRE2_UCHAR **)substrlist);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                     |
      |                                     const PCRE2_UCHAR8 ** {aka const unsigned char **}
In file included from tftpd_pcre.h:24,
                 from tftpd_pcre.c:35:
/home/autobuild/autobuild/instance-10/output-1/host/powerpc64le-buildroot-linux-gnu/sysroot/usr/include/pcre2.h:949:1: note: expected 'PCRE2_UCHAR8 **' {aka 'unsigned char **'} but argument is of type 'const PCRE2_UCHAR8 **' {aka 'const unsigned char **'}
  949 | PCRE2_TYPES_STRUCTURES_AND_FUNCTIONS
      | ^

Fixes: fa9e575776ee3d3d47a31fee3c09a94753c77cc7
 - http://autobuild.buildroot.org/results/46565c834a8162a651944885104027610a65f9c3

Signed-off-by: Fabrice Fontaine <[email protected]>
Reviewed-by: Yegor Yefremov <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/x11vnc: drop unrecognized options
Fabrice Fontaine [Thu, 23 May 2024 17:36:40 +0000 (19:36 +0200)]
package/x11vnc: drop unrecognized options

--without-{jpeg,sdl,zlib} are unrecognized since bump to version
0.9.14 in commit aeea662fb12e69073a233fe1058287212fbbca33 and
https://github.com/LibVNC/x11vnc/commit/d287ed9a77c647f35e85e0b10621a6661e911fad
because those dependencies were linked to libvncserver, not x11vnc

Fixes: aeea662fb12e69073a233fe1058287212fbbca33
Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/catch2: bump to version 3.6.0
Michael Nosthoff [Tue, 21 May 2024 08:23:59 +0000 (10:23 +0200)]
package/catch2: bump to version 3.6.0

Signed-off-by: Michael Nosthoff <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/uuu: bump to version 1.5.181
Dario Binacchi [Wed, 15 May 2024 21:07:15 +0000 (23:07 +0200)]
package/uuu: bump to version 1.5.181

This is a hot fix for version 1.5.179.

Release notes:
https://github.com/nxp-imx/mfgtools/releases/tag/uuu_1.5.181

Signed-off-by: Dario Binacchi <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/mutt: bump to version 2.2.13
Fabrice Fontaine [Fri, 17 May 2024 21:33:07 +0000 (23:33 +0200)]
package/mutt: bump to version 2.2.13

Mutt 2.2.13 was released on March 9, 2024. This is a bug-fix release,
fixing a possible dangling pointer reference in the SMTP client.

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/mokutil: select libxcrypt if needed
Fabrice Fontaine [Fri, 17 May 2024 20:53:15 +0000 (22:53 +0200)]
package/mokutil: select libxcrypt if needed

Fix the following build failure raised since the addition of the package
in commit 2e6e121496bfcbe09c018558be13733077b6df9b:

mokutil.c:45:10: fatal error: crypt.h: No such file or directory
   45 | #include <crypt.h>
      |          ^~~~~~~~~

Fixes: 2e6e121496bfcbe09c018558be13733077b6df9b
 - http://autobuild.buildroot.org/results/59e470ad6bf7f48314cd26ed4163c095e4c803ab

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/minisign: do not strip
Fabrice Fontaine [Fri, 17 May 2024 21:25:34 +0000 (23:25 +0200)]
package/minisign: do not strip

Set CMAKE_STRIP to an empty value to avoid the following build failure
with BR2_BINFMT_FLAT raised since the addition of the package in commit
d90ac63d9b3448a239bb9aa8030326699a3fdc3d:

/home/buildroot/instance-0/output-1/host/bin/m68k-linux-strip: /home/buildroot/instance-0/output-1/build/minisign-0.11/minisign: file format not recognized

Fixes: d90ac63d9b3448a239bb9aa8030326699a3fdc3d
 - http://autobuild.buildroot.org/results/9cc9fd17c7eb4a741c08f27f69764df4a26295fa

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/putty: security bump to version 0.81
Fabrice Fontaine [Thu, 16 May 2024 16:31:44 +0000 (18:31 +0200)]
package/putty: security bump to version 0.81

The only change between 0.80 and 0.81 is one security fix:

 - ECDSA signatures using 521-bit keys (the NIST P521 curve, otherwise
   known as ecdsa-sha2-nistp521) were generated with biased random
   numbers. This permits an attacker in possession of a few dozen
   signatures to RECOVER THE PRIVATE KEY.

   Any 521-bit ECDSA private key that PuTTY or Pageant has used to
   sign anything should be considered compromised.

   This vulnerability has the identifier CVE-2024-31497.

Update hash of LICENCE file (update in year with
https://git.tartarus.org/?p=simon/putty.git;a=commit;h=f2f28ac0386eebbd45ea605818d31d62d219f589)

https://lists.tartarus.org/pipermail/putty-announce/2024/000038.html

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agopackage/postgresql: security bump version to 16.3
Maxim Kochetkov [Wed, 22 May 2024 06:44:04 +0000 (09:44 +0300)]
package/postgresql: security bump version to 16.3

Release notes: https://www.postgresql.org/about/news/postgresql-163-157-1412-1315-and-1219-released-2858/

Fixes CVE-2024-4317.

Signed-off-by: Maxim Kochetkov <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
8 months agoconfigs/orangepi_r1_defconfig: add hashes for Linux/headers/u-boot
Peter Korsgaard [Sun, 19 May 2024 10:13:55 +0000 (12:13 +0200)]
configs/orangepi_r1_defconfig: add hashes for Linux/headers/u-boot

And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES.  With this, we can now drop the
defconfig from .checkpackageignore.

Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Romain Naour <[email protected]>
8 months agoconfigs/orangepi_r1_defconfig: bump Linux kernel to 6.6.31
Peter Korsgaard [Sun, 19 May 2024 10:13:54 +0000 (12:13 +0200)]
configs/orangepi_r1_defconfig: bump Linux kernel to 6.6.31

And update the dts path to match the updated location after commit
724ba6751532 ("ARM: dts: Move .dts files to vendor sub-directories").

Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Romain Naour <[email protected]>
8 months agoconfigs/orangepi_r1_defconfig: bump Linux to 5.10.217 to fix gcc 13.x build
Peter Korsgaard [Sun, 19 May 2024 10:13:53 +0000 (12:13 +0200)]
configs/orangepi_r1_defconfig: bump Linux to 5.10.217 to fix gcc 13.x build

The 5.10.10 kernel fails to build with GCC 13.x:

In file included from <command-line>:
drivers/ata/libahci.c: In function ‘ahci_led_store’:
././include/linux/compiler_types.h:315:45: error: call to ‘__compiletime_assert_321’ declared with attribute error: BUILD_BUG_ON failed: sizeof(_s) > sizeof(long)
  315 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                             ^
././include/linux/compiler_types.h:296:25: note: in definition of macro ‘__compiletime_assert’
  296 |                         prefix ## suffix();                             \
      |                         ^~~~~~
././include/linux/compiler_types.h:315:9: note: in expansion of macro ‘_compiletime_assert’
  315 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |         ^~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
   50 |         BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |         ^~~~~~~~~~~~~~~~
./include/linux/nospec.h:58:9: note: in expansion of macro ‘BUILD_BUG_ON’
   58 |         BUILD_BUG_ON(sizeof(_s) > sizeof(long));                        \
      |         ^~~~~~~~~~~~
drivers/ata/libahci.c:1137:23: note: in expansion of macro ‘array_index_nospec’
 1137 |                 pmp = array_index_nospec(pmp, EM_MAX_SLOTS);
      |                       ^~~~~~~~~~~~~~~~~~

This is fixed upstream by commit f07788079f515ca (ata: ahci: fix enum
constants for gcc-13), which has been backported to 5.10.x as of 5.10.184,
so bump to v5.10.217 to fix the build.

Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Romain Naour <[email protected]>
8 months agoconfigs/orangepi_r1_defconfig: bump U-boot to v2024.01 to fix compatibility with...
Peter Korsgaard [Sun, 19 May 2024 10:13:52 +0000 (12:13 +0200)]
configs/orangepi_r1_defconfig: bump U-boot to v2024.01 to fix compatibility with setuptools >= 69

Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/6865597717
setuptools.extern.packaging.version.InvalidVersion: Invalid version: 'u-boot-2020.10'
make[5]: *** [scripts/dtc/pylibfdt/Makefile:30: scripts/dtc/pylibfdt/_libfdt.so] Error 1
make[4]: *** [scripts/Makefile.build:419: scripts/dtc/pylibfdt] Error 2
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [scripts/Makefile.build:419: scripts/dtc] Error 2
make[2]: *** [Makefile:577: scripts] Error 2
make[1]: *** [package/pkg-generic.mk:283: /builds/buildroot.org/buildroot/output/build/uboot-2020.10/.stamp_built] Error 2

Commit 6b62384e3d2a9e1 (package/python-setuptools: bump to version 69.0.3)
bumped setuptools, which now errors out when passed a version with a prefix
string.  This u-boot- prefix string is dropped since U-Boot 2023.01 with
commit c977b1843504 (libfdt: Fix invalid version warning), so bump U-Boot to
v2024.01 to fix this issue.

Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Romain Naour <[email protected]>
8 months agoconfigs/orangepi_r1_defconfig: drop double _HOST_UBOOT_TOOLS=y
Peter Korsgaard [Sun, 19 May 2024 10:13:51 +0000 (12:13 +0200)]
configs/orangepi_r1_defconfig: drop double _HOST_UBOOT_TOOLS=y

Fixes the following warning:
orangepi_r1_defconfig:35:warning: override: reassigning to symbol BR2_PACKAGE_HOST_UBOOT_TOOLS

While we're at it, move the HOST_UBOOT_TOOLS_* options where savedefconfig
would put them.

Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Romain Naour <[email protected]>
8 months agoconfigs/imx8mmpico: bump bsp components to version tn-mickledore_6.1.55-2.2.0_20240417
Julien Olivain [Mon, 20 May 2024 08:39:42 +0000 (10:39 +0200)]
configs/imx8mmpico: bump bsp components to version tn-mickledore_6.1.55-2.2.0_20240417

This commit bumps the BSP components (U-Boot, Arm Trusted Firmware
and Kernel) to version tn-mickledore_6.1.55-2.2.0_20240417.

While at it, it also enable BR2_DOWNLOAD_FORCE_CHECK_HASHES=y in the
defconfig, to check the archives of this new version. The necessary
hash files are also added. The BR2_GLOBAL_PATCH_DIR moved, due to a
defconfig refresh with a "make savedefconfig".

This commit also removes arm-truster-firmware package patches which
are no longer needed (since they are included in the new version).

Finally, this defconfig fail to build since commit dc0f721
"package/gcc: switch to 13.x as default". Those new BSP components
contains the patches to fix this build issue.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/6865597270

Signed-off-by: Julien Olivain <[email protected]>
[Romain: remove imx8mmpico_defconfig entry in .checkpackageignore]
Signed-off-by: Romain Naour <[email protected]>
8 months agoconfigs/beagleboneai_defconfig: add hashes for Linux/headers/u-boot
Peter Korsgaard [Tue, 21 May 2024 06:40:45 +0000 (08:40 +0200)]
configs/beagleboneai_defconfig: add hashes for Linux/headers/u-boot

And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES.  With this, we can now drop the
defconfig from .checkpackageignore.

Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Romain Naour <[email protected]>
8 months agoconfigs/beagleboneai_defconfig: bump Linux to 5.10.217 to fix gcc 13.x build
Peter Korsgaard [Tue, 21 May 2024 06:40:44 +0000 (08:40 +0200)]
configs/beagleboneai_defconfig: bump Linux to 5.10.217 to fix gcc 13.x build

The 5.10.79 kernel fails to build with GCC 13.x:

In file included from <command-line>:
drivers/ata/libahci.c: In function ‘ahci_led_store’:
././include/linux/compiler_types.h:315:45: error: call to ‘__compiletime_assert_321’ declared with attribute error: BUILD_BUG_ON failed: sizeof(_s) > sizeof(long)
  315 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                             ^
././include/linux/compiler_types.h:296:25: note: in definition of macro ‘__compiletime_assert’
  296 |                         prefix ## suffix();                             \
      |                         ^~~~~~
././include/linux/compiler_types.h:315:9: note: in expansion of macro ‘_compiletime_assert’
  315 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |         ^~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
   50 |         BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |         ^~~~~~~~~~~~~~~~
./include/linux/nospec.h:58:9: note: in expansion of macro ‘BUILD_BUG_ON’
   58 |         BUILD_BUG_ON(sizeof(_s) > sizeof(long));                        \
      |         ^~~~~~~~~~~~
drivers/ata/libahci.c:1137:23: note: in expansion of macro ‘array_index_nospec’
 1137 |                 pmp = array_index_nospec(pmp, EM_MAX_SLOTS);
      |                       ^~~~~~~~~~~~~~~~~~

This is fixed upstream by commit f07788079f515ca (ata: ahci: fix enum
constants for gcc-13), which has been backported to 5.10.x as of 5.10.184,
so bump to v5.10.217 to fix the build.

Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Romain Naour <[email protected]>
8 months agosupport/testing: improve python-magic-wormhole test reliability
Julien Olivain [Tue, 21 May 2024 19:44:41 +0000 (21:44 +0200)]
support/testing: improve python-magic-wormhole test reliability

The python-magic-wormhole runtime test can randomly fail on slow
runners, see [1].

The issue is that the sending command is started first in background
_without_ redirecting its output to /dev/null. The receiving command
is started after, expecting the message to be printed on the first
standard output line. On slower systems, the sending command still
print messages while the test controller expect output from the
receiving command. The expected string finally appear, but not on the
first line. This makes the test fail.

This commit fixes the issue by redirecting all outputs (stdout, stderr)
of the sending command to /dev/null. To help even more, the sleep time
is moved from the emulator to the test controller. The sleep time is
also multiplied by the timeout_multiplier.

Fixes: [1]
[1] https://gitlab.com/buildroot.org/buildroot/-/jobs/6888691508

Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: Romain Naour <[email protected]>
This page took 0.094678 seconds and 4 git commands to generate.