Commit Graph

76855 Commits

Author SHA1 Message Date
Peter Korsgaard
82b624feca package/graphicsmagick: add post-1.3.45 security fixes
Fixes the following security issues:

- CVE-2025-27795: ReadJXLImage in JXL in GraphicsMagick before 1.3.46 lacks
  image dimension resource limits
  https://nvd.nist.gov/vuln/detail/CVE-2025-27795

- CVE-2025-32460: GraphicsMagick before 8e56520 has a heap-based buffer
  over-read in ReadJXLImage in coders/jxl.c, related to an
  ImportViewPixelArea call.
  https://nvd.nist.gov/vuln/detail/CVE-2025-32460

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 1dc1a05d94)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 13:01:13 +02:00
Peter Korsgaard
5a3d022d3e package/graphicsmagick: security bump to version 1.3.45
1.3.44 added the following security fixes:

* TIFF: Fixed multiple heap and stack buffer overflows (directed by
  the source EXIF profile) while writing EXIF into the native TIFF
  IFD.

* FITS: Fix problem that the FITS reader could return invalid image
  frames with rows or columns set to zero. Other code in the library
  crashes, or even asserts, if invalid image frames with rows or
  columns set to zero are returned.

* Coverity fixes: Various fixes for Coverity issues raised after the
  update to version 2023.12.2.

* Clang Analyzer (scan-build) fixes: Various fixes for new issues
  discovered by Clang Analyzer.

7046c34427

In addition 1.3.45 fixes a off-by-one issue introduced in 1.3.44:
96f765a2e3

Update the Copyright.txt hash for a change in copyright years:
f0bba104ee
26fce89276

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 055547ff12)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 13:01:12 +02:00
El Mehdi YOUNES
83140189de package/bat:bump to version 0.25.0
Changelog:
https://github.com/sharkdp/bat/blob/v0.25.0/CHANGELOG.md

Signed-off-by: El Mehdi YOUNES <elmehdi.younes@smile.fr>
[Julien: change changelog url to use tag]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit e7a00fd93a)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 13:01:11 +02:00
Thomas Perale
5b4541600f package/libcoap: fix build for toolchains w/o threads
The version bump in [1] introduced the upstream commit [2] which made
builds using toolchain without thread support fail to build libcoap.

This patch adds an option check in the libcoap.mk file to verify
the toolchain has thread support and passes the correct configuration
options introduced in [2] as well.

The build can be tested with the following config.

```
BR2_armeb=y
BR2_cortex_a76_a55=y
BR2_ARM_EABI=y
BR2_ARM_SOFT_FLOAT=y
BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y
BR2_PTHREADS_NONE=y
BR2_PACKAGE_LIBCOAP=y
```

Fixes:
https://autobuild.buildroot.org/results/9c0/9c0b675a64fb2576bc34457043f118cffe5fe555//

[1] 4df4d1d312 package/libcoap: bump version to 4.3.5
[2] c69c5d5af0

Signed-off-by: Thomas Perale <thomas.perale@mind.be>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 70ca62fb49)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 13:01:10 +02:00
Raphaël Mélotte
4306486473 DEVELOPERS: remove Jugurtha BELKALEM
Jugurtha's email address is bounding:

 550 5.1.1 The email account that you tried to reach does not exist. Please try double-checking the recipient's email address for typos or unnecessary spaces.

Remove it from the DEVELOPERS file so that utils/get-developers
doesn't send emails to non-existent addresses.

Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit cd6141ab15)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 13:01:09 +02:00
El Mehdi YOUNES
6364ed5c3e package/ripgrep: bump to version 14.1.1
Changelog:
https://github.com/BurntSushi/ripgrep/blob/14.1.1/CHANGELOG.md

The commit also rebase he package patch on this new version.

Signed-off-by: El Mehdi YOUNES <elmehdi.younes@smile.fr>
[Julien:
 - squash patch rebase and version bump in a single commit
 - update changelog link to use the tag
]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 259af5589c)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 13:01:07 +02:00
Charlie Jenkins
f1214d75b1 package/linux-tools: fix parallel compilation
linux-tools opportunistically set linux as only a patch dependency. This
unfortunately introduces a race condition in the shared linux scripts
when using PER_PACKAGE_DIRECTORIES and using top level parallelism. The
race manifests as the error "/bin/sh: 1: scripts/basic/fixdep:
Permission denied". This happens when the linux package and the
linux-tools package are being compiled in parallel.

