aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
AgeCommit message (Collapse)Author
2012-07-19opkg-utils: UPdate to version with python 2.6 fixRichard Purdie
(From OE-Core rev: 3448537043ca96794f3b1b4ce3a6eb775c98124c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19Remove a number of unneeded import os/bb callsRichard Purdie
The bb and os modules are always imported so having these extra import calls are a waste of space/execution time. They also set a bad example for people copy and pasting code so clean them up. (From OE-Core rev: 7d674820958be3a7051ea619effe1a6061d9cbe2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19Convert tab indentation in python functions into four-spaceRichard Purdie
(From OE-Core rev: 604d46c686d06d62d5a07b9c7f4fa170f99307d8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-18tcl: fix tcl INCLUDE_SPEC and LIB_SPECYao Zhao
TCL_INCLUDE_SPEC -I/usr/include will cause problems cross configure/compile TCL_LIB_SPEC -L${libdir} will cause problems too when link. (From OE-Core rev: d454f8055b21c4d01dd1e2faf1625e2a1e5c25f2) Signed-off-by: Yao Zhao <yao.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-18nasm: nasm has a build dependency on groff-nativeAmy Fong
nasm has a build dependency on groff-native In one incident, there was a case where nasm-native compile phase failed with the following: +troff: can't find `DESC' file +troff: fatal error: sorry, I can't continue During this, groff-native was in the sysroot install phase. To remedy this, adding groff-native in nasm's dependency list. (From OE-Core rev: cd108a55ea58501e91923f348edca9ba736933c7) Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-18gcc: remove 904-flatten-switch-stmt-00.patchBernhard Reutner-Fischer
Remove brute-force flattening and bump PR. Refer to -ftree-switch-conversion emit_case_bit_tests(), -ftree-if-to-switch-conversion et al in 4.8 (From OE-Core rev: 2eb0e56217137ece3d86a70676a3f3c8db525459) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-18bitbake.conf: Define USRBINPATH globally instead of individuallyRichard Purdie
Many recipes are now having to define PERLPATH and PYTHONPATH variables. Creating USRBINPATH in bitbake.conf means we can remove all these lines from the many recipes now needing this and simplify the code changes needed in each case, reducing the chance of errors being introduced. Also fixup glib python binary location issue and fix function indentation. (From OE-Core rev: cf63d9068c3a8c635dfc240d30dfff278be9b0e2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-18qemu-nativesdk: fix the build failure that linux/kvm.h not foundYao Zhao
qemu.inc: on older kernel build hosts that have < 2.6.20 which doesn't support kvm yet, build will fail. Add a check in do_configure to make sure whether linux/kvm.h exists for nativesdk build. (From OE-Core rev: 7d49af3a811472a2a47453bef0813b89c6331ae7) Signed-off-by: Yao Zhao <yao.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-18binutils: package ld.gold symlinkMartin Jansa
* fixes: NOTE: package binutils-2.22-r11: task do_package: Started WARNING: QA Issue: binutils: Files/directories were installed but not shipped /usr/bin/ld.gold NOTE: package binutils-2.22-r11: task do_package: Succeeded (From OE-Core rev: b01b958007b2c09e68a839415440972e08275702) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-18puzzles, mkelfimage: Add protocol=httpSaul Wold
This would fail in some firewall situations otherwise (From OE-Core rev: 4c1a768238fe9a36b7ed714c9c40951b7357410a) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-18scripts/bitbake: Check the git-native version and build it if necessaryRichard Purdie
We require git version 1.7.5 or later for the git remote --mirror=xxx syntax. If we have an older version of git, this patch ensure we build git-replacement-native. We add an alternative PROVIDES in the same way as tar-native to allow this script to trigger the build whilst still allowing git-native in ASSUME_PROVIDED. (From OE-Core rev: 269f3b3cfacaf229d5e45177ee01b16561370ee3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-18gcc-package-runtime.inc: Fix QA warningMatthew McClintock
> ERROR: QA Issue: gcc-runtime: Files/directories were installed but not shipped > /usr/lib/libgomp.so.1.0.0 > /usr/lib/libgomp.so.1 (From OE-Core rev: fee3def2ca49e3349758d9cd9a9cf5645f03cf18) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17gcc-cross-initial.inc: Use BFD ld as default alwaysKhem Raj
When using gold as default linker in final toolchain gcc-cross-initial still needs to use BFD ld since it will link eglibc-initial (From OE-Core rev: f643f886b16f586426c744afde080a99d71a9d58) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17automake: upgrade from 1.11.3 to 1.12.1Nitin A Kamble
(From OE-Core rev: c6b70eff7614ea774c0d8e39520f76bdce0ed977) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17mkelfimage: Fix cross buildKhem Raj
This patch fixes building this tool in cross environment It uses tools such as CC, HOST_CC, I386_CC etc. and as long as you are building native it does not matter since they all are same namely 'gcc' but in cross compiling that wont work. So we make the makefiles and configure scripts aware of that fact Upstream hosts this program in a svn repo. So change the SRC_URI to official svn repo. With git we were checking out a lot more that just mkelfimage which is not required. There were unpackaged empty directories too so we make sure they are removed as well. Fixes Yocto bug# 2765 (From OE-Core rev: 0d828f19f7ef2d852bbe6da4510efea76a39b982) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17guile: Fix missing depends and broken arm buildKhem Raj
This patch adds a fix where arm endianness is detected correctly secondly it adds a missing dependency on libatomics-ops which was found when build in clean tmpdir and populating it from a valid sstate. (From OE-Core rev: b537b035c9b9c9a1174dcafc0252c2b779b17902) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17gcc: Switch to git SRC_URIKhem Raj
svn has been giving troubles with svn 1.7 upgrade Remove duplicate definition of S and B variables from gcc-4.7.inc Use 4.7.1.0 for PV to maintain the upgrade path Its an interim solution once we upgrade to 4.7.2 we will drop it. (From OE-Core rev: 3f3b74b3fd6ba813dd69804706edcea145876e09) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17qemu: Explicitly add --disable-gl-accel when gl is not enabledKhem Raj
Default seems to be to enable GL accelaration so when gl is not specified in PACKAGECONFIG then add the --disable-gl-accel to really disable it. (From OE-Core rev: 039a2f63712cbe87eb68a8c8c0cc365b74651f5a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17gcc: Refresh support for fsl E5500/E6500Khem Raj
These patches are backport from gcc mainline they fix issues where eglibc was not compilable for e5500+ due to missing vector intrinsics It obsoletes the existing e5500 patch (From OE-Core rev: b440aeeceb8c2e9f412d98793fb1dd55ff9d73f5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17binutils: Backport the e5500/e6500 patches from mainlineKhem Raj
This updates the E5500 and E6500 support patches as they have been applied upstream binutils. (From OE-Core rev: 202420871785cbdbbf57adbe26eb0f649e57512b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17gcc: Convert do_headerfix into a definitive patchKhem Raj
do_headerfix task is essentially editing configuration headers in sources which can well be maintained as a patch which is easier to spot errors (if any) than dynamically edited source tree (From OE-Core rev: ddd344e9acef88d614473581266569ce14716ccc) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17strace: Fix build on eglibc 2.16Khem Raj
This patch fixes two build issues seen with strace one in general with eglibc 2.16 and another with x32 abi (From OE-Core rev: 2ed0011adc1642e0fbb6bfe1d7ae6b70ce7dfedb) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17valgrind: Fix build with eglibc 2.16Khem Raj
(From OE-Core rev: 5a59bf0778608b7c5e1073bf38d36b98d831db0d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17grub,guile,cpio,tar,wget: Fix gnulib for absense of gets in eglibcKhem Raj
eglibc 2.16 does not export gets anymore (From OE-Core rev: 497d8d82b8e7e04a457a7fdd689c657903218c0d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17bison: Fix for gets being removed from eglibc 2.16Khem Raj
(From OE-Core rev: ba9e4ee09f39c427c0d1ba2d0d4c4f59029e4bea) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17gettext,m4,augeas,gnutls: Account for removal of gets in eglibc 2.16Khem Raj
These recipes use gnulib which needs this change to use gets when its defined and not otherwise. Until that change goes into gnulib and then all these package upgrade gnulib in their sourcebase we patch them (From OE-Core rev: 3148460575b65cb681065e5850b8afb96056d712) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17gdb: Replace struct siginfo with proper siginfo_tKhem Raj
Fixes errors like /home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gdb-7.4.1-r0.0/gdb-7.4.1/gdb/linux-nat.h:79:18: error: field 'siginfo' has incomplete type (From OE-Core rev: 6e5b37403dd4d0a9a249535d07b36bbae98cadd6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17crosssdk/nativesdk: Ensure EXTRA_OECONF_FPU is unsetRichard Purdie
If EXTRA_OECONF_FPU is left set, certain ARM variables related to hard-float can get pulled in and trigger rebuilds of the crosssdk code. The best solution is to simply force the variable to a known correct value for the SDK targets currently supported in the same way as TARGET_FPU. There is some slight rearrangement of the gcc code to ensure the variable is always used to call the fpu function. (From OE-Core rev: 410990445ada8cdcfaec4e6fa5791cee9a5b8983) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17python: Fix python-nativesdk variable contamination issueRichard Purdie
Without this, python-nativesdk-crypt can depend on openssl which is incorrect. (From OE-Core rev: 5740696c81a9143504c1cb93e94c54add27896e4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17Update proto -> protocol for recipesSaul Wold
(From OE-Core rev: 247fbed5a93800c44dc36e403f13bdc8dd704553) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17python-dbus: upgrade to 1.1.0Bogdan Marinescu
Tested by compiling core-image-basic (From OE-Core rev: 39b2a455ab6b7c38b782e1b3e2811c3d9e4de7af) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17rpm_5.4.9.bb: fix builds on systems with older libcMatthew McClintock
| dbconvert.o: In function `rpmdb_convert': | /local/jenkins/jobs/yocto-upstream/workspace/label/master/machine/p4080ds/poky/master/tmp/work/x86_64-linux/rpm-native-5.4.9-r45/rpm-5.4.9/tools/dbconvert.c:126: warning: the use of `tempnam' is dangerous, better use `mkstemp' | dbconvert.o: In function `main': | dbconvert.c:(.text+0x923): undefined reference to `htobe32' | dbconvert.c:(.text+0xaa4): undefined reference to `htole32' | dbconvert.c:(.text+0xac9): undefined reference to `htole32' (From OE-Core rev: add2c772cd404e8bea4828959fcb5ee33c35c048) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17mkelfimage: Upstream fixed packaging issue so upgrade to e1e6a91Raymond Danks
Address QA issue: Files/directories were installed but not shipped. New revision contains patch to mkelfimage removing /usr/share/mkelfImage/elf32-i386 directory from Makefile install target. http://review.coreboot.org/#/c/1195/ (From OE-Core rev: 7dd161816ccbb03db4f86902f96d3e86e09ccb64) Signed-off-by: Raymond Danks <ray.danks@se-eng.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-11libgomp: add libgomp (openmp) library, and build for powerpc targets by defaultMatthew McClintock
(From OE-Core rev: b76a7bc8dcb7aed7d6f026e77a226837004c50af) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-11gcc: gcc-cross-canadian: use correct location for libraries for powerpc64Matthew McClintock
This fixes the issue where gcc invokes the linker with an incorrect -L library location and gives up because it can't find libraries. It was looking in a /lib folder instead of /lib64 (From OE-Core rev: 1b428f0151a5b86332b501871bf4a925b43580a5) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-11gcc-configure-common.inc: use --with-long-double-128 on powerpc to comply ↵Matthew McClintock
with ABI (From OE-Core rev: 243539efec94e79dade2525d0ab3586eea48c529) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-11openjade-native_1.3.2.bb: fix typo and change the deps exclusion to correct varMatthew McClintock
(From OE-Core rev: 4be17f018f8dd0ed576498badc03ee13095b2263) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-11valgrind: fix default.supp missing issueZhenhua Luo
When run valgrind, following error appears: ==2254== FATAL: can't open suppressions file "/usr/lib/valgrind/default.supp" (From OE-Core rev: 0b3261d513cdad80174a9b9e804981c50bcb7ca2) Signed-off-by: Zhenhua Luo <b19537@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-10subversion: do_install failed (parallel issue)Robert Yang
install-neon-lib needs libsvn_delta-1.la which will be regenerated during libsvn_delta-1.la's installation, if libsvn_delta-1.la is in regenerating and at the same time install-neon-lib links it, the error willl happen. The error message is: /bin/ld: cannot find -lsvn_delta-1 collect2: error: ld returned 1 exit status This is a parallel issue, so it doesn't happen often. Note: The autoreconf doesn't generate build-outputs.mk, it would be generated by autogen.sh (use build.conf as the input), but autogen.sh isn't suitable for cross compiling, so both modified build-outputs.mk and build.conf. [YOCTO #2727] (From OE-Core rev: ce37c45abb4cf43e5009867f695982de2eb33450) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-10opkg: fix installation of dev / dbg packagesPaul Eggleton
OE-Core revision ffe93e2a099e4cadb1829dc12a58a6d7bef9a5a7 moved opkg's configuration file into /etc/opkg, and opkg always reads all files under this directory even if -f is specified (as it is during do_rootfs in order to specify our own generated config file), and this means that after opkg-collateral is installed into the rootfs, this version of the config is used, resulting in opkg ignoring the list of packages it has already downloaded (since it now sees list_dir as /var/lib/opkg instead of the default /var/lib/opkg/lists) and thus it fails to install any of the "attemptonly" packages (including *-dev, *-dbg, etc.). If we change the -f option to ignore configuration files in /etc/opkg then we no longer have this problem. Fixes [YOCTO #2595]. (From OE-Core rev: 37df134557802ba116f001597b7cd5e9bc39e188) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-09qemu-0.15.1: add patch to fix compilatation problems on powerpcMatthew McClintock
ERROR: Function failed: do_compile (see /opt/yocto/cache-build/p5020ds-64b/build_p5020ds-64b_release/tmp/work/ppc64e5500-fsl-linux/qemu-0.15.1-r6/temp/log.do_compile.28447 for further information) ERROR: Logfile of failure stored in: /opt/yocto/cache-build/p5020ds-64b/build_p5020ds-64b_release/tmp/work/ppc64e5500-fsl-linux/qemu-0.15.1-r6/temp/log.do_compile.28447 Log data follows: | DEBUG: SITE files ['endian-big', 'bit-64', 'powerpc-common', 'common-linux', 'common-glibc', 'powerpc-linux', 'powerpc64-linux', 'common'] | ERROR: Function failed: do_compile (see /opt/yocto/cache-build/p5020ds-64b/build_p5020ds-64b_release/tmp/work/ppc64e5500-fsl-linux/qemu-0.15.1-r6/temp/log.do_compile.28447 for further information) | NOTE: make -j 24 | LINK ppc-linux-user/qemu-ppc | /opt/yocto/cache-build/p5020ds-64b/build_p5020ds-64b_release/tmp/sysroots/x86_64-linux/usr/libexec/ppc64e5500-fsl-linux/gcc/powerpc64-fsl-linux/4.6.4/ld:/opt/yocto/cache-build/p5020ds-64b/build_p5020ds-64b_release/tmp/work/ppc64e5500-fsl-linux/qemu-0.15.1-r6/qemu-0.15.1/ppc64.ld:84: syntax error | collect2: ld returned 1 exit status | make[1]: *** [qemu-ppc] Error 1 | make: *** [subdir-ppc-linux-user] Error 2 | make: *** Waiting for unfinished jobs.... | ERROR: oe_runmake failed (From OE-Core rev: a9207aad5b163a071cd8298517d61514c587e0ed) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-09libxml-parser-perl_2.41.bb: fix MakeMaker issues with using wrong CC/LD/etcMatthew McClintock
MakeMaker has a bug where it does not propagate CC/LD/etc information down to subproject it generates Makefiles for... this recipe has has an Expat subproject which has issues building if we are using sstate-cache and it will reference the old sysroots and be unable to build properly. There is an upstream MakeMaker bug for this issue but we can work around it by fixing up the Makefiles for now See: https://rt.cpan.org/Public/Bug/Display.html?id=28632 (From OE-Core rev: 2c3629a698e537c69c71039bc6172b3c0e617ff1) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-09pseudo: Update to 1.3.1 (fixing chroot crash)Peter Seebach
Yocto bug #2639. If a chroot path was long, expanding absolute paths within the chroot path could overrun a buffer. (From OE-Core rev: 282cbf7002112f6b58ca1ee070c0b1285b838db7) Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-09apt 0.7.14: runtime error: Method file has died unexpectedlyRobert Yang
When the length of the tmpdir is longer than 400, there is an error when run "apt-get update": Method file has died unexpectedly! This is because the "char S[1024]" is not enough for long URI, S[2048] would be enough. [YOCTO #2689] (From OE-Core rev: 3ed08bd24cef39a85c528159a494e8f0dd001739) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-09apt 0.7.14: runtime error: filename too long (tmpdir length)Robert Yang
when the tmpdir dir is longer than 220, there is no files saved in tmp/sysroots/x86_64-linux/var/lib/apt/lists/ after run apt-get update, this is because apt-get uses the path as the file name, but the file name can't be longer than 255 according to /usr/include/linux/limits.h. [YOCTO #2688] (From OE-Core rev: 9a0c0393871eda4bbcecfdd4b595f0c1b8e42edf) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-09gcc-common: Don't use "is" for comparing strings, use "=="Kartik Mohta
Needed because the equality check was failing here even though upon printing the LHS and RHS were the same. As per http://stackoverflow.com/a/2987975/64537, using "is" compares the memory addresses of the two objects which is not what we want here. We just want to compare the values. (From OE-Core rev: 7fd82cc90a48302ed42b6bfa962bb0de2c652b45) Signed-off-by: Kartik Mohta <kartikmohta@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-09rpm: Fix PACKAGECONFIG dependenciesMark Hatle
neon requires expat to be built first lua similarly requires expat if enabled selinux package name should be "libselinux" (from meta-selinux). (From OE-Core rev: 6b3c9802b659ca1d3b7638ff80e6492cc0e16d6f) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-05dpkg 1.15.8.7: bad interpreter when long tmpdirRobert Yang
When use PACKAGE_CLASSES = "package_deb", and the length of tmpdir is longer than 177, the error occurs during the image generation: /very/long/path/totmp/sysroots/x86_64-linux/usr/bin/dpkg-scanpackages: bad interpreter: No such file or directory The interpreter is perl, and it does exist, this is because the first line: #!/very/long/path/to/perl in the script can't be very long. Create a wrapper for it would fix the problem. [YOCTO #2640] (From OE-Core rev: 7d3281be18567207de8ce2cabce03957bf2cbca8) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-05gcc: fix collect2 host contamination problem properlyRichard Purdie
We added the autoconf cache line a while back to ensure that configure doesn't poke into some hardcoded host paths looking for things it shouldn't. Applying it as part of do_configure wasn't getting it to the do_compile tasks where much of the configure scripts are run by gcc. This changes it to a simple export to ensure it reaches the places it needs to and truly gets rid of the cross compile badness messages from the logs. (From OE-Core rev: af58d5c3a5c5e632aa20b1d007d47dbbfb4ed6e6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-04perl: use @STAGINGDIR@ in config.shTom Zanussi
archlibexp in the snapshotted config.sh needs to be relative to staging dir - it gets generated into Config_heavy.pl as one of the settings and is used by ExtUtils::Embed during the target build. The substituted setting doesn't make it into the target package because it's removed by perl_package_preprocess() before packaging. (From OE-Core rev: b647d2ab84ff0eb94f4b6a1b731d74aaf8c60b9d) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>