Commit Graph

25837 Commits

Author SHA1 Message Date
Tim Orling
90589558e9 meta-perl-ptest*-image: enable BBCLASSEXTEND parallel execution
Similar to "core-image-ptest: Switch to BBCLASSEXTEND parallel execution"

Refactor meta-perl-ptest-image.bb for an image per ptest in the form of
meta-perl-ptest-image-XXX using class extensions.

* Add meta-perl-ptest-all-image.bb depends on ALL meta-perl-ptest-image-XXX in meta-perl
* Add meta-perl-ptest-fast-image.bb depends on meta-perl ptests which take less than ~30s

This allows parallel execution of the tests.

The downside to this approach is the parsing time of an image generating
this number of class extensions is slow but making it easier to execute
and collect test data should outweigh that.

A useful advantage is that the dependencies of each ptest package are
checked/tested individually.

Add to local.conf:
IMAGE_CLASSES += "testimage"

All the meta-perl-ptest-image-XXX can be built with:
$ bitbake meta-perl-ptest-all-image

Subsequently, all the ptest images can be run with:
$ bitbake -c testimage meta-perl-ptest-all-image

You will likely want to limit the number of parallel image tests:

BB_NUMBER_THREADS = "4"

based on the number of TAP devices you have defined or the number of simultaneous
QEMU sessions your server can support.

Results can be summarized with:

$ resulttool report tmp/log/oeqa/testresults.json

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:46 -07:00
Tim Orling
fdc87348a0 recipes-perl/images: move to recipes-core
Be consistent with other layers like oe-core, meta-oe and meta-python

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:46 -07:00
Tim Orling
480985d35e recipes-perl/packagegroups: move to recipes-core/
Be consistent with other layers, like oe-core, meta-oe and meta-python

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:46 -07:00
Tim Orling
99972beb1d ptest-packagelists-meta-perl.inc: add ptest recipes
Similar to ptest-packagelists.inc in oe-core, this list enables
per image ptest (isolated ptests for a given recipe)

* Add recipes to PTEST_FAST_META_PERL for ptests which take less than ~30s
* Add recipes to PTEST_SLOW_META_PERL for ptests which take longer
* Add recipes to PTEST_PROBLEMS_META_PERL for ptests which have failing tests
  or other issues with ptest package

The initial list was taken from:

meta_perl_ptest_recipes=$(bitbake-layers show-recipes --recipes-only \
    --layer meta-perl --inherits ptest --bare | tr '\n' ' ' | \
    pcregrep -o1 '^NOTE:.+===(.+)$')

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:46 -07:00
Tim Orling
c09cc8ddde python3-aspectlib: fix ptest
* ptest RDEPENDS on pytest
* Use python3-unittest-automake-output instead of using sed to reformat
  the output use this new module.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:45 -07:00
Tim Orling
80e9601cc8 meta-python-ptest*-image: enable BBCLASSEXTEND parallel execution
Similar to "core-image-ptest: Switch to BBCLASSEXTEND parallel execution"

Refactor meta-python-ptest-image.bb for an image per ptest in the form of
meta-python-ptest-image-XXX using class extensions.

* Add meta-python-ptest-all-image.bb depends on ALL meta-python-ptest-image-XXX in meta-python
* Add meta-python-ptest-fast-image.bb depends on meta-python ptests which take less than ~30s

This allows parallel execution of the tests.

The downside to this approach is the parsing time of an image generating
this number of class extensions is slow but making it easier to execute
and collect test data should outweigh that.

A useful advantage is that the dependencies of each ptest package are
checked/tested individually.

Add to local.conf:
IMAGE_CLASSES += "testimage"

All the meta-python-ptest-image-XXX can be built with:
$ bitbake meta-python-ptest-all-image

Subsequently, all the ptest images can be run with:
$ bitbake -c testimage meta-python-ptest-all-image

You will likely want to limit the number of parallel image tests:

BB_NUMBER_THREADS = "4"

based on the number of TAP devices you have defined or the number of simultaneous
QEMU sessions your server can support.

Results can be summarized with:

$ resulttool report tmp/log/oeqa/testresults.json

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:45 -07:00
Tim Orling
69d921a342 ptest-packagelists-meta-python.inc: add ptest recipes
Similar to ptest-packagelists.inc in oe-core, this list enables
per image ptest (isolated ptests for a given recipe)