The linux-tools currently using fixdep are perf and rtla. When the
timing is correct, perf, rtla, or the kernel Makefile will try to use
fixdep while one of the others is compiling fixed, resulting in fixdep
being briefly not available.

To fix this, set linux as a build dependency instead of a patch
dependency.

Signed-off-by: Charlie Jenkins <charlie@rivosinc.com>
Reviewed-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit b074f6b72b)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 13:01:06 +02:00
Charlie Jenkins
4c80e9cd3e package/pixman: fix pixman compilation on riscv
When the riscv vector extension is enabled for pixman, it assumes that
the kernel headers also support riscv vector. Apply a patch that
disables riscv vector in pixman if the Linux headers do not support
COMPAT_HWCAP_ISA_V which pixman requires for vector runtime detection.

This issue exists since pixman 0.44.0, which Buildroot started using
in commit ba2fb599cd.

Fixes:

  http://autobuild.buildroot.net/results/4ecdf5320716ec8b39f09fde3fcbbdcdb557f8ab/

Signed-off-by: Charlie Jenkins <charlie@rivosinc.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit ffc154197d)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 13:01:05 +02:00
Charlie Jenkins
21be6420f1 package/pixman: only compile with riscv vector support when selected
Pixman defaults to building with the riscv vector extension. Instead,
only build with vector if the buildroot user has selected
BR2_RISCV_ISA_RVV.

This option exists since pixman 0.44.0, to which the Buildroot package
was updated as part of Buildroot commit
ba2fb599cd.

Signed-off-by: Charlie Jenkins <charlie@rivosinc.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 386e6bb479)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 13:01:04 +02:00
Petr Vorel
2715339ec6 package/iproute2: backport NULL dereference fix
This will be part of 6.15.0 release.

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
[Julien: fix check-package error by adding "Upstream:" tag in patch]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 6bcefa73b1)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 13:01:03 +02:00
Petr Vorel
358908b8e9 package/iproute2: bump to version 6.14.0
For release announce, see:
https://lore.kernel.org/netdev/20250324092319.28d39f2f@hermes.local/

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
[Julien: add link to release announce]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit ad82e91149)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 13:01:02 +02:00
Giulio Benetti
9c4c709f30 package/libtracefs: bump to version 1.8.2
Release notes:
https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/tag/?h=libtracefs-1.8.2

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit a5f0551d28)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 13:01:01 +02:00
Fabio Estevam
a7ad7c48f1 configs/warp7: Improve Wifi instructions
The "modprobe brcmfmac" command is not necessary because this driver
is automatically loaded.

Remove the "iwconfig" line as it is considered deprecated:

