aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
AgeCommit message (Collapse)Author
2013-03-22perl-native: remove duplicated LIC_FILES_CHKSUMRobert Yang
Remove duplicated LIC_FILES_CHKSUM: LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \ file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8" [YOCTO #4064] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22perl: avoid splitting out .debug directories as packagesPaul Eggleton
The recursive parameter is set to True, the regex for the first call to do_split_packages matches any path under ${libdir}/perl/${PV}/auto/, and the .debug directories contain .so files, so each one was getting picked up as a package. Change the regex to disallow dots in the path beneath auto/ and thus avoid the .debug directories. Fixes [YOCTO #4048]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22apt: Fix case where ${B} != ${S}Richard Purdie
Need to reference objects from ${B}. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-21rpm: Fix case where ${B} != ${S}Richard Purdie
We need to run autogen.sh in the correct directory (${S}). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-21python-pygtk: Fix case where ${B} != ${S}Richard Purdie
Fix out of tree builds by adding missing path component. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-21dpkg: Fix case where ${B} != ${S}Richard Purdie
Add missing path component to make out of tree builds work. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-19python: fix on-target use of distutils/setuptools by removing references to ↵Koen Kooi
buildpaths Running 'python setup.py build' would fail due to the python Makefile having CC= i586-angstrom-linux-gcc -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/home/koen/v2012.12/build/tmp-angstrom_v2012_12-eglibc/sysroots/fri2 CXX= i586-angstrom-linux-g++ -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/home/koen/v2012.12/build/tmp-angstrom_v2012_12-eglibc/sysroots/fri2 '--with-libtool-sysroot=/home/koen/v2012.12/build/tmp-angstrom_v2012_12-eglibc/sysroots/fri2' And more Multiple users have reported this problem: http://hipstercircuits.com/?p=499 http://www.gigamegablog.com/2012/09/09/beaglebone-coding-101-spi-output/ Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-18tcltk: Fix for ${B} != ${S}Richard Purdie
This change allows ${B} != ${S} builds to work since otherwise gnu-configise is executed in the wrong places and various source paths aren't correct. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-18distcc: Fix case where ${B} != ${S}Richard Purdie
Add patch to fix out of tree build failures. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-18diffstat: Fix case where ${B} != ${S}Richard Purdie
Fix out of tree builds by fixing cwd assumptions. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-18nasm: Fix case where ${B} != ${S} (partial)Richard Purdie
Fix out of tree build by fixing cwd assumptions. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-18e2fsprogs: Fix case where ${B} != ${S}Richard Purdie
Fix out of tree builds by placing built objects in the correct location. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-18docbook-utils-native: Fix case where ${B} != ${S}Richard Purdie
Fix out of tree builds by using full paths to source and built objects as appropriate. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-18chrpath: Fix case where ${B} != ${S}Richard Purdie
Fix out of tree builds for the native case by using the correct path to the built object. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-18rpm: Fix case where ${B} != ${S}Richard Purdie
Fix out of tree builds by removing assumptions about cwd and using full paths to files in ${S}. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-18rsync: Fix case where ${B} != ${S}Richard Purdie
Allow out of tree builds to work by removing assumptions about cwd. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-18valgrind: Fix case where ${B} != ${S}Richard Purdie
Fix out of tree builds by referring to the build object in ${B}. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-18bison: Use PATH to locate m4Richard Purdie
We can specify no path to m4 at configure time and thus avoiding having a wrapper for that particular problem. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-18gcc-common: Exclude AVAILTUNES from sstate checksumsRichard Purdie
AVAILTUNES is only used as a sanity check, we don't need to include it in the sstate checksum in this case. If included it can cause problems when switching machines with a common package architecture. [YOCTO #3667] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-16gcc-cross-canadian: do not create symlinks to non-existent binariesLaurentiu Palcu
If fortran is not built, soft links to gfortran and g77 are created even though the fortran compiler doesn't exist... [YOCTO #4023] Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-16elfutils: fix the num passed to memset in ar.cZhenhua Luo
Following build error will appear on Fedora18+: ar.c: In function 'do_oper_delete': ar.c:918:31: error: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess] memset (found, '\0', sizeof (found)); Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-16python-imaging: fix PN -> BPN in do_install for multilibsJackie Huang
Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-15elfutils: Fix size passed to snprintf for invalid sh_name caseZhenhua Luo
Following build error will appear on Fedora18. nm.c: In function 'show_symbols_sysv': nm.c:756:27: error: argument to 'sizeof' in 'snprintf' call is the same expression as the destination; did you mean to provide an explicit length? [-Werror=sizeof-pointer-memaccess] snprintf (name, sizeof name, "[invalid sh_name %#" PRIx32 "]", ^ Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-15binutils: fix ineffectual zero of cache and array bounds issueZhenhua Luo
binutils build fails on Fedora18+: 1. binutils-2.23.1/bfd/elf32-xtensa.c:6078:36: error: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess] memset (sec_cache, 0, sizeof (sec_cache)); ^ 2. binutils-2.23.1/bfd/elf32-xtensa.c:6120:32: error: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess] memset (sec_cache, 0, sizeof (sec_cache)); ^ 3. binutils-2.23.1/opcodes/arc-dis.c:430:13: error: argument to 'sizeof' in '__builtin_strncat' call is the same expression as the destination; did you mean to provide an explicit length? [-Werror=sizeof-pointer-memaccess] sizeof (state->commentBuffer)); ^ 4. binutils-2.23.1/opcodes/rl78-dis.c:230:13: error: array subscript is above array bounds [-Werror=array-bounds] if (oper->use_es && indirect_type (oper->type)) ^ Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-15qemu-native:fix do_compile failed on SLED 11.2Hongxu Jia
1, When build qemu-native on SLED 11.2, there is an error: ... | In file included from /usr/include/bits/sigcontext.h:28, | from /usr/include/signal.h:339, | from /buildarea2/tmp/work/i686-linux/qemu-native/1.4.0-r0/ qemu-1.4.0/include/qemu-common.h:42, | from fsdev/virtfs-proxy-helper.c:23: | /usr/include/asm/sigcontext.h:28: error: expected specifier- qualifier-list before '__u64' | /usr/include/asm/sigcontext.h:191: error: expected specifier- qualifier-list before '__u64' ... 2, The virtfs-proxy-helper.c includes <sys/capability.h> and qemu-common.h in sequence. The header include map is: (`-->' presents `include') ... "virtfs-proxy-helper.c" --> <sys/capability.h> ... "virtfs-proxy-helper.c" --> "qemu-common.h" --> <signal.h> --> <bits/sigcontext.h> --> <asm/sigcontext.h> --> <linux/types.h> --> <asm/types.h> --> <asm-generic/types.h> --> <asm-generic/int-ll64.h> ... 3, The bug is found on SLED 11.2 x86. In libcap header file /usr/include/sys/capability.h, it does evil stuff like this: ... 25 /* 26 * Make sure we can be included from userland by preventing 27 * capability.h from including other kernel headers 28 */ 29 #define _LINUX_TYPES_H 30 #define _LINUX_FS_H 31 #define __LINUX_COMPILER_H 32 #define __user 33 34 typedef unsigned int __u32; 35 typedef __u32 __le32; ... This completely prevents including /usr/include/linux/types.h. The above `<asm/sigcontext.h> --> <linux/types.h>' is prevented, and '__u64' is defined in <asm-generic/int-ll64.h>. 4, Modify virtfs-proxy-helper.c to include <sys/capability.h> last to workaround the issue. http://www.linuxtv.org/pipermail/vdr/2009-August/021194.html http://patchwork.linuxtv.org/patch/12748/ [YOCTO #4001] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-12gcc-4.7: Fix incorrect warning with -Wcast-qualKhem Raj
This patch backport the fix where -Wcast-qual reports a bogus warning with 4.7.2, There is no workaround in code that can be done to avoid it hence the fix to gcc is backported. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-12dpkg depends on ncursesAlexandru DAMIAN
Dpkg compilation depends on the ncurses, so add this dependency. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-09apt-native: fix checksumsConstantin Musca
Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-09strace: fix kernel release string parsingAndreas Oberritter
* Strace just aborts with two-digit kernel versions (e.g. 3.0-foo). Backport a patch from strace Git. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-09adt-installer: remove patches and .pc directories from the shipped tarballLaurentiu Palcu
The patches and .pc directories should not be shipped since the patches were already applied. So, remove these 2 directories. [YOCTO #3983] Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-07rpm: save output of postinstall scripts when image first bootKang Kai
When image feature "debug-tweaks" is enabled, save output of post install script to log file which can be configured when image first boot. [YOCTO #3223] Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-07dpkg: save output of postinstall scripts when image firstbootKang Kai
When image feature "debug-tweaks" enabled, save output of postinstall scripts to log file /var/log/postinstall.log when image first boot. And the log file can be configured. It also needs image feature "package-management" enabled. If not, package run-postinsts will be installed and then all packages will be configured by it. Command 'dpkg --configure' outputs nothing. [YOCTO #3223] Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-07opkg: save output of postinst scripts when image first bootKang Kai
When image feature "debug-tweaks" enabled, save output of postinstall scripts to log file /var/log/postinstall.log when image first boot. And the log file can be configured. It also needs image feature "package-management" enabled. If not, package run-postinsts will be installed and then all packages will be configured by it. Command 'opkg configure' outputs nothing. [YOCTO #3223] Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-05git: updated to 1.8.1.4Bogdan Marinescu
Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-05qemu: Upgrade to 1.4.0 releaseKhem Raj
Tested qemu on x86-64 target and qemu-native no obvious problems seen in testing Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-05apt: upgrade to 0.9.7.7Constantin Musca
bb files: remove invalid config.sub/config.guess files (autotools will generate the correct files) allocate-larger-memory.patch: not needed anymore fix-gcc-4.6-null-not-defined.patch: added - include header that defines NULL includes-fix.patch: not needed anymore localefixes.patch: removed - not necessary anymore (no compiling errors) makerace.patch: adapted to the new version no-ko-translation.patch: adapted to the new version no-nls-dpkg.patch: added - fix build without nls noconfigure.patch: adapted to the new version nodoc.patch: adapted to the new version (apply patch on all cases because the doc generation needs docbook-xsl) remove-redeclaration.patch: not needed anymore truncate-filename.patch: moved use-host.patch: adapted to the new version no-curl.patch: adapted to the new version disable-configure-in-makefile.patch: added - do not run configure at do_compile Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-04recipes: Fix ALLOW_EMPTY with no package specifiedRichard Purdie
There are various usages of ALLOW_EMPTY with no packages specified. This is not recommended syntax, nor is it likely to be supported in the future. This patch improves the references in OE-Core, either removing them if they're pointless (e.g. when PACKAGES="") or specifying which package it applies to. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-04gcc-common.inc: handle case where tune is not definedMatthew McClintock
Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-04btrfs-tools: added PV to git package recipeEmilia Ciobanu
Signed-off-by: Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-04Python: Fix for CVE-2012-2135yanjun.zhu
Reference:http://bugs.python.org/issue14579 The utf-16 decoder in Python 3.1 through 3.3 does not update the aligned_end variable after calling the unicode_decode_call_errorhandler function, which allows remote attackers to obtain sensitive information (process memory) or cause a denial of service (memory corruption and crash) via unspecified vectors. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-2135 [YOCTO #3450] Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-02remake: added PV to git package recipeEmilia Ciobanu
Signed-off-by: Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-02qemu.inc: Non deterministic compile of qemuJason Wessel
When you using a qemuppc target and sstate you might end up with the problem: qemu-system-ppc: error while loading shared libraries: libfdt.so.1: cannot open shared object file: No such file or directory The way you can force this to happen assuming you are using sstate is as follows: bitbake dtc-native bitbake -c cleansstate qemu-native bitbake qemu-native bitbake -c clean dtc-native Now go start qemu and it will fail. The solution is to always build the dtc libraries since they are used and needed by the qemuppc simulator. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-01perl-nativesdk:fix toolchain relocation issuesHongxu Jia
1, Use create_wrapper to create perl wrapper in the SDK. 2, Add perl.real to perl-nativesdk package. [YOCTO #3338] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-01Update pseudo to 1.5.1Peter Seebach
pseudo 1.5's enable-force-async works great, unless you use a host where, inexplicably, stat(2) reports inconsistent and changing values for a file's size or times for some time unless a file has been fsynced, in which case you might want a way to cause an fsync to work. Also noticed that some recent changes never made it into the docs, so I did a little cleanup there. And changed the way NDEBUG suppresses pseudo's debug messages, so arguments to them with possible side effects (like calls into functions in another translation unit) can be omitted, which should drastically reduce computational time if anyone ever uses NDEBUG. Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-01rootfs_rpm: move run-postinsts scripts to rpm recipeKang Kai
Move run-postinsts scripts from rootfs_rpm.bbclass to rpm recipe. That is the same way for dpkg and opkg to deal the post install scripts. Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-02-28kconfig-frontends: Update to 3.8Saul Wold
Upstream changed numbering to remove '-', so extend PV to patch. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-02-28file: Update to 5.13Saul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-02-28binutils: Delete recipes for 2.22Khem Raj
We have 2.23.1 as default now. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-02-28binutils: Fix build with newer texinfo 5.0+Khem Raj
[Yocto #3943] Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-02-28e2fsprogs : upgrade to 1.42.7Andrei Dinu
Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>