* Add recipes to PTEST_FAST_META_PYTHON for ptests which take less than ~30s
* Add recipes to PTEST_SLOW_META_PYTHON for ptests which take longer
* Add recipes to PTEST_PROBLEMS_META_PYTHON for ptests which have failing tests
  or other issues with ptest package

The initial list was taken from:

meta_python_ptest_recipes=$(bitbake-layers show-recipes --recipes-only \
      --layer meta-python --inherits ptest --bare | tr '\n' ' ' | \
      pcregrep -o1 '^NOTE:.+===(.+)$')

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:45 -07:00
Khem Raj
580c36fa72 ptest-packagelists-meta-oe: Remove minicoredumper from PTESTS_FAST_META_OE on musl
minicoredumper is not buildable on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:45 -07:00
Tim Orling
ec3760af48 meta-oe-ptest*-image: enable BBCLASSEXTEND parallel execution
Similar to "core-image-ptest: Switch to BBCLASSEXTEND parallel execution"

Refactor meta-oe-ptest-image.bb for an image per ptest in the form of
meta-oe-ptest-image-XXX using class extensions.

* Add meta-oe-ptest-all-image.bb depends on ALL meta-oe-ptest-image-XXX in meta-oe
* Add meta-oe-ptest-fast-image.bb depends on meta-oe ptests which take less than ~30s

This allows parallel execution of the tests.

The downside to this approach is the parsing time of an image generating
this number of class extensions is slow but making it easier to execute
and collect test data should outweigh that.

A useful advantage is that the dependencies of each ptest package are
checked/tested individually.

Add to local.conf:
IMAGE_CLASSES += "testimage"

All the meta-oe-ptest-image-XXX can be built with:
$ bitbake meta-oe-ptest-all-image

Subsequently, all the ptest images can be run with:
$ bitbake -c testimage meta-oe-ptest-all-image

You will likely want to limit the number of parallel image tests:

BB_NUMBER_THREADS = "4"

based on the number of TAP devices you have defined or the number of simultaneous
QEMU sessions your server can support.

Results can be summarized with:

$ resulttool report tmp/log/oeqa/testresult.json

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-02 17:43:22 -07:00
Tim Orling
d094f80089 ptest-packagelists-meta-oe.inc: add ptest recipes
Similar to ptest-packagelists.inc in oe-core, this list enables
per image ptest (isolated ptests for a given recipe)

* Add recipes to PTEST_FAST_META_OE for ptests which take less than ~30s
* Add recipes to PTEST_SLOW_META_OE for ptests which take longer
* Add recipes to PTEST_PROBLEMS_META_OE for ptests which have failing tests
  or other issues with ptest package

The initial list was taken from:

meta_oe_ptest_recipes=$(bitbake-layers show-recipes --recipes-only \
  --layer meta-oe --inherits ptest --bare | tr '\n' ' ' | \
  pcregrep -o1 '^NOTE:.+===(.+)$')

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-02 17:43:22 -07:00
Tim Orling
0fc5f550d3 span-lite: do not inherit ptest
This recipe provides no run-ptest script.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-02 17:43:22 -07:00
Tim Orling
306a92cdba cli11: do not inherit ptest
This recipe provides no run-ptest script.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-02 17:43:22 -07:00
Khem Raj
77f4b570bf emacs: Fix build with autconf 2.72+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-02 10:46:35 -07:00
Khem Raj
f7fc137e13 libidn: Update largefile m4 macros
This is a backport from gnulib, its needed for configure to work with
latest autoconf 2.72

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-02 10:41:04 -07:00
Khem Raj
60afa577e5 libstemmer: Update to 2.2.0
Rename recipe to reflect PV
Refresh solibs build patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-02 10:21:18 -07:00
Khem Raj
77c6192de7 fwknop: Fix AS_IF configure syntax
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-02 10:06:48 -07:00
Khem Raj
0dbd8cf7d0 fwknop: Use pkg-config instead of gpgme-config
pkg-config is sysroot aware which is needed for cross-builds

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-02 10:06:48 -07:00
Khem Raj
7733744d98 mpv: Upgrade to 0.35.1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-01 21:57:40 -07:00
Markus Volk
17180ae0d2 libcamera: re-introduce fix for gcc-13
Signed-off-by: Markus Volk <f_L_K@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-01 08:55:06 -07:00
Markus Volk
fb3430b8f3 flatpak: update 1.15.3 -> 1.15.4
Signed-off-by: Markus Volk <f_L_K@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-01 08:55:06 -07:00
Bartosz Golaszewski
f6b3a82e1e reboot-mode: put the build artifacts in ${B}
We should output the compiled executables into ${B} and install them
from it as well. Currently we put the build objects in the source
directory. While at it: don't assume we're already in the source
directory and instead prepend the source file with ${S}.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-01 06:09:47 -07:00
Markus Volk
55489e5d10 nv-codec-headers: add clean target to Makefile
next try to fix an error on rebuilds:
   | NOTE: make clean
   | ERROR: oe_runmake failed
   | WARNING: exit code 1 from a shell command.
   | make: *** No rule to make target 'clean'.  Stop.

