summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2016-01-22guile: Fix build with muslKhem Raj2
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 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22bsd-headers: Package cdefs.hKhem Raj2
Its used in several packages Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22musl: Create ld.so as a relative symlinkKhem Raj2
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 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22fts: Fix linker hash-style optionKhem Raj1
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 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22dosfstools: Correct cross-compile CFLAGS and fix build with muslKhem Raj3
enable largefile support if its in DISTRO_FEATURES Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22nss: Undefine HAVE_SYS_CDEFS_HKhem Raj1
nss's build system assumes that cdefs.h is always available on linux which is not the case with musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22apmd: Fix build with muslKhem Raj2
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; Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22pcmciautils: Fix parallel build and include sys/types.hKhem Raj3
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 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22kexec-tools: Define _GNU_SOURCE for getting loff_t definitionKhem Raj2
Fixes errors e.g. vmcore-dmesg/vmcore-dmesg.c:370:32: error: unknown type name 'loff_t' Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22systemd: Skip parsing on musl based targetsKhem Raj1
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 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22oprofile: fix build with muslRoss Burton2
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22portmap: Point to tirpc headers and libraries on muslKhem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22nfs-utils: Disable tcp-wrappers for muslKhem Raj1
Doesnt build with musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22bsd-headers,musl: Add recipe for bsd missing featuresKhem Raj4
let musl depend on these headers so they are staged along with libc Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22tcf-agent: Implement canonicalize_file_name() for musl as wellKhem Raj2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22chkconfig: Avoid using caddr_tKhem Raj2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22nspr: Drop older glibc codeKhem Raj2
This was not only getting included for libc5 but also for not-glibc libc implementations e.g. musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22irda-utils: Fix header inclusionsKhem Raj2
Helps compile with musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22iproute2: Fix build with muslKhem Raj2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22libuser: Fix build when secure getenv is not thereKhem Raj3
Fixes build on musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22iputils: Use member based initialization for mrghdr structKhem Raj3
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 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22pax: Fix build with muslKhem Raj3
There are several BSD specific assumptions and some GNU specific ones. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22tar: Fix build for musl based targetsKhem Raj2
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 | ^ Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22rt-tests: Fix build with non-gcc compilersKhem Raj2
Makery hard sets CC to be some form of gcc, make it set only if CC variable is absent in environment. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22webkitgtk: Fix build with clang/muslKhem Raj4
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 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22console-tools: Include sys/types.h for u_char and u_short defsKhem Raj2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22sysklogd: untangle header inclusion mazeKhem Raj2
wait is not union per posix it is int remove assumption about glibc is linux Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22babeltrace: Add missing header for MAXNAMLEN defineKhem Raj2
Fix bug exposed on musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22libunwind: backtrace APIs are glibc specificKhem Raj2
Make backtrace() API's use conditional on glibc this helps make libunwind compile on musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22apt: Add support for building for musl targetsKhem Raj3
Turn bzip2 support into a PACKAGECONFIG zlibs is a must have and therefore add it to DEPENDS will make the build consistent Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22puzzles: Zero'ise structs before useKhem Raj2
Fixes build failures with musl where gcc5 flags it used before initialized. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22dpkg: Add musleabi to known architecturesKhem Raj2
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 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22xinetd: Fix build with muslKhem Raj2
musl relies on external rpc implemetation (libtirpc) and exposed a bug in configury when checking for rlim_t Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22watchdog: Fix build with muslKhem Raj2
This patch is generic but is found during compiling watchdog with musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22gzip: Fix build with muslKhem Raj1
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 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22directfb: Fix build with muslKhem Raj4
compar_fn_t, sigval_t and non-posix recursive mutexes are not available in musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22net-tools: Link with libintl on uclibcKhem Raj2
libintl is needed explicitly on linker cmdline on uclibc since the APIs are not in libc itelf. Fix build on musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22parted: Fix build with uclibcKhem Raj1
unlike glibc, uclibc does not have internal APIs implemented for libiconv, so it needs to depend upon libiconv Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22mtools: Fix build with uclibcKhem Raj1
unlike glibc, uclibc does not have internal APIs implemented for libiconv, so it needs to depend upon libiconv Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22gnutls: Link with libuargp on uclibcKhem Raj1
uclibc has its own implementation for libargp Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22guile: Fix build with uclibcKhem Raj2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22packagegroup-self-hosted.bb: Move glibc-gconv-ibm850 to glibc only caseKhem Raj1
This package is not provided by non-glibc libcs therefore add it only when libc is glibc Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22util-linux: Fix ptest builds on muslKhem Raj2
musl doesnt implement error() API, hence provide one Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22gnutls: Link with libargp on musl and depend on argp-standaloneKhem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22argp-standalone: Add recipeKhem Raj3
This helps packages like gnutls to compile with musl any package that needs glibc's implementation of argp can link to this library Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22gdk-pixbuf: Fix latent build issue exposed by muslKhem Raj2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22xserver-xorg: Fix build with muslKhem Raj2
inb/outb are implemented for ARM on glibc but not on linux in general therefore the conditional has to reflect that Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22libcgroup: Add dependency on fts when building on muslKhem Raj2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22connman: include config.h for HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDRKhem Raj1
We now check at configure time of libc has pktinfo struct Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22fts: Add recipeKhem Raj6
fts is not implemented in musl but many packages depend on it glibc implements it even though posix does not requir it to do so. So provide an alternative provider for fts Signed-off-by: Khem Raj <raj.khem@gmail.com>