summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
AgeCommit message (Collapse)AuthorFiles
2011-09-29Add proper deps for nfs-utils, util-linux, and straceMatthew McClintock1
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 Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-28gcc-4.6: Update to tip of FSF gcc-4_6-branchKhem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-28multilib: remove the multilib handling to allarchDongxiao Xu1
currently we have allarch type of recipes, which may still have architecture dependency, like x11-common. So we need to drop the handling to allarch in multilib case. Also remove the PV postfix in python-pygobject DEPENDS, since multilib code will treat a native package multilib capable. [YOCTO #1497] [YOCTO #1498] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-09-28rpm: fix QA Warning on installed but not shipped staticdev fileswSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-09-28rpm: ensure that magic file is relocatableSaul Wold1
rpm-native was reading from /usr/share/misc/magic which is wrong it needs to be set to read from the sysroot. This also adds wrappers to the rpm-build tools to ensure they know were to find the macros that point to the right directories. Fixes [YOCTO #1532] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-09-28gcc-4.6: Use --with-linker-hash-style configure optionKhem Raj2
Depending upon what hash style is in use this uses the right flag for setting the hash style type. This fixes the QA errors about missing GNU hash style reported in gcc-runtime build particularly libgcc Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-09-27pseudo: Fix QA warningsRichard Purdie1
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 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-27gcc: Fix two QA issuesRichard Purdie2
a) There is a QA warning from a .so being present in a main package. In the case of the plugin library for gcc, this is allowed. b) Remove the unwanted libiberty.a file with the strange path. We don't need/want this and this removes an unpackaged file warning. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-26gcc: include libgcov.a into libgcc-dev packagelumag4
First, this lib is usefull for coverage analysis-enabled building. Second, this fixes the warning about unpackaged files in libgcc recipe. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-26gcc: fix possible problems with nscd compilation during eglibc-nativesdk buildDmitry Eremin-Solenikov3
Long time ago a066e7ca90a28d5681c5fa895a29e999ed7c88b was committed to address possible problems with compilation of nscd during eglibc-nativesdk build. Problems were related to the way gcc searches for headers to check if it should enable it's own stack smash protection bits or it can relay on eglibc for it. However after 934d38530c9a67562e53d4034aee5531f0f26750 things got broken, as for gcc-crosssdk-intermediate packages: 1) EXTRA_OECONF is ignored 2) headers are installed in a different location than expected by that patch. This results in eglibc-nativesdk build broken on some systems (e.g. mine Debian x86_64 squeeze). Fix that by providing with-headers options to crosssdk-intermediate gcc configuration. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-26icecc-create-env-native: provide the script right in the treeDmitry Eremin-Solenikov3
There is no point in downloading a tarball with no clear upstream (other than icecc itself) and then patching it. Rather put new script in the source tree. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-26libtool: Fix an issue where unnecessary rpaths were being injectedRichard Purdie6
libtool was being to aggressive in adding rpath to binaries. This change stops it adding them if that path the default search path. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22intltool: add libxml-parser-perl-native dependency to -native versionDarren Hart1
Fixes [YOCTO #1514] Without a native dependency on libxml-parser-perl-native, shared-mime-info-native can fail its do_configure task. checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool Testing: Successfully built shared-mime-info and shared-mime-info-native for qemuppc. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Joshua Lock <josh@linux.intel.com> CC: Richard Purdie <richard.purdie@linuxfoundation.org> CC: Koen Kooi <koen@dominion.thruhere.net> CC: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22diffstat: Add missing file from previous commitRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22diffstat: Fix a build failure when using libdir=/usr/lib64Richard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22gcc: include plugin-related headers into packaged SDKDmitry Eremin-Solenikov3
Include headers necessary to compile gcc plugins into cross-canadian gcc packages. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22e2fsprogs: include devtools scriptsDmitry Eremin-Solenikov1
Some scripts are necessary to develop programs with libcom_err and libss. Include those into e2fsprogs-dev package. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22icecc-create-env: rename to -nativeDmitry Eremin-Solenikov2
icecc-create-env(-native) is a native package. But if it doesn't have the -native suffix, some dependency tracking stuff in oe-core (in nativesdk.bbclass) get's crazy about it, trying to generate dependencies to icecc-create-env-native packages. To fix that simply add -native suffix to this package. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22python: Fix cgi.py runtime issueMark Hatle2
By default cgi.py attempts to use /usr/local/bin/python as its interpreter. However, on my Linux systems, including OE-Core, python is installed into {bindir}. Adjust this one file based on the comment at the top of the upstream file. This resolves an issue where a runtime dependency discovered during RPM packaging breaks the rootfs construction. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-22perl: Fix a few perl binaries to use target interpreter pathsMark Hatle1
A small number of target installed programs, "${bindir}/pod*", were incorrectly using the perl-native paths to access perl. This caused a dependency failure during RPM rootfs install, and also prevented those specific components from functioning. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-21Update python dependencies to be simply to "python"Mark Hatle2
Previously python dependencies were of the format "python(abi) = ..." This format is not yet supportable within OE, so revert to a form we know we can handle. Introduce a change to package.bbclass that ensures it will causes the sstate-cache's "package" to invalidate. Since pythondeps changed, the output of rpmdeps changes, which causes the per-file dependency information to change.... thus we need to invalidate the cache! Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-09-21deb packages support: switch from /var/dpkg to /var/lib/dpkgDexuan Cui7
[YOCTO #1086] The pach was backported from OE: http://git.openembedded.net/cgit.cgi/openembedded/commit/?id=41e0fbf792037f249d1b8d283b3de81718887c9f Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
2011-09-16icecc-create-env: a tool to create icecc toolchain tarballsDmitry Eremin-Solenikov2
IceCC needs tarballs with toolchains to work correctly. This is a version largely based on one from org.openembedded.dev, plus a patch to support recent compilers, LTO, etc. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-16qemu: Fix reversed BGR values on ARM Versatile emulationRichard Purdie2
[YOCTO #1469] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-15subversion: remove neon-detection.patch and --with-neon optionMartin Jansa2
* upstream detection seems to be doing its job right now * I don't see how this is supposed to work -- neon_config="$withval/bin/neon-config" -+ neon_config="env env PKG_CONFIG_PATH=${withval}:${PKG_CONFIG_PATH} pkg-config neon" when neon_config should be sysroots/nokia900/usr/bin/crossscripts/neon-config " Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-09-15Uprev to latest version of prelink_git, fixing TLS issuesMark Hatle1
[YOCTO #1473] From the upstream cross prelink respository: Fix printf typecast problem Without this fix the printed TLS(...) information is incorrect, which causes the core prelinker code to incorrectly prelink. This bug triggers primarily on x86 (32-bit) hosts, targeting x86 (32-bit) targets and arm targets. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-09-13dpkg: fix pkg_postinst_dpkg, don't supply {bindir}/update-alternativesDexuan Cui2
[YOCTO #1070]. The pkg_postinst_dpkg seems buggy, e.g., for dpkg-native, ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d doesn't exist. I think OE's version(do_install_prepend) at http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/dpkg/dpkg.inc is correct, so let's change to OE's version. And, bth dpkg and update-alternatives-cworth supply /usr/bin/update-alternatives and this causes conflict. e.g., bug 1070. We can resolve the issue by ask dpkg not to supply the binary. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-13opensp: Fix hard path in native nsgmls.Zhai Edwin1
This relocation issues caused following bug and introduce one partial fix bb024d: [YOCTO #1440] But the environment val hacking is not working all the time, as nsgmsl may append wrong path in some case. This fix use search directory "-D" as solution. And more important, change the iputils' way to make doc: Use the sysid in current directory instead of parent directory, as "../" is also appended to the search directory then lead searching failure. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> CC: Saul Would <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-09Revert "opensp: Fix sstate relocation issue"Saul Wold1
This patch causes the linuxdoc-tools-native to fail, cause it's overriding the SGML_CATALOG_FILES, need to find a better way to set the CATALOG_FILE information for opensp / nsgmls Signed-off-by: Saul Wold <sgw@linux.intel.com> This reverts commit bb024d7a8c771c189b94b1ae177e29f3c318e236. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-08python-native: add link for python2Saul Wold1
Add link for python2 as some configuration tools search from a python2 and could find the host python instead of the python-native. Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07gcc: add patch for ice 50099, which caused lttng-ust not to buildSaul Wold2
[YOCTO #1381] This patch came from from GCC Bugzilla via Khem Cc: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07prelink: Update to latest upstream versionMark Hatle1
[YOCTO #1374] - Fixes underlying issue [YOCTO #1331] - Detects bad GNU_HASH tables Update to the latest upstream version. This includes a number of generic fixes, as well as a complete refresh of the prelink-rtld. (Prelink-rtld is similar to the ld.so/ldd functionality on a normal system.) The new prelink-rtld update syncs to eglibc-2.13 and enables new symbol resolution, include GNU_UNIQUE, that was causing problems on x86_64 and potentially other architectures with C++. An assert has been added to also detect a bad GNU_HASH situation which was detected on some PPC64 systems. The underlying problem is within the toolchain, however prelink was making it worse leaving the problem undetected. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-09-07mtd-utils: update to version to 1.4.6Denis Carikli3
mtd-utils 1.4.6 is the lastest release of mtd-utils at this time. Signed-off-by: Denis Carikli <denis@eukrea.com>
2011-09-05git: fix sstate relocation for git-nativePaul Eggleton2
Create a wrapper for git to set GIT_EXEC_PATH and GIT_TEMPLATE_DIR so that git-native is relocatable. Fixes specific example given in [YOCTO #1137] Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-09-05opensp: Fix sstate relocation issueSaul Wold1
[YOCTO #1440] This fixes a problem where the native nsgmls has a path hard coded into it, therefor add a wrapper to set the environment with the correct paths for catalog files. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-09-02gcc: Fix multilib baselib confusionRichard Purdie2
Commit 35fa8dc5f7da90fdd40091a3c3600d3fcd232922 changed the gcc recipes to use baselib for the compiler location. This is fine as long as baselib happens to match the platform multilib definition which is enabled at the time. This patch fixes things so that gcc will honour whatever ${base_libdir} is set to re-allowing suitable customisation of the system layout. [YOCTO #1362] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-31Fix powerpc term and provide more template for different archesJessica Zhang1
Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-31Revert "Fix adt-installer for consistent naming for powerpc and add all arch ↵Jessica Zhang3
template for installation" This reverts commit ae4ad20edbb6ea023155f7ae2b00871d479e370d. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-31gdb: Further S vs. PV fixupsRichard Purdie3
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-31intltool: Fix perl pathsRichard Purdie3
Currently in the native case we have a path that can easily exceed the interpretor limit so use "env nativeperl" in that case. This patch also fixes up the target version's interpretor path but to do this we need to bypass the configure checks. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-31gdb: Fix broken source directoryRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-30gdb: upgrade from 7.3 to 7.3aSebastian Krzyszkowiak4
* because 7.3 archive is not fetchable anymore Signed-off-by: Sebastian Krzyszkowiak <dos@dosowisko.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-29binutils: update to 2.21.1aPaul Eggleton4
2.21.1 has disappeared upstream. There is no ChangeLog information for 2.21.1a, however diff reports only the addition of some cpu/opc files in cgen/ subdirectory; the source code is otherwise identical. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-08-26opkg-utils: ignore packages disapperaring filelist generationDmitry Eremin-Solenikov2
Package files disappearing during index generation don't cause a fatal error. Make package file disappearing during filelist generation also a non-fatal error. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
2011-08-26cmake-nativesdk: remove gcc standard pathsKang Kai1
Because of the gcc-crosssdk bug, cmake-nativesdk needs to search gcc standard paths itself. Right now it was fixed, so remove the additional CXXFLAG for cmake-nativesdk. Signed-off-by: Kang Kai <kai.kang@windriver.com>
2011-08-26[YOCTO #1396] Fix adt-installer for consistent naming for powerpc and add ↵Jessica Zhang3
all arch template for installation Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
2011-08-26gcc-4.5.1: Drop gcc-poison-parameters.patch, replace with bug fix patchKumar Gala3
The gcc-poison-parameters was added specifically to deal with an issue on ppc targets and a bug when we build with -Os -frename-registers. This bug below reports the issue and is fixed in gcc-4.6.x/mainline: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44618 Backport patch to gcc 4.5.1. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2011-08-26gcc-4.6: Drop gcc-poison-parameters.patch as its not needKumar Gala2
The gcc-poison-parameters was added specifically to deal with an issue on ppc targets and a bug when we build with -Os -frename-registers. This bug below reports the issue and is fixed in gcc-4.6.x: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44618 Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2011-08-23bitbake meta-toolchain with gcc 4.5.1 failedRobert Yang1
Fixes bug [YOCTO #1386] 1) Add the following lines to conf/local.conf: SDKGCCVERSION="4.5.1" GCCVERSION="4.5.1" 2) bitbake meta-toolchain The we will notice the error that sed can't find the directory: ${TMPDIR}/work-shared/gcc-${PV}/gcc-${PV}-${PR} we had changed the name of S from gcc-${PV} to gcc-${PV}-${PR}, but didn't update meta/recipes-devtools/gcc/gcc-common.inc, so fix S in gcc-common.inc would make it work. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2011-08-23adt-installer: Removed the hard coded repo url.Lianhao Lu3
[YOCTO #1380] Removed the hard coded repo url in opkg configuration files. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>