Commit Graph

22455 Commits

Author SHA1 Message Date
Wang Mingyu
9400c8da18 python3-bitstruct: upgrade 8.12.1 -> 8.13.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-17 08:54:17 -04:00
Wang Mingyu
f8a52dacc5 python3-astroid: upgrade 2.10.0 -> 2.11.0
Changelog:
=========
Add new (optional) doc_node attribute to nodes.Module, nodes.ClassDef,
and nodes.FunctionDef.

Accessing the doc attribute of nodes.Module, nodes.ClassDef, and
nodes.FunctionDef has been deprecated in favour of the doc_node attribute.
Note: doc_node is an (optional) nodes.Const whereas doc was an (optional) str.

Passing the doc argument to the __init__ of nodes.Module, nodes.ClassDef,
and nodes.FunctionDef has been deprecated in favour of the postinit doc_node attribute.
Note: doc_node is an (optional) nodes.Const whereas doc was an (optional) str.

Replace custom cachedproperty with functools.cached_property and deprecate it
for Python 3.8+.

Closes #1410

Set end_lineno and end_col_offset attributes to None for all nodes
with PyPy 3.8. PyPy 3.8 assigns these attributes inconsistently which could lead
to unexpected errors. Overwriting them with None will cause a fallback
to the already supported way of PyPy 3.7.

Add missing shape parameter to numpy zeros_like, ones_like,
and full_like methods.

Closes PyCQA/pylint#5871

Only pin wrapt on the major version.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-17 08:54:17 -04:00
Khem Raj
a8a9bc2bc9 abseil: Upgrade to 20211102.0 LTS release
Drop 0001-Export-of-internal-Abseil-changes.patch its already upstream
forward port abseil-ppc-fixes.patch

Changes in this release are

absl::Cord is now implemented as a b-tree. The new implementation offers improved performance in most workloads.
absl::SimpleHexAtoi() has been added to strings library for parsing hexadecimal strings.

Details here [1]

[1] https://github.com/abseil/abseil-cpp/releases/tag/20211102.0

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-16 08:32:19 -07:00
Wang Mingyu
2043910359 smbnetfs: upgrade 0.6.1 -> 0.6.3
configure.patch refreshed for new version.

Changelog:
========
add files for debian packaging

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-16 08:32:19 -07:00
Tim Orling
818f782df7 packagegroup-meta-python: drop recipes moved to core
Drop the recipes moved to core in the python3-cryptography move.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-16 09:25:28 -04:00
Tim Orling
888570237a python3-pytz: move to oe-core
This recipe has been moved to oe-core in support of
python3-cryptography.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-16 09:25:28 -04:00
Tim Orling
996bfa2f91 python3-pytest-subtests: move to oe-core
This recipe has been moved to oe-core in support of
python3-cryptography.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-16 09:25:28 -04:00
Tim Orling
2c1423850d python3-pretend: move to oe-core
This recipe has been moved to oe-core in support of
python3-cryptography.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-16 09:25:28 -04:00
Tim Orling
e97f8df274 python3-poetry-core: move to oe-core
The poetry_core.bbclass (renamed to python_poetry_core) has been moved
to oe-core, as has this recipe, in support of python3-cryptography.

The recipe that needed poetry-core is python3-iso8601.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-16 09:25:28 -04:00
Tim Orling
c563ea16e8 python3-ply: move to oe-core
This recipe has been moved to oe-core in support of
python3-cryptography.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-16 09:25:28 -04:00
Tim Orling
81402595ee python3-iso8601: move to oe-core
This recipe has been moved to oe-core in support of
python3-cryptography.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-16 09:25:28 -04:00
Khem Raj
fbd8aec8a6 python3-psutil: Remove
Moved to oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-16 09:25:28 -04:00
Khem Raj
f26ca7749b python3-bcrypt: Remove
Moved to oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-16 09:25:28 -04:00
Khem Raj
d30cd125d5 python3-pyrad: Change poetry bbclass inherit to match oe-core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-16 09:25:28 -04:00
Alejandro Enedino Hernandez Samaniego
bb9d3688f1 meta-python: Clean up recipes and classes that were moved to oe-core
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro.hernandez@linux.microsoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-16 09:25:28 -04:00
Khem Raj
b2c6326c9c packagegroup-meta-python: Do not exclude python3-grpcio python3-grpcio-tools for ppc64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-15 15:34:22 -04:00
Khem Raj
b9936f62ab python3-grpcio, python3-grpcio-tools: Upgrade to 1.44.0
- Fix build on ppc64le/musl
- Add patch to fix abseil on ppc64
- Changes are here [1]

