Commit Graph

32 Commits

Author SHA1 Message Date
Fabrice Fontaine
53213e762d Revert "package/stress-ng: disable libbsd on static build"
This reverts commit f2d6c5ff90.

Now that libbsd can't be enabled for static builds, we can drop the
workaround specific to stress-ng.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-02-02 22:26:16 +01:00
Baruch Siach
e551fe76e2 package/stress-ng: bump to version 0.12.02
Use https for download to save redirect.

Cc: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-01-29 09:25:34 +01:00
Baruch Siach
f2d6c5ff90 package/stress-ng: disable libbsd on static build
Static link with libbsd fails because of multiple definition of the
strlcpy symbol. uClibc optionally provides these symbols.

Add make options that disable all libbsd tests when linking statically.

Fixes:
http://autobuild.buildroot.net/results/2c77271b33c9d0e9a39cced2eda6d0df0d6b8124/
http://autobuild.buildroot.net/results/2f98c5d9ca907dd62b30bedfe4e52b014bb3e8d1/
http://autobuild.buildroot.net/results/51c4c065b93a6d11f6b4583f80f932481518905a/

Cc: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-11-09 21:04:10 +01:00
Fabrice Fontaine
986db051ba package/stress-ng: drop patch
Patch is already in version 0.11.17

Fixes:
 - http://autobuild.buildroot.org/results/3741e47ec8bfc594aa37ac33b7927e5b73183daf

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Acked-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-09-03 20:47:36 +02:00
Peter Korsgaard
c287d789b7 Merge branch 'next'
A number of merge conflicts, but hopefully they are all sorted out now.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-09-02 18:14:46 +02:00
Bernd Kuhls
904c48ac07 package/stress-ng: add upstream patch to fix build failure for getresuid32
Fixes:
http://autobuild.buildroot.net/results/f13/f13d85dfec371c38229bca988cd4bffa4cb97ae5/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2020-08-30 20:20:55 +02:00
Alejandro González
c5b849acb0 package/stress-ng: bump version to 0.11.17
This commit bumps stress-ng version to 0.11.17.

This version includes the patch that fixes musl build at commit
03416938871388243d28621f4b59ce532231f11c, and also fixes a
"Invalid syntax in conditional" build error in a Makefile.

Signed-off-by: Alejandro González <alejandro.gonzalez.correo@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-08-08 18:31:07 +02:00
Baruch Siach
a633e90511 package/stress-ng: bump to version 0.11.14
Enable build for musl libc. glibc specific code is now behind __GNUC__.
Add a patch to fix collision with kernel defined struct sysinfo.

Drop attr dependency. Not used anymore.

Make keyutils an optional dependency. Detected at config time.

Enable static build now that keyutils is not a mandatory dependency.

Format hash file with two spaces delimiters.

