summaryrefslogtreecommitdiffstats
path: root/meta
AgeCommit message (Collapse)Author
2013-08-16mesa: inherit gettextMartin Jansa
* build in clean tmpdir fails with: | make[6]: Entering directory `/OE/mesa/2_9.1.3-r9.0/git/src/mesa/drivers/dri/common/xmlpool' | Updating (de) de/LC_MESSAGES/options.mo from de.po. | Updating (es) es/LC_MESSAGES/options.mo from es.po. | Updating (nl) nl/LC_MESSAGES/options.mo from nl.po. | Updating (fr) fr/LC_MESSAGES/options.mo from fr.po. | /bin/bash: line 4: msgfmt: command not found | make[6]: *** [de/LC_MESSAGES/options.mo] Error 127 | Updating (sv) sv/LC_MESSAGES/options.mo from sv.po. | make[6]: *** Waiting for unfinished jobs.... | /bin/bash: line 4: msgfmt: command not found | make[6]: *** [es/LC_MESSAGES/options.mo] Error 127 | /bin/bash: line 4: msgfmt: command not found | make[6]: *** [nl/LC_MESSAGES/options.mo] Error 127 | /bin/bash: line 4: msgfmt: command not found | /bin/bash: line 4: msgfmt: command not found | make[6]: *** [fr/LC_MESSAGES/options.mo] Error 127 | make[6]: *** [sv/LC_MESSAGES/options.mo] Error 127 | make[6]: Leaving directory `/OE/mesa/2_9.1.3-r9.0/git/src/mesa/drivers/dri/common/xmlpool' (From OE-Core master rev: c30c8820828ea5a7ed99d58a9b400eeee916bf72) (From OE-Core rev: a065c225a70ef7c0bc7f169cad961765f9366263) 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>
2013-08-16weston: backport patch for libunwind configure option and disable itMartin Jansa
* it's autodetected from sysroot and runtime dependency on libunwind isn't deterministic * master has weston 1.1.0 which already has this option and also explicitly disables libunwind (From OE-Core rev: f1297d0ad9356f34e29ccabdd6d4c21b2fd4f27f) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-16gettext: disable nls when INHIBIT_DEFAULT_DEPS is setMartin Jansa
* for example in gcc-runtime DEPENDS_GETTEXT from gettext.bbclass isn't used because gcc-runtime recipes also set INHIBIT_DEFAULT_DEPS, explicitly disable NLS when DEPENDS_GETTEXT is empty * this is causing undeterministic build if you compare i586-oe-linux/libstdc++-v3/config.log in WORKDIR when building gcc-runtime before and after building gettext-native you'll see that msgfmt isn't found in one of them and gcc-runtime-locale-{de,fr} packages aren't created, there is only one file in them: gcc-runtime-locale-de/usr/share/locale/de/LC_MESSAGES/libstdc++.mo (From OE-Core master rev: 8f0b07fc53c94426efa3557424328b52a61e7305) (From OE-Core rev: b8592741fa380f5b806b7cf19313fa1351c6af97) 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>
2013-08-16gst-plugins-good: add PACKAGECONFIG for jpeg, wavpack, gdkpixbuf, v4l, ↵Martin Jansa
bzip2, orc (From OE-Core master rev: eb3a2553ed3b627cb25001b552624690b4959069) (From OE-Core rev: d53a78dda428e872d97da88b79454d86f172fd3d) 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>
2013-08-16sudo: add PACKAGECONFIG for zlibMartin Jansa
* it's autodetected from sysroot * add PACKAGECONFIG to make it deterministic (From OE-Core master rev: 871d9d264dbf43ca4a7d000f39253d16854c0bd3) (From OE-Core rev: 6722de4eb28d9da0b9d414cf19311eb6a80f13a3) 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>
2013-08-16socat: add PACKAGECONFIG for tcp-wrappersMartin Jansa
* it's autodetected from sysroot * add PACKAGECONFIG to make it deterministic (From OE-Core master rev: 15d82c0f0cccdf0886d4452fddf399b7569f7e56) (From OE-Core rev: 38041598112ae19205f6bf640bea65d83daf4da3) 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>
2013-08-16python-imaging: add PACKAGECONFIG for lcmsMartin Jansa
* it's autodetected from sysroot * add PACKAGECONFIG to make it deterministic (From OE-Core master rev: c11aaac4952320f565bd65ec5f601c50763408a7) (From OE-Core rev: e535f7c7cb98b96635d1cdb3883c6a5a2785594d) 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>
2013-08-16patch: add PACKAGECONFIG for attrMartin Jansa
* it's autodetected from sysroot * add PACKAGECONFIG to make it deterministic (From OE-Core master rev: 2eb394b6111a7df730e38604e8efe8bce5c1653a) (From OE-Core rev: 460acc1990b651e017795cccfe705cfdf4426fad) 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>
2013-08-16ltp: add acl, openssl dependencyMartin Jansa
* when it's not detected in sysroot it uses bundled version * add explicit dependency to make it deterministic * PACKAGECONFIG wasn't used because configure doesn't have an option to select which one should be used (From OE-Core master rev: 98c6ea817bb0ca60bddc6be5cf90f14d46cc05a2) (From OE-Core rev: 40db54d44fd075560e7bf0da51e2a733c1a96b17) 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>
2013-08-16minicom: add configure option and PACKAGECONFIG for lockdevMartin Jansa
* it's autodetected from sysroot * add PACKAGECONFIG to make it deterministic (From OE-Core master rev: a886f2f78c847df9d6fbbcbd3c4ad3581b928e2f) (From OE-Core rev: 8eba15cb34c5ce9712968de04f849d5fa3e6a1db) 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>
2013-08-16mailx: remove support for autodetection of krb5Martin Jansa
* it's autodetected from sysroot and makeconfig doesn't allow to explicitly define what's expected (From OE-Core master rev: 203d5e1deb53e1c968498ff7595f57c73dc2697a) (From OE-Core rev: 85d1c85af0422b3dbfce5630e2901607684d4930) 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>
2013-08-16grub: add PACKAGECONFIG for grub-mountMartin Jansa
* fuse is autodetected from sysroot * add PACKAGECONFIG to make it deterministic (From OE-Core master rev: 5e7c3228acce9f95b506ecce9712e843c35067df) (From OE-Core rev: 5ab491ffcee1b3ae1d7970918c61f9b91ccb9d7e) 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>
2013-08-16distcc: add PACKAGECONFIG for poptMartin Jansa
* it's autodetected from sysroot * add PACKAGECONFIG to make it deterministic (From OE-Core master rev: 04f100e7dacc4b78c764a8ec5cedc1b1b4b1c285) (From OE-Core rev: f0b97160d48c5616686a3211ef5b646dd898d7ba) 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>
2013-08-16directfb: add PACKAGECONFIG for jpeg2000Martin Jansa
* it's autodetected from sysroot * add PACKAGECONFIG to make it deterministic (From OE-Core master rev: abbe0da427ae9184bba19f1286e5edf0df132c22) (From OE-Core rev: 6e1b44a92e3f4725ef42c031e34c826dca53c988) 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>
2013-08-16cups: add PACKAGECONFIG for aclMartin Jansa
* acl is autodetected from sysroot * add PACKAGECONFIG to make it deterministic (From OE-Core master rev: 4f0b420b8a64862e6caa53ba0653c27a3d2387c3) (From OE-Core rev: 455d46d5f71889b886a05040b39f9bda04772702) 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>
2013-08-16ccache: add zlib dependencyMartin Jansa
* when it's not detected in sysroot it uses bundled version * add explicit dependency to make it deterministic * PACKAGECONFIG wasn't used because configure doesn't have an option to select which one should be used (From OE-Core master rev: 71efa24f0acd3d38d3223ca9811399eeaf8126e4) (From OE-Core rev: 477d99665637cd93bba3f293e45db762a6818511) 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>
2013-08-16xkeyboard-config: add missing dependency on util-macrosMartin Jansa
* build fails without it configure.ac:7: error: must install xorg-macros 1.12 or later before (From OE-Core master rev: 8fb59ebab3758d41a13b4892d997176cadbc00e8) (From OE-Core rev: 321e9a837e00906d04c1b18a7699e6c2a636450c) 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>
2013-08-16quota: obey 'tcp-wrappers' PACKAGECONFIGChristopher Larson
(From OE-Core master rev: a564463609f4ec832adbe12bff7a66ece53a0d9f) (From OE-Core rev: 3945def5a08a824cac3c6b81ee2d726032e3a909) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-16gst-plugins-bad: add few more PACKAGECONFIGsMartin Jansa
(From OE-Core master rev: cdf6172830bf052ca3a53d439f05ee40574e3968) (From OE-Core rev: f9441ae21de7955f222309d1cee2afbb6a2f8bbd) 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>
2013-08-16gcc: add build directory to include directoriesRoy.Li
Add build directory to include directories by -I${B}/include which will be searched before standard system include directories. Both libunwind and gcc supply unwind.h, once gcc use libunwind's unwind.h, the compiling will fail. This patch is generally not applicable to the upstream as they do not use libunwind. (From OE-Core master rev: 2b47bce78536a800205b2385bba69038351545e5) (From OE-Core rev: f511ecd029d35964f345e38c6f4fc4f8c78c94d8) Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Jeff Polk <jeff.polk@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-16gst-plugins-bad: element selection rationalisationRoss Burton
Using --with-plugins means you only get the elements you enable, so we were dropping vast numbers of useful plugins such as the MPEG muxers. Instead, follow gst-plugins-base by using PACKAGECONFIG to enable/disable plugins with optional dependencies. (From OE-Core master rev: 7722fd48995d5d430d58b94ecf69a6ad9f1c741b) (From OE-Core rev: 4b2a41e8c28e4f05f1623d1d36eb4de26e1c7fa4) 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>
2013-08-16bdwgc-native: Add missing pkgconfig DEPENDSRichard Purdie
This fixes configure errors like: | configure.ac:70: error: possibly undefined macro: AC_MSG_ERROR | If this token and others are legitimate, please use m4_pattern_allow. | See the Autoconf documentation. | configure.ac:358: error: possibly undefined macro: AS_IF Reproduced with bitbake bdwgc-native pkgconfig-native -c clean; bitbake bdwgc-native (From OE-Core master rev: defa05f2085f78d9ec9ada7051c284e1fc72e6c1) (From OE-Core rev: 9a9bfdcf4c0776e57dd85aec81f591a3f8307ff7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-16libarchive: Fix build dependenciesMark Hatle
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>
2013-08-16wget: Add missing DEPENDS on zlibHongxu Jia
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>
2013-08-16eglibc-locale: add missing dependency on virtual/${TARGET_PREFIX}binutilsMartin Jansa
* 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>
2013-08-16systemtap: inherit pkgconfigMartin Jansa
* 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>
2013-08-16libpam: inherit pkgconfigMartin Jansa
* 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>
2013-08-16quota: inherit pkgconfigMartin Jansa
* 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>
2013-08-16taglib: add missing dependency on zlibMartin Jansa
* 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>
2013-08-16gst-plugins-base: add missing dependency on glib-2.0-nativeMartin Jansa
* 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>
2013-08-16gst-plugins-bad: inherit gsettingsMartin Jansa
* 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>
2013-08-16(lib)telepathy*: add missing dependency on libxslt-nativeMartin Jansa
* 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>
2013-08-16gst-plugins-gl: add explicit dependency on libpngEric Nelson
(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>
2013-08-16dpkg: fix include header caused compile errorKai Kang
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>
2013-08-16groff: Add GPLv2 versionSaul Wold
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>
2013-08-16groff: Fix License to be GPLv3Saul Wold
(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>
2013-08-16grub_0.97: Fix to correctly ship files under /usr/libChen Qi
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>
2013-08-16classes/terminal: fix pseudo exiting when launching devshellPaul Eggleton
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>
2013-08-12grub: disable floating ncurses dependency for GPLv2 versionPaul Eggleton
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>
2013-08-12classes/sanity: check for suid root command evilityPaul Eggleton
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>
2013-08-12packagegroup-core-tools-testapps: isolate x11 dependent toolsRogerio Nunes
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>
2013-08-12u-boot: state the MACHINE when skipping u-bootRoss Burton
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>
2013-08-12shadow: Fix build when DISTRO_FEATURES contains pam, libc-cryptRichard Tollerton
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>
2013-08-12csl-versions.inc: instruct user to check local.confLaurentiu Palcu
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>
2013-08-12pseudo: Always try to build 32-bit libpseudo when NO32LIBS is set to 0Peter Seebach
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>
2013-08-12lib/oe/terminal.py: add support for MATE desktop terminalsAndre McCurdy
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>
2013-08-12external-sourcery: add missing providersSaul Wold
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>
2013-08-12TmuxRunning: handle multi-word commandsTyler Hall
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>
2013-08-12terminal: Run command using a wrapper scriptTyler Hall
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>
2013-08-12directfb: don't patch pkg-config filesAndré Draszik
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>