summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
...
* python3: disable user site-pkg for native targetKonrad Weihmann2022-08-251-0/+3
| | | | | | | | | | | | by setting the ENABLE_USER_SITE flag globally. This is the recommended way according to https://peps.python.org/pep-0370/#implementation (From OE-Core rev: 71bf8e9e418af6213de17903f54502b5b1055872) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: revert back to 6.46.11Chen Qi2022-08-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This package was broken since it was upgraded to 6.48, because it started using 'exceptiongroup' since then, which is missing in any meta layer. On target, when importing hypothesis, we meet the following error: Traceback (most recent call last): File "/usr/lib64/python3.10/site-packages/hypothesis/internal/compat.py", line 18, in <module> BaseExceptionGroup = BaseExceptionGroup NameError: name 'BaseExceptionGroup' is not defined. Did you mean: 'BaseException'? ModuleNotFoundError: No module named 'exceptiongroup' The related codes as below: try: BaseExceptionGroup = BaseExceptionGroup ExceptionGroup = ExceptionGroup # pragma: no cover except NameError: from exceptiongroup import ( BaseExceptionGroup as BaseExceptionGroup, ExceptionGroup as ExceptionGroup, ) We can see that it tries to use ExceptionGroup and falls back to use an import from exceptiongroup module. Looking at the https://github.com/agronholm/exceptiongroup, it says: """ This is a backport of the BaseExceptionGroup and ExceptionGroup classes from Python 3.11. """ So instead of adding a new recipe for exception group, it might be better to revert to a working version and wait for python 3.11 to release. (From OE-Core rev: 37c5b171d7de25b131e77b80d37f8481308bd6fe) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix CVE-2022-0216Sakib Sajal2022-08-233-0/+190
| | | | | | | | | Backport required patches to fix CVE-2022-0216. (From OE-Core rev: 938c69e9ca550038fdb2ee3a39d20b58bb98417d) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix CVE-2021-3507Sakib Sajal2022-08-233-0/+209
| | | | | | | | | Backport required patches to fix CVE-2021-3507. (From OE-Core rev: 1a22fa10ef4ed80b4ef3cdd12eb4191a8c320e0a) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Upgrade to latest on 2.39 release branchKhem Raj2022-08-211-1/+1
| | | | | | | | | | | | | | | | | | | | This brings in few bugfixes which we need e.g. fix elfutils ptests we need https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e8cf73215187b0c08679d726a5cc7c019fa3ea2e changsets in this update * 9e855cffa1f PR29466, APP/NO_APP with .linefile * e3b5d935247 PR29462, internal error in relocate, at powerpc.cc:10796 * e8cf7321518 gas/Dwarf: properly skip zero-size functions * 9284b63ea39 ld: fix NEWS typos (From OE-Core rev: 30e902f42d4a0205d2a75bf9b2a9cc5e8db582be) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: update 63.4.1 -> 65.0.2Alexander Kanavin2022-08-212-2/+2
| | | | | | | | (From OE-Core rev: 1647f6a6123f544a67aa3fb7accce82ba0d21420) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hatchling: update 1.6.0 -> 1.8.0Alexander Kanavin2022-08-211-1/+1
| | | | | | | | (From OE-Core rev: d9066ca0012c171bd9b7c697aa109ebc1dd85374) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: upgrade 5.18 -> 5.19Alexander Kanavin2022-08-211-1/+1
| | | | | | | | (From OE-Core rev: cc4e131118f4538a96de7b21edec06c692ac7a7f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytz: upgrade 2022.1 -> 2022.2.1Alexander Kanavin2022-08-211-1/+1
| | | | | | | | (From OE-Core rev: eff1c2ecae7eb7672ec9000b8a3f3cd9632be291) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyelftools: upgrade 0.28 -> 0.29Alexander Kanavin2022-08-211-1/+1
| | | | | | | | (From OE-Core rev: c87f97a8f49c05e03cd4ed9736b1c6c699fbd020) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pbr: upgrade 5.9.0 -> 5.10.0Alexander Kanavin2022-08-212-4/+4
| | | | | | | | (From OE-Core rev: ab94a8f171c9caecdce20452b6e39056525bf7f4) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: upgrade 1.23.1 -> 1.23.2Alexander Kanavin2022-08-211-1/+1
| | | | | | | | (From OE-Core rev: 627d7b9c9d010ccf3125f929a6d584ced9804e13) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-more-itertools: upgrade 8.13.0 -> 8.14.0Alexander Kanavin2022-08-211-1/+1
| | | | | | | | (From OE-Core rev: 38e0d7e2f5d4e76ffd9211dd1dfc531aed70e4bb) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dtschema: upgrade 2022.8 -> 2022.8.1Alexander Kanavin2022-08-211-1/+1
| | | | | | | | (From OE-Core rev: 885f36688fe6de524b50b54bee4c1ca92d198f50) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pkgconf: upgrade 1.8.0 -> 1.9.2Alexander Kanavin2022-08-211-1/+1
| | | | | | | | (From OE-Core rev: b1821fbf379844dee8de8481c8ab1904368f9e34) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: upgrade 0.63.0 -> 0.63.1Alexander Kanavin2022-08-211-1/+1
| | | | | | | | (From OE-Core rev: b5200ffe7ec557f492dd4f783935b01e37db490f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* git: upgrade 2.37.1 -> 2.37.2Alexander Kanavin2022-08-211-1/+1
| | | | | | | | (From OE-Core rev: a9387251165673cbb05e7fbed7a829f1183fe824) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools-rust: update 1.4.1 -> 1.5.1Alexander Kanavin2022-08-212-224/+4
| | | | | | | | | | Drop upstreamed patch. (From OE-Core rev: a6e441f2ee9252730a5e27b12513e3eb062588d6) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Disable gprofng on musl systemsKhem Raj2022-08-211-0/+3
| | | | | | | | | | | | | | | | | | disable gprofng, as it depends on few glibc apis | ../../../gprofng/libcollector/../src/collector_module.h:78:13: error: duplicate member 'pwrite' | 78 | ssize_t (*pwrite64)(); | | ^~~~~~~~ | ../../../gprofng/libcollector/dispatcher.c: In function 'collector_timer_create': | ../../../gprofng/libcollector/dispatcher.c:578:8: error: 'struct sigevent' has no member named '_sigev_un' | 578 | sigev._sigev_un._tid = __collector_gettid (); | | ^ (From OE-Core rev: 41869d81347f43aa0e4d625aec88c551321dcded) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cython: Remove debug linesJacob Kroon2022-08-211-2/+0
| | | | | | | | | | Fixes: ccbbed323b5a96bbdaec4411fdd26cb9dca583e8 ("python3-cython: Update code to match debug path changes") (From OE-Core rev: 4fc076cac2c0277164cb33b2cef38c503a0ea630) Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rsync: Add missing prototypes to function declarationsKhem Raj2022-08-212-0/+183
| | | | | | | | (From OE-Core rev: c53d465865d4a9c109322074c2653a3a8b665238) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autoconf: Fix strict prototype errors in generated testsKhem Raj2022-08-212-0/+65
| | | | | | | | | | | This will fix issues with autoconf tests which fail due to lacking prototypes (From OE-Core rev: eb477854ba230d8a8370f24880bd421607399e5a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils-cross-canadian: Package up new gprofng.rc fileKhem Raj2022-08-211-0/+2
| | | | | | | | (From OE-Core rev: 4482921731db1a4888d06e942eeb54bb20b31b36) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Disable gprofng when using clangKhem Raj2022-08-211-0/+3
| | | | | | | | | | | | | | | | It does not yet compile with clang it comes with __ builtin___snprintf_chk Not Supported formatted output of built-in functions check is failing with clang somehow it seems to be compiler limitation. Therefore disable building this component with clang for now (From OE-Core rev: 5f4b6afb030fe75247cc2da09cdf0ec5259673df) (From OE-Core rev: 0b3cff906c469bb9d6dfc7fafe385243d00f1c2b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Package up gprofngKhem Raj2022-08-211-3/+3
| | | | | | | | | | | (From OE-Core rev: 62fad02c368aa912ae97e8dd048bd81e305a5444) (From OE-Core rev: 59668255730bf8386c4f7d39b6ea638f7e90b42e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils-cross: Disable gprofng for when building cross binutilsKhem Raj2022-08-211-0/+1
| | | | | | | | | | | | | This does not work in cross settings yet (From OE-Core rev: c9d484092060f7e8431e31c64d98433b4f85c378) (From OE-Core rev: c5cf9795cf9d2290bfa39cd7adfbec9a7777fea0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Upgrade to 2.39 releaseKhem Raj2022-08-2120-1280/+7594
| | | | | | | | | | | | | | | Details of changes [1] [1] https://sourceware.org/pipermail/binutils/2022-August/122246.html (From OE-Core rev: a2458d4011e77868d6384b377a7a4cc1096c4ac3) (From OE-Core rev: 4fa90ce4f13eb8a854836462b1865fd08f5a68b2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Remove -Wimplicit-function-declaration warningsKhem Raj2022-08-211-7/+11
| | | | | | | (From OE-Core rev: 9f2dbfc51ef2faf1b6154856adb69ca9f764573b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Do not use std::binary_functionKhem Raj2022-08-174-4/+92
| | | | | | | | | This feature is removed from c++17 (From OE-Core rev: 7fcf108c4e115077cf01754c37bb8ce216c24dc8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expect: Fix implicit-function-declaration warningsKhem Raj2022-08-172-1/+115
| | | | | | | (From OE-Core rev: 06ca0b74e5856890a55be15b5061280cbab43d79) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: Update to match debug file layout changesRichard Purdie2022-08-171-2/+2
| | | | | | | | Update the recpie to match the recent debug files layout change. (From OE-Core rev: 7d191fc547a817f453496f2f48901ff384e34875) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: Disable drd/tests/std_thread2 ptestRichard Purdie2022-08-171-0/+1
| | | | | | | | | | After improvements to debug sources handling I suspect that extra debug information became available and is confusing this test. Disable it for now until someone with more knowledge can resolve the issue. (From OE-Core rev: 2d52b590f4f254ba6ff310af1f68780a0f329673) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Update patch status to submitted for two patchesRichard Purdie2022-08-172-2/+3
| | | | | | (From OE-Core rev: a2f52f6f698a1073f264dfb8afcdb4dcbcec6be8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Add a patch to avoid hardcoded paths in libgcc on powerpcRichard Purdie2022-08-172-0/+20
| | | | | | | | | Tweak the powerpc code to just include filenames rather than full paths to avoid build reproducibility issues. (From OE-Core rev: a71832a14b6944da10c1916861545577f2f2de2c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Resolve relative prefix-map filenamesRichard Purdie2022-08-172-0/+63
| | | | | | | | | | | | Add a patch to gcc so that relative paths are handled by -fdebug-prefix-map and friends. In OE we use relative paths in autotools and removing that creates a lot of issues we'd have to fix. This alternative allows us to fix the paths within gcc and improve our debug file coverage (and SPDX manifests) accordingly. (From OE-Core rev: 591cbe7140f01470b5799bc51e5b23f58bf95ffa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-cross: Fix relative linksRichard Purdie2022-08-171-0/+1
| | | | | | | | | | Now that we're using absolute paths to run configure, there are absolute path symlinks within gcc's output. Use our script that fixes these so that the sstate objects work correctly. (From OE-Core rev: 78f0bb21ae4337fdf628b2436c6182c32ed4fa9d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cython: Update code to match debug path changesRichard Purdie2022-08-171-9/+11
| | | | | | | | Match the changes to debug prefixes in bitbake.conf. (From OE-Core rev: ccbbed323b5a96bbdaec4411fdd26cb9dca583e8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Handle S and B separately for debug mappingRichard Purdie2022-08-172-21/+0
| | | | | | | | | | | | | | | | | We don't really need to keep S and B separate for debug source purposes and there shouldn't be source references in WORKDIR that isn't S and B either. Separating these out simplifies the shared-work directory handling for gcc and should also help fix external source usage. Therefore handle S and B in DEBUG_PREFIX_MAP separately and clean up other code. Indentation is reduced here as it is introduced on every compiler commandline so minimising it is helpful. (From OE-Core rev: c39b5020b8705d17e3745c41e38d0f99a1ac94cf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgcc/gcc-runtime: Improve source reference handlingRichard Purdie2022-08-172-14/+19
| | | | | | | | | | | | | | | | | | | | | | This code was some of the earliest reproducible build work we did. To correctly handle the encoding of file paths, we used relative build paths to run configure which resulted in relative build paths in the binaries. We now have more modern approaches used elsewhere with the prefix remapping options. These work best with absolute paths, not relative ones. As such, drop the relative path mangling and switch to using prefix mapping exclusively on absolute paths. This makes the code matc the rest of the system and triggers the correct code to be added in /usr/src/debug. We have to include both file-prefix and debug-prefix since the assembler only looks at debug-prefix. (From OE-Core rev: 309e5d8bb56eb8599d756831f0bd38e6a50cfb05) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rsync: Upgrade to 3.2.5Khem Raj2022-08-162-375/+1
| | | | | | | | | | Changlog is here [1] [1] https://download.samba.org/pub/rsync/NEWS#3.2.5 (From OE-Core rev: 937a28a2a83abc3923cf2793eb79b0a1f770cd54) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rsync: Backport fix to address CVE-2022-29154Khem Raj2022-08-162-0/+373
| | | | | | | | | CVE: CVE-2022-29154 (From OE-Core rev: a0a0358418c2bf6bc7a7128acbfcb4e99f8f764a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* json-c: Fix function prototypesKhem Raj2022-08-162-1/+35
| | | | | | | | | This is flagged with clang 15 (From OE-Core rev: 4af59d145103778debec000100c10846fa64afa4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* json-c: Add ptest for json-cSimone Weiss2022-08-142-2/+34
| | | | | | | | | | | | | Adapt json-c recipe to compile and deploy a ptest for json-c. Also add a small script for executing the tests. All tests were successful on a trial and took around 20 seconds. (From OE-Core rev: 757a5fbdeed58573c40d6e21475cc516aa49fd1c) Signed-off-by: Simone Weiß <simone.weiss@elektrobit.com> Signed-off-by: Kai Tomerius <kai.tomerius@elektrobit.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patchelf: replace a rejected patch with an equivalent uninative.bbclass tweakAlexander Kanavin2022-08-142-64/+0
| | | | | | | | | | | | | | | This was the original reason to add the patch: https://git.openembedded.org/openembedded-core/commit/?id=18efcbcb896239c64fedd009ce57f3f0c668cbc0 and this is the upstream discussion which suggests handling read-only files explicitly outside of patchelf: https://github.com/NixOS/patchelf/pull/89 (From OE-Core rev: 728775c87a7e35a03408675ce1c7a8cd061b2fda) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patchelf: update 0.14.5 -> 0.15.0Alexander Kanavin2022-08-142-17/+15
| | | | | | | | | | Rebase handle-read-only-files.patch (From OE-Core rev: 0b2f8da3ff9cbbb6fc2ab75fbe09ad1fe745c53b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: update 3.23.2 -> 3.24.0Alexander Kanavin2022-08-143-2/+2
| | | | | | | | | | License-Update: additional copyright holders (From OE-Core rev: 85968fcb7cd79602dd3edf9734cd075fd166e39a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: update 1.62.0 -> 1.62.1Alexander Kanavin2022-08-146-1/+1
| | | | | | | | (From OE-Core rev: 6baa224158f40b9754c3f10e11966d02e1337ae7) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: fix nativesdk-apt build failure during the second time buildChangqing Li2022-08-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Run following commands: bitbake nativesdk-apt bitbake nativesdk-apt -c install -f The second command's do_install will fail with following error: | /build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/recipe-sysroot-native/usr/bin/x86_64-wrlinuxsdk-linux/x86_64-wrlinuxsdk-linux-g++ -D_WITH_GETLINE=1 -Dapt_pkg_EXPORTS -I/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/build/include -I/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/build/include/apt-pkg --sysroot=/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/recipe-sysroot -O2 -pipe -fmacro-prefix-map=/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0=/usr/src/debug/nativesdk-apt/2.4.5-r0 -fdebug-prefix-map=/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0=/usr/src/debug/nativesdk-apt/2.4.5-r0 -fdebug-prefix-map=/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/recipe-sysroot= -fdebug-prefix-map=/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/recipe-sysroot-native= -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wcast-align -Wlogical-op -Wredundant-decls -Wmissing-declarations -Wunsafe-loop-optimizations -Wctor-dtor-privacy -Wdisabled-optimization -Winit-self -Wmissing-include-dirs -Wnoexcept -Wsign-promo -Wundef -Wdouble-promotion -Wsuggest-override -Werror=suggest-override -Werror=return-type -std=gnu++17 -MD -MT apt-pkg/CMakeFiles/apt-pkg.dir/tagfile-keys.cc.o -MF apt-pkg/CMakeFiles/apt-pkg.dir/tagfile-keys.cc.o.d -o apt-pkg/CMakeFiles/apt-pkg.dir/tagfile-keys.cc.o -c /build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/build/apt-pkg/tagfile-keys.cc | /build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/build/apt-pkg/tagfile-keys.cc:1:10: fatal error: /include/apt-pkg/tagfile-keys.h: No such file or directory | 1 | #include "/include/apt-pkg/tagfile-keys.h" 0/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/build/apt-pkg/tagfile-keys.cc During the first command, do_install task changed tagfile-keys.cc, this will make tagfile-keys.cc is newer than the built tagfile-keys.cc.o. So the second do_install will rebuild tagfile-keys.cc.o. But the header path is replaced wrongly, so fix the header path (From OE-Core rev: 3e18bd4dbddacfd878317ebcf0a039b46d6d6342) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: Pass additional flags to enable lfs and gnu sourceKhem Raj2022-08-121-0/+2
| | | | | | | | | | | These defines are needed to enable some GNU APIs and large file support is default in OE anyway (From OE-Core rev: 322b0a7f7a2e2c6a459deca6de0052365b1c1727) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl-cross: Correct function signatures in configure_func.shKhem Raj2022-08-122-0/+486
| | | | | | | | | | | | | | There are latent issues in function detection which were succeeding due to compiler being lenient, but this is fast changing e.g. clang-15 has turned the -Wimplicit-function-declaration into error which ends up failing these tests and rightly so. Therefore try to improve the tests to have proper prototypes known during compilation (From OE-Core rev: 330163295f14d1b29260059b65f7ec14e8a41e23) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>