aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-04-12readline: add config file for pkgconfigmaster-nextMingli Yu
After bind upgrade to 9.18.x, the below change introduced [1], all supported libraries have accompanying .pc files now. ba2376b9e0 Update and cleanup the readline library support Otherwise, there comes below error during do_configure. $ bitbake bind | configure: error: Package requirements (readline) were not met: | | No package 'readline' found So backport patches [2] to add support .pc file for readline to fix the above issue. [1] https://gitlab.isc.org/isc-projects/bind9/-/commit/ba2376b9e03b9bd214242c987609a658ef24ec41 [2] https://git.savannah.gnu.org/cgit/readline.git/commit/?id=d49a9082c0e15bba8cd3d8cc0a994409cf823cac Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15sed: mark as providing /bin/sed when usrmerge is enabledHEADyocto-4.0.1yocto-4.0kirkstone-4.0.1kirkstone-4.0masterkirkstoneAnthony Bagwell
Otherwise recipies that need sed like strace fail with "requires /bin/sed, but no providers found in RDEPENDS" when building. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02disable-gpl3: Update wildcard to new syntax3.5_M3Richard Purdie
INCOMPATIBLE_LICENSE wildcard handling changed in master-next, update to match. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02disable-gplv3: Remove ptest from DISTRO_FEATURESRichard Purdie
There are ptest dependencies which don't have coverage from gplv2 components so disable ptests for meta-gplv2 usage. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-01recipes: Convert to use SPDX license names in LICENSE variablesRichard Purdie
This uses the script from OE-Core to make the conversion. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-17gettext: Update to match variable renaming in OE-CoreRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-17layer.conf: Update to kirkstone releaseRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-19elfutils: Work around reproducibility issueyocto-3.4.4yocto-3.4.3yocto-3.4.2yocto-3.4.1yocto-3.4honister-3.4.4honister-3.4.3honister-3.4.2honister-3.4.1honister-3.43.5_M23.5_M13.4_M3honisterRichard Purdie
The version in this layer doesn't reproduce, so disable the warnings/errors and allow it to build. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-19layer.conf: Set elfutils version correctlyRichard Purdie
We need to set PREFERRED_VERSION for elfutils or the wrong one will be used. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30layer.conf: Update to honisterRichard Purdie
This marks the layers as compatible with honister now they use the new override syntax. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30meta-gplv2: Convert to new override syntaxRichard Purdie
This converts the layer to the new override syntax. This was done using <oe-core>/scripts/contrib/convert-overrides.py <this-layer> with no manual fixes. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-29recipes: Drop libc-uclibc overrides and patchRichard Purdie
These haven't been used for a long time and can therefore be removed. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-04coreutils: Rebase glibc 2.34 patch on top of series3.4_M2Khem Raj
This should fix the patch errors due to order of patching last time. Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-03conf/distro: Restore btrfs-tools since it was relicensedRobert Joslyn
libbtrfsutil was relicensed from LGPL-3.0+ to LGPL-2.1+, so it is no longer necessary to remove btrfs-tools. Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-03coreutils_6.9.bb: Fix build with glibc 2.34Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-07elfutils: ignore format-truncation and stringop-overflow issues to fix build ↵3.4_M1Martin Jansa
with gcc-11 * works around: http://errors.yoctoproject.org/Errors/Details/580076/ elfutils-0.148/src/ar.c:1088:56: error: '%-*ld' directive output may be truncated writing between 6 and 10 bytes into a region of size 7 [-Werror=format-truncation=] 1088 | snprintf (tmpbuf, sizeof (tmpbuf), ofmt ? "%-*lo" : "%-*ld", bufsize, val); | ^~~~~ elfutils-0.148/src/ar.c:1088:55: note: directive argument in the range [0, 4294967295] 1088 | snprintf (tmpbuf, sizeof (tmpbuf), ofmt ? "%-*lo" : "%-*ld", bufsize, val); | ^~~~~~~ http://errors.yoctoproject.org/Errors/Details/580078/ elfutils-0.148/tests/addrcfi.c:90:16: error: 'dwarf_frame_register' accessing 96 bytes in a region of size 64 [-Werror=stringop-overflow=] 90 | int result = dwarf_frame_register (stuff->frame, regno, ops_mem, &ops, &nops); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@arm.com>
2021-04-19conf/distro: Add removal of btrfs-tools from util-linux ptest dependsRichard Purdie
btrfs-tools has changed to LGPL-3.1 so to allow util-linux to build, remove the dependency from its ptest package. This may regress some ptests but keeps the gplv2 layer working. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15layer.conf: Update for hardknott release seriesyocto-3.3.6yocto-3.3.5yocto-3.3.4yocto-3.3.3yocto-3.3.2yocto-3.3.1yocto-3.3hardknott-3.3.6hardknott-3.3.5hardknott-3.3.4hardknott-3.3.3hardknott-3.3.2hardknott-3.3.1hardknott-3.33.3_M3hardknottRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19disable-gplv3.inc: Update pattern match to what we really meanRichard Purdie
This code wants to disable GPLv3 and GPLv3+ however the pattern didnt specify that and with recent changes in OE-Core, it needs to be specific. Update the pattern to be specific. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16README: Tweak urls to be up to dateRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03grep: Update to work with autoconf 2.70Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-16gnupg: Build with "-fcommon"yocto-3.2.4yocto-3.2.3yocto-3.2.2yocto-3.2.1yocto-3.2gatesgarth-24.0.4gatesgarth-24.0.3gatesgarth-24.0.2gatesgarth-24.0.1gatesgarth-24.0.03.3_M23.3_M1gatesgarthJoshua Watt
The patch from f9761c0 ("gnupg: Make it build with GCC 10 (which uses -fno-common by default)") doesn't work in all cases, such as when building gnupg-native. Instead of trying to patch around it, re-enable the -fcommon flag explicitly to keep the build the same as it was before GCC 10 changed the default. This reverts commit f9761c01495cd52ce88e33fbc8824f882cf80288. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
2020-10-15layer.conf: Move to support gatesgarth in masterRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-01gnupg: Make it build with GCC 10 (which uses -fno-common by default)Peter Kjellerstedt
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
2020-05-05README: Document how to configure repo for sending patches3.2_M33.2_M23.2_M1Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05disable-gplv3.inc: Disable glib-2.0 ptest python3-dbusmock dependencyRichard Purdie
The newly added dependency on python3-dbusmock in OE-Core is GPLv3 and would fail to work with this layer. Remove it in the config for enabling the layer. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05conf/distro: Add disable-gplv3.incRichard Purdie
We're finding meta-gplv2 needs configuration to work as intended. Rather than teaching this to things like the project autobuilder, collect the configuration inside an include file in the layer itself which everyone can either use directly or refer to. Initial population is from the autobuilder config currently used for testing meta-gplv2. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-15layer.conf: Update for dunfellyocto-3.1.9yocto-3.1.8yocto-3.1.7yocto-3.1.6yocto-3.1.5yocto-3.1.4yocto-3.1.3yocto-3.1.2yocto-3.1.16yocto-3.1.15yocto-3.1.14yocto-3.1.13yocto-3.1.12yocto-3.1.11yocto-3.1.10yocto-3.1.1yocto-3.1dunfell-23.0.9dunfell-23.0.8dunfell-23.0.7dunfell-23.0.6dunfell-23.0.5dunfell-23.0.4dunfell-23.0.3dunfell-23.0.2dunfell-23.0.16dunfell-23.0.15dunfell-23.0.14dunfell-23.0.13dunfell-23.0.12dunfell-23.0.11dunfell-23.0.10dunfell-23.0.1dunfell-23.0.03.1_M3dunfellRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-03coreutils: set some more autotools / m4 test resultsAndré Draszik
While we set test outcomes in oe-core meta/site, this here uses an old version of gnulib with slightly different variable names for some of the results: * jm_cv_func_unlink_busy_text -> gl_cv_func_unlink_busy_text * jm_cv_have_proc_uptime -> gl_cv_have_proc_uptime * jm_ac_cv_func_link_follows_symlink -> gl_cv_func_link_follows_symlink * gl_cv_func_mkdir_trailing_slash_bug -> gl_cv_func_mkdir_trailing_slash_works (meaning inverted) (defaults to working in recent coreutils when cross-compiling * gl_cv_func_rename_trailing_dest_slash_bug -> gl_cv_func_rename_slash_dst_works (meaning inverted) defaults to working in recent coreutils when cross-compiling for linux * gl_cv_func_rename_trailing_slash_bug -> gl_cv_func_rename_slash_src_works (meaning inverted) defaults to working in recent coreutils when cross-compiling for linux This helps to make some tools work in the first place (uptime), but also avoids useless extra wrappers which coreutils otherwise compiles in. While at it, convert to CACHED_CONFIGUREVAR instead of EXTRA_OECONF. Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Ross Burton <ross.burton@intel.com>
2020-02-03coreutils: fix build with 64bit time_t on 32bit archesAndré Draszik
| ../../coreutils-6.9/lib/mktime.c: In function 'ydhms_diff': | ../../coreutils-6.9/lib/mktime.c:105:52: error: size of array 'a' is negative | 105 | #define verify(name, assertion) struct name { char a[(assertion) ? 1 : -1]; } | | ^ | ../../coreutils-6.9/lib/mktime.c:168:3: note: in expansion of macro 'verify' | 168 | verify (long_int_year_and_yday_are_wide_enough, | | ^~~~~~ coreutils tries to determine of mktime() from the c-library works fine, but when cross-compiling, it unconditionally assumes buggy behaviour, in which case it will use its own replacement implementation. These basically are tests for (g)libc implementation bugs that have existed in ancient times but aren't relevant anymore. The alternative implementation makes various assumptions which don't hold true (and doesn't compile anymore). While more recent versions of coreutils have fixed those assumptions, it's quite hard to update the code here without potential licensing issues. Given mktime() works fine in musl and glibc these days, we can work-around the issues by simply relying on the c-libraries mktime() implementation, avoiding all problems with coreutils' alternative implementation. I've veryfied this by running the tests both on my musl target, and my glibc (v2.29) host. This also reduces code-size slightly. The ac_cv_func_working_mktime variable here corresponds to the gl_cv_func_working_mktime variable in more recent versions of coreutils (gnulib), which is being set in oe-core in meta/site. Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Ross Burton <ross.burton@intel.com>
2020-02-03bison: fix builds with gettext 0.20.xChangqing Li
Fix configure error like: error: possibly undefined macro: gl_AC_HEADER_STDINT_H Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2020-02-02shared-mime-info: Add inherit mimeJoshua Watt
Inherits mime.bbclass to fixe the QA issue: "do_package_qa: QA Issue: package contains mime types but does not inherit mime" Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-29gzip: Fix failure from recent shell changesRichard Purdie
We want the shell preserved as /bin/sh, tweak the makefile to achieve this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-18shared-mime-info: Add 1.10 from OE-Core3.1_M2Richard Purdie
Later versions of shared-mime-info need itstool which is GPLv3. Add an old version of shared-mime-info to allow gplv3 free builds to suceed. Use python to set PREFERRED_VERSION based on INCOMPATIBLE_LICENSE to control this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-18mc: Drop python2 scriptsRichard Purdie
python2 is now EOL. To keep this old version of mc going, delete the python2 scripts to avoid the dependency. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-09diffutils: use malloc() and realloc() from libc as-isAndre' Draszik
diffutils' version of autoconf tries to run a test program to determine if malloc() and realloc() behave like in glibc, i.e. returning non-NULL when given 0 as size. Running a test program doesn't work when cross- compiling, so it defaults to assuming different behaviour and compiles wrappers around malloc() & realloc(). Given they behave the same in musl (these days), and given uClibc isn't supported anymore, we can specify the test-result, and avoid having to use diffutil's replacement functions. jm_cv_func_working_malloc and jm_cv_func_working_realloc are similar to ac_cv_func_malloc_0_nonnull and ac_cv_func_realloc_0_nonnull, which oe-core sets in the site configuration in meta/site/, except that the former two are the flags for the older version of autoconf used by this package. Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Ross Burton <ross.burton@intel.com>
2020-01-08diffutils: fix build with 64bit time_t on 32bit archesAndr? Draszik
See included patch. Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Ross Burton <ross.burton@intel.com>
2020-01-07gnupg: Make it build with gettext 0.20Peter Kjellerstedt
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2020-01-07grep: fix builds with gettext 0.20.x (musl)Andr? Draszik
Update patch to also AC_CHECK_FUNCS([setlocale]). Various #include <locale.h> are guarded by the outcome of that, and otherwise compilation fails, e.g.: | ../../grep-2.5.1a/src/dfa.c:1366:34: error: 'LC_COLLATE' undeclared (first use in this function); did you mean 'REG_ECOLLATE'? | 1366 | hard_LC_COLLATE = hard_locale (LC_COLLATE); | | ^~~~~~~~~~ | | REG_ECOLLATE It appears that this test used to be triggered by (implied with) the old gettext version, but now it isn't. Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-12-18sed: fix builds with gettext 0.20.xAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-18mc: fix builds with gettext 0.20Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-12-18grep: fix builds with gettext 0.20.xAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-11-25diffutils: use mempcpy instead of __mempcpy3.1_M1Nicola Lunghi
musl (like uclibc) doesn't define __mempcpy. This patch will replace __mempcpy with mempcpy in the internal regex.c and getopt.c implementation (similar to what is done in grep in this same repo with the uclibc-fix.patch This also render the line: EXTRA_OECONF_libc-uclibc = "--without-included-regex" not needed anymore so it drops it. Signed-off-by: Nicola Lunghi <nick83ola@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-11-11dosfstools: fix out of bound writeszeus-22.0.4zeus-22.0.3zeus-22.0.2zeus-22.0.1yocto-3.0.4yocto-3.0.3yocto-3.0.2yocto-3.0.1zeusAJ Bagwell
Fix write issues where sprintf writes across both name and ext fields and drops the final null ternimator outside the struct Signed-off-by: AJ Bagwell <anthony.bagwell@hivehome.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-10-08layer.conf: Update for zeus releasezeus-22.0.0yocto-3.0Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-09-20tar: Add a missing Upstream-Status to a patchPeter Kjellerstedt
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
2019-09-18tar: Make it build with GCC 8.3Joakim Roubert
This avoids the following error: lib/argp-parse.c: In function 'argp_version_parser': lib/argp-parse.c:158:2: error: format not a string literal and no format arguments [-Werror=format-security] __argp_error (state, dgettext (state->root_argp->argp_domain, ^~~~~~~~~~~~ Signed-off-by: Joakim Roubert <joakim.roubert@axis.com> Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
2019-07-15gnupg: Enable native build support2.8_M32.8_M2Joshua Watt
Adds support for building gnupg as a -native recipe. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-06-21bc: use u-a for bc as wellMartin Jansa
* bc can be provided by busybox as well (e.g. if you have your own defconfig and forget to explicitly disable it: ... * * Miscellaneous Utilities * adjtimex (4.7 kb) (ADJTIMEX) [N/y/?] n bbconfig (9.7 kb) (BBCONFIG) [N/y/?] n bc (45 kb) (BC) [Y/n/?] (NEW) dc (36 kb) (DC) [Y/n/?] y Use bc code base for dc (larger, more features) (FEATURE_DC_BIG) [Y] (NEW) y Interactive mode (+4kb) (FEATURE_BC_INTERACTIVE) [Y/n/?] (NEW) Enable bc/dc long options (FEATURE_BC_LONG_OPTIONS) [Y/n] (NEW) beep (2.4 kb) (BEEP) [N/y/?] n chat (6.3 kb) (CHAT) [N/y/?] n conspy (10 kb) (CONSPY) [N/y/?] n ... ), causing conflict in u-a: update-alternatives: Error: not linking /usr/bin/bc to /bin/busybox.nosuid since /usr/bin/bc exists and is not a link and then whole do_rootfs or do_populate_sdk to fail because busybox postinst is failing: do_populate_sdk: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot, then please place them into pkg_postinst_ontarget_${PN} (). Deferring to first boot via 'exit 1' is no longer supported. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-06-05elfutils: ignore new error from gcc-92.8_M1Martin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>