Commit Graph

1422 Commits

Author SHA1 Message Date
Khem Raj 8605644df5 pahole: Inherit missing pkgconfig
Fixes
  Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-24 08:12:36 -07:00
Khem Raj ffa1bac717 libubox: Inherit pkgconfig
Fixes
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libubox/1.0.1+gitAUTOINC+07413cce72-r0/git/blobmsg_json.c:23:11: fatal error: 'json/json.h' file not found
        #include <json/json.h>
                 ^~~~~~~~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-24 08:12:35 -07:00
Armin Kuster 68814f4ff5 jemalloc: set precise BSD license
"BSD" is ambiguous, use the precise licenses BSD-3-Clause

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-24 08:12:35 -07:00
Matteo Croce b23770aa9f pahole: call python via env in the shebang
Signed-off-by: Matteo Croce <mcroce@microsoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-17 08:39:00 -07:00
Ed Tanous 5eb46e36a6 Boost-url Move to latest version
This commit aims to update the version of boost-url to latest, and to
make compatibility changes to make the latest version build.

As of 0b96da0e4727c692c48cc95a32d82634cb41aaaf on the boost url repo,
the standalone build type has been removed, which breaks this recipe.  A
quick discussion with the maintainers [1] shows that the cmake was never
really intended to be used for installation, even if it worked in the
past, and in the future only intended for use within the boost
superproject.  They recommended that since this is a header only
library, that a simple copy would be a better way to stay up to date
with this library.  As such, this commit removes the cmake bbclass, and
replaces it with a simple do_install that is a simply copy into the
include directories.

At the same time, the previous patch to add GNUInstallDirs support to
the cmake no longer applies, and is no longer needed, so it is removed
at the same time.

The SHA1 is also updated to the latest available.

[1] https://cpplang.slack.com/archives/C01JR6C9C4U/p1631654296241200

Signed-off-by: Ed Tanous <ed@tanous.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-15 06:53:22 -07:00
Khem Raj e4a3c66505 pahole: Add missing rdep for python
Fixes
pahole-1.22: /usr/bin/ostra-cg contained in package pahole-extra requires /usr/bin/python3, but no providers found in RDEPENDS:pahole-extra? [file-rdeps]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Matteo Croce <mcroce@microsoft.com>
2021-09-15 06:51:15 -07:00
Matteo Croce 27be00c928 recipes-devtools: add pahole
Add the pahole host tool which is needed to generate BTF debugging
symbols from the kernel image.

Signed-off-by: Matteo Croce <mcroce@microsoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-13 20:49:14 -07:00
Jan-Simon Moeller 7cb166f7a0 Remove patch that produces a segfault in the ptest of lua
The patch file CVE-2020-15945.patch does cause a segfault in the lua ptest (db.lua test).
According to upstream developers the patch is not correct and causes the segfault.

Reproduce: build core-image-minimal with lua and ptest-pkgs on .
Run: ptest-runner lua

This test passes if the patch is removed.

Please also backport to dunfell as well.

Signed-off-by: Jan-Simon Moeller <dl9pf@gmx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-13 08:31:08 -07:00
Wang Mingyu 11a40c1d91 dnf-plugin-tui: upgrade 1.2 -> 1.3
2021/09/08:
Release v1.3.
1.When installing with package list, add the function of detecting whether the package exists.
2.Added the function of generating installed package info csv file.
3.Delete the pseudo directory in each init phase.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-13 08:31:08 -07:00
Khem Raj c508760614 android-tools: Define SRCREV_FORMAT
Since it uses multiple fetch URIs make it explicit to define SRCREV_FORMAT

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-11 00:35:10 -07:00
Alexander Kanavin 71ab0ca5d6 msgpack-c: update 3.2.1 -> 4.0.0, add msgpack-cpp
Upstream has split the C and C++ versions into separate
components so add the recipe for CPP flavour.

