summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
* autoconf: remove automake patch enforcing --foreignRoss Burton2014-07-292-14/+0
| | | | | | | | | | | | | | | Since 2004 we've been carrying a patch[1] make autoreconf pass --foreign to automake. Presumably at the time this was due to many upstreams using hand-coded bootstrap scripts that passed --foreign manually, but we were using autoreconf. These days many projects have added foreign to AM_INIT_AUTOMAKE and use autoreconf directly, so this patch isn't as critical as it used to be. (From OE-Core rev: 74b05bba64589da0e4439a4293559ad9670104bd) Signed-off-by: Ross Burton <ross.burton@intel.com> [1] oe-classic 2ab2a92eadaf2f80410d8746099f8a9b1b81ff91 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt-native: Add missing DEPENDS on db-native and curl-nativeRichard Purdie2014-07-271-1/+1
| | | | | | | | | The target recipe has these DEPENDS but the native version does not and this can lead to none deterministic builds. Fix this. (From OE-Core rev: 9a3240acd0ac64a257bcfd48f743fc85b6c8f449) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: fix _json module arbitrary process memory read vulnerabilityDaniel BORNAZ2014-07-253-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://bugs.python.org/issue21529 Python 2 and 3 are susceptible to arbitrary process memory reading by a user or adversary due to a bug in the _json module caused by insufficient bounds checking. The sole prerequisites of this attack are that the attacker is able to control or influence the two parameters of the default scanstring function: the string to be decoded and the index. The bug is caused by allowing the user to supply a negative index value. The index value is then used directly as an index to an array in the C code; internally the address of the array and its index are added to each other in order to yield the address of the value that is desired. However, by supplying a negative index value and adding this to the address of the array, the processor's register value wraps around and the calculated value will point to a position in memory which isn't within the bounds of the supplied string, causing the function to access other parts of the process memory. (From OE-Core rev: 9ec213bf67afbdfdbe25802ec86487bb22aeb2e4) Signed-off-by: Benjamin Peterson <benjamin@python.org> Applied to python-native recipe in order to fix the above mentioned vulnerability. Upstream-Status: Submitted Signed-off-by: Daniel BORNAZ <daniel.bornaz@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-4.9.inc: fix parallel building failureHongxu Jia2014-07-252-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | In subdir 'gcc', Most C source files included config.h which was generated by a rule. But no related prerequisites was added to the C source compiling rule. There was potential building failure while makefile enabled parallel. The C source compiling rule used suffix rule '.c.o', but the suffix rule doesn't support prerequisites. https://www.gnu.org/software/make/manual/html_node/Suffix-Rules.html We used the pattern rule '%.o : %.c' to instead, and add the config.h as its prerequisite We also moved the '%.o : %.c' rule down to the 'build/%.o :' rule, which makes '%.o : %.c' rule doesn't override 'build/%.o :'. [YOCTO #6568] (From OE-Core rev: 86c2483f0fe05fb763d280ae22d70e54cb4bb0bc) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: fix rebuid failed while ${CC} changedHongxu Jia2014-07-252-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reproduce steps: 1) bitbake perl 2) vim local.conf to tweak CC, just add redundant option. ... CC_append = " ${HOST_CC_ARCH}" ... 3) bitbake perl ... ./miniperl -Ilib make_ext.pl lib/auto/Time/HiRes/HiRes.so MAKE=make LIBPERL_A=libperl.so LINKTYPE=dynamic Making Time::HiRes (all)my $filename= Deleting non-Cross makefile Running Makefile.PL in cpan/Time-HiRes Makefile.PL: The "xdefine" exists, skipping the configure step. ("tmp/sysroots/x86_64-linux/usr/bin/perl-native/perl5.20.0.real Makefile.PL --configure" to force the configure step) Warning: No Makefile! make[2]: Entering directory `tmp/work/armv5te-poky-linux-gnueabi/perl/5.20.0-r1/perl-5.20.0/cpan/Time-HiRes' make[2]: *** No rule to make target `config'. Stop. ... While ${CC} changed, the existance of 'xdefine' caused makefile regeneration failed. [YOCTO #6569] (From OE-Core rev: fa43d4f268bc4a6fafcf14029049f2997bc72d6c) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils-cross-canadian: Explicitly DEPEND on nativesdk-flex, we require it ↵Richard Purdie2014-07-251-1/+1
| | | | | | | | anyway (From OE-Core rev: 1ed42b9248ba1ba393c812e4c485d25db464e683) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Use PACKAGECONFIG for libusb to avoid floating dependencyRichard Purdie2014-07-251-0/+1
| | | | | | (From OE-Core rev: 24cc1af031244ad7c152b98312012b6344e57d48) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-multilib: Simply/fix MULTILIB_OPTIONS handlingRichard Purdie2014-07-251-18/+9
| | | | | | | | | | | | | | | | | | | | | | MULTILIB_OPTIONS takes the parameters which trigger a given multilib to be selected. It supports *one* option per multilib, '/' separated. Spaces separate options used to generate additional multilib combinations. Adding in all of CFLAGS to this is therefore clearly a really bad idea but how do we fix things? The best option I've come up with so far is a list of whitelist variables to use to trigger the multilibs. Its populated with the standard multilibs we support, anyone setting up an advanced multilib can populate the variable with the correct trigger parameters. This has the advantage of simplifying the code and allowing us to remove the code filtering blocks since there is no longer option duplication. Testing after this change shows a much improved sdk toolchain functionality. (From OE-Core rev: 29202cd1b9d2e5d56e5b9f7a596e44e229c90492) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* squashfs-tools: Add nativesdk in BBCLASSEXTENDRichard Tollerton2014-07-231-1/+1
| | | | | | | | | | Necessary for including it in meta-toolchain. (From OE-Core rev: f4d288881d7b1b2390a0f1234724fdd5d7a84b57) Signed-off-by: Richard Tollerton <rich.tollerton@ni.com> Signed-off-by: Ben Shelton <ben.shelton@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt-installer: fix sed input file errorChong Lu2014-07-231-0/+1
| | | | | | | | | | | | | | When use default install directory, we can't get the environment setup script path. The reason is that opkg-cl list incorrect files paths. This patch sets env_script variable to make us get correct environment setup script path. [YOCTO #6443] (From OE-Core rev: e0080f279d5ebb320c2ba285765048fcca523fe7) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo: uprev to 1.6.1Peter Seebach2014-07-192-4/+4
| | | | | | | | | | | | | | | | | Pseudo now automatically tries to shut down the server after running single commands under pseudo ("pseudo <cmd>"), which means it can print a useless "server already offline" message in some cases. The message has been changed to a debugging message only. The glibc symbol versions for memcpy were being applied to non-x86 targets, unintentionally, which broke builds for at least some targets. (But pseudo doesn't usually get built for targets so it didn't get noticed right away.) (From OE-Core rev: f3b5421a9c95b5516e5810285729affe80729135) Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: security patch for CVE-2014-3471Daniel BORNAZ2014-07-192-1/+79
| | | | | | | | | | | | | | | | | | | | | Qemu PCIe bus support is vulnerable to a use-after-free flaw. It could occur via guest, when it tries to hotplug/hotunplug devices on the guest. A user able to add & delete Virtio block devices on a guest could use this flaw to crash the Qemu instance resulting in DoS. Originated-by: Marcel Apfelbaum <address@hidden> Updated the qemu recipe to include the security patch. Upstream-Status: Submitted (From OE-Core rev: a84e1749b489cee5ea219799c35e29b6edead30f) Signed-off-by: Daniel BORNAZ <daniel.bornaz@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: fix 64 bit process detectionTing Liu2014-07-192-0/+35
| | | | | | | | (From OE-Core rev: f35552e4bbf865aa20148b161d5520de025faf02) Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-numpy: add support for powerpc64 architectureTing Liu2014-07-193-0/+173
| | | | | | | | (From OE-Core rev: 189dae9edf24ba7bc60c51d4f26d91fe5bdf7dec) Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* diffstat: update to version 1.59Chong Lu2014-07-194-90/+2
| | | | | | | | | | Remove unneeded patches, since they're included in new version. (From OE-Core rev: 0e2d98bc17d4f3b80926f9a86006010ea6907a74) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: update *LIBC_* linker relocation reglexTing Liu2014-07-191-2/+4
| | | | | | | | | | | | | | * GLIBC_DYNAMIC_LINKER64 reglex does not work for rs6000/linux64.h, update it. * it turns out that UCLIBC_DYNAMIC_LINKER reglex will strip the 32/64 chars from UCLIBC_DYNAMIC_LINKER64/UCLIBC_DYNAMIC_LINKER32, add '\b'. my two PCs: Centos 6.5 (python 2.7.5) and Fedora 13 (python 2.7.3) (From OE-Core rev: a0b408191d64804df1748163060313af31433ac8) Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: compile rpmqv.c instead of rpmqv.ccJoe Slater2014-07-192-0/+33
| | | | | | | | | | | | | Some versions of gcc will put a reference to __gxx_personality_v0 into rpm.o and rpmbuild.o. This means we must link using g++, and Makefile does not. Go back to using rpmqv.c (which is currently identical to rpmqv.cc). (From OE-Core rev: a36327ee2d159b3791cc6ce0c36af4b9e0693e51) Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-distribute: add nativesdk to BBCLASSEXTENDJoão Henrique Ferreira de Freitas2014-07-191-1/+7
| | | | | | | | | | Without this, python tools that need python-distribute doesn't install in SDK generated by OE. (From OE-Core rev: 778a00c3dd656bbfac03274b5f60788518f7b964) Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* subversion: Disable make install parallelismRichard Purdie2014-07-191-0/+7
| | | | | | | | | | The Makefile generation for subversion is horrible, I can't figure out where the dependencies are missing, it looks like they might be missing everywhere. Give up and disable parallel make install. (From OE-Core rev: f5569d30b98418b201766ad07b177aac5fae4a41) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* subversion: neon support was dropped, switch to serfRichard Purdie2014-07-171-2/+2
| | | | | | (From OE-Core rev: 1838153de3a68ac391bdec139446e496ad093763) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* squashfs-tools: Upgrade to 4.3Saul Wold2014-07-175-524/+5
| | | | | | | | | | Remove patches that are now implemented upstream COPYING file has formating change no change to licence itself (From OE-Core rev: 518d6b32aa9d84e572ccd6d04368f4c5bdb222ec) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: exclude some ARM EABI obsolete syscallsRoy.Li2014-07-172-0/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | some syscalls are obsolete and no longer available for EABI, exclude them to fix the below error: In file included from qemu-seccomp.c:16:0: qemu-seccomp.c:28:7: error: '__NR_select' undeclared here (not in a function) { SCMP_SYS(select), 252 }, ^ qemu-seccomp.c:36:7: error: '__NR_mmap' undeclared here (not in a function) { SCMP_SYS(mmap), 247 }, ^ qemu-seccomp.c:57:7: error: '__NR_getrlimit' undeclared here (not in a function) { SCMP_SYS(getrlimit), 245 }, ^ qemu-seccomp.c:96:7: error: '__NR_time' undeclared here (not in a function) { SCMP_SYS(time), 245 }, ^ qemu-seccomp.c:185:7: error: '__NR_alarm' undeclared here (not in a function) { SCMP_SYS(alarm), 241 }, please refer source files: arch/arm/include/uapi/asm/unistd.h or kernel header: /usr/include/asm/unistd.h (From OE-Core rev: 49257247fdc57e9296520bbd598fd8cbf425d44a) Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Forcibly disable tkRichard Purdie2014-07-171-5/+10
| | | | | | | | | | | Avoids the determinism problem shown with the warnings: WARNING: QA Issue: python-tkinter rdepends on libx11 but its not a build dependency? [build-deps] WARNING: QA Issue: python-tkinter rdepends on tcl-lib but its not a build dependency? [build-deps (From OE-Core rev: 53ae544cfdac22c82af452b8c7ebe6664296bd9b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: Upgrade 3.12 -> 3.14.2Richard Purdie2014-07-174-95/+25
| | | | | | (From OE-Core rev: da30d4cfe4b3cac12d09384ca27f9612b5288b48) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-pycurl: Upgrade 7.19.3 -> 7.19.3.1Richard Purdie2014-07-172-15/+15
| | | | | | | | License text just moved within the README.rst (same checksum) (From OE-Core rev: 2d7566c7b564facb4ada5b29f7a77bfb203ebcb0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* subversion: Upgrade 1.7.7 -> 1.8.9Richard Purdie2014-07-179-296/+74
| | | | | | | | | | | | | | | | | | | | Dropped neon patches as neon support was dropped. Dropped CVE patches as applied in later version Added patch to avoid OS-X check which doesn't cross compile Add PACKAGECONFIG for gnome-keyring Addition to license: For the file subversion/libsvn_subr/utf_width.c * Markus Kuhn -- 2007-05-26 (Unicode 5.0) * * Permission to use, copy, modify, and distribute this software * for any purpose and without fee is hereby granted. The author * disclaims all warranties with regard to this software. (From OE-Core rev: 99c3225cfe39f8de89555df5bd3f1e93cd731269) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nasm: Update 2.11.02 -> 2.11.05Richard Purdie2014-07-171-2/+2
| | | | | | (From OE-Core rev: 403eed4b92a8b8d841b8a3ab9f1b2c25130f1deb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Upgrade 7.7 -> 7.7.1Richard Purdie2014-07-174-2/+2
| | | | | | (From OE-Core rev: ee7991aed0aec760054e78e018c40f06a36a4f5d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-scons: Upgrade 2.3.0 -> 2.3.2Richard Purdie2014-07-172-3/+3
| | | | | | | | License file changes copyright years only. (From OE-Core rev: 31ef959d9c0f2fc9a141d06ef01b5cfb14412c4e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-docutil: Upgrade 0.11 -> 0.12Richard Purdie2014-07-171-3/+3
| | | | | | | | | License change is just a date change in the license file, looks like English to German locale change to the date display. (From OE-Core rev: b3f854884aacd93f6370658eafc0955023c1f31d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pkgconfig: Drop version from RPROVIDESRichard Purdie2014-07-171-1/+1
| | | | | | | | Versioned RPROVIDES don't make sense and break the pkgdata rprovides code. (From OE-Core rev: 0d6774dc46663fe6b42a69ab7f6c9afc6a9d38ab) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl-rdepends: Add perl as perl-misc/${PN}-pod runtime depHongxu Jia2014-07-161-0/+2
| | | | | | | | | | | | | Each of the items requires perl, but had not previously stated their perl dependency. (From OE-Core rev: 16d4d496a3a3c2df289b9c8b340d26ab1d818335) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xmlto: add version 0.0.25Hongxu Jia2014-07-164-0/+98
| | | | | | | | | | | | | | | | | | | | | | It moved from meta-oe and fixed the defect that xmlto/xsltproc stylesheets cannot be found even when they are installed in sysroot. About the config files (catalog.xml), we refered what Ubuntu 13.04 did, so it could correctly search the xsl stylesheets and xml dtds. Assigned the environment variable XML_CATALOG_FILES, so the xmlto will use oe-core's config as priority to avoid the the search from build system. [YOCTO #2416] (From OE-Core rev: 6eccf7940e90dd06568f7a2da36ce2d5d090aed5) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* docbook-xml: add docbook-xml-dtd4Hongxu Jia2014-07-164-0/+663
| | | | | | | | | | | | | | | | | | Refer debian, it shipped the latest DocBook 4.5 XML DTD, as well as a selected set of legacy DTDs for use with older documents, including 4.0, 4.1.2, 4.2, 4.3 and 4.4. About the config files (docbook-xml.xml and the update patch), we refered what Ubuntu 13.04 did, so the xmlto could correctly search among multible DTDs. [YOCTO #2416] (From OE-Core rev: 03bc6717482c07dde69edf96d1044d3c0016dbf6) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* docbook-xml: add docbook-xsl-stylesheets 1.78.1Hongxu Jia2014-07-162-0/+73
| | | | | | | | | | | | | About the config files (docbook-xsl.xml), we refered what Ubuntu 13.04 did, so the xmlto could correctly search the xsl stylesheets. [YOCTO #2416] (From OE-Core rev: f5554492c80c69ba9b34dbf206a7c748ab8f1fb6) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* file: remove dump and filesystemsRobert Yang2014-07-163-901/+0
| | | | | | | | | | | I can't find the reason from the log why we need them, and they are out of date, so remove them, then file would use the one from its package. (From OE-Core rev: 4c67bab18ba82a2e8446ff11482a234ec7e4cc35) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* file: fix perl reported as awkRobert Yang2014-07-162-1/+22
| | | | | | | | | | | The awk pattern was checked *before* the Perl pattern, so the perl script with BEGIN{...} would be reported as awk, this patch fixes it. (From OE-Core rev: 99de944c9e9dd70e8319c3d27bb61d3c781a29f3) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* git: update to v2.0.1Nicolas Dechesne2014-07-162-4/+3
| | | | | | | | | | | | | | Also fetch source code from kernel.org. As per the Git release announcement, see [1], Git source tarball are now located back on kernel.org, at [2]. [1] https://lkml.org/lkml/2014/6/25/760 [2] https://www.kernel.org/pub/software/scm/git/ (From OE-Core rev: 4a7df842a0e8754329b3f7b5b25483b0d403ea4d) 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>
* pseudo_1.6.0.bb: uprev to pseudo 1.6Peter Seebach2014-07-164-7/+17
| | | | | | | | | | | | | | | | | | This uprevs pseudo to 1.6. This merges in all of the existing fixes, and also adds partial support for extended attributes, including storing arbitrary extended attributes in the database, and also interpreting the posix permissions ACLs as chmod requests. The extended attribute support means we need xattr.h, the simplest way to be sure of this is to build attr before pseudo, which doesn't take long. (From OE-Core rev: b8f5d6b493ec759a97b92cf9b4c07ad8a8114de6) 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>
* rpm: disable -Wno-override-initRobert Yang2014-07-103-0/+34
| | | | | | | | | | | | | | | Fixed rpm-native.do_configure error on CentOS 5.x: cc1: error: unrecognized command line option "-Wno-override-init" The -Wno-override-init was commented in rpm-5.4.9, but commented out in rpm-5.4.14 thus it is failed to build on CentOS 5.x, comment it again to fix the problem. (From OE-Core rev: ad4a54a0f5bb667f5d5e3df2bcf841b05e0d0f2c) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Ensure c++ includes are in /usr/include/c++/${BINV}Richard Tollerton2014-07-105-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | It was observed that code using STLport 4.6 fails to compile under the SDK with the following error message: .../includes/cstddef:38:46: fatal error: ../4.7.2/cstddef: No such file or directory STLport 4.6 (screwily) assumes that the C++ system headers live in a gcc-versioned subdirectory, for gcc>=3.0; cf http://sourceforge.net/p/stlport/code/ci/STLport-4.6-patch/tree/stlport/config/stl_gcc.h#l269. This assumption is *almost always* valid, because that matches the default setting of --with-gxx-include-dir. We can match that behavior by appending "/${BINV}" to our own --with-gxx-include-dir settings. Natinst-CAR-ID: 446449 Natinst-Reviewboard-ID: 57209 Acked-by: Ken Sharp <ken.sharp@ni.com> Acked-by: Ben Shelton <ben.shelton@ni.com> (From OE-Core rev: 5a2ff3e8f7cd7a47a5ab4e581847ecc4df87fca3) 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>
* adt_installer: not download repo pageChong Lu2014-07-081-2/+2
| | | | | | | | | | Add "--spider" argument to wget command, since we don't need to download repo page, just check that it is there. (From OE-Core rev: 72f24557bceace990e8e5d2d3b91586fc394cc3b) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt_installer: check the result of updating opkgChong Lu2014-07-081-1/+1
| | | | | | | | | | We should check the result of updating opkg rather than echo_info. So we should call check_result function after updating opkg. (From OE-Core rev: d55df5c6a707a3cf5e8d95896b1e43193482d95f) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt_installer: fix syntax errorChong Lu2014-07-081-1/+1
| | | | | | | | | | We need to check YOCTOADT_QEMU variable whether is equal to "y". So we should use "==" rather than "=". (From OE-Core rev: 656a784a7c43b619d51a47aab926d7c519cc3b4b) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt_installer: remove unnecessary variableChong Lu2014-07-081-2/+0
| | | | | | | | | | YOCTOADT_VERSION is not included in adt_installer.conf file. Remove this variable, because we don't need it. (From OE-Core rev: 9b7720f4efc578f0673935ab9ad98ad3f392716e) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm_5.4+cvs: Add RPM community tree for future developmentMark Hatle2014-07-082-0/+596
| | | | | | | | | | | Enable the rpm-5_4 branch via a specific recipe to help track the latest community development. This should allow us to more quickly move to the next release when it is available. (From OE-Core rev: c461454d7f3a20ccf9ca20c5c41c80c9becd985c) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Replace patch with backport from SCM version of RPM5Mark Hatle2014-07-083-23/+39
| | | | | | | (From OE-Core rev: 17419e4577eb4b5786d4c0120f070e1660fa28ec) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Upgrade to 5.4.14Mark Hatle2014-07-0847-442/+498
| | | | | | | | | | | | | | | | | | | | Update various patches. A few corrections to the patch descriptions, otherwise simple quilt refresh or conflict resolution. Remove rpm-solvedb.patch and rpm-respect-arch.patch. These are both related to the old solvedb package dependency solver. This is no longer used since we moved to smartpm. rpm-stub-out-git_strerror was a backport and is no longer needed. RPM 5.4.12 and newer normally requires Berkley DB 6.0 or newer. A small patch to configure allows RPM to dynamically select DB 5.3 or DB 6.0 based on what is available at configure time. (From OE-Core rev: 0c7b4a5e23836889196f85f472f081d51529e94e) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl, perl-native, perl-ptest: upgrade from 5.14.3 to 5.20.0Hongxu Jia2014-07-0886-2890/+1887
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed: - The Copying has no change, except the company address. - pick patches from debian http://ftp.de.debian.org/debian/pool/main/p/perl/perl_5.20.0-1.debian.tar.xz - Not used by oe: deprecate-with-apt.diff patchlevel.diff fakeroot.diff - Create/Update perl-rdepends_${PV}.inc by the hardcode script; - Update config.sh by: 1) Copy the Perl 5.20.0 source code onto your TARGET machine linux qemuarm 3.14.5-yocto-standard from OE-Core rev: f506d0660c9949485268a92724ac770b5457b0ca 2) Execute sh Configure as normal and configure as required, do not "make"; 3) Compare with the old config.sh files, and update; - perl-ptest.inc 1) Copy the souce code to ptest since almost 112 test cases failed with the reason that no souce code found; 2) Add two patches to fix test case issue; - perl-native Reference perl (5.20.0-1) in debian to update perl shared library headers https://packages.debian.org/experimental/i386/perl/filelist Obsolete: - 09_fix_installperl.patch The dead code was removed from installperl http://perl5.git.perl.org/perl.git/commit/236818e0b9d9fe874831086b4d0b94dc6f245dfd - perl-build-in-t-dir.patch The upstream has fix it. The issue description: Perl cannot cross build in a path containing a directory that has the name of "t". As an example, you can make the perl build fail with "mkdir -p /tmp/build/t", go to the directory, unpack the sources, configure and cross build. - 0001-Fix-misparsing-of-maketext-strings.patch as they are part of the upstream code now: http://perl5.git.perl.org/perl.git/commit/1735f6f53ca19f99c6e9e39496c486af323ba6a8 - 0001-Prevent-premature-hsplit-calls-and-only-trigger-REHA.patch the hash function changed: http://perl5.git.perl.org/perl.git/commit/7dc8663964c66a698d31bbdc8e8abed69bddeec3 (From OE-Core rev: c7ac82415efc42ff7a93c6df163f88f2dde00d26) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml-parser-perl: fix do_compile failed with unrecognized option '-Wl, -O1'Hongxu Jia2014-07-031-1/+1
| | | | | | | | | | | | | | | | | | | Use '${CCLD}' as '${LD}' which the cpan was doing. ... i586-poky-linux-ld: unrecognized option '-Wl,-O1' i586-poky-linux-ld: use the --help option for usage information ... Also fix do_configure warnings ... '--SYSROOT' is not a known MakeMaker parameter name. '-MARCH' is not a known MakeMaker parameter name. ... (From OE-Core rev: c67dc89179977b2df80f25ebf66b7e983819a833) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>