Cc: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-06-20 21:23:22 +02:00
Maxime Madau
6b09f5dd1b package/stress-ng: bump version to 0.10.7
Signed-off-by: Maxime Madau <maxime.madau@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-10-07 21:47:06 +02:00
Giulio Benetti
5f9d78a4c4 package/stress-ng: re-enable package on microblaze
Package stress-ng has a dependency to keyutils, but keyutils has been
re-enabled with previous patch. Re-enable package by removing 'depends
on !BR_microblaze' from stress-ng Config.in.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-06-19 14:35:22 +02:00
Sébastien Szymanski
9098a04456 package/stress-ng: bump to version 0.09.58
Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-05-18 21:48:14 +02:00
Fabrice Fontaine
9524384192 package/stress-ng: bump to version 0.09.55
Drop three patches (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-03-12 23:04:10 +01:00
Baruch Siach
759c9623aa package/stress-ng: add libbsd optional dependency
stress-ng optionally detects and uses BSD wcsl* wchar string functions.

Cc: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-02-26 19:40:38 +01:00
Vadim Kochan
d7c92f7e12 package/stress-ng: Fix author email in 0003-test-test-bsd-wchar-...patch
Author's and sign-off's emails differs, so fix the author's one which
is not valid anymore.

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-02-25 13:47:31 +01:00
Vadim Kochan
2a358818e9 package/stress-ng: Fix build issue with libbsd wchar check
stress-ng uses test/test-bsd-wchar.c program to check if there is
support for libbsd's wchar, but the test fails because wchar.h also
requires the FILE* definition from stdio.h which is not included
automatically, so fix it by include stdio.h explicitly.

Fixes:
	http://autobuild.buildroot.net/results/6def1bba8e7ec05682e74c4edc3a35c8c118d28b

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-02-23 09:44:36 +01:00
Fabrice Fontaine
411cd189f1 stress-ng: fix build without swapcontext
Fixes:
 - http://autobuild.buildroot.org/results/f2d3b06afa6e31527a71c03671c8f08eb3f46c36

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-12-08 23:48:52 +01:00
Fabrice Fontaine
d935f001ab package/stress-ng: fix build without threads
semaphore.h is available only if HAVE_LIB_PTHREAD and
HAVE_SEM_POSIX are defined

Fixes:
 - http://autobuild.buildroot.org/results/1c95898b2833683a22bbe2ff8471fa08d94210e1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Thomas: update upstream status of the patch.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-12-06 21:33:16 +01:00
Carlos Santos
1246179d2e stress-ng: bump to version 0.09.47
- Enable for uClibc, which is supported now.
- Keep microblaze, nios2 and arc restrictions, since it was not possible
  to test on those architectures (no hardware available).
- Keep musl restriction, since it was possible to compile the code (with
  some patches) but it failed at run time with

    Cannot set scheduler: errno=38 (Function not implemented)

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-11-25 09:22:26 +01:00
Carlos Santos
4d8e9643c6 package/stress-ng: really remove patch merged upstream
Should have been removed in commit 27bce5fc8e (package/stress-ng: bump
to version 0.09.39) but was left as an empty file.

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-11-25 09:21:54 +01:00
Thomas Petazzoni
123f668f41 stress-ng: add hash for license file
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-09-12 21:02:00 +02:00
Florian La Roche
27bce5fc8e package/stress-ng: bump to version 0.09.39
- package/stress-ng: bump to version 0.09.39

- remove patch, which was merged upstream in commit
  http://kernel.ubuntu.com/git/cking/stress-ng.git/commit/stress-netlink-proc.c?id=cbfc5a9d648ae639e3aebf2354eac5b3c015c0fb

Signed-off-by: Florian La Roche <F.LaRoche@pilz.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-09-12 21:00:49 +02:00
Baruch Siach
ca54f17a0e stress-ng: fix build with kernel headers v3.9
Add a patch correcting the kernel headers version test macro.

Fixes:
http://autobuild.buildroot.net/results/cbf/cbfb80117840bddd5712bcda3caeaaff61745b0b/
http://autobuild.buildroot.net/results/649/64941ac5b7dcd9c100bdc47cdfe73cce5f23c3d8/
http://autobuild.buildroot.net/results/741/741f5881d3cb745d1003ede3f762c20eb72de0b5/

Cc: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-07-02 22:10:00 +02:00
Yann E. MORIN
18a3556220 package/stress-ng: bump version
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-06-30 18:40:51 +02:00
Thomas Petazzoni
7a4fd532b7 stress-ng: not available on ARC
Now that ARC supports glibc, stress-ng can be built. Unfortunately,
like NIOS2, it doesn't implement FE_INVALID and a bunch of other
<fenv.h> definitions, so let's prevent stress-ng from being built on
ARC.

Fixes:

  http://autobuild.buildroot.net/results/296b14584c200593f88af75cdda65c4ca03cd863/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-11-02 23:11:03 +01:00
Rahul Bedarkar
af31c309e7 boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+
We want to use SPDX identifier for license strings as much as possible.
SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+.

This change is done by using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-04-01 15:16:38 +02:00
Romain Naour
ac184e85ea package/stress-ng: bump to 0.06.15
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-09-07 23:01:46 +02:00
Romain Naour
5609fe65aa package/stress-ng: fix install commande
Don't use make install otherwise stress-ng will be rebuild without
required link libraries if any. Furthermore, using INSTALL allow to
set the file permission correcly on the target.

Fixes:
http://autobuild.buildroot.net/results/bba/bba4d0b635ab6849f969b8a0363ebe9f5fafd82e

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-09-07 23:01:39 +02:00
Bernd Kuhls
c1af722200 package/stress-ng: mark as not available on nios2
For technical details see
https://git.busybox.net/buildroot/commit/package/ffmpeg/Config.in?id=8b58ec016973bee87a4fc1cc99a32b206bdee136

Fixes
http://autobuild.buildroot.net/results/bb3/bb3b748a14465a6168917bfbed90b2ff84fbdedf/
http://autobuild.buildroot.net/results/0ee/0ee3132f4ee6b5f21851f93516e0d0c419b36b1b/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-05-22 21:46:04 +02:00
Waldemar Brodkorb
08fe324b8b stress-ng: update to 0.06.02
Fixes following autobuilder errors:
http://autobuild.buildroot.net/results/b527ccdbdfeaba6789528e68df93d9c7216e758a/
http://autobuild.buildroot.net/results/d658f82c66d93515276dcb6cec8d3690459fbf05/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-05-16 22:02:19 +02:00
Luca Ceresoli
7b0e757fb8 package: Remove trailing slash from all package site URLs
The recommended form is without the trailing slash, and will become
mandatory in a coming commit.

This avoids the need for the $$($(2)_SITE:/=) magic in package/pkg-generic.mk
to avoid double slashes in download URLs, like
"https://mosh.mit.edu//mosh-1.2.5.tar.gz".
                     ^^

Note: this work has already been done in b0b9606530 a few
months ago and earlier in c7f4b96471 and 4a9eb20de8,
but no check has been added at that time to avoid new slashes to slip
in, and so they did. This time a patch will follow immediately to
prevent future mistakes from being unnoticed.

Mass-replaced with the following command:

  git grep -l '_SITE.*/$' | xargs sed -i '/_SITE.*=/s|/$||'

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-09-30 12:46:42 +02:00
Julien CORJON
8064b82c2a stress-ng: Depend on kernel headers >= 3.3
perf.c need PERF_COUNT_HW_REF_CPU_CYCLES generic PMU event which
is available only since 3.3 kernel version

Fixes:
  http://autobuild.buildroot.net/results/88909b118dc927f31ed5c3b5f3513734a88085a9
  http://autobuild.buildroot.net/results/dac6a85fdd721b959175caf5629b91dee717c3c6
  http://autobuild.buildroot.net/results/88909b118dc927f31ed5c3b5f3513734a88085a9

Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-09-14 14:36:19 +02:00
Romain Naour
c7efe2bed5 package/stress-ng: new package
[Peter: license is GPLv2+]
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-09-09 23:14:42 +02:00