[1] https://github.com/grpc/grpc/releases/tag/v1.44.0

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-15 15:34:22 -04:00
Justin Bronder
f5a978bb7e python3-pymodbus: add asyncio to package config
When using asyncio as the backend for asynchronous communication,
pymodbus depends on python3-pyserial-asyncio.

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-15 15:34:22 -04:00
Khem Raj
f792874431 python3-poetry-core: Setting PIP_INSTALL_PACKAGE is no longer needed
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-15 15:34:22 -04:00
Trevor Gamblin
4c1e31f906 python3-django: upgrade 4.0.1 -> 4.0.2
4.0.2 fixes CVE-2022-22818 and CVE-2022-23833. See:
https://docs.djangoproject.com/en/dev/releases/4.0.2/

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-15 15:34:22 -04:00
Trevor Gamblin
f15c046c74 python3-django: upgrade 3.2.11 -> 3.2.12
3.2.12 fixes CVE-2022-22818 and CVE-2022-23833. See:
https://docs.djangoproject.com/en/dev/releases/3.2.12/

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-15 15:34:22 -04:00
Khem Raj
33841aec58 fwts: Do not use --as-needed on ppc64
This is not seen on non ppc64 hosts

Fixes
build/src/lib/src/.libs/libfwts.so: undefined reference to `fwts_acpica_sem_count_get'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-14 09:44:26 -07:00
Daniel Gomez
33b294c8b2 opencl-clhpp: Update 2.0.15 -> 2.0.16
- Change branch name master -> main according to upstream repository.
- Update 2.0.15 -> 2.0.16. Changelog:

    1df82b9 Add param traits for CL_DEVICE_SUPPORTED_REGISTER_ALLOCATIONS_ARM (#165)
    814e7b2 update the C++ bindings code example (#151)
    6d833a5 Update opencl.hpp: Add CL_DEVICE_BOARD_NAME_AMD (#160)
    25ad589 Added missing definitions for deprecated prefixes and suffixes for version 2.2 (#159)
    21a34b0 Test two additional defines and update descriptions in header (#147)
    ff7318c Fix cl::enqueueMapSVM for cl::vector and cl::pointer (#145)
    30d4219 Test most of the possible defines (#140)
    63d9e41 Fix unreasonable error handling in opencl.hpp (#139)
    0198c41 Add support for cl_khr_integer_dot_product v2 (#141)
    8df6c8f Transition CI to Github Actions (#142)

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-14 09:23:14 -07:00
Daniel Gomez
731546f048 opencl-headers: Update v2020.12.18 -> v2022.01.04
- Add PV to include package version + git revision.
- Add ALLOW_EMPTY to prevent error [1] when installing package in image.
- Change branch name master -> main according to upstream repository.

[1]: opencl-headers installation error:
E: Package 'opencl-headers' has no installation candidate

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-14 09:23:14 -07:00
Daniel Gomez
b6b3fa54ec opencl-icd-loader: Update 2020.12.18 -> v2022.01.04
- Fix recipe style WARNINGS from oe-stylize.

    ./contrib/oe-stylize.py
    meta-oe/recipes-core/opencl/opencl-icd-loader_git.bb

    Reminder:  Tabs should not be used (use spaces instead)  in : '
    ${bindir}/icd_loader_test \ '

    Reminder:  The correct spacing for a variable is FOO = "BAR"
    in : '
    SUMMARY  = "OpenCL ICD Loader" '

- Fix missing lib for CL applications

    strace clinfo:
    openat(AT_FDCWD, "/usr/lib/libOpenCL.so.1", O_RDONLY|O_CLOEXEC) =
    -1 ENOENT (No such file or directory)
    newfstatat(AT_FDCWD, "/usr/lib", {st_mode=S_IFDIR|0755, st_size=36864, ...}, 0) = 0
    writev(2, [{iov_base="clinfo", iov_len=6}, {iov_base=": ", iov_len=2},
    {iov_base="error while loading shared libra"..., iov_len=36},
    {iov_base=": ", iov_len=2}, {iov_base="libOpenCL.so.1", iov_len=14},
    {iov_base=": ", iov_len=2}, {iov_base="cannot open shared object file", iov_len=30},
    {iov_base=": ", iov_len=2}, {iov
    _base="No such file or directory", iov_len=25}, {iov_base="\n", iov_len=1}], 10
    clinfo: error while loading shared libraries: libOpenCL.so.1: cannot open shared
    object file: No such file or directory) = 120
    exit_group(127)                         = ?

- Change branch name master -> main according to upstream repository.

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-14 09:23:14 -07:00
Daniel Gomez
85e1902650 v4l-utils: Update 1.20.0 -> 1.22.1
- Drop patches already upstream.
- Update getsubopt [1] patch to the new 1.22.1 sources.

[1]: 0007-Do-not-use-getsubopt.patch

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-14 09:16:05 -07:00
Khem Raj
268e844999 fwts: Upgrade to 22.01.00
Drop upstreamed poll.h patch
Refresh rest of patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-14 09:16:05 -07:00
Khem Raj
d755e117a6 rocksdb: Use new atomic builtins on powerpc as well
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-14 09:16:05 -07:00
Khem Raj
b0a284d952 capnproto: Link in libatomic on ppc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-14 09:16:05 -07:00
Khem Raj
69c8c91ecc gimp: Disable vector icons on ppc
qemuppc segfaults building them

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-14 09:16:05 -07:00
Khem Raj
454017a8d4 nodejs: Disable for powerpc
Fixes
../deps/v8/src/objects/code.h:564:2: error: #error Unknown architecture.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-14 09:16:04 -07:00
Ross Burton
3d93230c3e poetry_core: update for renamed class pip_install_wheel to python_pep517
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-14 09:15:03 -07:00
Khem Raj
a3f218e9db libcereal: Link libatomics on mips for ptests
clang/mips emits calls to atomic builtins which it expects from C
runtime perhaps but compiler-rt does not provide them so link in
libatomics

Fixes
atomic.cpp:(.text._ZN6cereal12Inpu
tArchiveINS_16JSONInputArchiveELj0EE7processIRNSt3__16atomicIdEEEEvOT_[_ZN6cereal12InputArchiveINS_16JSONInputArchiveELj0EE7processIRNSt3__16atomicIdEEEEvOT_]+0x10c): undefined reference to `__atomic_store_8'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-11 11:20:55 -08:00
Ross Burton
168a39d2bf meta-*: remove obsolete PYPA_WHEEL and PIP_INSTALL_PACKAGE assignments
These variables are no longer used by pip_install_wheel, so remove them
from all recipes that set them.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-11 11:20:55 -08:00
Julian Haller
1dda315dea nlohmann-json: Set CVE_PRODUCT according to NVD
NVD uses 'json-for-modern-cpp' as product name for nlohmann-json. See
https://nvd.nist.gov/products/cpe/detail/394565?namingFormat=2.3&orderBy=CPEURI&keyword=json-for-modern-cpp&status=FINAL

