summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
AgeCommit message (Collapse)AuthorFiles
2012-07-05dpkg 1.15.8.7: bad interpreter when long tmpdirRobert Yang1
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] 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 Purdie1
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-04perl: use @STAGINGDIR@ in config.shTom Zanussi1
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. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-07-04perl: add @STAGINGDIR@ for config.sh substitionsTom Zanussi1
For some config.sh substitions, we'd like to be able to use STAGING_DIR_HOST; add @STAGINGDIR@ to allow for that. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-07-04perl: keep original libperl locationTom Zanussi1
Things like ExtTools expect to find libperl at the original (${libdir}/perl/${PV}/CORE/libperl.so) location, so keep it there but symlink to it for the original (?) reason. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-07-04mkelfimage: Add stable git build (initial recipe)Raymond Danks1
Signed-off-by: Raymond Danks <ray.danks@se-eng.com> Acked-by: Darren Hart <dvhart@linux.intel.com>
2012-07-04subversion-native: Enable subversion-native 1.7 and remove it from ↵Richard Purdie1
ASSUME_PROVIDED This enables a switch to subversion 1.7 now bitbake is able to cope with upgrading existing working copies. The impact of this change should be minimal since we don't have many subversion recipes now. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-03openjade-native: fix undefined Getopts error, use std namespaceDennis Lan2
Using Gentoo Linux as the build host, it fails without this patch Use Getopt::Std in place of getopts.pl. https://bugs.gentoo.org/show_bug.cgi?id=420083 which following error: /usr/bin/perl -w ./../msggen.pl -l jstyleModule InterpreterMessages.msg /usr/bin/perl -w ./../msggen.pl -l jstyleModule DssslAppMessages.msg Undefined subroutine &main::Getopts called at ./../msggen.pl line 22. make[2]: *** [InterpreterMessages.h] Error 2 make[2]: *** Waiting for unfinished jobs.... Undefined subroutine &main::Getopts called at ./../msggen.pl line 22. make[2]: *** [DssslAppMessages.h] Error 2 Signed-off-by: Dennis Lan <dennis.yxun@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-03kconfig-frontends: New recipeKhem Raj1
kconfig-frontends provides the kconfig infrastructure thats used for linux kernel as a standalone package. Its not intended to be used for kernel itself but can be used by packages who are based on kconfig e.g. busybox uclibc or new packages who wants to use kconfig infra for the package build kconfig-frontends names it's shared library as -3.4.0.so instead of .so.3.4.0, this causes the -dev package to grab it since it matches on *.so. This error would also have shown up with the old PACKAGE order. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-06-29mklibs-native: Upgrade to 0.1.34Jonathan Santos2
include-unistd.h-for-gcc47.patch is no longer needed, since it was fixed upstream. Signed-off-by: Jonathan Santos <jrsantos@jonathanrsantos.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-29bison: link in librt on uclibcKhem Raj1
uclibc has some functions in librt that are needed by bison build. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-06-29gcc-configure-sdk, gcc-configure-cross: Dont recompute USE_NLSKhem Raj2
This was needed because on eglibc based builds we did not define USE_NLS but now we define it in default config to have a valid value so we do not need this here. Moreover it was wrong and was not covering all cases of uclibc triplets Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-29libgcc: Remove unpackage unwind.hKhem Raj1
Fixes build warnings like below WARNING: For recipe libgcc, the following files/directories were installed but not shipped in any package: WARNING: /usr/lib/arm-oe-linux-gnueabi/4.7.2/include WARNING: /usr/lib/arm-oe-linux-gnueabi/4.7.2/include/unwind.h Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-27mtd-utils: do not stage headers in sysrootAndrea Adami1
* Headers are included in the package for compatibility * but have not yet been synched with linux 3.0 * The actual issue was that ubi-user.h in sysroot * was overwritten by the older version. * Unfortunately one ioctl was renamed: * http://lists.infradead.org/pipermail/linux-mtd/ * 2011-March/034419.html * Note: the recipe will still use its own older header, * following upstream. Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2012-06-25libxml-simple-perl: Upgrade to 2.20Saul Wold1
Change license file to LICENSE, which now contails both Artistic-1.0 and GPL-1.0 License text Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-06-25qemu.inc: Fix packageconfig optionsKhem Raj1
--{en|dis}able-gl-accel is spcefic to gl patches in 0.15.1 which may not be available for other qemu's so if someone chooses to remove gl from PACKAGECONFIG then we dont explicitly use the --disable-gl-accel option since this wont be recognised by configure. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-06-25gcc: Remove csl gcc recipesKhem Raj18
sourcery toolchain is available as external pluggable toolchain if needed. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-06-25gcc-4.6: Retire into toochain-layerKhem Raj53
If anyone wants it add toolchain-layer from meta-openembedded repo to your setup Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-06-21[PATCH] guile: fix compilation on MIPS/PPCBogdan Marinescu3
This commit fixes the guile compilation segfault on MIPS/PPC. Tested by compiling guile with MACHINE=qemumips. [Yocto #2478] Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-21gcc: Fix a case of sysroot with trailing / and gxx-include-dir leading slashKhem Raj2
when using --with-sysroot=/ and --with-gxx-headers=/usr/include/c++ configure eats up one leading / from gxx include dir fixed thusly Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-21gcc-4.7: Update to tip of gcc-4_7-branch since 4.7.1 has been outKhem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-21binutils: Enable plugins by defaultKhem Raj1
Plugins work well in 2.22+ so lets enable them helps with lto Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-21binutils: Add with-sysroot to target binutilsKhem Raj8
Also rearrange the recipes to have common bits in inc files and not include the target bb file everywhere. This lets us add specific options to specific recipes particularly target recipe in this case Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-21opkg-utils: bump SRCREVMartin Jansa1
* there are 2 small fixes python-2.6 compatibility missing C option for opkg-build Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-19libtool: add ${PN} in middle of package list to ensure .m4 get with ${PN}Saul Wold1
With the new order scheme, ${PN} needs to be in the middle for the .m4 files to be packaged, otherwise the move the -dev package which is wrong in this case. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-06-19libpng: clean up FILE after PACKAGE reorderSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-06-18gcc-cross: argument list too long when do_installRobert Yang4
There would be an "Argument list too long" error when the length of tmpdir is longer than 190, this is caused by: headers=`echo $(PLUGIN_HEADERS) | tr ' ' '\012' | sort -u` The PLUGIN_HEADERS is too long before sort, so the "echo" can't handle it, use the $(sort list) of GNU make which can handle the too long list would fix the problem, the header would be short enough after sorted. The "tr ' ' '\012'" was used for translating the space to "\n", the $(sort list) doesn't need this. This doesn't impact the output, so it doesn't need the PR bump. [YOCTO #2591] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2012-06-15rpm: pass lrt and lpthread to link step explicitly for uclibcKhem Raj1
These need to appear in DT_NEEDED for librpmio.so for uclibc somehow it does not get added to link cmdline so we do it explicitly. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-06-15rpm: Use link time check for libsspKhem Raj2
-fstack-protector needs libssp to link with so when checking for this option support we need to find if libssp is staged in root file system Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-06-15rpm: Fix compilation on uclibcKhem Raj3
rpmatch is not there in uclibc therefore add logic to configure to detect it. x* wrappers need to be defined for uclibc as well. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-06-15strace: update to 4.7Bogdan Marinescu4
Removed the x32 specific patches, since they seem to be fully integrated into 4.7. Also removed the sigmask patch, since the new version doesn't seem to use sigmask anymore. Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
2012-06-15gcc-target: ensure target packages have the correct virtual package namesSaul Wold2
Resolves this error during do_rootfs: | * satisfy_dependencies_for: Cannot satisfy the following dependencies for task-core-standalone-sdk-target: | * eglibc (>= 2.15) * | * opkg_install_cmd: Cannot install package task-core-standalone-sdk-target. NOTE: package core-image-sato-sdk-1.0-r0: task do_rootfs: Failed Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-06-15quilt: added ac_cv_path_BASH to CACHED_CONFIGUREVARSSaul Wold1
On Fedora 17, bash has moved to /usr/bin/bash and the configure process finds it on the host machine there, this ensures that it is set correctly for the target. [YOCTO #2363] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-06-15opkg 0.1.8: do_fetch failed since no checksum specifiedRobert Yang2
* We use meta/recipes-devtools/opkg/opkg_svn.bb by default, the opkg_0.1.8.bb failed since no checksum specified. * The add_vercmp.patch in both opkg/ and opkg-0.1.8/, remove the one in opkg-0.1.8/ This patch doesn't impact the output, so I think that we don't have to increment the PR. [YOCTO #2498] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2012-06-14gcc-configure-target: Fix sysroot option breakage I introduced (sorry)Richard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-13gcc-configure-common: Use build time sysroot for target gccKhem Raj1
Otherwise it assumes / as sysroot on build host and starts searching for directories in there. [RP: Tweak to add missing = for consistent syntax] Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-06-12openjade-native: Ensure we reautoconf the packageRichard Purdie2
Currently since configure.in in is in a subdirectory, we don't reautoconf the recipe. We really need to do this, to update things like the libtool script used and fix various issues such as those that could creep in if a reautoconf is triggered for some reason. Since this source only calls AM_INIT_AUTOMAKE to gain the PACKAGE and VERSION definitions and that macro now errors if Makefile.am doesn't exist, we need to add these definitions manually. These changes avoid failures like: ---- | ... | DssslApp.cxx:117:36: error: 'PACKAGE' was not declared in this scope | DssslApp.cxx:118:36: error: 'VERSION' was not declared in this scope | make[2]: *** [DssslApp.lo] Error 1 ---- Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-12rpm: Ensure pkgconfig deps don't stray from the package being builtMark Hatle2
Force pkg-config to only look in the install directory, and not be able to fall back to system pkg-config directories for resolution. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-12package_rpm: Add capability to directly query packageoriginMark Hatle2
Add functionality to RPM to directly query the packageorigin (path) from the resolver database, instead of having to do this via an indirect method. This results in a minor performance improvement. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-12ossp-uuid: Add oss-uuid package and RPM 5.4.9 integrationMark Hatle9
RPM 5.4.9 now strongly encourages you to have the ossp-uuid library available. Add this recipe, and change RPM to use the uuid functionality. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-12rpm: Upgrade RPM to 5.4.9Mark Hatle4
Beside upreving RPM, add necessary integration patches to libzypp. Also change the configuration of RPM to support PACKAGECONFIG flags. RPM is highly configurable, the default configuration is good for minimal OE-Core use. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-12rpm: Upgrade RPM to 5.4.8 (db to 5.3.15)Mark Hatle11
RPM 5.4.8 requires db 5.3.x, so both are upgraded together. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-11nasm: updated to 2.10.01Bogdan Marinescu1
Tested by compiling syslinux Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-11gcc-common: Replace use of TARGET_ARCH with TRANSLATED_TARGET_ARCHKhem Raj1
TARGET_ARCH is poured into TRANSLATED_TARGET_ARCH for gcc-cross family or gcc-crosssdk family of recipes we have to check for TRANSLATED_TARGET_ARCH Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-06-11gcc-common: Enable hardfloat ABI when target is armKhem Raj1
We need to check target to be arm before enabling hard-float ABI. There are crossdk targets or candian-cross targets built for arm and we should not enable it for those class of recipes. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-06-11libtool: Let -fstack-protector passed to link stepKhem Raj2
linker should add -lssp to linker cmdline when -fstack-protector therefore add this knowledge to libtool otherwise packages will fail to link Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-11binutils_2.22: Backport to fix bogus textrelsKhem Raj2
This is reported by prelinker which does not go well with textrels. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08apt 0.7.14: do_compile failed with gcc 4.7Robert Yang4
apt do_compile failed with gcc 4.7: deb/deblistparser.cc: In member function 'virtual short unsigned int debListParser::VersionHash()': deb/deblistparser.cc:212:13: error: redeclaration of 'char* I' deb/deblistparser.cc:202:22: error: 'const char** I' previously declared here Backport the patch from the upstream would fix the problem, both target and native apt need it. [YOCTO #2488] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08apt-get 0.7.14: hangs at runtimeRobert Yang2
This patch had a little problem, it made a infinite loop: for (K = CmdL.FileList + 1; *K != 0; J++) But the value of "K" will nerver change, so the apt-get hangs, revert this patch first, and will fix the problem in another patch. Note: Increment the PR from 11 to 12 Revert "apt: Fix a latent bug exposed by gcc 4.7" This reverts commit 9d526462fe97564652771812ad1d363e9962b1e3. [YOCTO #2488] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05perl: Allow perl to cross build and native build in a directory named "t"Jason Wessel3
If any directory in leading up to your tmp directory has the name "t" perl will fail to build with a very cryptic error shown below: pod/buildtoc: no pods at pod/buildtoc line 305. make[1]: *** [pod/perltoc.pod] Error 255 This is a result of the perl file checking making an assumption that it is only looking at files and directories with in the perl source directory. This assumption fails with the way bitbake sets up perl to properly cross compile. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>