summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
* apt 0.7.14: do_compile failed with gcc 4.7Robert Yang2012-06-214-2/+66
| | | | | | | | | | | | | | | | | | | | | 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] (From OE-Core rev: 80c1ab1248ff38ba97cf5780fc05ff1321e14e10) 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> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Fix parallel make raceRichard Purdie2012-06-214-2/+26
| | | | | | | | | | I was just going to turn off parallel make but ended up fixing this properly. (From OE-Core rev: 440a6d5aacf7807536feee5d09484712ba34ca80) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Fix locale header and hardcoded libname issuesRichard Purdie2012-06-216-10/+104
| | | | | | | | | | | | | | | apt wasn't building on modern libc/compiler combinations due to missing header includes. The libcpp version was also being hardcoded, this patch generates it dynamically to work on different host systems which no longer have this. (From OE-Core rev: 4bcffbcd05c86903fbdf47bb46bf1a52b888dfeb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icon-naming-utils-native: add SRC_URI checksumsJoshua Lock2012-05-311-0/+2
| | | | | | | | | | | | | | [YOCTO #1866] reported errors with fetching icon-naming-utils. This turned out to be an issue with upstream which was impaired by the recipe not containing checksums. Without a checksum failure we were trying to decompress the error page we received from upstream. (From OE-Core rev: 0af0591e25b35beb9dd10f9d5de8bc2e63f7731e) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* syslinux: Avoid using linux.ext2_fs.h if possibleDarren Hart2012-05-312-2/+978
| | | | | | | | | | | | | | | | | Fixes [YOCTO 2236] With recent Linux kernel headers, such as 3.3 in Fedora 16, the linux/ext2_fs.h header has been removed. This causes compile failures for syslinux-native. Backport a fix to address this from syslinux-4.06-pre3. (From OE-Core rev: d61c5fc67780b552fcf3d78ebcf9bd3888af4e0a) Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Ross Burton <ross.burton@intel.com> CC: Joshua Lock <josh@linux.intel.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dosfstools: Add patch to disable fat32 autoselection and behave as 2.10Richard Purdie2012-04-142-2/+30
| | | | | | | | | | | It appears msdos image population and fat32 images are incompatible. This reverts to the 2.10 behaviour of defaulting to fat16 instead of using fat32 for large images, allowing image generation to work correctly. This is a workaround and a proper fix is really needed. (From OE-Core rev: c2de8d41236cf1293db9e6c69d69e8d14f55ffd1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dosfstools: update native to 2.11Otavio Salvador2012-04-147-261/+69
| | | | | | | | | | This unify recipes for target and native builds and also drops the the already merged patches. (From OE-Core rev: 3a401ddce55e185c8ccfdc43c1440fd77daff9ae) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dosfstools: add Upstream-Status to patchesScott Garman2012-04-147-0/+44
| | | | | | | (From OE-Core rev: 735a3e5d3399e29e4d6fa82dabbdd1687eaa29e9) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dosfstools: Add SRC_URI ChecksumSaul Wold2012-04-141-1/+4
| | | | | | | (From OE-Core rev: a19bfc10e60ddc7e9317654ca7565d39acbc3987) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnu-config: Only apply path transformations in the non-native/non-nativesdk caseRichard Purdie2012-03-041-1/+1
| | | | | | | | | | | | | The BUILD_ARCH != TARGET_ARCH check isn't a safe one to detect native builds and doesn't cover the nativesdk case. This converts the recipe to use PN instead which is more accurate and ensures the correct entries making it into the correct packages. (From OE-Core rev: 4a601314604e8428d9dace95c32a71a57eacaaf5) (From OE-Core rev: 4066c7a3940df2740ad40b21e3ad517a9af20690) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* m4-native: explicitly set an empty BBCLASSEXTENDJoshua Lock2012-03-041-0/+1
| | | | | | | | | | | The BBCLASSEXTEND from the included target results in an m4-native-nativesdk which causes problems when running a universe fetch. (From OE-Core rev: 8bd88113ec7b962b570cdc90efa9f8b405730677) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils-cross-canadian: Clear BBCLASSEXTEND as a native version of this ↵Richard Purdie2012-03-041-0/+2
| | | | | | | | | | recipe makes no sense (From OE-Core rev: 5980cd6af7b5260558cb234288a426c091b5de2a) (From OE-Core rev: 3611bbe4eb7b851c4d2275e9507785d734651777) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autoconf: fix nativesdk rdependsNitin A Kamble2012-02-282-1/+3
| | | | | | | | | | | | | | | | | | | | Fixes this build error: | error: Failed dependencies: | m4 is needed by autoconf-nativesdk-2.68-r4.x86_64 | gnu-config is needed by autoconf-nativesdk-2.68-r4.x86_64 NOTE: package meta-toolchain-1.0-r6: task do_populate_sdk: Failed ERROR: Task 8 (.../meta/recipes-core/meta/meta-toolchain.bb, do_populate_sdk) failed with exit code '1' (From OE-Core rev: df8d88e864fb6bdecf5c82b25c0252c3d54157ad) (From OE-Core rev: ) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autoconf: Extend to provide nativesdk recipeWenzong Fan2012-02-281-3/+9
| | | | | | | | | | | | | | | | | | | | As the same reason with automake, extend autoconf to provide nativesdk recipe too. This patch was only used for autoconf that running on target: * path_prog_fixes.patch: replace '@PERL@' with '@bindir@/env perl' It's unavailable for autoconf-native and autoconf-nativesdk, so exclude it for those two recipes. (From OE-Core rev: a16cf1b67f6559b182e6bb31abc1371162b04428) (From OE-Core rev: 0b30e122e40472f5f1609cd9a513e6c4d198ac35) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* automake: Extend to provide nativesdk recipeWenzong Fan2012-02-282-2/+3
| | | | | | | | | | | | | | | We will provide autotools nativesdk in meta-tookchain for reconfigure any autotools supported projects, as a part of the plan we should extend their recipes first. (From OE-Core rev: 2074285e84267f9f929ed6424f35cc4b2a00c335) (From OE-Core rev: 4450aa5f0f757a3694db6123f6afe57a833ae986) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* m4: Extend to provide nativesdk recipeWenzong Fan2012-02-282-2/+6
| | | | | | | | | | | | | | | | We need to provide autoconf-natviesdk in meta-toolchain, the m4-nativesdk is required by it. Both extend the m4 recipes for GPLv2 and GPLv3. (From OE-Core rev: 3e0a0db3559ee9b15a99a95dd3b0c343dca4b2ec) (From OE-Core rev: 139f0171432eddf67039dde3bfad402cba3cc1a6) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnu-config: Extend to provide nativesdk recipeWenzong Fan2012-02-281-2/+2
| | | | | | | | | | | | | | We need to provide autoconf-natviesdk in meta-toolchain, the gnu-config-nativesdk is required by it. (From OE-Core rev: 5e134b60773fa948c586dae777a6e75dce29d27d) (From OE-Core rev: 378b9b5a9c8cda30c13bb1681fa9f0b02ef95655) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fix the issue that adt-installer tar ball is not regenerated if sstate is ↵Jessica Zhang2012-02-102-9/+7
| | | | | | | | | | | | | on, and other minor bug fixes (From OE-Core rev: 61da952fdc2996c27c56234c36116a69a23a378d) Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Conflicts: meta/recipes-devtools/installer/adt-installer_1.0.bb
* adt-installer: install autoconf(/automake)-nativesdkLianhao Lu2012-02-102-13/+7
| | | | | | | | | | [YOCTO #1909] Install autoconf-nativesdk and automake-nativesdk to host. (From OE-Core rev: 0b3842f5c3c1587d25e70bc8223e2b144b9043cb) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* intltool: remove XML::Parser checkSaul Wold2012-01-302-3/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add Patch to disable the XML::Parser check in the target intltool.m4, this check will find the host (not native) XML::Parser if it's installed possibly causing Host contamination, but will also fail configuration if XML::Parser is not installed on the host. Since we know that XML::Parser is installed on the image, we don't really need this check, so comment it out. From RP in mail thread: > If the recipe needs perl for > some other reason than intltool, it needs perlnative but it if only > needs perl for intltool, we shouldn't need the dependency. The .m4 macro > checks are well intended but don't fit the way we use perl. I really > don't want to end up in a position where intltool automatically means we > have to add perlnative as a dependency and we've previously seen many > problems related to that. (From OE-Core rev: 264fb6c5a4875cd8969a24a9f0301ed916ab827b) (From OE-Core rev: 085c76298891dc0b0e2207ef929569672c9cb254) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm_5.4.0.bb: Build rpm without xzMatthew McClintock2012-01-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the following issue: Log data follows: | NOTE: Creating RPM package for perf-dbg | NOTE: Creating RPM package for perf | NOTE: Creating EMPTY RPM Package for kernel | NOTE: Creating EMPTY RPM Package for kernel-3.0.9-00348-gec4b357 | NOTE: Creating RPM package for kernel-image-3.0.9-00348-gec4b357 | NOTE: Creating RPM package for kernel-dev | NOTE: Creating RPM package for kernel-vmlinux | NOTE: Not creating empty RPM package for kernel-misc | NOTE: Creating RPM package for kernel-devicetree | NOTE: Creating RPM package for kernel-module-libcrc32c | NOTE: Creating RPM package for kernel-module-crc-itu-t | NOTE: Creating RPM package for kernel-module-sctp | NOTE: Creating RPM package for kernel-module-pcbc | NOTE: Creating RPM package for kernel-module-crc32c | NOTE: Creating RPM package for kernel-module-binfmt-misc | NOTE: Creating RPM package for kernel-module-nfsd | NOTE: Creating RPM package for kernel-module-exportfs | NOTE: Creating RPM package for kernel-module-msdos | NOTE: Creating RPM package for kernel-module-nls-utf8 | NOTE: Creating RPM package for kernel-module-udf | NOTE: Creating RPM package for kernel-module-isofs | NOTE: Creating RPM package for kernel-module-usbhid | NOTE: Creating RPM package for kernel-module-scsi-wait-scan | NOTE: Creating EMPTY RPM Package for kernel-modules | /local/home/mattsm/git/fsl-local-sdk/build_p4080ds_release/tmp/sysroots/x86_64-linux/usr/bin/rpmbuild.real: error while loading shared libraries: liblzma.so.5: cannot open shared object file: No such file or directory | ERROR: Function 'BUILDSPEC' failed (see /local/home/mattsm/git/fsl-local-sdk/build_p4080ds_release/tmp/work/p4080ds-fsl-linux/linux-qoriq-sdk-3.0.6-r2/temp/log.do_package_write_rpm.18943 for further information) (From OE-Core rev: 1f55b31bdc8cf1da04ef29f4e44c1be6c0286ee2) (From OE-Core rev: 3b0239ab2c36d7227ec4e81d2aaf93c273cdc292) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-4.6: Fix gcc ICE on qt4-x11-free/armv7-aKhem Raj2012-01-302-4/+68
| | | | | | | | | | | | Backport fix for PR 47551 fixes the ICE seen on armv7-a/qt4-x11-free Bump up SRCREV past gcc 4.6.2 release (From OE-Core rev: dd2fdf9f5a3923c37e4ea2e46e347bb0657c2f5b) (From OE-Core rev: 320f6b71e502d65421a01a2f280c9e2c8f046619) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: Fix installation order in feeds with mutiple providers of packagesRichard Purdie2012-01-302-2/+2
| | | | | | | | | | | | | If two packages were available of differing priority, this would confuse opkg and it was ignoring the dependency in the new dependency ordering code. This changes it not to ignore these cases by setting the badly named 'quiet' parameter accordingly. (From OE-Core rev: c38693f78c968ab5f4bb557c20d1c8c55393ed6b) (From OE-Core rev: 4c75318b75c4776cc469cc2c6511596bc7befbb4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: Drop the offlineroot_varname patchRichard Purdie2012-01-302-22/+1
| | | | | | | | | | | This break things for on target opkg usage since $D must remain unset there. (From OE-Core rev: 746ae269a475857ae57095b1fd164fe195b3d051) (From OE-Core rev: aa632292cc55b997a5b808b6c4a70ce33a3b9e7e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: Add logic to detect and creak circular dependenciesRichard Purdie2012-01-302-1/+101
| | | | | | | | | | | | This addresses some of the concerns about the previous opkg changes allowing it to break out of circular dependency loops with just a notice in the logs rather than effectively going OOM. (From OE-Core rev: 5a2b67b8faad3dd5417ba89d8e82ca564753ccc9) (From OE-Core rev: 29f77f865434cc956e6bbccaee81ff458492ec46) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: Update svn 625 -> 633 and fix preinst issuesRichard Purdie2012-01-304-2/+256
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a major issue with opkg images at the moment as preinst functions are not being executed before their dependencies are installed and this is leading to corruption of images containing avahi/dbus in particular. There are various changes in upstream opkg in the last 8 revisions which make changes in this area but sadly these aren't enough to get things working for us. I've updated to the latest svn revision with this patch since it makes sense to pull in those changes first and then supplement them with the attached patches. There is a full description of the patches in the patch headers but in summary they: a) Ensure preinst functions execute with their dependencies installed. This is a pretty invasive change as it changes the package install ordering in general. b) Ensure opkg sets $D, not $PKG_ROOT which we don't use c) Change opkg to allow execution of postinstall functions which fail resulting in execution on the target device as rootfs_ipk.bbclass currently does manually. The remaining changes interface this with the rest of the OE build infrastructure, adding in the option to tell opkg to run the preinst and postinst functions, ensure the correct environment is present for the postinst scripts and removing the now unneeded rootfs_ipk class code which opkg now does itself. [YOCTO #1711] (From OE-Core rev: 2feba313c991170747381c7cf821a45c2cd04632) (From OE-Core rev: b7e2eff8c18bc59605fb711ac4540985c71f155a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update-alternatives: Various fixesRichard Purdie2012-01-303-4/+12
| | | | | | | | | | | | | | | dpkg-native's update-alternatives is broken for offline work so don't install it. Also list update-alternatives in the multiprovider whitelist to avoid unwanted multiple provider warnings when multiple package backends are enabled. (From OE-Core rev: 300336fc4a310ed16a14ad041744708d54aae189) (From OE-Core rev: c90b1faa34e908c7f63e1a64027873858e6d7e8a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: for native, do not fail if kvm is unavailablePaul Eggleton2012-01-303-4/+10
| | | | | | | | | | | | | When building qemu-native, if the linux kvm header is unavailable (as it is on CentOS 5.x 32-bit) then do not pass the --enable-kvm switch to the configure script, thus avoiding failed do_configure. (From OE-Core rev: 8c21c71f005b601f58925e9912f2cf44127e291d) (From OE-Core rev: 44d9e208c97ec1e3c5ba0a8dc6c10cef12dc270d) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Flush old logs by change the DB_CONFIGMei Lei2012-01-302-2/+15
| | | | | | | | | | | | | Fixes [YOCTO #1174] Rpm logs will grow indefinitely, so change the config to flush those old logs. (From OE-Core rev: e2c4dff079722f256ddcab9630b5b3f8f6421cc9) (From OE-Core rev: f235c7a320c401fea70a578186c5cf80dd597fcd) Signed-off-by: Mei Lei <lei.mei@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openjade-native_1.3.2.bb: remove CONFIGUREOPTS as vardep for do_configureMatthew McClintock2012-01-301-0/+5
| | | | | | | | | | | | | This variable was being expanded immediately and pulling in paths to the variable dependecies which causes it's sstate-cache to never be reused (From OE-Core rev: ddb8d3de34f809b9c72eb3a2223a74f75eff7911) (From OE-Core rev: 8f616810b868a30fc01550c017f9fc14220ae7d8) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg-native: Fix perl pathRichard Purdie2012-01-301-1/+2
| | | | | | | | | | | The path to the native perl was incorrect leading to rootfs failures. This patch corrects that problem. (From OE-Core rev: 044324465bd54d53ae768f3c1e7468ae0e0c6200) (From OE-Core rev: 8fa40eb1c2a32782b8a74bee70fa81b2c3e5cbaf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-4.6: fix toolchain build for SH4Michael Brown2012-01-301-0/+2
| | | | | | | | | | | | | | | | | | | | (From OE-Core rev: da7bf75bcdd5759a0f551dcb7a0326aa2f40921c) (From OE-Core rev: 3c9fd383965f883129cf35d0e307d3bbbd5d4908) Signed-off-by: Michael Brown <Michael_E_Brown@dell.com> Port patch from base openembedded. Since 4.6 already has fixes for config.gcc, the fix only requires a one line change to gcc-cross4.inc. The patch was imported from the OpenEmbedded git server (git://git.openembedded.org/openembedded) as of commit id 3aa8afe97e9cf1340feb9c4442a6ed88b7e32c96. gcc-4.5: Fix toolchain builds for SH4/SH3 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg/update-alternatives: Fix dpkg version of update-alternatives to be usableRichard Purdie2012-01-305-70/+57
| | | | | | | | | | | | | | | | | | | The version of dpkg the updates-alternatives-dpkg recipe pointed at no longer used a perl script but a compiled binary. This meant the "all" architecture field was invalid, as as the sed operation during do_patch. All things considered the separate recipe was pretty pointless. This patch moves update-alternatives back to being built as part of the dpkg recipe. It also moves various functionalty to the .inc file which it belongs and fixes building and packaging of the dpkg perl modules. (From OE-Core rev: fad496c759066d53bebf9b8cebc63e6478c91d19) (From OE-Core rev: 467af9ae45ce54d6e50041d5134af889ac7cf4d2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: Ensure we use the uname/gname fields when extracting tarballsRichard Purdie2012-01-302-1/+90
| | | | | | | | | | | | | | When extracting packages onto the target system in particular, we really want to ensure the name fields in the tarball are used over and above the numerical uid/gid values. This patch adds this functionality to opkg and ensures package upgrades work correctly permission wise. (From OE-Core rev: f2316ff39670ed99382411e15ac035550360fbdd) (From OE-Core rev: 56800b9906cf228331083256664407947f831185) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs_rpm.bbclass: Enable pre and post install scriptsMark Hatle2012-01-302-1/+161
| | | | | | | | | | | | | | | | | | | | | | | [YOCTO #1755] We change the want the RPM rootfs install works to install pre and post install scripts. The new method uses a script helper that is invoked by RPM outside of the normal chroot. The wrapper is dynamically generated prior to the install starting. It will check the return code of the script. If the script fails, it will store a copy to be executed on the first system boot. This is similar to the previous mechanism. In addition, a line of debug was added to the scripts as written by package_rpm to list which package and which script for later debugging, if necessary. (From OE-Core rev: 3e7120d6a9fd5e46214673d0a6e1085a7314ff42) (From OE-Core rev: 5d74a2bbe036cf586b76aef0d9907ecb3d4a5f1d) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: skip setup.py 'import check' when cross-compilingTom Zanussi2012-01-302-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | build_extension() in setup.py, as part of the build process, does an 'import check' on the built extension. The import check in turn dlopen()'s the shared library associated with the extension, which isn't something that makes sense if that library was cross-compiled for a different architecture. This was noticed with an x86_64 target that was compiled with avx support, because it caused 'illegal instruction' exceptions: | /bin/sh: line 1: 14575 Illegal instruction ... -E ./setup.py -q build For other target architectures, it doesn't necessarily cause illegal instruction exceptions, but still fails. For example, on arm, the failure pathway causes this warning: *** WARNING: renaming "cmath" since importing it failed: .../cmath.so: wrong ELF class: ELFCLASS32 This patch to setup.py and the associated recipe changes allow the whole 'import check' logic to be skipped when cross-compiling. (From OE-Core rev: 25fae81538a92e15eab3fc169ebce44505f67839) (From OE-Core rev: d83e4ac25cca788d2b102c2072ccb367c0cab284) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add readline as dependecy for gdb-cross-canadianMatthew McClintock2012-01-302-2/+2
| | | | | | | | | | | | Got errors that we were unable to find -lreadline, this fixed the issue (From OE-Core rev: ddc9a58b8553599d2328ac1c4449b41681ae45d1) (From OE-Core rev: c50f8d83749d755e58fcd159b8e4dab33fbd9036) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-4.6: Backport fix for PR32219Khem Raj2012-01-302-1/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fix is needed for gold to work. Otherwise connman fails to build since it used hidden weak symbols. See http://gcc.gnu.org/bugzilla/PR32219 http://www.cygwin.com/ml/binutils/2008-02/msg00239.html The fix proposed to gcc had reviews which were not addressed hence the patch is not yet applied to gcc upstream. connman can also have workaround by changing the visibility of these symbols to be default __attribute__ ((weak, visibility("hidden"))) to __attribute__ ((weak, visibility("default"))) in include/plugin.h (From OE-Core rev: 3cb2b003db7371b3a47d02c08352a262e1e419b4) (From OE-Core rev: 9a160921a16c9c37e07e4b5cb30e37348ecd205b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-configure-sdk: Point sysroot to correct locationKhem Raj2012-01-301-2/+2
| | | | | | | | | (From OE-Core rev: c9883733fed9267b1a936c08500a4caf8dc52d3d) (From OE-Core rev: 1cffc4c39f897ae1db30825364ff809ce40f512b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils-cross-canadian: Point sysroot to correct locationKhem Raj2012-01-302-2/+2
| | | | | | | | | (From OE-Core rev: b8dad4ab77f5516bc6929e2ed094fdc62a5a52db) (From OE-Core rev: 065b65f8835304a0ba7fe751a132b684a41b08ae) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-4.6: Backport PR46934 fixKhem Raj2012-01-302-1/+394
| | | | | | | | | | | | | | | | | | We have been hitting this issue on ARM/thumb and have a workaround in place to compile samba http://git.openembedded.org/openembedded/commit/recipes/samba/samba_3.2.15.bb?id=4ba7aa07c0dcd28f94515ff9927e2a04403fcf15 This backport should fix the gcc bug (From OE-Core rev: 75f7269a7a1da2494768d4be63c44b12c5cfeeeb) (From OE-Core rev: 446767c4c471b8ec932698a23af5a815d326a0be) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Conflicts: meta/recipes-devtools/gcc/gcc-4.6.inc
* gcc-4.6: Upgrade SRCREV to latest FSF 4.6 branchKhem Raj2012-01-301-1/+1
| | | | | | | | | (From OE-Core rev: b1af6951e14d645fe861f289011c91ab6f1b6865) (From OE-Core rev: f6ba855e3d8b33591c14048cac68264e93a821e8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Allow user mode NFS server to run without rpcbind / portmapJason Wessel2012-01-302-1/+36
| | | | | | | | | | | | | | | | | and nfsroot mount without the need to talk to an RPC info server as long as the port numbers for mountd and nfsd are known in advance. This patch updates the qemu startup scripts and the user mode NFS server to have the ability to start without the need to use rpcbind or portmap services. (From OE-Core rev: 3b1346c607c41a2d592c48594457c32153cb2314) (From OE-Core rev: 13899c6cd44a618276e1b8d236187eddcb98bc2c) Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pkgconfig: Fix logic that was accidently leaving legacy pkg-config ↵Richard Purdie2012-01-302-13/+17
| | | | | | | | | | functionality enabled (From OE-Core rev: aa816b0aaf39dc6f822114df0bd6d4dd62fce0b8) (From OE-Core rev: d46496b814b9a75523b337202d53c2c6c198566b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mtools: Disable parallel make install, its brokenRichard Purdie2012-01-302-0/+4
| | | | | | | | (From OE-Core rev: 6f64114f5825bf6f6ab8eaaf4bed24586e05ee57) (From OE-Core rev: b7d7af9d54fee435df88ad5d81eb32ed27cf59c7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: fix sqlite RPATH issueSaul Wold2012-01-302-1/+21
| | | | | | | | | (From OE-Core rev: 9f9612d15acc6ee3b71f52bdb3f1ec4cb56b1a17) (From OE-Core rev: 98acff46d777a5a0931a80a33e9c9d148a0f69a6) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add proper deps for nfs-utils, util-linux, and straceMatthew McClintock2012-01-301-0/+2
| | | | | | | | | | | | | | | | These packages need these deps for the RPM generation stage: error: Failed dependencies: | /usr/bin/python is needed by nfs-utils-1.2.3-r2.ppce5500 | /usr/bin/perl is needed by util-linux-2.19.1-r4.ppce5500 | /usr/bin/perl is needed by strace-4.5.20-r2.ppce5500 (From OE-Core rev: 9c9ea24b115a9bb87df1323b5f185ce426262aec) (From OE-Core rev: 42acc3337ef40b3ef693000c27e6efdb79e39351) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-4.6: Update to tip of FSF gcc-4_6-branchKhem Raj2012-01-301-3/+3
| | | | | | | | | (From OE-Core rev: ed7deecb9503420fbf8071445e077c32beda8dc4) (From OE-Core rev: 90e3aee700b8fff6d94f84850dfc00091b3777c9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: fix QA Warning on installed but not shipped staticdev fileswSaul Wold2012-01-301-7/+10
| | | | | | | | | (From OE-Core rev: 62ce8f96626e061e03ca49896716bbb133721ee0) (From OE-Core rev: 59f80f70c5ff6c62143b7bad5a67d5508b388d29) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo: Fix QA warningsRichard Purdie2012-01-301-6/+12
| | | | | | | | | | | | | | | This fixes two QA warnings: a) Debug files being contained in the main package (by adding an appropriate FILES expression) b) Stop hardcoding the RPATH in the nativesdk case since our path is on the loaders default search path (From OE-Core rev: 1577975202437f8f89ef24a5e4d3f6c6c8a88c5c) (From OE-Core rev: 0c345e7aa83196e55cd554a958690e4cc261ef16) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>