Signed-off-by: Markus Volk <f_L_K@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-01 06:09:47 -07:00
Peter Johennecken
9937ffa5d2 nginx: added packagegroup for webdav module
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-31 10:42:43 -07:00
Khem Raj
db87078a40 imagemagick: Update to 7.1.1
Add a patch to fix build with upcoming autoconf 2.72

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-31 10:42:43 -07:00
Khem Raj
2b4e21be8e gmime: Update to 3.2.13
- Drop nodolt.patch patch its applied upstream
- Enable largefile and set ac_cv_sys_file_offset_bits=64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-31 10:42:43 -07:00
Khem Raj
babd1cbf85 cyrus-sasl: Fix autoconf patch to work with new autoconf 2.72
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-31 10:42:43 -07:00
Khem Raj
1807ecfe4b krb5: Fix build with autoconf 2.72
Fixes
checking for IPv6 compile-time support without -DINET6... ./configure: line 10004: syntax error near unexpected token `;;'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-31 10:42:43 -07:00
Zoltán Böszörményi
2f06781b87 libgusb: Allow building in native mode
Dependency of libfprint-native.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-30 09:46:52 -07:00
Zoltán Böszörményi
53b7f23590 hplip: Fix installation and QA
With version 3.22.11 it's not enough avoid linking to the
closed source ImageProcessor library, it must not be installed
either. This library is pre-stripped so package QA fails.

Add a new patch to fix installing HPLIP.conf into
/usr/share/ipp-usb/quirks. The upstream Makefile.am fails
to take DESTDIR into account and do_install fails because
of this. Also, instead of detecting the presence of the
target directory which is invalid for a source build,
create it and install the quirk file.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-30 06:25:15 -07:00
Mingli Yu
c2ddfe8b3a mcelog: improve the ptest output
Before:
 # ./run-ptest
 [snip]
 code 0xd2d: [PASS]

 After:
 # ./run-ptest
  [snip]
  PASS: code 0xd2d

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-30 06:24:16 -07:00
Leon Anavi
06cd3f757d pcsc-tools: Add runtime dependencies
Add runtime dependencies for pcsc_scan and scriptor. Script
ATR_analysis is written in Perl and it is used to parse the smart
card ATR. This script is called by default by pcsc_scan.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-29 13:01:16 -07:00
Leon Anavi
f290449c6c libpcsc-perl: Add recipe
Add Perl Chipcard::PCSC::Card smart card communication library.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-29 13:01:16 -07:00
Zhixiong Chi
17243e70c8 python3-betamax: fix ptest failture of fixture and record modes
In betamax fixtures and recorde_modes ptest are failing due to
the deprecation of fixture usage and the httpbin.org service.
Drop these ptests in meta-oe, until there is a suitable solution
to fix this failure.

Validation:
Enable ptest and add python3-betamax into IMAGE_INSTALL
$runqemu ...
$cd /usr/[lib/lib64]/python3-betamax/ptest
$./run-ptest
ALL ptests PASS.

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-28 10:44:00 -07:00
Zoltán Böszörményi
6b12086873 opencv: Fix PACKAGECONFIG[openvino]
The circular dependency was fixed in a different way in
meta-intel's openvino-inference-engine. Only some samples
in openvino use opencv and building the samples was made
optional.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-28 10:44:00 -07:00
Markus Volk
89ed607ea5 libgtop: update 2.40.0 -> 2.41.1
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-28 10:44:00 -07:00
Markus Volk
d348914e40 gtksourceview5: update 5.6.1 -> 5.7.1
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-28 10:44:00 -07:00
Markus Volk
6fd4e13183 evolution-data-server: update 3.46.3 -> 3.48.0
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-28 10:44:00 -07:00
Zoltán Böszörményi
a8ab3ad588 python3-ipython: Add missing dependency
This fixes the error:

Python 3.11.2 (main, Feb  7 2023, 13:52:42) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import IPython
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.11/site-packages/IPython/__init__.py", line 52, in <module>
    from .core.application import Application
  File "/usr/lib/python3.11/site-packages/IPython/core/application.py", line 26, in <module>
    from IPython.core import release, crashhandler
  File "/usr/lib/python3.11/site-packages/IPython/core/crashhandler.py", line 27, in <module>
    from IPython.core import ultratb
  File "/usr/lib/python3.11/site-packages/IPython/core/ultratb.py", line 101, in <module>
    import stack_data
ModuleNotFoundError: No module named 'stack_data'

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-28 10:44:00 -07:00
Zoltán Böszörményi
ceb630e1b2 python3-stack-data: New recipe
Dependency of python3-ipython.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-28 10:44:00 -07:00
Zoltán Böszörményi
0ccb5483aa python3-pure-eval: New recipe
Dependency of python3-stack-data.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-28 10:44:00 -07:00
Zoltán Böszörményi
74582765be python3-executing: New recipe
Dependency of python3-stack-data.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-28 10:44:00 -07:00
Manoj Saun
03e00bf122 postgresql: fix ptest failure of sysviews test
In postgresql sysview ptest are failing due to hidden build info in pg_config table.
The information is hidden due to existing patch 0001-config_info.c-not-expose-build-info.patch
So for passing the test we need to reduce the row count in the sysviews test.
Also for test results to be shown as pass we need to reduce the row count for
the expected count in the sysviews.out file.

Signed-off-by: Manoj Saun <manojsingh.saun@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-28 10:44:00 -07:00
Xiangyu Chen
f65b052784 abseil-cpp: upgrade 20221014.0 -> 20230125.1
Note: please make sure your oe-core has the following commit:
https://git.openembedded.org/openembedded-core/commit/?id=a73e269d3e591a10bb397b94b82e3fb960112d33

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-28 10:44:00 -07:00
Wang Mingyu
75e5fd6e25 gnome-autoar: upgrade 0.4.3 -> 0.4.4
Changelog:
==========
* Add application/zstd to supported mime-types
* Fix test suite failure with recent GLib version
* Add autoar_extractor_set_passphrase function

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-28 10:44:00 -07:00
Bartosz Golaszewski
3f06ba3c36 reboot-mode: new package
Add a recipe for the simple program that allows to replicate android
reboot's behavior on linux (e.g. reboot bootloader, reboot recovery) as
well as test reboot mode drivers in the linux kernel.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-28 10:44:00 -07:00
Wang Mingyu
27995af89d gegl: upgrade 0.4.40 -> 0.4.42
Changelog:
==========
 - raw-load: add conditional support for 0.21.0 API
 - rgb-clib: improved ui-ranges
 - perlin, mosiac, c2g, long-shadow: small cleanups
 - gif-load: update vendored dependency, including code updates.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-28 10:44:00 -07:00
Wang Mingyu
52c287f9f8 folks: upgrade 0.15.5 -> 0.15.6
Major changes:
  * Projects should be able to use the typelib-based bindings
  * sysprof is now used for profiling
  * Lots of translation updates
  * Several smaller Meson changes

Bugs fixed:
  * folks-generics: Add missing generic type argument
  * tests/bluez: Follow PairDevice API change in python-dbusmock

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-28 10:44:00 -07:00
Wang Mingyu
c4b9e3b8d0 ctags: upgrade 6.0.20230312.0 -> 6.0.20230319.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-28 10:44:00 -07:00
Khem Raj
eccfc8bd2f gimp: Update to 2.10.34
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-28 10:44:00 -07:00
Wang Mingyu
b1d0c7e03e babl: upgrade 0.1.98 -> 0.1.102
Changelog:
==========
Brown paper bag release - LUT code-paths now disabled by default.
Stop double processing with LUT+normal fishes.
Support for non-ASCII characters in file paths on windows. Improved wrap build
support.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-28 10:44:00 -07:00