The only consumer in meta-oe, tmate, still builds fine.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-08 21:29:53 -07:00
zhengruoqin 140b37fadf ctags: upgrade 5.9.20210815 -> 5.9.20210905
Units, docs(web): add cases for testing direction flags of langdef
option.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-07 10:03:50 -07:00
wangmy 5bfa82d102 nlohmann-json: upgrade 3.9.1 -> 3.10.2
Release date: 2021-08-26
SHA-256: 059743e48b37e41579ee3a92e82e984bfa0d2a9a2b20b175d04db8089f46f047 (json.hpp)
61e605be15e88deeac4582aaf01c09d616f8302edde7adcaba9261ddc3b4ceca (include.zip)

Summary
This release is made days after the 3.10.1 release due to a bug in the release script:
The 3.10.1 release at GitHub contained the correct files,
but the associated tag v3.10.1 points to the wrong commit.
This release is made with a fixed build script. All changes are backward-compatible.

Improvements
Fix the release scripts to correctly tag releases. https://github.com/nlohmann/json/issues/2973
Fix some -Wunused warnings on JSON_DIAGNOSTICS when the library is built without CMake.
https://github.com/nlohmann/json/issues/2975
https://github.com/nlohmann/json/pull/2976

Deprecated functions
Passing iterator pairs or pointer/length pairs to parsing functions
(basic_json::parse, basic_json::accept, basic_json::sax_parse, basic_json::from_cbor,
basic_json::from_msgpack, basic_json::from_ubjson, basic_json::from_bson)
via initializer lists is deprecated.
Instead, pass two iterators; for instance, call basic_json::from_cbor(ptr, ptr+len)
instead of basic_json::from_cbor({ptr, len}).

-License-Update: Copyright year updated to 2021.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-05 22:19:55 -07:00
wangmy fa00ac02df cjson: upgrade 1.7.14 -> 1.7.15
Fixes:
Fix potential core dumped for strrchr, see https://github.com/DaveGamble/cJSON/pull/546
Fix null pointer crash in cJSON_CreateXxArray, see https://github.com/DaveGamble/cJSON/pull/538
Fix several null pointer problems on allocation failure, see https://github.com/DaveGamble/cJSON/pull/526
Fix a possible dereference of null pointer, see https://github.com/DaveGamble/cJSON/pull/519
Fix windows build failure about defining nan, see https://github.com/DaveGamble/cJSON/pull/518

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-05 22:19:55 -07:00
Khem Raj 9fdc7960ba apitrace: Enable on glibc >= 2.34
Drop unused patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-01 14:31:10 -07:00
wangmy 1c9188c942 doxygen: upgrade 1.9.1 -> 1.9.2
Features
issue #2732: Adding support for C++20 concepts (Origin: bugzilla #499352)
Introducing new sidebar layout via FULL_SIDEBAR option.
Added -q commandline-parameter for quiet operation
Add config option SHOW_HEADERFILE
Add config option WARN_IF_INCOMPLETE_DOC
Add config options GENERATE_SQLITE3, SQLITE3_OUTPUT and SQLITE3_RECREATE_DB to better control the sqlite3 output.
Add config option MATHJAX_VERSION to support both MathJax 2.x and 3.x
Allow more fine tuning of semanitic syntax highlighting via CSS classes
Use language name to get code coloring
Extra settings for MathJax V3
Support vertical alignment in multirow table
Add option for an anchor to the image command
Portuguese translators updated to 1.9.0.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-26 10:10:56 -07:00
Mingli Yu a88aa7fb42 jemalloc: improve reproducibility
Remove build host info from config file to improve reproducibility.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-25 08:17:04 -07:00
Sinan Kaya 736eae4899 grpc: make SHARED library build optional
Shared library build is known to not work on win32
platforms. Make it configurable.

Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-23 22:00:39 -07:00
wangmy 3b5978488e ctags: upgrade 5.9.20210801.0 -> 5.9.20210815.0
SQL: fix a typo in the code deciding a promise area

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-23 22:00:39 -07:00
Tim Orling 3548503d13 bootchart: drop; unfetchable
This was replaced by bootchart2 long ago in oe-core.
gitorious.org no longer exists, so this is unfetchable.

