summaryrefslogtreecommitdiff
path: root/meta
AgeCommit message (Collapse)AuthorFiles
2016-01-22devtool: build: ensure pkgdata is written outPaul Eggleton1
When you run devtool build, you need to have the pkgdata written out at the end, so that if what you're adding is a library and the next thing you add is something that depends on that library, the necessary information to map the dependency back to the recipe is present. In practical terms all this means is we need do_packagedata to run in addition to do_populate_sysroot. This does mean that do_package needs to run which wasn't running before, and that means that the few package QA tests that run within do_package such as installed-vs-shipped will now be run. This may be a bit bothersome, and prompted a fix for one of our oe-selftest tests as a result, but I don't see an easy way around it. Ultimately if you care about using the recipe in an image you'll need to fix any such errors anyway. Fixes [YOCTO #8887]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-22classes/populate_sdk_ext: add option to bring in pkgdata for worldPaul Eggleton3
Add a variable SDK_INCLUDE_PKGDATA which you can set to "1" to include pkgdata for all recipes in the world target. There are a couple of uses for this: 1) If you use "devtool add" to add a recipe that builds something which depends on anything in world, the dependency can then be correctly mapped to the recipe providing it and that recipe can be added to DEPENDS, since we have the pkg-config and shared library dependency data within pkgdata. 2) You'll be able to search for these recipes and any files they package for the target with "devtool search" since that also uses pkgdata This of course assumes you've tailored world through EXCLUDE_FROM_WORLD to only include recipes you'd want built in your distro, but I think that's a reasonable assumption; failing that there is a WORLD_PKGDATA_EXCLUDE variable that you can set to exclude any recipes you don't want. Note that this patch relies on functionality implemented in a recent BitBake patch and will not work without it. Implements [YOCTO #8600]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-22linux-libc-headers: Port patches for linux-headers for muslKhem Raj4
These patches have revealed issues with linux kernel headers which has been proposed upstream but hasnt been applied yet Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-01-22libsolv: Update to 0.6.17+Khem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-01-22glib-2.0: Fix locale location on muslKhem Raj3
gettext.m4 macro does not detect musl triplets and falls back to ${libdir}/locale It ends up with lot of packging warning "files installed but not packaged" Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22syslinux: Set LD to avoid using build host ldKhem Raj1
base ld is used during link phase and since its x86 so it works mostly, however it can cause problems depending upon build host. During cross build we should use cross linker Fixes errors e.g. ld -shared -m elf_i386 --hash-style=gnu -T /home/ubuntu/work/oe/openembedded-core/build/tmp-glibc/work/i586-oe-linux/syslinux/6.03-r0/syslinux-6.03/com32/lib/i386/elf.ld -soname libcom32.c32 -o libcom32.elf zlib/adler32.o zlib/compress. o zlib/crc32.o zlib/uncompr.o zlib/deflate.o zlib/trees.o zlib/zutil.o zlib/inflate.o zlib/infback.o zlib/inftrees.o zlib/inffast.o sys/zfile.o sys/zfopen.o libpng/png.o libpng/pngset.o libpng/pngget.o libpng/pngrutil.o libpng/pngtrans.o libpng/pngwutil.o libpng/pngread.o libpng/pngrio.o libpng/pngwio.o libpng/pngwrite.o libpng/pngrtran.o libpng/pngwtran.o libpng/pngmem.o libpng/pngerror.o libpng/pngpread.o jpeg/tinyjpeg.o jpeg/jidctflt.o jpeg/decode1.o jpeg/decode3.o jpe g/rgb24.o jpeg/bgr24.o jpeg/yuv420p.o jpeg/grey.o jpeg/rgba32.o jpeg/bgra32.o pci/cfgtype.o pci/scan.o pci/bios.o pci/readb.o pci/readw.o pci/readl.o pci/writeb.o pci/writew.o pci/writel.o sys/vesacon_write.o sys/vesaserial_write.o sys/ve sa/initvesa.o sys/vesa/drawtxt.o sys/vesa/background.o sys/vesa/alphatbl.o sys/vesa/screencpy.o sys/vesa/fmtpixel.o sys/vesa/i915resolution.o syslinux/reboot.o syslinux/keyboard.o syslinux/version.o syslinux/pxe_get_cached.o syslinux/pxe_get_nic.o syslinux/pxe_dns.o syslinux/video/fontquery.o syslinux/video/reportmode.o syslinux/addlist.o syslinux/freelist.o syslinux/memmap.o syslinux/movebits.o syslinux/shuffle.o syslinux/shuffle_pm.o syslinux/shuffle_rm.o syslinux/bios$oot.o syslinux/zonelist.o syslinux/dump_mmap.o syslinux/dump_movelist.o syslinux/run_default.o syslinux/run_command.o syslinux/cleanup.o syslinux/localboot.o syslinux/runimage.o syslinux/loadfile.o syslinux/floadfile.o syslinux/zloadfile$o syslinux/load_linux.o syslinux/initramfs.o syslinux/initramfs_file.o syslinux/initramfs_loadfile.o syslinux/initramfs_archive.o sys/libansi.o sys/gpxe.o atexit.o onexit.o abort.o | ld: zlib/deflate.o: unrecognized relocation (0x2b) in section `.text' | ld: final link failed: Bad value | make[4]: *** [libcom32.elf] Error 1 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22binutils: Fix gold linking errors due to unresolved R_ARM_MOVW_ABS_NCKhem Raj2
This issue has been seen in multiple times e.g. http://patchwork.openembedded.org/patch/103083/ https://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg72513.html Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22puzzles: Silence warning on arm with clangKhem Raj2
Clang finds overflows when comparison is done between an unsigned char and a integer constant. So explicitly typecast the constant before comparison Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22eglinfo: Fix build on raspberrypiKhem Raj2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22mdadm: Fix build with muslKhem Raj2
Define _POSIX_C_SOURCE if not defined Add sockaddr_un* to sockaddr* typecast to make compiler happy Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22gpgme: Define __error_t_defined on muslKhem Raj1
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 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22console-tools: Fix header inclusion when not using glibcKhem Raj2
It did differentiate on features in libc but assumed always glibc this patch make that assumption clear Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22uclibc: Update to 1.0.11Khem Raj2
changes are here http://mailman.uclibc-ng.org/pipermail/devel/2016-January/000665.html Drop upstreamed patch Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-01-22unfs3: Depend on libtirpc when building on muslKhem Raj1
needs a rpc implementation Signed-off-by: Khem Raj <raj.khem@gmail.com>
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>