summaryrefslogtreecommitdiffstats
path: root/recipes-core
AgeCommit message (Collapse)Author
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>
2018-12-06coreutils: Remove tab indentations in python codeyocto-2.6.4yocto-2.6.3yocto-2.6.2yocto-2.6.1thud-20.0.4thud-20.0.3thud-20.0.2thud-20.0.12.7_M32.7_M22.7_M1thudRobert Yang
Use 4 spaces to replace a tab. Fixed: python should use 4 spaces indentation, but found tabs in coreutils_6.9.bb, line 95 Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-08-14coreutils: remove obsolete patchessumoRoss Burton
No point fixing small problems with the man pages build if we later disable them entirely. Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-08-14coreutils: don't build suRoss Burton
Previously we built su but didn't package it because util-linux is the preferred provider. However with glibc 2.28 libcrypt has been removed so su doesn't build. Instead of depending on virtual/crypt, lets just not build su at all. Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-04-23coreutils: Update a patch to avoid fuzzyocto-2.5sumo-19.0.0Peter Kjellerstedt
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-04-23coreutils: Avoid warnings due to update-alternatives for man pagesPeter Kjellerstedt
The man pages for this package was disabled in 46349e1a with the result that the following warnings appeared: WARNING: coreutils-6.9-r0 do_package: coreutils: alternative target (/usr/share/man/man1/su.1 or /usr/share/man/man1/su.1.coreutils) does not exist, skipping... WARNING: coreutils-6.9-r0 do_package: coreutils: alternative target (/usr/share/man/man1/hostname.1 or /usr/share/man/man1/hostname.1.coreutils) does not exist, skipping... WARNING: coreutils-6.9-r0 do_package: coreutils: NOT adding alternative provide /usr/share/man/man1/su.1: /usr/share/man/man1/su.1.coreutils does not exist WARNING: coreutils-6.9-r0 do_package: coreutils: NOT adding alternative provide /usr/share/man/man1/hostname.1: /usr/share/man/man1/hostname.1.coreutils does not exist WARNING: coreutils-6.9-r0 do_package: coreutils: alt_link == alt_target: /usr/share/man/man1/su.1 == /usr/share/man/man1/su.1 WARNING: coreutils-6.9-r0 do_package: coreutils: alt_link == alt_target: /usr/share/man/man1/hostname.1 == /usr/share/man/man1/hostname.1 This change removes the update-alternatives for the man pages that no longer exists. Change-Id: If79bb634e05db48462265c6e65291db27169fa51 Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-19gettext: fix compilation with securityflags enabledPhong Tran
Signed-off-by: Phong Tran <tranmanphong@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-06-22coreutils: fix musl compilationAndré Draszik
As per the patch Signed-off-by: André Draszik <adraszik@tycoint.com> Acked-by: Sylvain Lemieux <slemieux@tycoint.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-03-09coreutils: Disable broken man pagesRichard Purdie
These are generated from --help output of the host tools which is clearly incorrect, particularly given the older nature of this recipe. Simply disable them entirely. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-07readline/elfutils: Add missing filesRichard Purdie
Add files which were missing from the initial import. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-02Create meta-gplv2 from files from OE-CoreRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>