summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
...
* eglinfo: Fix build on raspberrypiKhem Raj2016-01-242-1/+37
| | | | | | | (From OE-Core rev: 41c85bcf121ecaeae8097c9874fda51d8a4f2b4a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: Fix build with muslKhem Raj2016-01-242-1/+60
| | | | | | | | | | Define _POSIX_C_SOURCE if not defined Add sockaddr_un* to sockaddr* typecast to make compiler happy (From OE-Core rev: cdb858caadd81d3bdc9ea3fd596e3eab84ec2d81) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gpgme: Define __error_t_defined on muslKhem Raj2016-01-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Configure looks for error_t in errno.h and musl does not define error_t if its not defined then configure emits a definition to be used, now we also use standalone argp implementation from glibc on musl based systems which defines this in argp.h as well so now we have it defined twice and errors like | /a/builder/mnt/build-oe/tmp-musl/sysroots/raspberrypi2/usr/include/argp.h:40:13: error: cannot combine with previous 'int' declaration specifier | typedef int error_t; | ^ | ../config.h:257:17: note: expanded from macro 'error_t' | #define error_t int | ^ | 1 error generated. are seen. argp.h definition is conditional on __error_t_defined which is true here so lets define it on musl (From OE-Core rev: 29e1edcba39a21057ba5862eef4e79c177e7ef62) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* console-tools: Fix header inclusion when not using glibcKhem Raj2016-01-242-0/+54
| | | | | | | | | | It did differentiate on features in libc but assumed always glibc this patch make that assumption clear (From OE-Core rev: c360290f22abfe9e37ca2fc0766b5a08a3276f6b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc: Update to 1.0.11Khem Raj2016-01-242-5814/+2
| | | | | | | | | | | | | changes are here http://mailman.uclibc-ng.org/pipermail/devel/2016-January/000665.html Drop upstreamed patch (From OE-Core rev: 1553adb92bfdcfda9c216a72658ccf327b6ab1aa) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* unfs3: Depend on libtirpc when building on muslKhem Raj2016-01-241-3/+5
| | | | | | | | | needs a rpc implementation (From OE-Core rev: db75c6dda5b7768249178eac2a8d6e1fc95fbe0f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* guile: Fix build with muslKhem Raj2016-01-242-0/+68
| | | | | | | | | | | | | | | | | | strol_l is not available on musl delete charset.alias as well its not needed Use internal gc function on musl We get errors on certain functions not being available in boeheme gc when built with musl. Therefore use the internal versions e.g. Undefined gc_set_finalizer_notifier (From OE-Core rev: 31ee3460c3a0578ed36f3f5a940617ccb873c721) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bsd-headers: Package cdefs.hKhem Raj2016-01-242-0/+28
| | | | | | | | | Its used in several packages (From OE-Core rev: 8fea65047519a4d84183571e09d3f3f559d9e164) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Create ld.so as a relative symlinkKhem Raj2016-01-242-1/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have rootfs intercepts which fail on musl because ld.so on musl is an absolute symlink to /usr/lib/libc.so and then it fails to load when run with qemu user mode. Fixes rootfs failures like WARNING: The postinstall intercept hook 'update_pixbuf_cache' failed (exit code: 255)! See log for details! WARNING: The postinstalls for the following packages will be postponed for first boot: libgdk-pixbuf-2.0-loader-jpeg li bgdk-pixbuf-2.0-loader-png libgdk-pixbuf-2.0-loader-gif libgdk-pixbuf-2.0-loader-xpm WARNING: [log_check] core-image-sato: found a warning message in the logfile (keyword 'WARNING:'): [log_check] WARNING: The postinstall intercept hook 'update_pixbuf_cache' failed (exit code: 255)! See log for details! WARNING: [log_check] core-image-sato: found a warning message in the logfile (keyword 'WARNING:'): [log_check] WARNING: The postinstalls for the following packages will be postponed for first boot: libgdk-pixbuf-2.0-lo ader-jpeg libgdk-pixbuf-2.0-loader-png libgdk-pixbuf-2.0-loader-gif libgdk-pixbuf-2.0-loader-xpm (From OE-Core rev: d48ea3354eff8244e1734fa571bb52c810431b3f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fts: Fix linker hash-style optionKhem Raj2016-01-241-1/+7
| | | | | | | | | | | | pass --hash-style explicitly to linker and ensure that mips does not use gnu hash style This inoculates fts when compiler does not pass hash style option e.g. clang (From OE-Core rev: a40532a5277e1c0392032ff2d4992046477fadf0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dosfstools: Correct cross-compile CFLAGS and fix build with muslKhem Raj2016-01-243-1/+71
| | | | | | | | | enable largefile support if its in DISTRO_FEATURES (From OE-Core rev: 300defd71205bf350a6e956451e0cc87c4e92902) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nss: Undefine HAVE_SYS_CDEFS_HKhem Raj2016-01-241-0/+4
| | | | | | | | | | nss's build system assumes that cdefs.h is always available on linux which is not the case with musl (From OE-Core rev: c4a5a8c4a6dbdcf735024aaee9e36a7a7b56cb96) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apmd: Fix build with muslKhem Raj2016-01-242-0/+27
| | | | | | | | | | | | | | Fix error like below | apmd.c:372:41: error: use of undeclared identifier '__WCOREFLAG' | status = __W_EXITCODE(0, SIGTERM) | __WCOREFLAG; | ^ | apmd.c:392:41: error: use of undeclared identifier '__WCOREFLAG' | status = __W_EXITCODE(0, SIGTERM) | __WCOREFLAG; (From OE-Core rev: b9c870a25757ab11f4167c076449a3de537247cf) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pcmciautils: Fix parallel build and include sys/types.hKhem Raj2016-01-243-11/+29
| | | | | | | | | | | | | parallel build patch was removing dependencies on .c files mistakenly just adding src/yacc_config.h to dependencies in existing rule should have fixed the original build race include sys/types.h in lex_config.l for getting u_long definition (From OE-Core rev: 149a5202d32650775386e166ed06855097256977) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kexec-tools: Define _GNU_SOURCE for getting loff_t definitionKhem Raj2016-01-242-0/+32
| | | | | | | | | | | Fixes errors e.g. vmcore-dmesg/vmcore-dmesg.c:370:32: error: unknown type name 'loff_t' (From OE-Core rev: 93911daf0b492d16d02b2bd7ce93ae1eb6bdb5a4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Skip parsing on musl based targetsKhem Raj2016-01-241-0/+4
| | | | | | | | | | systemd on musl doesn't yet work even though we have patches to make it compile it fails to run, therefore lets skip building it for now (From OE-Core rev: a1986acf66381dee18f5c8deae7cf52490d0f58a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oprofile: fix build with muslRoss Burton2016-01-242-0/+48
| | | | | | | | (From OE-Core rev: 0b1b091bcfee268773002e8f015ead77c9de953a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* portmap: Point to tirpc headers and libraries on muslKhem Raj2016-01-241-0/+4
| | | | | | | (From OE-Core rev: 68442d149158a4d6ca817bbaedb2400e43d3957f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nfs-utils: Disable tcp-wrappers for muslKhem Raj2016-01-241-0/+1
| | | | | | | | | Doesnt build with musl (From OE-Core rev: 8c41bdc5252bbe119ab91a119cc3b9c285a7c16c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bsd-headers,musl: Add recipe for bsd missing featuresKhem Raj2016-01-244-0/+1633
| | | | | | | | | let musl depend on these headers so they are staged along with libc (From OE-Core rev: 2cb184e4abaa69faad9f94631a3906188aa78e96) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: Implement canonicalize_file_name() for musl as wellKhem Raj2016-01-242-0/+47
| | | | | | | (From OE-Core rev: 6faa7294ebc4f9897e256cad4b6e16fb56faaab9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* chkconfig: Avoid using caddr_tKhem Raj2016-01-242-1/+36
| | | | | | | (From OE-Core rev: 52658750ffb40386b7677de0330c1ab147e8679b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nspr: Drop older glibc codeKhem Raj2016-01-242-0/+44
| | | | | | | | | | This was not only getting included for libc5 but also for not-glibc libc implementations e.g. musl (From OE-Core rev: 9d0fed7d3b2e70bc5d6bc2b0e1cc38166df3f0d2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* irda-utils: Fix header inclusionsKhem Raj2016-01-242-0/+30
| | | | | | | | | Helps compile with musl (From OE-Core rev: b16f41b43f1955331baf95ea17965332fe4556a2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* iproute2: Fix build with muslKhem Raj2016-01-242-0/+98
| | | | | | | (From OE-Core rev: e24ca9a02c0c66796c9815752679594e78821127) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libuser: Fix build when secure getenv is not thereKhem Raj2016-01-243-1/+92
| | | | | | | | | Fixes build on musl (From OE-Core rev: a0739c37bef360b0268267284b86adf3cc140051) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* iputils: Use member based initialization for mrghdr structKhem Raj2016-01-243-0/+146
| | | | | | | | | | | | | Fix build with musl uclibc and glibc dont agree on structure of the struct, musl rightly adds padding elements, so when doing anonymous initialization struct elements gets wrongly mapped on 64bit arches (From OE-Core rev: 3c54b18797eb26d2045fd506d2b0c8b996a0396c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pax: Fix build with muslKhem Raj2016-01-243-0/+1330
| | | | | | | | | | There are several BSD specific assumptions and some GNU specific ones. (From OE-Core rev: 49e8fc6c4511e026dee176422cf3a7b7558c7cfc) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: Fix build for musl based targetsKhem Raj2016-01-242-0/+25
| | | | | | | | | | | | | | | | | It only considered linux-gnu hosts when cross compiling here we add linux-musl to the mix as well Fixes errors e.g. 1.28-r0/tar-1.28/src/tar.c:1351:5: error: 'SAVEDIR_SORT_INODE' undeclared here (not in a function) | SAVEDIR_SORT_INODE | ^ (From OE-Core rev: c17d9a8d7f89b8e855f87d61583075129e4aa72c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rt-tests: Fix build with non-gcc compilersKhem Raj2016-01-242-1/+32
| | | | | | | | | | Makery hard sets CC to be some form of gcc, make it set only if CC variable is absent in environment. (From OE-Core rev: 8d83c6ad78e1f965a55c0d3f430bad2781a3eb33) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* webkitgtk: Fix build with clang/muslKhem Raj2016-01-244-0/+128
| | | | | | | | | | | | backtrace is glibc only feature on linux so check for glibc before using it Clangs clear_cache has different signature than gcc provided builtin make it compatible for both (From OE-Core rev: c3dc346d44c8c5485b3eb1a97f32ba2ed2e76ece) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* console-tools: Include sys/types.h for u_char and u_short defsKhem Raj2016-01-242-0/+45
| | | | | | | (From OE-Core rev: 916ca791c70ec2bddae7623e77b7e39b6c591907) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysklogd: untangle header inclusion mazeKhem Raj2016-01-242-0/+133
| | | | | | | | | | wait is not union per posix it is int remove assumption about glibc is linux (From OE-Core rev: a590e541338d49130aaae5339856d31badd56719) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace: Add missing header for MAXNAMLEN defineKhem Raj2016-01-242-2/+32
| | | | | | | | | Fix bug exposed on musl (From OE-Core rev: cc4f9860332300925d93e2607d675509fc002be4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libunwind: backtrace APIs are glibc specificKhem Raj2016-01-242-0/+46
| | | | | | | | | | Make backtrace() API's use conditional on glibc this helps make libunwind compile on musl (From OE-Core rev: acffe22de65fad2f69c702e4fe94b366883a265b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Add support for building for musl targetsKhem Raj2016-01-243-1/+32
| | | | | | | | | | | Turn bzip2 support into a PACKAGECONFIG zlibs is a must have and therefore add it to DEPENDS will make the build consistent (From OE-Core rev: ded03dab901647a7388d219a3a228d4f4f4298e8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* puzzles: Zero'ise structs before useKhem Raj2016-01-242-0/+33
| | | | | | | | | | Fixes build failures with musl where gcc5 flags it used before initialized. (From OE-Core rev: dda96dbb3e4cd83fe6b8fd8370c8ca2a737cc078) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: Add musleabi to known architecturesKhem Raj2016-01-242-1/+44
| | | | | | | | | | | | Remove a glibc specific patch to be applied only for native version, this is a dpkg-native specific patch needed for Centos 5.8, this patch should be redone to be glibc independent for it to be applied to all types of dpkg recipes (From OE-Core rev: 610a9f102a83e1ffb9d7954e40df5f65d24d3a26) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xinetd: Fix build with muslKhem Raj2016-01-242-0/+105
| | | | | | | | | | musl relies on external rpc implemetation (libtirpc) and exposed a bug in configury when checking for rlim_t (From OE-Core rev: bcf7548aacb82d2e14115ced8fa58d35963abe60) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* watchdog: Fix build with muslKhem Raj2016-01-242-1/+106
| | | | | | | | | This patch is generic but is found during compiling watchdog with musl (From OE-Core rev: 00d30f7c772299f612e5f4d975042280e0d18f83) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gzip: Fix build with muslKhem Raj2016-01-241-0/+7
| | | | | | | | | | | | | | | | | | gzip 1.6 uses an older version of gnulib when cross compiling it treats fseeko as broken since it cant do runtime checks for it during configure this only shows up on musl since for glibc since it has special check for gnu c library, so we aid the system by telling it that fflush on stdin works well with musl Use NO_ASM to avoid textrels Delete charset.alias for musl which is again another issue in gnulib not knowing musl platform (From OE-Core rev: cc41d3b14c7c325d09f10167c1910c9da814e932) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* directfb: Fix build with muslKhem Raj2016-01-244-0/+200
| | | | | | | | | | compar_fn_t, sigval_t and non-posix recursive mutexes are not available in musl (From OE-Core rev: 9c8af6b8dd40c98aca86d5b4858598e94ccaede5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* net-tools: Link with libintl on uclibcKhem Raj2016-01-242-0/+104
| | | | | | | | | | | | libintl is needed explicitly on linker cmdline on uclibc since the APIs are not in libc itelf. Fix build on musl (From OE-Core rev: 1eaa3e101d04fd9e73b3c680f305b35f9bb16add) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* parted: Fix build with uclibcKhem Raj2016-01-241-1/+2
| | | | | | | | | | unlike glibc, uclibc does not have internal APIs implemented for libiconv, so it needs to depend upon libiconv (From OE-Core rev: 16cce4f3fa8bc40d6ab9498aa1d837e2db267947) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mtools: Fix build with uclibcKhem Raj2016-01-241-0/+3
| | | | | | | | | | unlike glibc, uclibc does not have internal APIs implemented for libiconv, so it needs to depend upon libiconv (From OE-Core rev: 04a609a70f6c464ffd32a4a073c3801d9446622b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnutls: Link with libuargp on uclibcKhem Raj2016-01-241-1/+2
| | | | | | | | | uclibc has its own implementation for libargp (From OE-Core rev: 5aea684689662d8cb0387f7268e1e69fd4bf0122) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* guile: Fix build with uclibcKhem Raj2016-01-242-1/+40
| | | | | | | (From OE-Core rev: e00dbd3863bebab02bb3e0c51bfc24a3079585d0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-self-hosted.bb: Move glibc-gconv-ibm850 to glibc only caseKhem Raj2016-01-241-1/+1
| | | | | | | | | | This package is not provided by non-glibc libcs therefore add it only when libc is glibc (From OE-Core rev: 86a801b970ab1e796d7c851755719e4b125d11fd) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Fix ptest builds on muslKhem Raj2016-01-242-0/+93
| | | | | | | | | musl doesnt implement error() API, hence provide one (From OE-Core rev: 4c7cb1f34bdb030333d83e445b5df5d06bef478f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnutls: Link with libargp on musl and depend on argp-standaloneKhem Raj2016-01-241-0/+2
| | | | | | | (From OE-Core rev: a5b15749d76727ce59d8bf7dea93a9cdadc55676) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>