Signed-off-by: Julian Haller <julian.haller@philips.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-11 08:03:22 -08:00
Macpaul Lin
eb0956303f android-tools: adb: add u3 ss descriptor support
Porting u3 Superspeed descriptor support to open-embedded android-tools package.
This patch origins from the the patch in android project [1], but has been
modified for backporting to android-tools_5.1.1.r37.

[1] d6ee9f26a5%5E%21

Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
Signed-off-by: Jiacheng Liu <jiacheng.liu@mediatek.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-11 08:03:22 -08:00
Khem Raj
922f7143f2 pcp: Do not search headers on build host during cross compile
This is required for cross-compile to work correctly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-11 08:00:40 -08:00
Jeremy A. Puhlman
c47ab9a82c nspr-native: fix ubuntu 18.04 builds using system gcc.
gcc   abstract.o -Xlinker -L../../dist/lib -lplc4 -L../../dist/lib
-lnspr4 -lpthread -lrt -o abstract
../../dist/lib/libnspr4.so: undefined reference to `dlopen'
../../dist/lib/libnspr4.so: undefined reference to `dlclose'
../../dist/lib/libnspr4.so: undefined reference to `dlerror'
../../dist/lib/libnspr4.so: undefined reference to `dlsym'
../../dist/lib/libnspr4.so: undefined reference to `dladdr'
collect2: error: ld returned 1 exit status

Pulling in -lrt, does not automatically pull in libdl.

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-11 08:00:40 -08:00
Khem Raj
654af6d6ec pcp: Upgrade to 5.3.6
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-11 08:00:40 -08:00
Khem Raj
8ac6645b9c ttf-vlgothic: Specify accurate BSD license type
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-11 08:00:40 -08:00
Peter Kjellerstedt
39cc16f43c net-snmp: Avoid running make clean as it may fail
Rebuilding net-snmp may cause autotools_preconfigure() to run `make
clean`, which in turn can cause `configure`to be run. However, since
CACHED_CONFIGUREVARS is not set under those circumstances, `configure`
will run with an incorrect configuration and the build will fail with:

  checking for /etc/printcap... configure: error: cannot check for
  file existence when cross compiling

Avoid the problem by setting CLEANBROKEN = "1".

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-11 08:00:40 -08:00
Khem Raj
1f372ad6c5 libcereal: Disable Werror with ptests
skip portability tests on 64bit targets since we do not have 32bit
multilib enabled in compiler

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-11 08:00:40 -08:00
Mingli Yu
045fe61e30 libcereal: add ptest support
Add ptest support.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-11 07:57:51 -08:00
Ross Burton
e4745eab4e packagegroup-meta-python: add poetry-core and unattended-upgrade
These were missing from the packagegroup.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-11 08:48:39 -05:00
Ross Burton
ff7312f048 meta-python: migrate away from setuptool3 where possible
Many recipes are currently building with setuptools3 but can use a more
modern tool: typically setuptools_build_meta but ordered-set can use
flit_core and pyrad can use poetry_core.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-11 08:48:38 -05:00
Ross Burton
935dd6efa8 python3-pylint: upgrade to 2.12.2
The test suite is no longer shipped in the sources, so remove PN-tests.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-11 08:48:38 -05:00
Ross Burton
ce5e0278cf python3-twisted: remove empty PN-src and PN-dbg
Nothing is packaged in these, there are no debug symbols and the sources
are packaged into the regular packages.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-11 08:48:38 -05:00
Ross Burton
f3bacf644e python3-pycurl: fix DEPENDS
By assigning directly to DEPENDS the dependencies in setuptools3 are
overwritten, so python3-setuptools-native is present to let the build
succeed entirely through luck.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-11 08:48:38 -05:00
Ross Burton
8ca5c4b0bc python3-pyzmq: clean up recipe
Put the patch into a directory named after PN to avoid needing to set
FILESEXTRAPATHS.

Remove explicit FILES:${PN}-dbg, as these are packaged automatically.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-11 08:48:38 -05:00
Ross Burton
620689d4ef python3-backports-functional-lru-cache: remove, not needed for Python 3
This is a backport of the Python 3 lru_cache for Python 2 users, so
obviously it makes no sense to have for Python 3.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-11 08:48:38 -05:00