]> Git Repo - buildroot-mgba.git/log
buildroot-mgba.git
2 years agotoolchain: invert glibc <-> !static dependency
Arnout Vandecappelle (Essensium/Mind) [Wed, 6 Oct 2021 20:41:32 +0000 (22:41 +0200)]
toolchain: invert glibc <-> !static dependency

Currently, glibc depends on !BR2_STATIC_LIBS in all the toolchain
variants.

However, for some architectures, glibc is the only supported libc. In
commit 3b3105328e4aa54f3cfecbf8454a9db63875d76e ("Config.in: only
allow BR2_STATIC_LIBS on supported libc/arch"), we implemented a fix
to avoid configurations were BR2_STATIC_LIBS=y with an architecture
already supported by glibc, because these configurations are
impossible. This commit 3b3105328e4aa54f3cfecbf8454a9db63875d76e
prevents from selecting BR2_STATIC_LIBS=y when the C library used for
the internal toolchain backend is glibc.

However, it introduces a discrepency between how this topic is handled
for internal and external toolchains:

 - For internal toolchains, we prevent BR2_STATIC_LIBS=y if glibc is
   chosen.

 - For external toolchains, we allow BR2_STATIC_LIBS=y in all cases,
   and it's each glibc toolchain that has !BR2_STATIC_LIBS

This commit addresses this discrepency by preventing BR2_STATIC_LIBS=y
if glibc is chosen in all cases.

Thanks to this, we can remove the !BR2_STATIC_LIBS dependency on both
the glibc package, and all glibc external toolchains.

Fixes: https://bugs.busybox.net/show_bug.cgi?id=14256
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
[Thomas: update to master, fix the gen-bootlin-toolchains script, add
a comment in the static/shared choice to indicate that static is
supported only with uclibc or musl]
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agosupport/testing/tests/toolchain/test_aarch64_64k.py: fix flake8 errors
Arnout Vandecappelle (Essensium/Mind) [Wed, 27 Jul 2022 08:29:10 +0000 (10:29 +0200)]
support/testing/tests/toolchain/test_aarch64_64k.py: fix flake8 errors

support/testing/tests/toolchain/test_aarch64_64k.py:35:5: E303 too many blank lines (2)
support/testing/tests/toolchain/test_aarch64_64k.py:40:65: W605 invalid escape sequence '\('
support/testing/tests/toolchain/test_aarch64_64k.py:45:1: E302 expected 2 blank lines, found 1
support/testing/tests/toolchain/test_aarch64_64k.py:52:1: E302 expected 2 blank lines, found 1
support/testing/tests/toolchain/test_aarch64_64k.py:59:1: E302 expected 2 blank lines, found 1
support/testing/tests/toolchain/test_aarch64_64k.py:65:1: W391 blank line at end of file

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agopackage/gcc: bump to version 10.4.0
Romain Naour [Wed, 27 Jul 2022 07:32:32 +0000 (09:32 +0200)]
package/gcc: bump to version 10.4.0

Remove upstream patch: 0004-Remove-cyclades-from-libsanitizer.patch

https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=a7e72b282177fbaa6a852324641c871313d326da

See announce:
https://gcc.gnu.org/pipermail/gcc-announce/2022/000173.html

Tested in gitlab:
https://gitlab.com/kubu93/buildroot/-/pipelines/597437606

Signed-off-by: Romain Naour <[email protected]>
2 years agoarch/Config.in: move the binary format selection further down
Thomas Petazzoni [Tue, 26 Jul 2022 16:39:50 +0000 (18:39 +0200)]
arch/Config.in: move the binary format selection further down

Right now the "Target options" menu looks like this:

 Target architecture (....)
 ... options related to the binary format selection ...
 ... options related to the architecture variant selection ...

This doesn't make much sense: the architecture variant selection
should be just below the target architecture selection. With this
commit, things will now be presented this way:

 Target architecture (....)
 ... options related to the architecture variant selection ...
 ... options related to the binary format selection ...

Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
2 years agopackage/Makefile.in: add detection for the lack of C library
Thomas Petazzoni [Tue, 26 Jul 2022 16:39:49 +0000 (18:39 +0200)]
package/Makefile.in: add detection for the lack of C library

We recently had several cases of architecture configurations for which
no C library was available, leading to a build failure during the gcc
build. In order to more easily detect those bogus configurations,
let's bail out very early by detecting the lack of C library
selection.

Signed-off-by: Thomas Petazzoni <[email protected]>
[[email protected]:
  - move as final else clause in existing conditional block
]
Signed-off-by: Yann E. MORIN <[email protected]>
2 years agoarch/Config.in.riscv: lp64f ABI is only supported if MMU is enabled
Thomas Petazzoni [Tue, 26 Jul 2022 16:39:48 +0000 (18:39 +0200)]
arch/Config.in.riscv: lp64f ABI is only supported if MMU is enabled

Even though that seems weird, the LP64F ABI is only supported when MMU
support is enabled. Indeed, as per commit
9a51381cedc16e6d70cb85e1144f6e0fa89af69a ("package/uclibc: prevent
config with unsupported RISC-V float ABI"), uClibc does not support
LP64F. But uClibc is the only C library that support RISC-V 64-bit
noMMU.

So the selection of LP64F and !MMU is impossible. Right now this
selection causes a build failure as no C library is enabled.

This commit fixes this by ensuring we cannot use LP64F when MMU
support is not available.

Fixes:

  http://autobuild.buildroot.net/results/6320dcc655f1871eb8bf6a9689bddde7447385f5/

Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
2 years agopackage/moby-buildkit: support building as host package
Christian Stewart [Mon, 24 Jan 2022 07:48:53 +0000 (23:48 -0800)]
package/moby-buildkit: support building as host package

Users may want to use buildkitd and buildkitctl to build images on the host.

Adds package host-moby-buildkit and BR2_PACKAGE_HOST_MOBY_BUILDKIT.

Signed-off-by: Christian Stewart <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/pipewire: simplify alsa-lib feature selection
Fabrice Fontaine [Wed, 27 Jul 2022 06:27:31 +0000 (08:27 +0200)]
package/pipewire: simplify alsa-lib feature selection

Instead of having the user need to figure out that 2 alsa-lib features
are needed for pipewire ALSA support, have the top-level pulseaudio
option select the relevant alsa-lib features, when alsa-lib is enabled
as already done for pulseaudio in commit
97cd3680a4cc4bc0c71bccccb1459eda4b880159

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/netdata: add freeipmi optional dependency
Fabrice Fontaine [Wed, 27 Jul 2022 06:54:09 +0000 (08:54 +0200)]
package/netdata: add freeipmi optional dependency

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/gensio: add openipmi support
Fabrice Fontaine [Wed, 27 Jul 2022 06:46:01 +0000 (08:46 +0200)]
package/gensio: add openipmi support

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/opencl-clhpp: add dependency on libopencl
Thomas Petazzoni [Wed, 27 Jul 2022 07:30:06 +0000 (09:30 +0200)]
package/opencl-clhpp: add dependency on libopencl

Even though opencl-clhpp's build does not need libopencl, as it's just
made of headers, any user of opencl-clhpp will assume libopencl is
already installed.

Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/clpeak: new package
Gilles Talis [Sun, 16 Jan 2022 17:53:20 +0000 (18:53 +0100)]
package/clpeak: new package

clpeak is a tool that profiles OpenCL devices to find
their peak capacities

Signed-off-by: Gilles Talis <[email protected]>
Reviewed-by: Romain Naour <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/opencl-clhpp: new package
Gilles Talis [Sun, 16 Jan 2022 17:53:19 +0000 (18:53 +0100)]
package/opencl-clhpp: new package

opencl-clhpp are the OpenCL API C++ bindings

Signed-off-by: Gilles Talis <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agoboot/opensbi: introduce BR2_TARGET_OPENSBI_ADDITIONAL_VARIABLES
Noah Huetter [Wed, 27 Apr 2022 13:14:00 +0000 (15:14 +0200)]
boot/opensbi: introduce BR2_TARGET_OPENSBI_ADDITIONAL_VARIABLES

Signed-off-by: Noah Huetter <[email protected]>
Reviewed-by: Alistair Francis <[email protected]>
[Thomas/Arnout: change option name from
BR2_TARGET_OPENSBI_CUSTOM_MAKEOPTS to
BR2_TARGET_OPENSBI_ADDITIONAL_VARIABLES]
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/harfbuzz: bump to version 5.0.1
Giulio Benetti [Tue, 26 Jul 2022 21:49:52 +0000 (23:49 +0200)]
package/harfbuzz: bump to version 5.0.1

Since the major release changed I've built successfully all packages that
have direct dependency to harfbuzz:
- efl
- libass
- mupdf
- pango
- qt5base
- sdl2_ttf
- supertuxkart
- vlc
- webkitgtk
- wpewebkit

Signed-off-by: Giulio Benetti <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/diffutils: drop host variant
Thomas Petazzoni [Tue, 26 Jul 2022 22:01:37 +0000 (00:01 +0200)]
package/diffutils: drop host variant

It was only used by opkg-utils, but we now rely on the host system
provided diffutils.

Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/opkg-utils: drop host-diffutils dependency
Thomas Petazzoni [Tue, 26 Jul 2022 21:58:09 +0000 (23:58 +0200)]
package/opkg-utils: drop host-diffutils dependency

diffutils is now a host system dependency, so there is no need for
opkg-utils to depend on host-diffutils.

Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agosupport/dependencies/dependencies.sh: check for 'cmp'
Thomas Petazzoni [Tue, 26 Jul 2022 22:00:21 +0000 (00:00 +0200)]
support/dependencies/dependencies.sh: check for 'cmp'

cmp from diffutils is part of the host system requirements, so check
for it. It is used in package/pkg-generic.mk.

Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agodocs/manual/prerequisite.txt: add diffutils
José Luis Salvador Rufo [Tue, 26 Apr 2022 13:28:34 +0000 (15:28 +0200)]
docs/manual/prerequisite.txt: add diffutils

The command `cmp` is used by `package/pkg-generic.mk` at commit
8623cc5deb5. This command is provided by `diffutils`, so it should be
installed on the host system.

Signed-off-by: José Luis Salvador Rufo <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agoRevert "libcurl: add host variant"
Thomas Petazzoni [Tue, 26 Jul 2022 21:53:42 +0000 (23:53 +0200)]
Revert "libcurl: add host variant"

The host-libcurl was initially added for host-cargo, but it is no
longer used, so we can remove it.

This reverts commit 736e0fc5d6103300fb5d6b0cde5e22ce978b8a80.

Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/opensc: disable cmocka
Fabrice Fontaine [Tue, 26 Jul 2022 20:26:45 +0000 (22:26 +0200)]
package/opensc: disable cmocka

Disable cmocka (enabled by default) to avoid the following uclibc build
failure raised since the addition of the package in commit
8aaa7ecbce1d10cbcd880c3da5e429988f96176a:

In file included from p11test_common.h:30,
                 from p11test_helpers.h:25,
                 from p11test.c:24:
/home/giuliobenetti/autobuild/run/instance-0/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/include/cmocka.h:2334:47: error: unknown type name 'va_list'
 2334 | void vprint_message(const char* const format, va_list args) CMOCKA_PRINTF_ATTRIBUTE(1, 0);
      |                                               ^~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/19d1171a76cd4789472b16aa24b44f58cd7e0a1e

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/f2fs-tools: bump to version 1.15.0
Fabrice Fontaine [Tue, 26 Jul 2022 20:12:24 +0000 (22:12 +0200)]
package/f2fs-tools: bump to version 1.15.0

Update indention in hash file (two spaces)

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/pulseaudio: simplify alsa-lib feature selection
Thomas Petazzoni [Tue, 26 Jul 2022 21:45:30 +0000 (23:45 +0200)]
package/pulseaudio: simplify alsa-lib feature selection

Instead of having the user need to figure out that 3 alsa-lib features
are needed for pulseaudio ALSA support, have the top-level pulseaudio
option select the relevant alsa-lib features, when alsa-lib is
enabled.

Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/pulseaudio: alsa needs UCM
Fabrice Fontaine [Tue, 26 Jul 2022 20:16:47 +0000 (22:16 +0200)]
package/pulseaudio: alsa needs UCM

alsa needs UCM since bump to version 16.1 in commit
6f3131296484767f037d3535ab69f328e94351db to avoid the following build
failure:

In file included from ../src/modules/alsa/alsa-mixer.h:51,
                 from ../src/modules/alsa/alsa-ucm.c:51:
../src/modules/alsa/alsa-ucm.h:26:10: fatal error: alsa/use-case.h: No such file or directory
   26 | #include <alsa/use-case.h>
      |          ^~~~~~~~~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/c651c03bc493ac721ad6517ace550237488ef8a8

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/v4l2loopback: add V4L2LOOPBACK_LINUX_CONFIG_FIXUPS
Fabrice Fontaine [Sat, 14 May 2022 09:21:52 +0000 (11:21 +0200)]
package/v4l2loopback: add V4L2LOOPBACK_LINUX_CONFIG_FIXUPS

Fix the following build failure:

ERROR: modpost: "video_ioctl2" [/nvmedata/autobuild/instance-10/output-1/build/v4l2loopback-0.12.5/./v4l2loopback.ko] undefined!
ERROR: modpost: "__video_register_device" [/nvmedata/autobuild/instance-10/output-1/build/v4l2loopback-0.12.5/./v4l2loopback.ko] undefined!
ERROR: modpost: "v4l2_ctrl_new_custom" [/nvmedata/autobuild/instance-10/output-1/build/v4l2loopback-0.12.5/./v4l2loopback.ko] undefined!
ERROR: modpost: "v4l2_ctrl_handler_init_class" [/nvmedata/autobuild/instance-10/output-1/build/v4l2loopback-0.12.5/./v4l2loopback.ko] undefined!
ERROR: modpost: "video_device_alloc" [/nvmedata/autobuild/instance-10/output-1/build/v4l2loopback-0.12.5/./v4l2loopback.ko] undefined!
ERROR: modpost: "v4l2_device_register" [/nvmedata/autobuild/instance-10/output-1/build/v4l2loopback-0.12.5/./v4l2loopback.ko] undefined!
ERROR: modpost: "video_device_release" [/nvmedata/autobuild/instance-10/output-1/build/v4l2loopback-0.12.5/./v4l2loopback.ko] undefined!
ERROR: modpost: "v4l2_ctrl_handler_free" [/nvmedata/autobuild/instance-10/output-1/build/v4l2loopback-0.12.5/./v4l2loopback.ko] undefined!
ERROR: modpost: "v4l2_device_unregister" [/nvmedata/autobuild/instance-10/output-1/build/v4l2loopback-0.12.5/./v4l2loopback.ko] undefined!
ERROR: modpost: "video_unregister_device" [/nvmedata/autobuild/instance-10/output-1/build/v4l2loopback-0.12.5/./v4l2loopback.ko] undefined!

Fixes:
 - http://autobuild.buildroot.org/results/640f8f61c7f433ffe5e9a6759eecc9a03f735569

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/rsyslog: install systemd service file with correct permissions
Jared Bents [Wed, 11 May 2022 14:22:28 +0000 (09:22 -0500)]
package/rsyslog: install systemd service file with correct permissions

Signed-off-by: Jared Bents <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agotoolchain: handle white spaces in sysroot dir in copy_toolchain_sysroot
Lang Daniel [Tue, 17 May 2022 10:32:12 +0000 (10:32 +0000)]
toolchain: handle white spaces in sysroot dir in copy_toolchain_sysroot

When changing permissions on all directories in the staging directory,
after copying sysroot, paths that contain spaces break the call to
chmod.

With -print0 for find and -0 for xargs white spaces are correctly
interpreted.

Signed-off-by: Daniel Lang <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/qt5: bump packages to latest kde submodule versions
James Hilliard [Wed, 18 May 2022 01:34:24 +0000 (19:34 -0600)]
package/qt5: bump packages to latest kde submodule versions

Bump qt5 packages to latest submodule versions from:
https://invent.kde.org/qt/qt/qt5/-/tree/kde/5.15

Drop a qt5location patch which is now upstream.

Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agoarch: add support for configurable page size on ARM64
Thomas Petazzoni [Tue, 26 Jul 2022 13:12:48 +0000 (15:12 +0200)]
arch: add support for configurable page size on ARM64

This commit is based on earlier work from Łukasz Stelmach
<[email protected]> to add support for different page sizes on
ARM64.

In his initial submission, Łukasz took an approach similar to this
one, i.e make it ARM64-specific. Following the feedback on the mailing
list, his second version [1] tried to generalize the logic to
configure the page size between architectures. But the general
consensus during the review process was that there wasn't much to
generalize in the end.

So, this new iteration is back to a simpler approach:

 * We have new options in Config.in.arm to configure the page
   size. Only 4 KB and 64 KB are supported, because our testing in
   Qemu and real hardware has not allowed to get a successful setup
   for 16 KB pages. We can always re-add support for 16 KB later if
   that is resolved.

 * The logic to define the ARCH_TOOLCHAIN_WRAPPER_OPTS options is
   moved from the ARC-specific file to arch/arch.mk, and extended to
   cover ARM64.

 * The appropriate logic in uclibc.mk and linux.mk is added to tweak
   the relevant configuration options.

 * A test case is added in the runtime test infrastructure to test
   building and booting under Qemu a 64 KB configuration, with all 3 C
   libraries.

For the regular configuration of 4 KB pages, this commit makes one
functional change: on ARM64, -Wl,-z,max-page-size=4096 is now passed in
the compiler flags of the wrapper.

[1] https://patchwork.ozlabs.org/project/buildroot/list/?series=275452

Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agopackage/uclibc: define BR2_UCLIBC_TARGET_ARCH for ARM64
Thomas Petazzoni [Tue, 26 Jul 2022 13:12:47 +0000 (15:12 +0200)]
package/uclibc: define BR2_UCLIBC_TARGET_ARCH for ARM64

So far, BR2_UCLIBC_TARGET_ARCH had a value for all
architectures... except for ARM64. Its value is passed as ARCH= when
building uClibc... which is currently empty:

/usr/bin/make -j33 -C .../build/uclibc-1.0.41 ARCH="" CROSS_COMPILE=".../host/bin/aarch64-buildroot-linux-uclibc-"

And also in uclibc.mk, when we inject the architecture in uClibc's
.config:

        $(call KCONFIG_ENABLE_OPT,TARGET_$(UCLIBC_TARGET_ARCH))
        $(call KCONFIG_SET_OPT,TARGET_ARCH,"$(UCLIBC_TARGET_ARCH)")

We enable TARGET_ (which doesn't exist) and set TARGET_ARCH to the
empty string.

Nobody noticed so far, and it happens to work because aarch64 is the
first architecture in the choice of architectures in
extra/Configs/Config.in in the uClibc code. So, when the architecture
is not specified, aarch64 is used.

As we are about to add some logic in uclibc.mk that will use
BR2_UCLIBC_TARGET_ARCH, we noticed this missing definition.

Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agosupport/misc/toolchainfile.cmake.in: add definitions needed by Qt6
Thomas Petazzoni [Mon, 25 Jul 2022 15:25:21 +0000 (17:25 +0200)]
support/misc/toolchainfile.cmake.in: add definitions needed by Qt6

When compiling Qt6 applications for the target, CMake needs to have
two variables defined to find the host installation of Qt. These two
variables are unconditionally defined, regardless of whether Qt6 is
enabled in the configuration or not, as they do no harm when Qt6 is
not present/used.

Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agopackage/qt6/qt6base: new package
Thomas Petazzoni [Mon, 25 Jul 2022 15:25:20 +0000 (17:25 +0200)]
package/qt6/qt6base: new package

This commit proposes a very minimal package for qt6base. It only
supports building QtCore, so it *really* is minimal. But that's a
starting point, which we can progressively build on top. It is based
on initial work from Peter Seiderer.

This minimal QtCore build is however sufficient to build and run
simple non-graphical Qt applications.

A number of comments:

 - Even though there's only qt6base for now, many other qt6 modules
   will come later on, which is why we're using the same structure as
   for qt5, with a subdir for package/qt6/

 - Qt6 is mutually exclusive with Qt5. Even though the library names
   on the target and the location of the header files are distinct,
   the host tools (qmake, moc and al.) have the same name, so at least
   for now, we make them mutually exclusive.

 - We've chosen to use non-bundled libraries for zlib, bb2,
   double-conversion and pcre2, for both the target and the host
   qt6base packages.

 - Contrary to qt5 where the target package was building the host
   tools, now we have a host qt6base package building the host tools,
   and which is needed as a dependency for the target qt6base package.

 - qt6base is using CMake. However, it strongly recommends to use
   Ninja as a backend instead of make, a recommendation that we follow
   in this commit. Since we don't have support for Ninja in the
   cmake-package infrastructure (yet), we do this manually in
   qt6base.mk itself, by passing -Gninja to CMake at configure time,
   and then by using cmake --build at build time and cmake --install
   at install time, using explicitly provided build and install
   commands. Hopefully these can go away once we have support for
   Ninja directly in cmake-package.

 - We disable a number of features or external libraries using FEATURE
   options. However, because there are over 400 FEATURE options in
   qt6base, we didn't go all the way to explicitly disabling *all* of
   them (which would be needed for both the host and target
   packages). We expect that this list of explicit FEATURE options
   disabling will need to grow based on the feedback of users and
   issues encountered.

Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agopackage/pcre2: add pcre2-16 to the host variant
Thomas Petazzoni [Mon, 25 Jul 2022 15:25:19 +0000 (17:25 +0200)]
package/pcre2: add pcre2-16 to the host variant

This will be needed by qt6base, and it is not worth creating a hidden
host package option for this.

Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agopackage/libb2: new package
Peter Seiderer [Mon, 25 Jul 2022 15:25:18 +0000 (17:25 +0200)]
package/libb2: new package

Both the target and host variants of this package will be needed for
qt6base.

Signed-off-by: Peter Seiderer <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agopackage/double-conversion: new package
Peter Seiderer [Mon, 25 Jul 2022 15:25:17 +0000 (17:25 +0200)]
package/double-conversion: new package

Both the target and host variants of this package will be needed by
qt6base.

Our reading of double-conversion/utils.h in the code base seems to
show that all architectures currently supported in Buildroot (to the
exception of csky, which we intend to remove, and is anyway not
usable/testable today) are supported by double-conversion.

Signed-off-by: Peter Seiderer <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agoboot/arm-trusted-firmware: allow enabling without uboot or edk2
Christian Stewart [Tue, 17 May 2022 10:19:12 +0000 (03:19 -0700)]
boot/arm-trusted-firmware: allow enabling without uboot or edk2

It should be possible to compile ARM_TRUSTED_FIRMWARE without u-boot or EDK2.
For example, one might want to produce "bl31.bin" for use as an init stub for
the Raspberry Pi 4.

Signed-off-by: Christian Stewart <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/janus-gateway: bump to version 1.0.3
Fabrice Fontaine [Tue, 26 Jul 2022 17:32:35 +0000 (19:32 +0200)]
package/janus-gateway: bump to version 1.0.3

- Rebased second patch
- Drop third and fourth patches (already in version)
- duktape is an optional dependency since version 1.0.0 and
  https://github.com/meetecho/janus-gateway/commit/fab4215b7826638660eba2147bb772dd57fed10c
- gengetopt is not a dependency since version 1.0.1 and
  https://github.com/meetecho/janus-gateway/commit/c21500c02e93e4b08c5242d0f0066d26ffc9f1a9

https://github.com/meetecho/janus-gateway/blob/v1.0.1/CHANGELOG.md

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/freeradius-server: add CPE variables
Fabrice Fontaine [Tue, 26 Jul 2022 20:00:29 +0000 (22:00 +0200)]
package/freeradius-server: add CPE variables

cpe:2.3:a:freeradius:freeradius is a valid CPE identifier for this
package:

  https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Afreeradius%3Afreeradius

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/bird: bump to 2.0.10
Arnout Vandecappelle (Essensium/Mind) [Mon, 25 Jul 2022 17:50:52 +0000 (19:50 +0200)]
package/bird: bump to 2.0.10

While we're at it, update URL to https instead of ftp.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/fscryptctl: fix build with gcc 4.8
Fabrice Fontaine [Tue, 26 Jul 2022 19:52:48 +0000 (21:52 +0200)]
package/fscryptctl: fix build with gcc 4.8

Fix the following build failure with gcc 4.8 raised since bump to
version 1.0.0 in commit ib832f6eb9d86920907c50901a99f13b44dd94647 and
https://github.com/google/fscryptctl/commit/9dba7224cbde07df25ba01146a2f6fb897bb9e56:

fscryptctl.c: In function 'string_to_mode':
fscryptctl.c:214:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for (size_t i = 0; i < ARRAY_SIZE(mode_strings); i++) {
   ^

Fixes:
 - http://autobuild.buildroot.org/results/58e8facd9105dcdfbc21ed245de03f3162c98cc9

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/iproute2: bump version to 5.18.0
Petr Vorel [Tue, 26 Jul 2022 19:41:29 +0000 (21:41 +0200)]
package/iproute2: bump version to 5.18.0

Signed-off-by: Petr Vorel <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/gcc: remove BR2_GCC_ENABLE_LTO
Arnout Vandecappelle (Essensium/Mind) [Mon, 25 Jul 2022 15:22:29 +0000 (17:22 +0200)]
package/gcc: remove BR2_GCC_ENABLE_LTO

Currently, this option doesn't do anything. It only adds
--enable-plugins --enable-lto to the configure flags, but doesn't
disable them if it is not set. Since both of these default to enabled,
plugins and lto are effectively always enabled.

There really is no need to make this configurable: it adds a bit of size
and build time to host-gcc, but we don't care about that for host tools.
It's still up to individual builds to enable the LTO options.

Therefore, remove the option entirely. For clarity, explicitly pass
--enable-plugins --enable-lto to configure.

No legacy handling is added for the removed option. Since the behaviour
hasn't actually changed (independently of whether the option was enabled
or not), there's no point bothering the user with a legacy option.

elf2flt was linking with libdl depending on this option. Since the
option doesn't do anything, this is probably not needed. Still, to avoid
breaking things, and because linking with libdl doesn't cost us anything
anyway, always link with libdl.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/binutils: remove BR2_BINUTILS_ENABLE_LTO
Arnout Vandecappelle (Essensium/Mind) [Mon, 25 Jul 2022 15:22:28 +0000 (17:22 +0200)]
package/binutils: remove BR2_BINUTILS_ENABLE_LTO

Currently, this option doesn't do anything. It only adds
--enable-plugins --enable-lto to the configure flags, but doesn't
disable them if it is not set. Since both of these default to enabled,
plugins and lto are effectively always enabled.

There really is no need to make this configurable: it adds a bit of size
and build time to host-binutils, but we don't care about that for host
tools. It's still up to individual builds to enable the LTO options.

Therefore, remove the option entirely. For clarity, explicitly pass
--enable-plugins --enable-lto to configure.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agoconfigs/*: use BR2_ENABLE_LTO to enable LTO instead of BR2_GCC_ENABLE_LTO
Arnout Vandecappelle (Essensium/Mind) [Mon, 25 Jul 2022 15:22:27 +0000 (17:22 +0200)]
configs/*: use BR2_ENABLE_LTO to enable LTO instead of BR2_GCC_ENABLE_LTO

BR2_GCC_ENABLE_LTO only enables LTO in the toolchain, not in packages.
Use BR2_ENABLE_LTO instead to enable it in packages as well.

Note that BR2_GCC_ENABLE_LTO is currently non-functional (LTO is still
enabled in the toolchain even if it's not set), so we *do* have LTO
available in the toolchain.

Note that the option has no effect at all on these defconfigs anyway,
since they don't contain any package that is affected by the
BR2_ENABLE_LTO option. Still, it makes sense to enable it for these
really memory-constrained targets for when packages are added.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/*: use BR2_ENABLE_LTO to enable LTO instead of BR2_GCC_ENABLE_LTO
Arnout Vandecappelle (Essensium/Mind) [Mon, 25 Jul 2022 15:22:26 +0000 (17:22 +0200)]
package/*: use BR2_ENABLE_LTO to enable LTO instead of BR2_GCC_ENABLE_LTO

The BR2_GCC_ENABLE_LTO controls whether or not LTO is available in the
(internal) toolchain - it shouldn't be used to control whether packages
are built with LTO. Use the new BR2_ENABLE_LTO option instead.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agoConfig.in: add new option BR2_ENABLE_LTO to globally enable LTO
Arnout Vandecappelle (Essensium/Mind) [Mon, 25 Jul 2022 15:22:25 +0000 (17:22 +0200)]
Config.in: add new option BR2_ENABLE_LTO to globally enable LTO

Some packages have a configure option to enable LTO. Add a global option
to enable/disable this in packages.

Note that we could instead (or in addition) pass -flto directly to the
compiler in the toolchain wrapper, but that has a *much* bigger impact,
so for the time being let's not do that.

No toolchain dependency is added for this, because all toolchains now
support LTO.
- LTO support was merged in GCC years before 4.6 (our minimal version)
  was released.
- Our oldest external toolchain, Sourcery ARM 2014.05, has LTO support.
- For our internal toolchains, it is supposedly regulated by
  BR2_GCC_ENABLE_LTO. However, that option only *enables* it - it
  doesn't disable LTO support when it's not provided. Since LTO support
  defaults to enabled for a long time already in GCC, in practice all
  Buildroot-generated toolchains do support LTO.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/ntpsec: needs host-bison
Fabrice Fontaine [Tue, 26 Jul 2022 17:36:05 +0000 (19:36 +0200)]
package/ntpsec: needs host-bison

ntpsec needs host-bison to avoid the following build failure raised
since the addition of the package in commit
27b8d0ba8c4004819e092fb81c0f64f284b3aa4a:

Could not find the program ['bison']

Fixes:
 - http://autobuild.buildroot.org/results/3bb44312200122334b959dc48dd02fd591ab9949

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/gnuradio: use external volk instead of the internal one
Gwenhael Goavec-Merou [Tue, 8 Feb 2022 16:24:09 +0000 (17:24 +0100)]
package/gnuradio: use external volk instead of the internal one

Until recent releases GNURadio was shipped with volk as a
submodule. Even though we still use 3.8.x, with the newer 3.9 and
3.10, volk is no longer available as a submodule, and it is needed to
build it separately.

In order to prepare for this, this patch disable the internal volk,
and adds a dependency to the corresponding package, to use
unconditionnaly the one built by Buildroot.

Signed-off-by: Gwenhael Goavec-Merou <[email protected]>
Reviewed-by: Romain Naour <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/volk: new package
Gwenhael Goavec-Merou [Tue, 8 Feb 2022 16:24:08 +0000 (17:24 +0100)]
package/volk: new package

VOLK is the Vector-Optimized Library of Kernels

Signed-off-by: Gwenhael Goavec-Merou <[email protected]>
Reviewed-by: Romain Naour <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/freeradius-server: new package
David GOUARIN [Tue, 4 Jan 2022 21:55:41 +0000 (15:55 -0600)]
package/freeradius-server: new package

FreeRADIUS is an open source server which implements
a protocol for remote user Authorization, Authentication
and Accounting.

There are many modules. All modules without dependencies are enabled.
The modules with a dependency that we have are automatically enabled if
the dependency is enabled. Modules with dependencies we don't support
are explicitly disabled.

The configure script always looks in host directories for libraries, so
it is essential to explicitly disable everything that is not actually
provided.

Signed-off-by: David GOUARIN <[email protected]>
Signed-off-by: Kalpesh Panchal <[email protected]>
Signed-off-by: Matt Weber <[email protected]>
[Arnout:
 - remove second patch, superseded by other patches;
 - add upstream links to patches;
 - add more patches to avoid looking in host directories;
 - explicitly add dependency on !static inherited from talloc (redundant
   with glibc, but future-safe);
 - simplify Config.in comment;
 - check hash with PGP signature;
 - add conf opts for runtime paths;
 - add conf opts to disable unsupported modules;
 - add more optional dependencies;
 - enable/disable all modules that use a dependency;
 - search defaults file in /etc/default, not /etc/sysconfig.
]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agopackage/gcc: disable split-stack for non-thread builds for gcc powerpc spe
Romain Naour [Mon, 25 Jul 2022 12:51:47 +0000 (14:51 +0200)]
package/gcc: disable split-stack for non-thread builds for gcc powerpc spe

The toolchain for powerpc spe can use uClibc-ng without thread support.
So we need the same fix as commit [1].

[1] fff68f75b3519cadb2639fde2296b26db919d79d

Signed-off-by: Romain Naour <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/mesa3d-headers: bring back the installation of dri.pc
Vincent Fazio [Tue, 26 Jul 2022 15:15:36 +0000 (10:15 -0500)]
package/mesa3d-headers: bring back the installation of dri.pc

With the version bump to 22.x, the dri.pc file was no longer deployed as
it was believed to not be provided.

While it was temporarily missing from upstream as part of deprecating
the classic driver, it was reintroduced prior to the 22.0 release via:
  https://gitlab.freedesktop.org/mesa/mesa/-/commit/3ae3569d822c2546c4c748090f8a6c8016f763ea

This file is still necessary to build Xorg server. See previous commits:
  9014c21cac
  7468b60e7c

Fixes: 6c25d1099 ("package/{mesa3d, mesa3d-headers}: bump version to 22.1.3")
Signed-off-by: Vincent Fazio <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/pppd: fix build with libressl
Fabrice Fontaine [Mon, 25 Jul 2022 14:58:36 +0000 (16:58 +0200)]
package/pppd: fix build with libressl

Fix the following build failure with libressl:

eap-tls.c: In function 'ssl_msg_callback':
eap-tls.c:1284:10: error: 'SSL3_RT_HEADER' undeclared (first use in this function); did you mean 'SSL3_RT_ALERT'?
 1284 |     case SSL3_RT_HEADER:
      |          ^~~~~~~~~~~~~~
      |          SSL3_RT_ALERT

Fixes:
 - http://autobuild.buildroot.org/results/7d721833bddf73531fa03b0a626511af6826d0df

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/sg3_utils: fix build failure due to gcc bug 104028
Giulio Benetti [Fri, 14 Jan 2022 10:55:11 +0000 (11:55 +0100)]
package/sg3_utils: fix build failure due to gcc bug 104028

The sg3_utils package exhibits gcc bug 104028 when built for the M68K
architecture with optimization enabled, which causes a build failure.

As done for other packages in Buildroot work around this gcc bug by
setting optimization to -O0 if BR2_TOOLCHAIN_HAS_GCC_BUG_104028=y like we
already do for BR2_TOOLCHAIN_HAS_GCC_BUG_85180=y.

Fixes:
http://autobuild.buildroot.net/results/c49300d12a209b18f41d389f092324592b881277/

Signed-off-by: Giulio Benetti <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agotoolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_104028
Giulio Benetti [Fri, 14 Jan 2022 10:55:10 +0000 (11:55 +0100)]
toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_104028

sg3_utils package fails to build for the M68K architecture with optimization
enabled with gcc = 10.3.0 and it's still present in gcc = 11.1.0:
http://autobuild.buildroot.net/results/c49300d12a209b18f41d389f092324592b881277/

It's been reported upstream:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104028

Signed-off-by: Giulio Benetti <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agoarch/Config.in: BR2_BINFMT_FLAT remove architecture dependencies
Romain Naour [Tue, 26 Jul 2022 14:47:37 +0000 (16:47 +0200)]
arch/Config.in: BR2_BINFMT_FLAT remove architecture dependencies

The commit [1] removed the Config.in.host file and moved the arm, sh,
sparc, xtensa and riscv-64 architectures dependencies.  But this list
doesn't contain all elf2flt supported architectures and this breaks
the host-gcc-initial build for m68k.

Since BR2_BINFMT_FLAT is only available on no MMU case, we can rely on
BR2_USE_MMU option and remove the architecture list.

Note: SH without MMU support has been removed by [2], sparc requires
an MMU since at least [3].

Fixes:

  http://autobuild.buildroot.net/results/15d62edfc4b54c0b40b9d3961b797bce4e307919/

[1] 9db5eb258cf492567bac33a33cb606f14045639d
[2] 04ea3d38dd76f4e96f4961143d674aff59b13d3f
[3] 29563047e074a7c0b73c9e6b629d08bac1e07cb5

Signed-off-by: Romain Naour <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/strongswan: add config option to enable bypass-lan plugin
Bert Schueszler [Wed, 11 May 2022 12:34:23 +0000 (14:34 +0200)]
package/strongswan: add config option to enable bypass-lan plugin

In case the user wants to use the bypass-lan plugin for libcharon, add
a configuration option.

Signed-off-by: Bert Schueszler <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agotoolchain/toolchain-buildroot, package/glibc: sync glibc dependency comments
Thomas Petazzoni [Tue, 26 Jul 2022 13:42:02 +0000 (15:42 +0200)]
toolchain/toolchain-buildroot, package/glibc: sync glibc dependency comments

In commit fd839aeb7f40596e60bc53a96b7a65892924cc26 ("package/glibc:
introduce and use BR2_PACKAGE_GLIBC_ARCH_SUPPORTS and
BR2_PACKAGE_GLIBC_SUPPORTS") we moved the Config.in logic about glibc
dependencies from toolchain/toolchain-buildroot/Config.in into
package/glibc/Config.in.

Unfortunately, it is not possible to move the Config.in comments that
tell the user, within the choice..endchoice for the C library why
glibc is not currently selectable, so we had to keep them in
toolchain/toolchain-buildroot/Config.in.

Turns out that the comments were out of sync with the dependencies,
and two comments were missing. This commit adds the missing ones, and
adds a comment in package/glibc/Config.in explaining that we need to
be careful about updating toolchain/toolchain-buildroot/Config.in as
well.

Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agoconfigs/kontron_bl_imx8mm_defconfig: bump U-Boot
Fabio Estevam [Thu, 21 Apr 2022 21:56:11 +0000 (18:56 -0300)]
configs/kontron_bl_imx8mm_defconfig: bump U-Boot

Bump U-Boot to version 2022.04 and remove the two patches
that have already been upstreamed.

Signed-off-by: Fabio Estevam <[email protected]>
Acked-By: Heiko Thiery <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/libseccomp: bump to version 2.5.4
Fabrice Fontaine [Tue, 26 Jul 2022 07:08:16 +0000 (09:08 +0200)]
package/libseccomp: bump to version 2.5.4

https://github.com/seccomp/libseccomp/releases/tag/v2.5.4

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/zeek: add ZEEK_CPE_ID_VENDOR
Fabrice Fontaine [Tue, 26 Jul 2022 07:03:21 +0000 (09:03 +0200)]
package/zeek: add ZEEK_CPE_ID_VENDOR

cpe:2.3:a:zeek:zeek is a valid CPE identifier for this package:

  https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Azeek%3Azeek

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/pulseaudio: fix build without C++
Fabrice Fontaine [Tue, 26 Jul 2022 06:59:59 +0000 (08:59 +0200)]
package/pulseaudio: fix build without C++

Fix the following build failure without C++ raised since bump to version
16.1 in commit 6f3131296484767f037d3535ab69f328e94351db:

../output-1/build/pulseaudio-16.1/meson.build:1:0: ERROR: Unknown compiler(s): [['/home/autobuild/autobuild/instance-1/output-1/per-package/pulseaudio/host/bin/powerpc64-buildroot-linux-gnu-g++']]
The following exception(s) were encountered:
Running "/home/autobuild/autobuild/instance-1/output-1/per-package/pulseaudio/host/bin/powerpc64-buildroot-linux-gnu-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-1/output-1/per-package/pulseaudio/host/bin/powerpc64-buildroot-linux-gnu-g++'"

Fixes:
 - http://autobuild.buildroot.org/results/6526a21bd4da3b8458188f27c1ec04c381e4b673

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/glibc: Config.in: fix typo
Christian Stewart [Tue, 26 Jul 2022 06:30:10 +0000 (23:30 -0700)]
package/glibc: Config.in: fix typo

compatibiltiy -> compatibility

Signed-off-by: Christian Stewart <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
2 years agopackage/avocado: fix license
Thomas Petazzoni [Tue, 26 Jul 2022 08:14:32 +0000 (10:14 +0200)]
package/avocado: fix license

In commit ef321ff4a90acf2133ee29d5fd2a65fc9906c748 ("package/avocado:
new package") the license information that was introduced was
incorrect. The license is GPL-2.0, not Apache-2.0.

According to the LICENSE file:

Most files in Avocado are released under the GPLv2 with a "and any later
version" clause (GPLv2+), but some files are explicitly bound to the
version 2 of the license and therefore that's the official license of
the project itself. The header on each individual file contains
information about the GPL version that applies to it.

Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/avocado: new package
José Pekkarinen [Fri, 10 Dec 2021 14:12:08 +0000 (16:12 +0200)]
package/avocado: new package

Signed-off-by: José Pekkarinen <[email protected]>
[Thomas: add test case, add missing dependencies]
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/python3: compile pyc verbosely when instructed
Vincent Fazio [Mon, 25 Jul 2022 20:08:18 +0000 (15:08 -0500)]
package/python3: compile pyc verbosely when instructed

Only display the output of compileall.py when running verbosely,
otherwise suppress all non-error output.

Signed-off-by: Vincent Fazio <[email protected]>
Signed-off-by: Vincent Fazio <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agopackage/pulseaudio: disable doxygen
Fabrice Fontaine [Mon, 25 Jul 2022 19:47:20 +0000 (21:47 +0200)]
package/pulseaudio: disable doxygen

Disable doxygen which is enabled by default since bump to version 16.1
in commit 6f3131296484767f037d3535ab69f328e94351db:

../output-1/build/pulseaudio-16.1/doxygen/meson.build:9:0: ERROR: Program 'doxygen' not found or not executable

Fixes:
 - http://autobuild.buildroot.org/results/127b87f97eb5517cd0a513289768a599081c15c9

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agopackage/opensc: requires RIPEMD160 in openssl
Fabrice Fontaine [Mon, 25 Jul 2022 19:32:51 +0000 (21:32 +0200)]
package/opensc: requires RIPEMD160 in openssl

Enable RIPEMD160 in openssl to avoid the following build failure raised
since the addition of the package in commit
8aaa7ecbce1d10cbcd880c3da5e429988f96176a:

/nvmedata/autobuild/instance-17/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: pkcs11_tool-pkcs11-tool.o: in function `sign_verify_openssl.constprop.0':
pkcs11-tool.c:(.text+0x6b00): undefined reference to `EVP_ripemd160'

Fixes:
 - http://autobuild.buildroot.org/results/6dc5baa2cfb037431b9ede9f2e0c5705957ee3bf

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agopackage/netifrc: bump to version 0.7.3
Fabrice Fontaine [Mon, 25 Jul 2022 19:11:25 +0000 (21:11 +0200)]
package/netifrc: bump to version 0.7.3

Update indentation in hash file (two spaces)

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agopackage/libostree: bump to version 2022.5
Marcus Folkesson [Mon, 25 Jul 2022 18:53:49 +0000 (20:53 +0200)]
package/libostree: bump to version 2022.5

Signed-off-by: Marcus Folkesson <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agopackage/python-pybind: bump version to 2.10.0
Guillaume W. Bres [Mon, 25 Jul 2022 18:29:18 +0000 (20:29 +0200)]
package/python-pybind: bump version to 2.10.0

Signed-off-by: Guillaume W. Bres <[email protected]>
[Arnout: don't remove original author from the patch]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agopackage/libnss: bump version to 3.81
Giulio Benetti [Mon, 25 Jul 2022 14:08:20 +0000 (16:08 +0200)]
package/libnss: bump version to 3.81

Signed-off-by: Giulio Benetti <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agopackage/nvidia-driver: bump version to 390.151
Vincent Fazio [Mon, 25 Jul 2022 13:25:52 +0000 (08:25 -0500)]
package/nvidia-driver: bump version to 390.151

Adds support for Linux kernel 5.17.

Signed-off-by: Vincent Fazio <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agopackage/opensc: add OPENSC_CPE_ID_VENDOR
Fabrice Fontaine [Mon, 25 Jul 2022 12:43:03 +0000 (14:43 +0200)]
package/opensc: add OPENSC_CPE_ID_VENDOR

cpe:2.3:a:opensc_project:opensc is a valid CPE identifier for this
package:

  https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Aopensc_project%3Aopensc

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agopackage/mpd: add io_uring optional dependency
Andreas Ziegler [Mon, 25 Jul 2022 12:30:02 +0000 (14:30 +0200)]
package/mpd: add io_uring optional dependency

Since version 0.22 mpd provides an option to use the io_uring kernel interface
for asynchronous access to local files. Buildroot has the necessary library
(package/liburing) since commit 03ca6f4e39874583060317e7e15e9e360220877e.

Add an optional dependency on liburing to enable asynchronous file access using
the kernel io_uring interface.

Signed-off-by: Andreas Ziegler <[email protected]>
Reviewed-by: Romain Naour <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agopackage/rtl8812au-aircrack-ng: bump to latest 4ab079
Christian Stewart [Mon, 25 Jul 2022 07:10:58 +0000 (00:10 -0700)]
package/rtl8812au-aircrack-ng: bump to latest 4ab079

Bump to the latest commit hash as of 2022-07-25.

Fixes the build against kernel 5.18.x and GCC 12 and ARM64.

Signed-off-by: Christian Stewart <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agopackage/beaglev-secondboot: bump to version e17302
Christian Stewart [Sun, 24 Jul 2022 23:52:09 +0000 (16:52 -0700)]
package/beaglev-secondboot: bump to version e17302

The filename was changed from bootloader-BEAGLEV to bootloader-JH7100, update
the documentation for the beaglev board as well.

Signed-off-by: Christian Stewart <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agoutils/check-package: improve shellcheck reproducibility
Ricardo Martincoski [Sun, 24 Jul 2022 05:48:58 +0000 (02:48 -0300)]
utils/check-package: improve shellcheck reproducibility

shellcheck is already in use to check SysV init scripts.
Currently its results can be affected by the existence of a
.shellcheckrc file in any parent directory.

For instance, in this example:
(1) /path/.shellcheckrc
(2) /path/to/.shellcheckrc
(3) /path/to/buildroot
the configs from file (1) are ignored and the configs from file (2)
override the default values from the shellcheck binary.
So the config file affects the check-package result for SysV scripts.

Avoid this reproducibility issue by adding an empty config file to the
buildroot topdir.

It can also eventually contain configs (different from default values
from sheelcheck) that we want as a standard to all shell scripts tested
by check-package.

Signed-off-by: Ricardo Martincoski <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agoDEVELOPERS: update entries for Ricardo Martincoski
Ricardo Martincoski [Sun, 24 Jul 2022 05:48:57 +0000 (02:48 -0300)]
DEVELOPERS: update entries for Ricardo Martincoski

Signed-off-by: Ricardo Martincoski <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agopackage/zeek: new package
Fabrice Fontaine [Fri, 7 Jan 2022 21:52:30 +0000 (22:52 +0100)]
package/zeek: new package

The Zeek Network Security Monitor

Zeek is a powerful network analysis framework that is much different
from the typical IDS you may know. (Zeek is the new name for the
long-established Bro system.)

Signed-off-by: Fabrice Fontaine <[email protected]>
[Arnout:
 - select python3 instead of depends;
 - patch python path in post-patch instead of post-install]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agopackage/libpcap: add host variant
Fabrice Fontaine [Fri, 7 Jan 2022 21:52:29 +0000 (22:52 +0100)]
package/libpcap: add host variant

host-libpcap is needed to build host-zeek. It is not actually used for
anything, so we can disable all features.

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agopackage/beaglev-ddrinit: update to latest 8d6318
Christian Stewart [Sun, 24 Jul 2022 23:51:38 +0000 (16:51 -0700)]
package/beaglev-ddrinit: update to latest 8d6318

Update to latest "master" version:

8d6318acfe71e790c983b34448c9abfcfcec3ed8

Signed-off-by: Christian Stewart <[email protected]>
2 years agopackage/bird: fix build with autoconf >= 2.70
Fabrice Fontaine [Fri, 5 Nov 2021 20:12:57 +0000 (21:12 +0100)]
package/bird: fix build with autoconf >= 2.70

Fix the following build failure raised since bump of autoconf to version
2.71 in commit ecd54b65c1f998a7ccd91f7c523e4ff38c4781da:

checking for glob.h... no
configure: error: glob.h not found.

configure:5207: checking for glob.h
configure:5230: /data/buildroot-autobuilder/instance-0/output-1/host/bin/mips64el-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os -g0  -pthread -fno-strict-aliasing -fno-strict-overflow -flto -Wall -Wextra -Wstrict-prototypes -Wno-parentheses -Wno-pointer-sign -Wno-missing-field-initializers -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pthread -flto=4 -g conftest.c  >&5
/data/buildroot-autobuilder/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips64el-buildroot-linux-uclibc/8.4.0/../../../../mips64el-buildroot-linux-uclibc/bin/ld: /tmp/ccDboxph.ltrans0.ltrans.o:(.debug_info+0x2a): undefined reference to `conftest.c.0943dc99'
/data/buildroot-autobuilder/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips64el-buildroot-linux-uclibc/8.4.0/../../../../mips64el-buildroot-linux-uclibc/bin/ld: /tmp/ccDboxph.ltrans0.ltrans.o:(.debug_info+0x2f): undefined reference to `conftest.c.0943dc99'

This is the same problem that we tried to fix in
03c148c8dec4e8c3fa13fcde4a730b3ab97f3f10 by adding AUTORECONF = YES.

The analysis made back then is probably not entirely correct - the issue
only seems to occur with GCC8, not with any earlier or later version,
which hints at a compiler bug. Since the error involves some
LTO-generated functions, the trigger is probably the -flto=4.

Whatever the exact issue is, it is avoided if we make sure that our
CFLAGS replace the default ones instead of being added to them.
Currently, they are added because the configure script doesn't properly
detect that CFLAGS was set.

Add a patch (sent upstream months ago, but it didn't appear in the
release that has been done since then) that makes sure CFLAGS is
properly detected.

Fixes:
 - http://autobuild.buildroot.org/results/d7aab7df196e0f6d6389b87ff29da7c2971e6b6d

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agosupport/scripts/pkg-stats: tweak infras field when running with -c
Heiko Thiery [Thu, 24 Jun 2021 12:57:03 +0000 (14:57 +0200)]
support/scripts/pkg-stats: tweak infras field when running with -c

When we use the statistics output to generate a CVE/CPE customer
report showing whether a product is affected by CVEs, we are primarily
interested in whether they are relevant to the target
system. Currently we cannot see if the package is configured for the
build (infra==host) and/or the target system (infra==target).

Therefore this commit extends the pkg-stats script to leverage the
information available in "make show-info" output to tweak the list of
package infrastructures for each package. Thanks to this commit, the
script now has a more consistent behavior:

 * When pkg-stats is run without -c, i.e without a defined Buildroot
   configuration, it continues to operate as it did, i.e it lists all
   package infrastructures supported by the package (such as autotools
   host+target, or kconfig target, etc.)

 * When pkg-stats is run with -c, i.e with a defined Buildroot
   configuration which defines the list of packages that should be
   considered, then for each package it now lists only the package
   infrastructures used by the package in that current
   configuration. For example if you have a package with a host and
   target variant, but only the host variant is used in your
   configuration, now the pkg-stats output will only say that the host
   variant of this package is used;

Signed-off-by: Heiko Thiery <[email protected]>
[Thomas: pretty much rework the entire implementation and how the
result is presented.]
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/vis-network: new package
Johan Oudinet [Mon, 25 Oct 2021 09:16:38 +0000 (11:16 +0200)]
package/vis-network: new package

Signed-off-by: Johan Oudinet <[email protected]>
[Arnout:
 - alphabetically order DEVELOPERS;
 - license is OR, not AND]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agopackage/luasyslog: fix build when host root directory is /usr
Fabrice Fontaine [Sat, 4 Sep 2021 15:37:35 +0000 (17:37 +0200)]
package/luasyslog: fix build when host root directory is /usr

Fix the following build failure when host root directory is /usr which
is raised since bump to version 2.2.0 in commit
caa32ac237909999eb6e0bd3616ef4440190970a:

 /usr/bin/install -c -m 644 syslog.lua '/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/target/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/usr/share/lua/5.3/logging'
libtool: install: /usr/bin/install -c .libs/lsyslog.so /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/target/usr/lib/lua/5.3/lsyslog.so
libtool: install: /usr/bin/install -c .libs/lsyslog.lai /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/target/usr/lib/lua/5.3/lsyslog.la
libtool: warning: remember to run 'libtool --finish /usr/lib/lua/5.3'
/usr/bin/make  install-exec-hook
make[3]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/luasyslog-2.2.0'
rm -f /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/target/usr/lib/lua/5.3/lsyslog.la
make[3]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/luasyslog-2.2.0'
make[2]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/luasyslog-2.2.0'
make[1]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/luasyslog-2.2.0'
luasyslog: installs files in /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/target//usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1

This failure is raised because lua script directory is "found" and
"fixed" to
${prefix}/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/usr/share/lua/5.3
because of the following test in ax_lua.m4:

       dnl Try to find a path with the prefix.
        _AX_LUA_FND_PRFX_PTH([$LUA], [$ax_lua_prefix], [package.path])
        AS_IF([test "x$ax_lua_prefixed_path" != 'x'],
        [ dnl Fix the prefix.
          _ax_strip_prefix=`echo "$ax_lua_prefix" | sed 's|.|.|g'`
          ax_cv_lua_luadir=`echo "$ax_lua_prefixed_path" | \
            sed "s,^$_ax_strip_prefix,$LUA_PREFIX,"`
        ])

Fixes:
 - http://autobuild.buildroot.org/results/09fa6dd9844d6d4694801ec59434dad7a56bf290

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agopackage/pkg-utils: prevent KCONFIG_ENABLE_OPT from changing =m to =y
TIAN Yuanhao [Mon, 25 Jul 2022 12:09:27 +0000 (05:09 -0700)]
package/pkg-utils: prevent KCONFIG_ENABLE_OPT from changing =m to =y

The KCONFIG_ENABLE_OPT is intended to enable a required kernel configuration
option when a package requires it.

However, this will often override an existing enabled module with `=m` with `=y`
which overrides the module to be built-in instead of separate.

This is undesirable behavior; we often want these as `=m` and not `=y` to reduce
the size of the kernel image.

This patch changes KCONFIG_MUNGE_DOT_CONFIG to prevent changing `=m` to `=y`.

Signed-off-by: Christian Stewart <[email protected]>
Co-authored-by: TIAN Yuanhao <[email protected]>
Cc: Yann E. MORIN <[email protected]>
Cc: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
[[email protected]:
  - drop  || exit 1, it is superfluous
  - don't change the match in the SED (just append &&)
]
Signed-off-by: Yann E. MORIN <[email protected]>
2 years agopackage/rpi-userland: add GLint64, GLuint64 and GLsync typedefs to GLES2/gl2ext.h
Peter Seiderer [Mon, 10 May 2021 19:53:52 +0000 (21:53 +0200)]
package/rpi-userland: add GLint64, GLuint64 and GLsync typedefs to GLES2/gl2ext.h

Fixes:

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

.../host/arm-linucleus-linux-gnueabihf/sysroot/usr/include/gstreamer-1.0/gst/gl/glprototypes/gstgl_compat.h:40:18: error: conflicting declaration ‘typedef void* GLsync’
   40 | typedef gpointer GLsync;
      |                  ^~~~~~

.../host/arm-linucleus-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qopengles2ext.h:24:26: note: previous declaration as ‘typedef struct __GLsync* GLsync’
   24 | typedef struct __GLsync *GLsync;
      |                          ^~~~~~

File gstgl_compat.h:

 39 #if !GST_GL_HAVE_GLSYNC
 40 typedef gpointer GLsync;
 41 #endif

File qopengles2ext.h:

   1 #ifndef __gles2_gl2ext_h_
   2 #define __gles2_gl2ext_h_ 1
   3
   4 #if 0
   5 #pragma qt_no_master_include
   6 #pragma qt_sync_skip_header_check
   7 #pragma qt_sync_stop_processing
   8 #endif
   9
  10 #ifdef __cplusplus
  11 extern "C" {
  12 #endif
  13
  14 #ifndef __gl3_h_
  15 /* These types are defined with reference to <inttypes.h>
  16  * in the Apple extension spec, but here we use the Khronos
  17  * portable types in khrplatform.h, and assume those types
  18  * are always defined.
  19  * If any other extensions using these types are defined,
  20  * the typedefs must move out of this block and be shared.
  21  */
  22 typedef khronos_int64_t GLint64;
  23 typedef khronos_uint64_t GLuint64;
  24 typedef struct __GLsync *GLsync;
  25 #endif

The problem is that rpi-userland doesn't define GLsync, and both
GStreamer and Qt have their own definition of GLsync in this case, but
they are not the same.

We reported this issue to:

 * rpi-userland, to get the headers updated:
   https://github.com/raspberrypi/userland/issues/469#issuecomment-1193864294

 * gstreamer, to get their bogus definition of GLsync fixed:
   https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/973

In the mean time, fix this by adding the missing definitions to
rpi-userland, so that GStreamer and Qt don't try to provide their own.

Signed-off-by: Peter Seiderer <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/gcc: disable split-stack for non-thread builds
Romain Naour [Mon, 25 Jul 2022 09:44:56 +0000 (11:44 +0200)]
package/gcc: disable split-stack for non-thread builds

Since commit [1], the autobuilder script generates fully random
configurations that can trigger configurations that were not tested
before.

Here, the toolchain build with uClibc-ng without threads support
(BR2_PTHREADS_NONE=y) fails to build due to a missing pthread.h
header:

../../../libgcc/generic-morestack-thread.c:42:10: fatal error: pthread.h: No such file or directory
   42 | #include <pthread.h>

This issue was actually fixed by this commit [2] adding a patch for
gcc 4.8, 4.9, 5.3. But it get lost when gcc 6 was added to Buildroot [3].

Since then the issue was present in Buildroot but has not been noticed.

[1] https://git.buildroot.net/buildroot-test/commit/?id=27b18dcb1686a98ce718b6a816e98f8505957a6c
[2] 2631219f648f4aa13fa36d06a483e4507cb6f3d7
[3] 519d83bfa0442439026db4e71e605a5c1347e566

Fixes:
http://autobuild.buildroot.org/results/5ec/5ec9eefacd27ef4fa73066013188796b43a30428
https://bugs.busybox.net/show_bug.cgi?id=8766

Signed-off-by: Romain Naour <[email protected]>
Cc: Waldemar Brodkorb <[email protected]>
Cc: Thomas Petazzoni <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/brcmfmac_sdio-firmware-rpi: support riscv architecture
Christian Stewart [Sun, 24 Jul 2022 23:50:23 +0000 (16:50 -0700)]
package/brcmfmac_sdio-firmware-rpi: support riscv architecture

These firmware files are also applicable to some Riscv hosts.

Simply remove the architecture dependency. The intention was to only
show it for RaspberryPi, but that's half-baked anyway.

Signed-off-by: Christian Stewart <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agopackage/glibc: fix struct stat for microblaze with largefile
Arnout Vandecappelle (Essensium/Mind) [Mon, 25 Jul 2022 10:02:16 +0000 (12:02 +0200)]
package/glibc: fix struct stat for microblaze with largefile

On microblaze, there is a separate version of struct stat for largefile
and for non-largefile. When the struct was updated to include the
st_mtim, st_atim and st_ctim members for POSIX, the largefile version
was forgotten. Since we only use largefile in Buildroot, that means that
microblaze didn't have these members in struct stat. This breaks the
build of some packages.

Change the define around st_mtim etc. to __USE_XOPEN2K8 to enable it in
posix context (i.e. by default).

Fixes:
 - http://autobuild.buildroot.org/results/dd944a3bd4ac0c94b2bec8ac209100daaf43903d (zstd)
 - http://autobuild.buildroot.org/results/4609c8e2af24d9536eb33397a4659ad740aca742 (dieharder)

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
Cc: Fabrice Fontaine <[email protected]>
Cc: Romain Naour <[email protected]>
Reviewed-by: Romain Naour <[email protected]>
2 years agopackage/runc: add host package
Christian Stewart [Mon, 25 Jul 2022 00:24:14 +0000 (17:24 -0700)]
package/runc: add host package

Signed-off-by: Christian Stewart <[email protected]>
[[email protected]:
  - drop unneeded _BIN_NAME and _INSTALL_BINS
  - s/OCP/OCI/
]
Signed-off-by: Yann E. MORIN <[email protected]>
2 years agopackage/runc: fix typo: OCP to OCI specification
Christian Stewart [Mon, 25 Jul 2022 00:17:36 +0000 (17:17 -0700)]
package/runc: fix typo: OCP to OCI specification

The Config.in has a typo: "OCP specification"

It should be OCI for Open Container Initiative.

https://opencontainers.org/

Signed-off-by: Christian Stewart <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
2 years agopackage/hawktracer: new package
Gilles Talis [Sun, 24 Oct 2021 11:36:26 +0000 (13:36 +0200)]
package/hawktracer: new package

HawkTracer is a highly portable, low-overhead, configurable profiling
tool

Signed-off-by: Gilles Talis <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/patchelf: bump to version 0.13
Fabrice Fontaine [Sun, 12 Sep 2021 08:45:40 +0000 (10:45 +0200)]
package/patchelf: bump to version 0.13

Update third patch (and renumber it) and drop other ones as they are
upstream:

* 0001-Remove-apparently-incorrect-usage-of-static.patch
  a365bcb7d7025da51b33165ef7ebc7180199a05e

* 0002-Extract-a-function-for-splitting-a-colon-separated-s.patch
  2e3fdc2030c75c19df6fc2924083cfad53856562

* 0004-patchelf-Check-ELF-endianness-before-writing-new-run.patch
  e88d83c8b4e42a3358a90b781a5a98efa279ff15

* 0005-Avoid-inflating-file-sizes-needlessly-and-allow-bina.patch
  c4deb5e9e1ce9c98a48e0d5bb37d87739b8cfee4

* 0006-Fix-shared-library-corruption-when-rerunning-patchel.patch
  ad5f1f078b716802dfb8f7226cb1d5c720348a78

* 0007-fix-adjusting-startPage.patch
  1cc234fea5600190d872329aca60e2365cefc39e

* 0008-Use-sh_offset-instead-of-sh_addr-when-checking-alrea.patch
  83aa89addf8757e2d63aa73222f2fa9bc6d7321a

* 0009-Fix-issue-66-by-ignoring-the-first-section-header-wh.patch
  52ab908394958a2a5d0476e306e2cad4da4fdeae

* 0010-Fix-endianness-issues-for-powerpc-PIE.patch
  884eccc4f061a3dbdbe63a4c73f1cc9bbf77fa7d

Update indentation in hash file (two spaces)

Fixes:
 - https://bugs.buildroot.org/show_bug.cgi?id=14191

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/qt5/qt5doc: add package with qt quick demos
Goran Rađenović [Wed, 17 Feb 2021 16:09:58 +0000 (17:09 +0100)]
package/qt5/qt5doc: add package with qt quick demos

Since qt 5.12, quick demos are moved in the qt5doc package.
In order to use quick demos, qt5doc has to be built.
qt5doc is a bit misleading name for the package, while it's
basic content are the quick demos. qdoc tool itself is a part
of qt5tools.

The examples need to be enabled for this package to do anything (because
we don't build the docs themselves), so select it

Signed-off-by: Goran Rađenović <[email protected]>
[Arnout:
 - fix check-package warnings;
 - update to Jan 31 2022 version of kde/5.15 branch;
 - add select of BR2_PACKAGE_QT5BASE_EXAMPLES;
 - add hash for license file]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agopackage/gstreamer1/gstd: fix static build
Fabrice Fontaine [Fri, 22 Oct 2021 06:13:13 +0000 (08:13 +0200)]
package/gstreamer1/gstd: fix static build

Fix the following static build failure raised since the addition of the
package in commit 02ea01ea22e94ef353a638bf16f62f6e3ed1208e:

/home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/i586-buildroot-linux-musl/9.3.0/../../../../i586-buildroot-linux-musl/bin/ld: /home/buildroot/autobuild/instance-1/output-1/host/i586-buildroot-linux-musl/sysroot/usr/lib/libreadline.a(display.o): in function `_rl_move_cursor_relative':
display.c:(.text+0xbb5): undefined reference to `tputs'

Fixes:
 - http://autobuild.buildroot.org/results/77c/77c10947ddc749c54c7c233e3143f5cdf1edc73d/build-end.log

Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/hyperfine: new package
Nicolas Tran [Thu, 19 May 2022 08:28:00 +0000 (10:28 +0200)]
package/hyperfine: new package

hyperfine is a benchmark tool written in Rust. It evaluates
execution time of a command passed in arguments and make
a relative comparison if multiple arguments are used at the
same time.
It can be convinient for purposes of Rust-written systems as
it runs in a stable version of Rust.

The package has been checked with correct formatting and
without typos:
./utils/check-package package/hyperfine/*

A CI test was run on gitlab.com to verify toolchain compatibilities.

Signed-off-by: Nicolas Tran <[email protected]>
Reviewed-by: Romain Naour <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
2 years agopackage/batman-adv: enable B.A.T.M.A.N. V protocol by default
Peter Seiderer [Sun, 14 Mar 2021 22:32:07 +0000 (23:32 +0100)]
package/batman-adv: enable B.A.T.M.A.N. V protocol by default

As upstream enables CONFIG_BATMAN_ADV_BATMAN_V option since
2018.2 by defaullt ([1]) honor this in buildroot and do
the same (and remove the legacy experimental comment accordingly -
although upstream docs still mention it as legacy, that's really an
oversight, the community considers it the go-to protocol for years now).

[1] https://git.open-mesh.org/batman-adv.git/blob/HEAD:/CHANGELOG.rst#l174

Signed-off-by: Peter Seiderer <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
2 years agopackage/x11r7/xdriver_xf86-video-mga: bump version to 2.0.1
Bernd Kuhls [Sun, 24 Jul 2022 16:25:00 +0000 (18:25 +0200)]
package/x11r7/xdriver_xf86-video-mga: bump version to 2.0.1

Removed patch (and autoreconf) which was commited upstream:
https://gitlab.freedesktop.org/xorg/driver/xf86-video-mga/-/commit/f227f2f286123a9ca64b567783825a2c18b87971

COPYING hash changed because of a spelling fix: MERCHANTIBILITY ->
MERCHANTABILITY. Note that the latter is also the spelling used in the
official MIT license.

Signed-off-by: Bernd Kuhls <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
This page took 0.099636 seconds and 4 git commands to generate.