warning: `iwconfig' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211

Remove the "-Dwext" parameter as it is not supported by the default kernel
configuration:

wlan0: Unsupported driver 'wext'

Tested Wifi by following the updated commands.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 6240b75d0c)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 13:01:00 +02:00
Vincent Stehlé
9611c1cd9e support/testing: test_edk2: add macchiatobin build test
Add an EDK II build test for the MACCHIATObin platform.

Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
Cc: Dick Olsson <hi@senzilla.io>
Cc: Julien Olivain <ju.o@free.fr>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit a5821cdaa1)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 13:00:59 +02:00
Fiona Klute (WIWA)
bd6342e3b5 package/mosquitto: fix init script
Restart would regularly fail because it did not wait for the old
process to be gone before starting the new one. Rewrite the script
according to current style to fix that, and add reload support (see
mosquitto docs for limitations of reload).

Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 340a4bd4f8)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 13:00:58 +02:00
Raphaël Mélotte
ca2ff29ba6 support/testing: add new test for python-urllib3
Importing urllib3 already allows us to check that for example zlib can
be loaded at runtime.

For good measure, also create the PoolManager object mentioned in the
user guide ([1]), and check that we can normalize a URL like it is
done in urllib3's 'test/test_util.py'.

[1]: https://urllib3.readthedocs.io/en/stable/user-guide.html

Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 3e931caf84)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:14:25 +02:00
Julien Olivain
fb9716a81b support/testing: new hyperfine runtime test
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit a9b0e551af)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:14:21 +02:00
Julien Olivain
bb43b6d126 package/fwts: bump to version 25.03.00
See release announce:
https://lists.ubuntu.com/archives/fwts-devel/2025-March/013974.html

Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit b910646a86)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:14:18 +02:00
Julien Olivain
59b310ec1d package/libopenmpt: bump to version 0.7.13
For release note since 0.7.11, see:
https://lib.openmpt.org/libopenmpt/2024/12/01/releases-0.7.12-0.6.21-0.5.35-0.4.47/
https://lib.openmpt.org/libopenmpt/2025/01/06/releases-0.7.13-0.6.22-0.5.36-0.4.48/

License file hash changed after year update:
97f0c59cda

Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit c6db02cff4)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:14:14 +02:00
Julien Olivain
efa2ace303 package/opencsd: bump to version 1.5.6
For change log, see:
https://github.com/Linaro/OpenCSD/blob/v1.5.6/README.md?plain=1#L348

Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit ae4bf5a4fe)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:14:10 +02:00
Julien Olivain
7be1f91ea3 package/file: bump version to 5.46
See release announce [1].

The src/mygetopt.h file license was updated from BSD-4-Clause to
BSD-2-Clause in upstream commit [2]. This change makes this file using
the same license as most other files. So this commit removes the
license entry for this file and update the _LICENSE accordingly.

This commit also replaces the mention "one file" on BSD-3-Clause, to
the actual file name using it, which is "vasprintf.c".

This commit also updates the Config.in package homepage URL,
to use https.

[1] https://mailman.astron.com/pipermail/file/2024-November/001435.html
[2] d605bb4047

Signed-off-by: Julien Olivain <ju.o@free.fr>
Reviewed-by: Vincent Jardin <vjardin@free.fr>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 104449d0cb)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:14:07 +02:00
Julien Olivain
db50ec7255 support/testing: new openocd runtime test
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit aaf93ba27f)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:14:03 +02:00
Scott Fan
cbe9eb71b0 configs/cubieboard2: bump Linux to 6.12.24 and U-Boot to 2025.04
Signed-off-by: Scott Fan <fancp2007@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 1223b4b702)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:14:00 +02:00
Scott Fan
2583354a6f configs/cubieboard1: bump Linux to 6.12.24
Signed-off-by: Scott Fan <fancp2007@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 377e7f289a)
[Thomas: only bump linux]
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:13:56 +02:00
Gaël PORTAY
5236e6c533 package/qt5webengine: drop unused file
Commit 675cbaf9aa (package/qt5/qt5webengine: bump to version 5.15.8)
moved the chromium submodule in a separate qt5webengine-chromium
package. It removed the inclusion of
"package/qt5/qt5webengine/chromium-latest.inc" but forgot to remove
the file.

A similar file was introduced in commit 577d886886
(package/qt5/qt5webengine-chromium: new package), included in its
own qt5webengine-chromium.mk package recipe.

This commit drops the chromium-latest.inc file in qt5webengine
which is no longer used.

Signed-off-by: Gaël PORTAY <gael.portay+rtone@gmail.com>
[Julien: add extra explanation in commit log]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 272e56d1ce)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:13:53 +02:00
Daniel Lang
c649221e60 package/gtkmm3: bump to version 3.24.10
https://gitlab.gnome.org/GNOME/gtkmm/-/blob/3.24.10/NEWS

Signed-off-by: Daniel Lang <dalang@gmx.at>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 56b441825b)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:13:49 +02:00
Daniel Lang
25b9515049 package/glibmm2_66: bump to version 2.66.8
https://gitlab.gnome.org/GNOME/glibmm/-/blob/2.66.8/NEWS

Signed-off-by: Daniel Lang <dalang@gmx.at>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 34fdd488bd)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:13:46 +02:00
Daniel Lang
45404bb7dc package/cairomm1_14: bump to version 1.14.5
https://gitlab.freedesktop.org/cairo/cairomm/-/blob/1.14.5/NEWS

Signed-off-by: Daniel Lang <dalang@gmx.at>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 592a9d0774)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:13:43 +02:00
Daniel Lang
e34e58191d package/pangomm2_46: bump to version 2.46.4
https://gitlab.gnome.org/GNOME/pangomm/-/blob/2.46.4/NEWS

Signed-off-by: Daniel Lang <dalang@gmx.at>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 24ef1c083e)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:13:39 +02:00
Daniel Lang
9a8bc0cb37 package/atkmm2_28: bump to version 2.28.4
https://gitlab.gnome.org/GNOME/atkmm/-/blob/2.28.4/NEWS

Signed-off-by: Daniel Lang <dalang@gmx.at>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 898b6b9638)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:13:36 +02:00
Daniel Lang
8cd1ad5f7c package/dbus-cxx: bump to version 2.5.2
https://github.com/dbus-cxx/dbus-cxx/releases/tag/2.5.2

Signed-off-by: Daniel Lang <dalang@gmx.at>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit e984d89e19)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:13:32 +02:00
Raphaël Mélotte
4eef40acc5 package/python-sdbus: fix upstream url
The upstream URL has changed to github.com/python-sdbus/python-sdbus.

Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
[Julien: add link to release note in commit log]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit e3ba797873)
[Thomas: do not include the bump only the repo address fix]
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:13:29 +02:00
Gaël PORTAY
6ca44f4b7c package/rpi-firmware: add note to keep in sync with kernel
The bump of packages rpi-firmware and linux have to by synced, since the
linux package does not install yet its device-tree overlay blobs.

This adds a note to remind to keep in sync the versions of rpi-firmware
package and kernel (set in the defconfigs).

Signed-off-by: Gaël PORTAY <gael.portay+rtone@gmail.com>
[Julien: rebase patch to resolve context conflict with commit 80ccb3e667]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 5926b3b3ae)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:13:25 +02:00
Julien Olivain
8337e700ac support/testing: add lighttpd runtime test
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit f438ae3422)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:13:21 +02:00
Thomas Devoogdt
51ba883663 package/fluent-bit: fix missing object runtime error
$ fluent-bit
fluent-bit: error while loading shared libraries: libminiz.so.3: cannot open shared object file: No such file or directory

Commit 527deef "package/fluent-bit: bump to 3.2.10",
dropped the BUILD_SHARED_LIBS=OFF off part, because miniz uses
static linking by default now, but runtime execution shows otherwise,
so revert to fix.

Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit f2c15f00d4)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:13:17 +02:00
Julien Olivain
b2dc4eac30 support/testing: weston: fix the weston shutdown test
Commit [1] "support/testing: improve weston test reliability" moved
out the wait time from the emulator (to run on the test controller).

While doing so, the sleep time which was initially _after_ the
"killall weston" invocation to in stop_weston() was incorrectly
moved before the command invocation. In this state, the test can
succeed on fast host computer running the test. But it will most
likely fail on an average computer.

This commit fixes this issue by moving the sleep time after
the command invocation.

[1] 6561a5d773

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit bedc44c073)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:13:14 +02:00
Ian Merin
930f2070f9 package/apparmor don't reference libapparmor variables
Signed-off-by: Ian Merin <Ian.Merin@ncipher.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 55718ca3cf)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:13:09 +02:00
Dario Binacchi
c26923c5ca configs/stm32f469_disco_{sd, xip}: bump Linux to 5.15.179
The patch bumps the Linux kernel to version 5.15.179

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit b4d371309f)
[Thomas: only bump linux]
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:13:06 +02:00
Dario Binacchi
b79eae89cd configs/stm32f746_disco_sd: bump Linux to 5.15.179
The patch bumps the Linux kernel to version 5.15.179

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Tested-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 1ad7f7dc6b)
[Thomas: only bump linux]
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:13:02 +02:00
Dario Binacchi
eab4cccc47 configs/stm32f429_disco_xip: bump Linux to 6.1.133
The patch bumps the Linux kernel to version 6.1.133. The size of xipImage
has increased by only 22 bytes (1671804 bytes compared to 1671782 in
version 6.1.126).

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit cb6729d214)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:12:58 +02:00
Charlie Jenkins
79f62092fd package/lmbench: fix build with recent gcc versions
lmbench dependency discovery relies on implicit return types for
main().  This causes compiler errors when -Wimplicit-int is enabled,
which has become the default with recent gcc versions. The failure of
the dependcy discovery causes lmbench to redifine typedefs the
compiler already has in an incompatible manner. Add a patch to fix the
discovery.

Fixes:
bench.h:81:13: error: conflicting types for ‘socklen_t’; have ‘int’
   81 | typedef int socklen_t;

bench.h:85:15: error: conflicting types for ‘off64_t’; have ‘int64’ {aka ‘long long int’}
   85 | typedef int64 off64_t;

Fixes:

  http://autobuild.buildroot.net/results/33cf97a79125c20f67f620eb6a7b5ad2206b2503/

Signed-off-by: Charlie Jenkins <charlie@rivosinc.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit fd914e9e4c)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:12:54 +02:00
Quentin Schulz
d6fb51826f package/libcamera: improve reproducibility for optional dependencies
libcamera has some optional dependencies that automatically detected at
build time.

To improve reproducibility, we should add a dependency on those optional
dependencies if the symbols that build them are enabled so that the
order in which packages are built does not influence the libcamera
package.

Note that the optional libyuv dependency isn't added as:
1) it is only used for the virtual pipeline and the android feature,
   both of which are disabled/not supported right now,
2) libcamera has it in a submodule if missing (though if that works with
   Buildroot is to be determined),
3) adding the dependency isn't enough as meson somehow doesn't find the
   dependency,

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 028bdac7ed)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:12:51 +02:00
Quentin Schulz
707b800225 package/libcamera: improve future reproducibility by forcing auto features to disabled
meson allows to force all features set to "auto" to default to disabled
except if explicitly enabled via the auto_features argument, c.f.
https://mesonbuild.com/Build-options.html#features

"""
If the value of a feature option is set to auto, that value is
overridden by the global auto_features option (which defaults to auto).
This is intended to be used by packagers who want to have full control
on which dependencies are required and which are disabled, and not rely
on build-deps being installed (at the right version) to get a feature
enabled.
"""

The only auto feature that we hadn't disabled explicitly is the
gstreamer plugin. It is however expected that this wasn't a mistake as
the dependencies for the gstreamer pluging wouldn't have been met
thanks to the explicit LIBCAMERA_DEPENDENCIES we have based on the
presence of the gstreamer symbols in the global config.

This should make it less likely for future releases of libcamera to
regress in terms of reproducibility because of "auto" features (though
changes from "auto" to "enabled" wouldn't be caught and would be
susceptible to race conditions with their dependencies in case they
aren't properly specified and built after libcamera is).

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit ef3c3bc9b1)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:12:48 +02:00
Quentin Schulz
b25e172dae package/libcamera: fix documentation being built even if disabled
We currently disable building the documentation via the "documentation"
feature, but it is enabled nonetheless by meson if sphinx-build-3 is
found on the host.

This makes sure it doesn't happen by making the sphinx-build-3 check
only happen when the "documentation" feature is "auto" or "enabled",
which isn't the case for Buildroot.

The bug seems to have been introduced in v0.0.1 release.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 569272be91)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:12:45 +02:00
Quentin Schulz
73d998ec58 package/libcamera: remove dependency on boost for rpi/vc4 pipeline
Commit c1597f989654 ("ipa: raspberrypi: Use YamlParser to replace
dependency on boost"), part of the v0.0.1 release, removed the
dependency on boost, so let's remove it from the pipeline option and
dependency for Buildroot.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 65721c6e0a)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:12:42 +02:00
Vincent Stehlé
e50c617e6c support/testing: test_edk2: add a few build tests
Some EDK II configurations have complex dependencies on several packages
and additional build options; build tests help keeping track of those
more easily.

Factorize some code common to all the build tests into a new
TestEdk2BuildBase class, which defines a base configuration and a method
to assert that binaries do indeed exist after the build.

While at it, add myself in DEVELOPERS.

Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
Cc: Dick Olsson <hi@senzilla.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 4f7e3f0bdd)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:12:38 +02:00
Dario Binacchi
8baf448c9f configs/stm32mp135f_dk: fix optee hash
The build command:

make stm32mp135f_dk_defconfig

fails with the errors:

ERROR: No hash found for optee-client-4.3.0.tar.gz
ERROR: No hash found for optee-os-4.3.0.tar.gz

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

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Reviewed-by: Raphaël Gallais-Pou <rgallaispou@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 038826aad6)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:12:35 +02:00
Yann E. MORIN
fb287340b7 support/download/git: use FOO_DL_OPTS
The manual states that FOO_DL_OPTS are valid for all the different
download backends, but that is not the case: at least the git backend
does not use them (it does not fail, it just ignores them).

Accept FOO_DL_OPTS in the git backend, and pass them to 'git fetch'.
There is no way that we can pass such options to submodules or lfs,
though.

Update the manual accordingly.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit a1012b363a)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:12:31 +02:00
Yann E. MORIN
fa99791948 package/boost: move target library selection variables closer together
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Michael Nosthoff <buildroot@heine.tech>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit a14ae70918)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:12:28 +02:00
Yann E. MORIN
cc5b7c8337 package/boost: move host variables closer together
Also, one item per line (chrono, container) in the list of libraries.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Michael Nosthoff <buildroot@heine.tech>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 1e83f01b51)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-02 12:12:25 +02:00