summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* libarchive: Fix build dependenciesMark Hatle2013-08-161-1/+19
| | | | | | | | | | | | | | | | | Move to using the PACKAGECONFIG mechanism to select configure options and dependencies. Without this the system will attempt to discover various dependencies, and usually does so incorrectly. We also ensure that the nativesdk version does not inherit any of the DISTRO_FEATURES. We shouldn't need acl or xattr support for nativesdk. (From OE-Core master rev: d9f9bfed56ef8562256fc01c3e42e15734230c3a) (From OE-Core rev: bd8df0e655dbe17f5cdd094a7386a6a1ab54a39e) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wget: Add missing DEPENDS on zlibHongxu Jia2013-08-161-1/+1
| | | | | | | | | | | | | | | | | | | | | Create a new build enviroment, build wget failed ... configure:34512: checking for libssl configure:34542: i586-poky-linux-gcc -m32 -march=i586 --sysroot=/home/jiahongxu/yocto/build-20130613-qemu/tmp/sysroots/qemux86 -o conftest - O2 -pipe -g -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -ldl -lssl /home/jiahongxu/yocto/build- 20130613-qemu/tmp/sysroots/qemux86/lib/libcrypto.so -lz >&5 /home/jiahongxu/yocto/build-20130613-qemu/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.2/ld: cannot find -lz collect2: error: ld returned 1 exit status ... >From log as we known, the reason is link zlib failed, it isn't explicitly in wget's DEPENDS. Add zlib to wget's DEPENDS. [YOCTO #4749] (From OE-Core master rev: e54393f18e2ffa5d8dbeca2357b0b3b7e4e31829) (From OE-Core rev: 1737a4cfb735ce266f7bee577635e5c42da2396b) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-locale: add missing dependency on virtual/${TARGET_PREFIX}binutilsMartin Jansa2013-08-161-0/+5
| | | | | | | | | | | | | | | | | | * eglibc-collateral.inc inhibits all default deps, but do_package needs objcopy: ERROR: objcopy failed with exit code 127 (cmd was 'i586-webos-linux-objcopy' --only-keep-debug 'eglibc-locale/2.17-r0/package/usr/lib/gconv/IBM1166.so' 'eglibc-locale/2.17-r0/package/usr/lib/gconv/.debug/IBM1166.so') ERROR: Function failed: split_and_strip_files (From OE-Core master rev: 9e615e2a6845d3a98f5d9b0cb555d132c696fc92) (From OE-Core rev: 8035d6d5dfe08fb284e06088659ae44858d0ff8e) 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>
* systemtap: inherit pkgconfigMartin Jansa2013-08-161-1/+1
| | | | | | | | | | | | | | | * systemtap-native was failing with undefined AC_DEFINE configure.ac:56: error: possibly undefined macro: AC_DEFINE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. (From OE-Core master rev: 8026d9f84c6af3996ada906d39ff1e7a986a9b5a) (From OE-Core rev: 0f2a67eb1077025ee5d66ccb20298b23d2d5357c) 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>
* libpam: 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 dbm_store in -lndbm... no libpam/1.1.6-r2/Linux-PAM-1.1.6/configure: line 14217: syntax error near unexpected token `libtirpc,' libpam/1.1.6-r2/Linux-PAM-1.1.6/configure: line 14217: ` PKG_CHECK_MODULES(libtirpc, libtirpc,' Configure failed. The contents of all config.log files follows to aid debugging (From OE-Core master rev: d8d230a164b4e98dbb3a9e6d9bb567c2aabee7f9) (From OE-Core rev: 5593ab8381752d46f7883f7531f5d86dcfb0fce8) 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>
* 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>
* yocto-project-qs: Fixed path typo for a download.Scott Rifenbark2013-08-131-4/+4
| | | | | | | | | | | | | | | | | | | | Fixes [YOCTO #4996] In section "Building an Image" the first Tip box has example file location "poky-dylan-9.0-build/conf/local.conf". It should be "poky-dylan-9.0/build/conf/local.conf". This particular error had propagated into 1.4.1 and 1.4.2. I have fixed all versions. This commit though is for the dylan HEAD, which will show up with the 1.4.2 release. The best I could do for 1.4 and 1.4.1 was to pull local versions of the branch, fix, rebuild and push to the website. Reported-by: Juuso Korhonen <korhonen.jusso1@gmail.com> (From yocto-docs rev: 654dba86c74fc4a0ac9e4cb0bbba2f4d938758f8) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual, bsp-guide: Updates for init-ifupdown change.Scott Rifenbark2013-08-132-11/+57
| | | | | | | | | | | | | | | Release 1.4 requires the user to create an append file to the new recipe init-ifupdown if they want to create their own custom /etc/network/interfaces file. Previously, they needed to append the netbase recipe. Changes needed in the migration section of the ref-manual as well as the exmaple used in the bsp-guide. (From yocto-docs rev: 888ae2a2c18eae2cc13a1860452762b510fc909a) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation: Manual Revision History Table updates.Scott Rifenbark2013-08-136-0/+30
| | | | | | | | | Added row for an August 2013 1.4.2 release date. (From yocto-docs rev: b4e12938bd10bcfedf9d151170e4276610fa2ee2) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky-ent: Updates for 1.4.2 releaseScott Rifenbark2013-08-131-5/+5
| | | | | | | | | Changed variables needed for the 1.4.2 YP release. (From yocto-docs rev: cd40a619618eebce0866c27db11f2c56fcb19116) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tools: Updated mega-manual.sed to deal with 1.4.2Scott Rifenbark2013-08-131-9/+9
| | | | | | | | | | Also found some issues in here with the manual names. I fixed those. (From yocto-docs rev: 54c62f5664d7f97d615cddb67d946092ebc90e7c) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@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>
* linux-yocto: Fix SRCREVs in linux-yocto_3.2Paul Barker2013-07-291-4/+4
| | | | | | | | | | | The KERNEL_VERSION set by linux-yocto_3.2.bb in openembedded-core is 3.2.32 but the SRCREVs in the bbappend in meta-yocto-bsp referred to version 3.2.18. These SRCREVs are updated to the correct values. (From meta-yocto rev: ead5d53222c811c68e3bed74a297bb0a11a72156) Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake: data_smart: Ensure variable flags are accounted for in ↵Richard Purdie2013-07-291-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | config data hash Currently if the flags set against a variable in the base data store change, it doesn't automatically trigger a reparse when it really should. For example with the blacklist class setting: PNBLACKLIST[qemu] = "bar" PNBLACKLIST[bash] = "foo" will not trigger a reparse if only one entry is changed and a blacklisted recipe can still be built. I did consider using BB_SIGNATURE_EXCLUDE_FLAGS in here however it doesn't make sense, we want to trigger a reparse when any of the flags change too (which is different to the sstate signatures which we wouldn't want to change in those cases). [YOCTO #4627] (Bitbake master rev: ed74ea50043f6feb698c891e571feda2b9f8513d) (Bitbake rev: 9313ff77f39abf776556cd7b0edb3c08854d68ef) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: save the base image name for the customized imagesCristiana Voicu2013-07-291-0/+1
| | | | | | | | | | | Building an image, after customizing it, was failing because the base image was not saved. [YOCTO #4751] (Bitbake rev: c109e1fb18c5541aa5bf500c4622f4f7b677db08) Signed-off-by: Cristiana Voicu <cristiana.voicu@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>