summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* quota: inherit pkgconfigMartin Jansa2013-08-161-1/+1
| | | | | | | | | | | | | | | | | | * missing dependency on pkgconfig-native was causing that PKG_CHECK_MODULES(DBUS, dbus-1) stayed unexpanded in configure script: checking for ext2fs_initialize in -lext2fs... yes quota/4.01-r1/quota-tools/configure: line 3746: syntax error near unexpected token `DBUS,' quota/4.01-r1/quota-tools/configure: line 3746: ` PKG_CHECK_MODULES(DBUS, dbus-1)' Configure failed. The contents of all config.log files follows to aid debugging (From OE-Core master rev: 933df6f9cc309cfb5d63401c5b6cf8d4432a1b1a) (From OE-Core rev: 277b2497f0b6400e47e0cbad89ccfff72f584059) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* taglib: add missing dependency on zlibMartin Jansa2013-08-161-0/+2
| | | | | | | | | | | | | | | * without target zlib it tries to use native one: | /OE/sysroots/x86_64-linux/usr/lib/libz.so: could not read symbols: File in wrong format | collect2: error: ld returned 1 exit status | make[2]: *** [taglib/libtag.so.1.12.0] Error 1 (From OE-Core master rev: 663564d14b09073765e2c4657f1e6c94dab6a365) (From OE-Core rev: 7afce1297a63e470237ba1f3ff7d72b497188ff8) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gst-plugins-base: add missing dependency on glib-2.0-nativeMartin Jansa2013-08-161-1/+1
| | | | | | | | | | | | | * glib-genmarshal is needed during do_compile: | /bin/bash: line 1: glib-genmarshal: command not found (From OE-Core master rev: 50fdebe819e4d51bc8ba011a0d4a090a8ded64b8) (From OE-Core rev: 51f38d088107c28bca6604deb688b31b0799d09b) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gst-plugins-bad: inherit gsettingsMartin Jansa2013-08-161-1/+1
| | | | | | | | | | | | | | * do_configure fails without native glib-compile-schemas: | checking for glib-compile-schemas... no | configure: error: glib-compile-schemas not found. (From OE-Core master rev: c8ba0ab9ba2a13eab3fdc6aed148c5ee3b53e253) (From OE-Core rev: 9ad60f1b5ecbe716f14e7d43b16c532383c8a8f8) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* (lib)telepathy*: add missing dependency on libxslt-nativeMartin Jansa2013-08-165-8/+5
| | | | | | | | | | | | | * do_configure fails without: | configure:13590: error: xsltproc (from the libxslt source package) is required (From OE-Core master rev: fe84f0b28ce49300d9744532fa011ab1678fbb70) (From OE-Core rev: 33d6d4fe91e79d819494dc6c7a7af3939646399a) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gst-plugins-gl: add explicit dependency on libpngEric Nelson2013-08-161-1/+1
| | | | | | | | | | (From OE-Core master rev: 2cd01fdc26ee4f444635ad8e9d3956b9e764dc82) (From OE-Core rev: ae8f56fbc6f40a42c357f95611b4dad04025e786) Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: fix include header caused compile errorKai Kang2013-08-162-1/+43
| | | | | | | | | | | | | | | | | | | | | | | | Build dpkg-native on Fedora 19, it fails with: /usr/include/c++/4.8.1/cstdlib: In function ‘long long int std::abs(long long int)’: /usr/include/c++/4.8.1/cstdlib:174:20: error: declaration of C function ‘long long int std::abs(long long int)’ conflicts with abs(long long __x) { return __builtin_llabs (__x); } ^ /usr/include/c++/4.8.1/cstdlib:166:3: error: previous declaration ‘long int std::abs(long int)’ here abs(long __i) { return __builtin_labs(__i); } ^ That because header cstdlib is included in a 'extern "C"' block that gcc 4.8 doesn't support. Fix it by move the header file out of the 'extern "C"' block. (From OE-Core master rev: 7de61ecc3efc43c625dde9a66f5c05e980a82e34) (From OE-Core rev: 0e60a468c1a81642d4319c0831dafd2f6fa43d86) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* groff: Add GPLv2 versionSaul Wold2013-08-164-0/+156
| | | | | | | | | | | Apparrently a LICENSE change was missed, so we add the GPLv2 version back in (From OE-Core master rev: 002818712fab5c6325b1f7205512945ea87ad76c) (From OE-Core rev: 4fbb129bdfac7de91b23cefd9431e81a385406b6) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* groff: Fix License to be GPLv3Saul Wold2013-08-161-1/+1
| | | | | | | | | (From OE-Core master rev: 4090c4d9b204118ec9826db02b0739ce60563dd4) (From OE-Core rev: 90198d6fe0a264f6d606a25b8ccd72383271c0e2) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub_0.97: Fix to correctly ship files under /usr/libChen Qi2013-08-161-12/+38
| | | | | | | | | | | | | | | | | | | The grub_fix_for_automake-1.12.patch replaced pkglib with pkgdata to make grub_0.97 build with automake-1.12. However, it forgot to set up the pkgdatadir, thus causing grub_0.97 not shipping files under /usr/lib. This in turn resulted in an unworkable grub. This patch fixes this problem by setting up the pkgdatadir correctly. [YOCTO #4997] (From OE-Core master rev: 883b1b396328e6cd67dcb4ca6fd8975b6e716c0a) (From OE-Core rev: ac0709ef97e8607af7060e65c45b860992a80366) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/terminal: fix pseudo exiting when launching devshellPaul Eggleton2013-08-161-0/+4
| | | | | | | | | | | | | | | | In dylan, since the entire bitbake process is run under pseudo, LD_PRELOAD is set when we collect BB_ORIGENV and thus when we construct the devshell environment from the latter, LD_PRELOAD is included. However, for a fakeroot task we explicitly run the devshell under pseudo (e.g. "pseudo /bin/bash"), and if LD_PRELOAD is set to preload libpseudo.so when pseudo is run, it seems to exit immediately without error. Since LD_PRELOAD shouldn't be exported anyway, exclude this from the environment so it doesn't prevent running the shell. (From OE-Core rev: 88866d93b1a99a921d390044a8399c3ef24dc977) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub: disable floating ncurses dependency for GPLv2 versionPaul Eggleton2013-08-121-0/+2
| | | | | | | | | | | | | | | | | | A dependency was being added on ncurses conditionally upon whether it had been built first. Explicitly disable this dependency to stop this from happening. Note that grub 2.x does not need this same fix because there ncurses is only used when building grub-emu, which is only built when the specified target platform is "emu" which we do not use. (From OE-Core master rev: 2ca75dd0718ec37d7f131b8bcd841de6e876bd07) (From OE-Core rev: acf46cb2eb03c2ed3aadd7858044ba2837a83292) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/sanity: check for suid root command evilityPaul Eggleton2013-08-121-0/+11
| | | | | | | | | | | | | | | | | | | Some users have been found to have an unnamed third-party piece of software installed which sets chmod, chown and mknod as suid root as part of its installation process. This interferes with the operation of pseudo and can result in files really being owned by root within the build output, and therefore breaks the build, apart from being a security issue. Check for this and bail out if it is found. Reported-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> (From OE-Core master rev: 08d61529f3c7a48ec82e1f8c9c28c7b2e5238934) (From OE-Core rev: 041342a518e1d33349eb52e11750e155a5647735) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-core-tools-testapps: isolate x11 dependent toolsRogerio Nunes2013-08-121-8/+12
| | | | | | | | | | | | | | This patch groups x11 dependent tools in a separete variable, and when DISTRO_FEATURES does not contain x11, this group is not included in the package RDEPENDS. (From OE-Core master rev: 8253abeee10189b828336b791c3421d240a2e69b) (From OE-Core rev: 3974ebead1be20e3687ab66e8782da70118a3202) Signed-off-by: Rogerio Nunes <rogerio.nunes@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: state the MACHINE when skipping u-bootRoss Burton2013-08-121-1/+1
| | | | | | | | | | | | | | | | If the user accidently tries building u-boot on a machine doesn't use u-boot (such as qemuarm) the error message doesn't make it clear why u-boot was skipped. To help, state the machine that was being built for again. [ YOCTO #4945 ] (From OE-Core master rev: beef66beaee926ec3d3640b79133fdb2ccc404f0) (From OE-Core rev: 0042a3230a0c3b983245aabad6fdc3b3d3fcc2cd) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shadow: Fix build when DISTRO_FEATURES contains pam, libc-cryptRichard Tollerton2013-08-121-0/+4
| | | | | | | | | | | | | shadow falsely assumes that if --enable-libpam is set, it doesn't need to link against libcrypt; this breaks chsh. (This same fix exists in Arch.) (From OE-Core master rev: f68eccd67a3f9ed0d62e5ab75545891bd724daa3) (From OE-Core rev: dd164ba9c367417d7c137729642f6bc5e23fca79) Signed-off-by: Richard Tollerton <rich.tollerton@ni.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* csl-versions.inc: instruct user to check local.confLaurentiu Palcu2013-08-121-0/+1
| | | | | | | | | | | | | | | | In case the compiler version cannot be extracted instruct user to check that the toolchain supports MACHINE's architecture and that the latter is set correctly in local.conf. [YOCTO #4901] (From OE-Core master rev: 0023188ec27404b8109ea92d7f7f23748aa62a46) (From OE-Core rev: c3d71f0178212a4fe889bcc47e1d35327e858416) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo: Always try to build 32-bit libpseudo when NO32LIBS is set to 0Peter Seebach2013-08-121-9/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | This is for Yocto bug #4920. The NO32LIBS variable is intended to allow the user to force the creation of a 32-bit libpseudo, for use with things like prebuilt binary toolchains. Unfortunately, the tests for likely compilability (stubs-32.h) were still present, so you would get silent failures. And if you did cause it to try to build, the failures were not particularly clearly explained. So, we: 1. Emit at least a message during configuration saying we're only building 64-bit, if we are. 2. Warn the user for at least one common case where we know builds are likely to fail. 3. If NO32LIBS is 0, we try the compile for sure, and if it fails, we've emitted at least some sort of message up near the top of the compile output that tells you what might be wrong. (From OE-Core master rev: 22548b3243dfa2dc9861b0f15530632b37812a8c) (From OE-Core rev: 72efa8bb7fb0dcc098eecc1be55136314270f22a) Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/terminal.py: add support for MATE desktop terminalsAndre McCurdy2013-08-121-0/+4
| | | | | | | | | | | | | | A simple clone of the corresponding Gnome class. Without this, devshell fails completely on a default installation of MATE desktop Linux Mint 15. (From OE-Core master rev: 8cc078a9c679845464c59028f584d7aba098cc1f) (From OE-Core rev: 6abc94f00daa04d8b180ef2242add19d3da2e043) Signed-off-by: Andre McCurdy <andre.mccurdy@entropic.com> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* external-sourcery: add missing providersSaul Wold2013-08-122-0/+5
| | | | | | | | | | | | | | | | | | | | | | Addess the issue with multiple .bb providers ERROR: Multiple .bb files are due to be built which each provide virtual/libc (/srv/hdd/releases/dylan/meta/recipes-core/eglibc/eglibc_2.17.bb /srv/hdd/releases/dylan/meta/recipes-core/meta/external-sourcery-toolchain.bb). This usually means one provides something the other doesn't and should. ERROR: Multiple .bb files are due to be built which each provide virtual/arm-none-linux-gnueabi-libc-for-gcc (/srv/hdd/releases/dylan/meta/recipes-core/eglibc/eglibc_2.17.bb /srv/hdd/releases/dylan/meta/recipes-core/meta/external-sourcery-toolchain.bb). This usually means one provides something the other doesn't and should. ERROR: Multiple .bb files are due to be built which each provide virtual/libiconv (/srv/hdd/releases/dylan/meta/recipes-core/eglibc/eglibc_2.17.bb /srv/hdd/releases/dylan/meta/recipes-core/meta/external-sourcery-toolchain.bb). This usually means one provides something the other doesn't and should. Thanks to Kergoth (Chris Larson) and Lpapp (Lazslo) [YOCTO #4908] (From OE-Core master rev: 09deeef20ee5a0c12ad4fd89cace6e0fb832d5b1) (From OE-Core rev: cbec047b1d59f6082d840711fae5672f30c3436c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* TmuxRunning: handle multi-word commandsTyler Hall2013-08-121-1/+1
| | | | | | | | | | | | | | | | | | Just as in f8ed7446755eeb88191e16749350efa1e7e6197c, tmux wants a single argument for its command. This applies to the "split-window" command as well as "new." Note that this alone is not enough to fix the TmuxRunning devshell when using pseudo because tmux does not preserve the environment that pseudo requires. (From OE-Core master rev: 36fb9799d6a449d86acca3be354af56ad87c3151) (From OE-Core rev: 2470a8f680653f569b88476124fc41a4317e3c5a) Signed-off-by: Tyler Hall <tylerwhall@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* terminal: Run command using a wrapper scriptTyler Hall2013-08-121-9/+32
| | | | | | | | | | | | | | | | | | | | | | | | | Some terminals may not pass the environment into the child process. This is true when using "tmux split-window." If tmux is already running, it will start the command with the tmux session environment, ignoring the environment where the command was issued. This could possibly be worked around when launching tmux by injecting variables into the user's session environment or adding the variables to the "update-environment" tmux setting. However, both methods would permanently alter the user's session, which is undesirable. By using a wrapper script, we have full control over the final environment. Replace the env dictionary with an empty data smart that will contain the exported variables and a wrapper function that execs the original command. (From OE-Core master rev: 3bb96671e987ce8110ce98b9f6d9efc093f8d20e) (From OE-Core rev: a749f068e08217264324372a19b561181bfd31cc) Signed-off-by: Tyler Hall <tylerwhall@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* directfb: don't patch pkg-config filesAndré Draszik2013-08-122-49/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We are currently getting build failures of projects that rely on being able to access DirectFB's internal include directories, as returned via pkg-config, since the include paths returned by pkg-config are incomplete. The reason for that is the patch that is being removed with this change. It modified the cflags returned by pkg-config in an incorrect way, causing us to miss important include paths: For reference, pkg-config output with incorrect patch applied: ad@bril0118 #513 ~> pkg-config --cflags directfb-internal -D_GNU_SOURCE -D_REENTRANT -I<builddir>/tmp/sysroots/<machine>/usr/include/directfb -I<builddir>/tmp/sysroots/<machine>/usr/include Now, with the incorrect patch removed, the output is as expected: ad@bril0118 #514 ~> pkg-config --cflags directfb-internal -D_GNU_SOURCE -D_REENTRANT -I<builddir>/tmp/sysroots/<machine>/usr/include/directfb-internal -I<builddir>/tmp/sysroots/<machine>/usr/include/directfb Overall, the removed patch is not needed - pkg-config does the right thing these days and we can simply use the correctly working upstream versions of all DirectFB .pc files. (From OE-Core master rev: 795db65706d28bc194244a2ebbe6624ded584a33) (From OE-Core rev: 6d66de326bc355ff7bbb3923e0f3d59625f2ead9) Signed-off-by: André Draszik <andre.draszik@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: add PACKAGECONFIG for avahiMartin Jansa2013-07-291-0/+3
| | | | | | | | | | | | * it's autodetected from sysroot (From OE-Core master rev: 0d6fa308e7c2838a51013b16b348e95f9e177105) (From OE-Core rev: 319355e68006c0c7dca117d552e96a36dfef01c3) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* subversion: add PACKAGECONFIG for saslMartin Jansa2013-07-292-0/+4
| | | | | | | | | | | | * cyrus-sasl is in meta-networking (From OE-Core master rev: f32f0e8195b1abfdd4477747eca0838e90feabb7) (From OE-Core rev: 506f9b0b5e18a839058196ac5cd231290b85ba95) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pulseaudio: add PACKAGECONFIG for jackMartin Jansa2013-07-291-0/+1
| | | | | | | | | | (From OE-Core master rev: 4c32a6af7dfd16cf9c652ca2735cd8d24d204e29) (From OE-Core rev: 6ce6dd32a00abaf1402ddfeee62c4e96f515aa32) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gst-plugins-ugly: add PACKAGECONFIG for x264, cdio, dvdreadMartin Jansa2013-07-291-0/+5
| | | | | | | | | | | | * they are autodetected from sysroot (From OE-Core master rev: b253bbe742c016a07b67cfaa65b28895118c5bd8) (From OE-Core rev: 93e147d0c0d52d349fd644f45831a961a3551d4b) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gst-plugins-good: add PACKAGECONFIG for jackMartin Jansa2013-07-291-0/+1
| | | | | | | | | | | * jack is autodetected from sysroot (From OE-Core master rev: 00872ded9e4f492f146175be41435902aaf45ad7) (From OE-Core rev: e17f49ddcdbcf3fc4f6c974488a104c2cdcf8f8c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* remake: fix insufficient gettext dependencyPetter Mabäcker2013-07-291-1/+5
| | | | | | | | | | | | | | | | | | | | | | By default when inheriting gettext, "gettext-minimal-native" is added as a dependency for native. The bb-file for remake use 'autopoint' (not included in gettext-minimal-native). When building remake-native it will result in a failure in do_configure for all cases when gettext (or gettext-native) is not build from some other recipes, before building 'remake-native'. This is solved by adding a build-dependency to gettext-native in remake-native. Fixes [YOCTO #4385] (From OE-Core master rev: 4bd98157f1d7a96741d036e67b04819ccbc9a9c6) (From OE-Core rev: f0535740070381b6e93a3ab90a4b7eea401af93d) Signed-off-by: Petter Mabäcker <petter@technux.se> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wget: backport fixes for documentation build errorsJonathan Liu2013-07-292-0/+72
| | | | | | | | | | (From OE-Core master rev: f0c89f4122a0df67a003a6721afb45d7979ffc6f) (From OE-Core rev: d6aa6a2c0e9b55889b264dbf3b3d24cadb5e9f06) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt_installer_internal: fix spelling errorBeth Flanagan2013-07-291-1/+1
| | | | | | | | | | | | s/envrionement/environment/ (From OE-Core master rev: 5ace1d88efc37b70516eeb1a609ea37a657a5ce0) (From OE-Core rev: b3bf03715509390d423795ae72c12713b0b7864b) Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: Fix typo in ALTERNATIVES lineSaul Wold2013-07-291-1/+1
| | | | | | | | | (From OE-Core master rev: 661897219bc50d569a2c87b414ab04a7f83f5a8e) (From OE-Core rev: 99107b0ef7c9e85a3c71d883e7b1a2bc3a75ecbf) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: fix EGL compilation without X11 headersNicolas Dechesne2013-07-293-33/+362
| | | | | | | | | | | | | | | | | | Extracted from "d7033f4 mesa: upgrade to 9.1.3", already merged in master. Add EGL-Mutate-NativeDisplayType-depending-on-config.patch to build correctly in a non-X11 environment, it replaces fix-egl-compilation-without-x11-headers.patch. The new patch fixes compilation issues for components that include EGL/eglplatform.h file. With the original patch it was required to use -DMESA_EGL_NO_X11_HEADERS when using mesa .h files to get proper C definitions. The new patch was backported (trivial) to mesa 9.0.2 which is in dylan. (From OE-Core rev: e4f5a568ec8df772f2b8c07f2ac946b2e9247ccd) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: remove an erroneous patchChen Qi2013-07-292-37/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | This removed patch is a workaround for gcc-4.5 manifests buffer overflow with app-arch/tar-1.{22,23}, according to the information from https://bugs.gentoo.org/show_bug.cgi?id=317139. The problem with that patch is that it's only setting the magic field of the header while the original statement sets both the magic and the version field of the header. Because of this, all tar balls created by the tar package in OE will be treated as old V7 format tar balls. As a negative effect of this behaviour, the tar package in OE cannot handle device files correctly. This in turn leads to the udev cache failure in images like core-image-lsb-sdk. [YOCTO #4815] (From OE-Core master rev: 32210f73c7e9f24951306f462b25e66e1d11a6b8) (From OE-Core rev: 5c585a7a8c856802b79effc7f47ba3e44d7a489c) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* populate_sdk_base.bbclass: use new perm option for findStefan Stanacar2013-07-292-2/+2
| | | | | | | | | | | | | | | | | | Old way find -perm +mode is no longer supported in newer versions of find (Fedora 19). Man page says: -perm +mode This is no longer supported (and has been deprecated since 2005). Use -perm /mode instead. [YOCTO #4853] (From OE-Core master rev: 21b079e01873e2fb4d8674541e8c5818ba73554e) (From OE-Core rev: 761cf78f12d60179684ae16e66008204f278561e) Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* populate_sdk_base: fix bashismLaurentiu Palcu2013-07-291-1/+1
| | | | | | | | | | | | | | | | Only the printf bash builtin knows about %q format option for escaping spaces. The coreutils version doesn't. Unfortunately, neither dash nor sh have a printf builtin. So, escape the spaces using sed. [YOCTO #4811] (From OE-Core master rev: 6ac06a65ce52d4c123da53f115c84cb0a98bc18f) (From OE-Core rev: 135e681a3f3004a925b46b03cdada2fd86fc6c93) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* populate_sdk_base, adt_installer: abort install if path contains spacesLaurentiu Palcu2013-07-292-8/+18
| | | | | | | | | | | | | | | | | | | | | Spaces are not handled properly in some parts of oe-core and it's safer to abort toolchain installation if path contains spaces. Even though we fix space handling in the toolchain installation script, there are various other parts in the toolchain (perl scripts, sysroot path passed to toolchain binaries, shebang lines) that would need special handling. So, for now, just bail out if path contains spaces. The checking for spaces in the path is done after expanding relative paths to absolute and tilde conversion. [YOCTO #4488] (From OE-Core master rev: 8c35ba2d3048ce69f74f72cb2676e4bc162cfb63) (From OE-Core rev: 407e57879ea2f931bff32993b850c9d59d228303) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4: disable qmeegographicssystemhelperPaul Eggleton2013-07-092-0/+29
| | | | | | | | | | | | | We don't want this enabled just because we have EGL and OpenGL ES 2.0 enabled. (From OE-Core master rev: 85aa73d397cb42a2fc8d6f901f8db1d601972741) (From OE-Core rev: 5b90fc7d36b468251f4f9371c5f7eb32a78a8f69) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-native: add python-codecs-native to RPROVIDESPaul Eggleton2013-07-091-1/+1
| | | | | | | | | | | | | This is now required by python-argparse-native as of OE-Core revision 8d0e84bdfaf63ad61be7b015dd55dacccfa9132c. (From OE-Core master rev: e9e03d44d6a402fecdf0d62ff09a1f6af9da10bb) (From OE-Core rev: e1e218ffcb3479607a30f02877ee504637c5418e) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssh: fix initscript restart commandMarc Ferland2013-07-091-1/+1
| | | | | | | | | | | | | start-stop-daemon should be called with '--oknodo' instead of '-oknodo'. (From OE-Core master rev: 40f65a76b3291ae625c072a8efebbf134b15c367) (From OE-Core rev: 1832280f616fe7010260afb53bbc3b1c6d7ea08b) Signed-off-by: Marc Ferland <ferlandm@sonatest.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-multiprocessing: adding runtime dependenciesLukas Bulwahn2013-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As python-multiprocessing requires python-threading and python-pickle, this commit adds them as runtime dependency. The observed behavior was: When typing 'import multiprocessing' in the python shell on a minimal image with only the python-multiprocessing recipe installed, python reports at first: Python 2.7.3 (default, Jun 27 2013, 08:26:25) [GCC 4.7.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import multiprocessing; Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/multiprocessing/__init__.py", line 65, in <module> from multiprocessing.util import SUBDEBUG, SUBWARNING File "/usr/lib/python2.7/multiprocessing/util.py", line 38, in <module> import threading # we want threading to install it's ImportError: No module named threading After adding python-threading as runtime dependency and rebuilding the image, python reports: Python 2.7.3 (default, Jun 27 2013, 08:26:25) [GCC 4.7.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import multiprocessing; Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/multiprocessing/__init__.py", line 84, in <module> import _multiprocessing ImportError: No module named cPickle (From OE-Core master rev: e913412ca0ff01cb654757c8199e8859f15b7cf7) (From OE-Core rev: e2abc675180a919a88c531f3801c3cd5d3f96206) Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-argparse: adding runtime dependency on python-codecsLukas Bulwahn2013-07-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | When typing 'import argparse' in the python shell on a minimal image with only the python-argparse recipe installed, python reports: Python 2.7.3 (default, Jun 27 2013, 08:26:25) [GCC 4.7.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import argparse; Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/site-packages/argparse.py", line 91, in <module> from gettext import gettext as _ ImportError: No module named gettext The python-argparse recipe requires the python gettext module, which is currently provided by python-codecs. Hence, this commit adds python-codecs as runtime dependency to resolve the issue. (From OE-Core master rev: 8d0e84bdfaf63ad61be7b015dd55dacccfa9132c) (From OE-Core rev: be91c7d9dc5f9ac6e4dd482717f1f89e4ee169cb) Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package: Ensure we iterate all the pool objectsRichard Purdie2013-07-091-2/+2
| | | | | | | | | | | | | | | There is the possibility that if we don't iterate through the multiprocessing pool objects we might not catch return codes and this could lead to hung/zombie processes either temproarily or on a wider scale. Adding this certainly doesn't hurt anything and is better practise so we might as well do it. Its not 100% clear if this fixes some issues or not. (From OE-Core master rev: 89c8493d4d85044cd72af2756569d15e87cd5947) (From OE-Core rev: e887858d495d772a4b2cd6ca4edc0c53942518d8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Ensure that we mount devtmpfsSaul Wold2013-07-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since systemd also used tmpfs we should make a similar patch for the systemd-udev script Fix for bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=4632 Since udev 172, the 'mknod' logic was removed from udev. Yocto Dylan is now using udev 182. This means /dev is now required to be a devtmpfs filesystem (maintained by the kernel). If the root filesystem is a ramdisk, the kernel's auto-mount of /dev doesn't activate since there is no rootfs to actually mount... The bug causes an unusable system as /dev doesn't contain even basic nodes required to even get a login prompt. The Yocto udev/init script mounts tmpfs if it does not detect tmpfs or devtmpfs mounted at /dev. This appears to be outdated logic that is no longer correct. I believe the Yocto udev init script should be checking and mounting only 'devtmpfs' on dev. (From OE-Core master rev: d3616f31617830cac9375e8f4aa33e344ac554ed) (From OE-Core rev: 20b50e8d99fa58818a23d3e82411ac1691e6552d) Signed-off-by: Alex Olson <alex.olson+yocto@gmail.com> [YOCTO #4632] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt_installer_internal:add sudo when permission deny on installation directoryHongxu Jia2013-07-091-2/+2
| | | | | | | | | | | | | | | When the user doesn't have rights to access the installation directory, the sdk installation will fail, add sudo to fix this. [YOCTO #4760] (From OE-Core master rev: 040010d04672c93f18d60308ecf3c26a26ec5fd3) (From OE-Core rev: dfca7cac51459764e12f08b7be0ced59ac4544c1) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt_installer_internal:fix perl lib version mismatchHongxu Jia2013-07-091-0/+7
| | | | | | | | | | | | | | | | | | | | | | When run "autoreconf" in toolchain, there is an error if the host's perl's version is not the same as the one in the SDK, the error says that the executable perl mismatches the perl lib's version. This is because most of the autotools' scripts use the "#!/usr/bin/perl -w" which is host perl, but the gnu-configize uses "#! /usr/bin/env perl" which invokes the perl wrapper in the SDK, and the wrapper will set the PERL5LIB to the SDK which causes the mismatch. We can make all the perl scripts to use the host perl or the SDK perl to fix this problem. [YOCTO #4758] (From OE-Core master rev: 487d1fa7b79e89518494986461c157bace842613) (From OE-Core rev: 82fea7bd0e9ba54ba0c4da2d8cb9734fa4f46f17) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt_installer_internal: fix perl modules relocated failed on older distributionsHongxu Jia2013-07-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | The perl module for automake has an embedded path in it, this needs to be relocated. Older versions of 'file' do not return the "ASCII" text in the output for a perl module file. Hence, the regex pattern didn't match perl module and they were not getting relocated at all on older distributions. 1) On CentOS release 6.4, the version of file is 5.04 $ file /usr/lib/perl5/Config_heavy.pl $ /usr/lib/perl5/Config_heavy.pl: Perl5 module source text 2) On Ubuntu 13.04, the version of file is 5.11 $ file /usr/lib/perl/5.14/Config_heavy.pl $ /usr/lib/perl/5.14/Config_heavy.pl: C source, ASCII text, with very long lines [YOCTO #4550] (From OE-Core master rev: 7cfab2c895bf4daa7716fb7509e367bf74f016e4) (From OE-Core rev: dbb7e2b4b7659651462564164c726ab7dfa852bc) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* groff: correct the install path of man.localZhenhua Luo2013-07-092-2/+36
| | | | | | | | | | | | | | | | | openvswitch build failed due to wrong install path of man.local which is provided by groff. Error log: /yocto/build/tmp/sysroots/x86_64-linux/usr/share/groff/1.22.2/tmac/an-old.tmac:690: warning: can't find macro file `man.local' (From OE-Core master rev: 5f2dd65e758ead8177a1cdda047bdb105b96e208) (From OE-Core rev: 7300ed721d631e6fb4e26cfc43868c794ea04185) Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* boost: Limit PARALLEL_MAKE by -j 64Martin Jansa2013-07-091-2/+16
| | | | | | | | | | | | | | * greater paralelism isn't supported by bjam and causes segfault or ignoring -j * PARALLEL_MAKE was enabled for boost in http://git.openembedded.org/openembedded-core/commit/?id=9b9cfc1dfe5e3b8f89b7a8508537166d0f23935e (From OE-Core master rev: c212f306934aa1c7c825e3bb060d4799be1efca1) (From OE-Core rev: 61831b8afac73496fb54583d95690cf6238286ac) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: only use devtmpfs for udevAlex Olson2013-07-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fix for bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=4632 Since udev 172, the 'mknod' logic was removed from udev. Yocto Dylan is now using udev 182. This means /dev is now required to be a devtmpfs filesystem (maintained by the kernel). If the root filesystem is a ramdisk, the kernel's auto-mount of /dev doesn't activate since there is no rootfs to actually mount... The bug causes an unusable system as /dev doesn't contain even basic nodes required to even get a login prompt. The Yocto udev/init script mounts tmpfs if it does not detect tmpfs or devtmpfs mounted at /dev. This appears to be outdated logic that is no longer correct. I believe the Yocto udev init script should be checking and mounting only 'devtmpfs' on dev. (From OE-Core master rev: 31ab19ab69bc6504df01cac7ee0670ca78d247ab) (From OE-Core rev: dba106b4fc1579185498b85f6e1ade494fcc588e) Signed-off-by: Alex Olson <alex.olson+yocto@gmail.com> [YOCTO #4632] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>