Also, this has seen no development since bootchart2 was
created.

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-20 09:26:18 -07:00
Khem Raj 36066f34e8 mpich: link explictly with libgcc
libmpi.so does need specific symbols from libgcc eg __multf3
on x86 irrespective of C library

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-20 09:26:18 -07:00
Anton Blanchard c207d6b5ab boost-url: Use GNUInstallDirs instead of hard wiring install directories
On a multilib setup cmake files should go into lib64.

Signed-off-by: Anton Blanchard <anton@ozlabs.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-19 09:58:56 -07:00
Devendra Tewari 4271cc2827 android-tools: Add flag to enable adbd service (#147)
android-tools-adbd service can be enabled in the image using
USB_DEBUGGING_ENABLED = "1" in local.conf.

Signed-off-by: Devendra Tewari <devendra.tewari@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-17 08:15:00 -07:00
Mingli Yu 71c5cc44c7 jemalloc: improve the ptest output
Previouly we only show the output of each text program, actually
each test program includes serveral test cases. Improve the ptest
script to show the output of each test case.

Before:
 # ./run-ptest
 [snip]
 PASS: tests/integration/MALLOCX_ARENA
 PASS: tests/integration/aligned_alloc
 [snip]

After:
 # ./run-ptest
 [snip]
 PASS: test_MALLOCX_ARENA (non-reentrant)
 PASS: test_MALLOCX_ARENA (libc-reentrant)
 PASS: test_MALLOCX_ARENA (arena_new-reentrant)
 PASS: test_alignment_errors (non-reentrant)
 PASS: test_alignment_errors (libc-reentrant)
 PASS: test_alignment_errors (arena_new-reentrant)
 PASS: test_oom_errors (non-reentrant)
 PASS: test_oom_errors (libc-reentrant)
 PASS: test_oom_errors (arena_new-reentrant)
 PASS: test_alignment_and_size (non-reentrant)
 PASS: test_alignment_and_size (libc-reentrant)
 PASS: test_alignment_and_size (arena_new-reentrant)
 PASS: test_zero_alloc (non-reentrant)
 PASS: test_zero_alloc (libc-reentrant)
 PASS: test_zero_alloc (arena_new-reentrant)
 [snip]

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-12 17:56:01 -07:00
Mingli Yu 61638bdba3 jemalloc: add ptest support
Add ptest support.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-11 10:23:54 -07:00
Mingli Yu 369fd1efe9 jemalloc: fix the race during do_install
Fixes:
 | TOPDIR/tmp-glibc/hosttools/install: cannot stat 'doc/jemalloc.3': No such file or directory
 | make: *** [Makefile:513: install_doc_man] Error 1

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-11 10:23:54 -07:00
Chen Qi 242ba8e2fc Convert to new override syntax using latest convert-overrides.py script
This patch is the result of running the latest convert-ovrrides.py
script.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-09 10:30:44 -07:00
Kai Kang c80b3757ff libdbi-perl: fix CVE-2014-10402
Backport patch to fix CVE-2014-10402.

CVE: CVE-2014-10402

Ref:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972180#12

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-09 10:20:30 -07:00
Tony Battersby a4791bf2f3 ldns: fix QA Issue after LDFLAGS change
Adding -f*-prefix-map to LDFLAGS caused the following issue:

QA Issue: ldns.pc failed sanity test (tmpdir)

Fix by filtering out -f*-prefix-map from *.pc files.

[YOCTO #14481]

Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-09 10:20:30 -07:00
Khem Raj a1489b3db0 jemalloc: Fix build on musl
Fixes
In file included from include/jemalloc/internal/jemalloc_preamble.h:21:
include/jemalloc/internal/../jemalloc.h:235:28: error: exception specification in declaration does not match previous declaration
    void JEMALLOC_NOTHROW       *je_aligned_alloc(size_t alignment,
                                 ^

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Mingli Yu <mingli.yu@windriver.com>
2021-08-06 20:38:40 -07:00
wangmy 332e3fc477 ctags: upgrade 5.9.20210718.0 -> 5.9.20210801.0
ci-env: use unified CI environment variable

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-06 20:38:40 -07:00
Khem Raj a133111e69 recipes: Fix override syntax
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-06 20:38:40 -07:00
Khem Raj afd1958061 lua: Drop uclibc patch
This was found during override overhaul we dont support uclibc anymore

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-06 20:38:40 -07:00
Khem Raj fd2b4dbacd luajit: Fix override syntax
Do not convert the variable name resembling override setups passed to makefile
Fix some of missed overrides

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-06 20:38:40 -07:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Khem Raj ba94b0fefb apitrace: Exclude from builds with glibc 2.34+
It needs some work see [1]

[1] https://github.com/apitrace/apitrace/issues/756

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-03 10:21:25 -07:00
Mingli Yu 7badffb478 jemalloc: add new recipe
jemalloc is a general purpose malloc(3) implementation that emphasizes
fragmentation avoidance and scalable concurrency support.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-03 08:53:04 -07:00
Ben Brown 3f36657af2 android-tools: fix install of adb client when TOOLS is overridden
Overriding TOOLS with 'adb' as the only entry, or with 'adb' as the
final entry in the list fails to match the grep pattern. The current
pattern includes trailing whitespace, likely to distinguish it from
'adbd'. However since `${TOOLS}` is then passed to grep unquoted, any
trailing whitespace would be dropped by the shell.

Fixed by replacing the trailing whitespace with '\>' to mark the end of
the word, which continues to ensure we don't match against 'adbd'.

Signed-off-by: Ben Brown <ben.brown@codethink.co.uk>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-03 08:53:04 -07:00
Devendra Tewari db5f487344 Suppress eol in functionfs setup scripts (#147)
Stray newline character causes errors in functionfs setup scripts
used by android-tools-adbd.service, when using musl libc and/or toybox.

Signed-off-by: Devendra Tewari <devendra.tewari@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-07-29 10:35:38 -07:00
Joe Slater 93045c3db7 php: move to version 7.4.21
Lots of bug fixes.

CVE: CVE-2021-21704 CVE-2021-21705

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-07-27 09:52:24 -07:00
wangmy 66b215f285 ctags: upgrade 5.9.20210711.0 -> 5.9.20210718.0
docs(web): add RpmMacros as a new parser

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-07-27 09:52:23 -07:00
Khem Raj 5f1e095ed6 apitrace: Update to latest trunk
Use git submodules fetcher

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-07-16 10:28:42 -07:00
wangmy 09ad446e71 ctags: upgrade 5.9.20210627.0 -> 5.9.20210711.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-07-16 09:23:03 -07:00
Khem Raj a41e283250 ltrace: Fix mips build with kernels 5.13+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-07-13 09:39:15 -07:00
Khem Raj 0412a4befc suitesparse: Fix LIC_FILES_CHKSUM
License-update: Use SPDX format text for graphBLAS [1]

[1] https://github.com/DrTimothyAldenDavis/SuiteSparse/commit/538273cfd53720a10e34a3d80d3779b607e1ac26#diff-d0ed4cc3fb70489fe51c7e0ac180cba2a7472124f9f9e9ae67b01a37fbd580b7
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-07-08 09:21:41 -07:00
zangrc e5814a3a67 ctags: upgrade 5.9.20210620.0 -> 5.9.20210627.0
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-07-01 22:44:39 -07:00
Khem Raj 141f1a2409 suitesparse: Update to 5.10.1
Switch to hardcoded SHA in SRCREV instead of tag

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-07-01 08:09:38 -07:00
Khem Raj 1c8b1c862b mpich: Add libgcc to ldflags on x86/glibc
The build needs them in some subcomponents, it does not come to front
when using libgcc as default but when compiler-rt is used then it does
not link because its expecting functions from libgcc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-26 00:45:10 -07:00
zhengruoqin c0150c1397 grpc: upgrade 1.38.0 -> 1.38.1
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-23 23:20:36 -07:00
zhengruoqin 50d1ae321f ctags: upgrade 5.9.20210613.0 -> 5.9.20210620.0
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-23 23:20:35 -07:00