aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
AgeCommit message (Collapse)Author
2014-12-11python-pycurl: build docstrings to fix rebuildsRoss Burton
On a rebuild base.bbclass will invoke "make clean" to ensure that old build objects are not used. This will delete docstrings.c and the only way to re-generate that is with a dedicated setup.py target. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-11valgrind: update to 3.10.1Kai Kang
Update valgrind from 3.10.0 to 3.10.1 which is a bug fix release. It fixes various bugs reported in 3.10.0 and backports fixes for all reported missing AArch64 ARMv8 instructions and syscalls from the trunk. Add dependency perl-module-file-glob for ptest subpackage. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-11autoconf: disable checking for emacsDan McGregor
Emacs is somewhat broken on Fedora 21. Don't check for it. We don't need it. Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
2014-12-11python3-core: Fix minimal python3 installAlejandro Hernandez
Added additional runtime dependencies for python3-core needed to run the interpreter with a minimal install (codecs,io,math,reprlib). Created python3-reprlib package to avoid getting python3-misc bringing lots of unneeded libraries. Fixed FILES-python3-core, missing _sysconfigdata, renamed copyreg undetected before due to previously needed installation of python3-misc. [YOCTO #6967] Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-11python: add python-codecs runtime dependency for python-jsonMagnus Olsson
A piece of JSON initialization code that runs when you "import json" tries to use the hex-decoder, thus breaks if you do not have python-codecs installed. Example: >>> import json Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/json/__init__.py", line 108, in <module> from .decoder import JSONDecoder File "/usr/lib/python2.7/json/decoder.py", line 24, in <module> NaN, PosInf, NegInf = _floatconstants() File "/usr/lib/python2.7/json/decoder.py", line 18, in _floatconstants _BYTES = '7FF80000000000007FF0000000000000'.decode('hex') LookupError: no codec search functions registered: can't find encoding This patch adds a runtime dependency on python-codecs for python-json and re-generates the python manifests for Python v2.7. Solves [YOCTO #7020]. Signed-off-by: Magnus Olsson <magnus@minimum.se> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-11python: fix ssl import errorMaxin B. John
Fix this ssl import error: Python 2.7.3 (default, Dec 5 2014, 16:24:17) [GCC 4.9.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import ssl Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/ssl.py", line 92, in <module> import base64 # for DER-to-PEM translation ImportError: No module named base64 Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05qemu/libc-package: Fix qemu option handlingRichard Purdie
The 'overrides' here are PACKAGE_ARCH based and hence not overrides as such and the _append wasn't working in many cases. This adjusts the code to use PACKAGE_ARCH as the accessor and ensures the variables work as expected. This fixes various segfaults and ensures postinsts run at build time rather than on the target system. The bug was introduced in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=7efad8a1b56df6ee07c12ad360c0493d7b1d6d23. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05gcc: stub do_fetch instead of removing itRoss Burton
Whilst gcc doesn't have any source to fetch, it still needs a fetch task so that a world fetch can run without errors. So instead of deleting the fetch task, stub it. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05bootchart2: fix to find collector correctly in case of multilibChen Qi
This patch fixes the following error of being not able to find the bootchart-collector program when using bootchart2 in multilib system. In order for bootchartd to correctly find the collector program, we need to set several vars while compiling. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05valgrind: Upgrade to 3.10.0Saul Wold
Rebase existing patches Add patch to fix rpath issue with ptest Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-12-05python: remove spurious nativesdk dependencyRoss Burton
There's no need to add a dependency on python-crypt_class-native to nativesdk-openssl as the general dependency there is transformed appropriately. Presumably this is cruft from back when SDK packages were suffixed instead of prefixed, and there were mapping problems. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05python: ensure all of Python is installed in nativesdkRoss Burton
If any part of Python gets installed in a SDK, we need to ensure that all of Python gets installed to avoid replacing python in the environment with a minimal package set. [ YOCTO #6735 ] Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-03gdb: disable GuileRoss Burton
GDB 7.8 added Guile support, and it will auto-detect if Guile is present (which is non-deterministic, so bad), and if it's present will fail to find the guild binary as it doesn't consider the sysroot. For now disable Guile support in GDB, if there is a need to have it enabled in the future then GDB/Guile can be fixed. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-03pseudo: remove older version and patchesSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-12-03gcc: Rework shared workRichard Purdie
The current implementation of shared work for gcc is at best confusing. It relies on the fetch/unpack/patch tasks having exactly the same stamps and if this gets broken for some reason, its hard to figure out what the problem is. It also leads to complex code in bitbake. The benefits of shared work for gcc are clear but a better approach is needed. This patch adjusts things so that a single new recipe (gcc-source) provides the fetch/unpack/patch/preconfigure tasks, the rest of gcc simply depends on these tasks and have no fetch/unpack/patch tasks of their own. This means we should get the significant benefits (disk usage/performance) of the single source tree but in a way which has less potential for problems and is easier for people to understand. The cost is an extra recipe/some inc files which is probably a good tradeoff. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-28gcc-4.8: Drop unused patchRichard Purdie
I disabled this patch as it became obsolete some time ago but forgot to remove it, this cleans things up. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-28qemu: Add missing wacom HID descriptorRichard Purdie
The wacom driver we use is missing a HID descriptor causing it not to work with 3.17 kernels and later. This patch adds in a descriptor to make the driver work again. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-25pseudo: provide fallback passwd and group filesPeter A. Bigot
Normally pseudo is built with --without-passwd-fallback, which requires that somebody provide target passwd and group files. Those come from base-passwd in OE, but base-passwd cannot be built without first invoking operations under pseudo that require getpw*/getgr*. Provide the absolute minimum stub files, matching in content what will eventually be on the target, that can be used in the cases where the target files are not yet available. The requirements for minimum stub are the usernames and groups identified in meta/files/fs-perms.txt. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2014-11-25pseudo: default --without-passwd-fallbackPeter A. Bigot
No good reason exists to fall back to the build host /etc files when attempting to resolve user and group information. Recipe dependencies should be updated so the correct target files are available. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2014-11-25pseudo: support multiple search directories in PSEUDO_PASSWDPeter A. Bigot
This makes it possible to use --without-passwd-fallback when building images where the preferred passwd files are not available until after installation has begun. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2014-11-25pseudo: support --without-passwd-fallback configuration optionPeter A. Bigot
A bug in pseudo 1.6.2 results in lock failures if this option is present. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2014-11-25elfutils: upgrade to 0.160Hongxu Jia
- Upgrade elfutils to 0.160 - Move 0.148 patches from elfutils to elfutils-0.148 - Drop 0.158 patches that got from debain, so far debian doesn't provide patches for 0.160 (the latest is 0.159) - Move fixheadercheck.patch from 0.159 to 0.160 - We choose to use 0.159 patches from debian for the current 0.160 which located in elfutils-0.160 1) Rebase the following patches from 0.159 to 0.160 hppa_backend.diff arm_backend.diff mips_backend.diff m68k_backend.diff arm_func_value.patch arm_unwind_ret_mask.patch 2) Rebase redhat-portability.diff according to commit 52a6d20519870103134166d91e22d21fd736195d Author: Roxana Ciobanu <roxana.ciobanu@intel.com> Date: Tue Jul 1 17:17:00 2014 +0300 elfutils/elfutils-native: Fix patching generated files 3) Drop the following patches which have already beem merged to 0.160 arm_unsupported.patch arm_syscall.patch unaligned.patch aarch64-run-native-test-fix.patch Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-25e2fsprogs: clean host path in compile_et, mk_cmdsShiqun Lin
* /usr/bin/compile_et * /usr/bin/mk_cmds Signed-off-by: Shiqun Lin <Shiqun.Lin@windriver.com> Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
2014-11-25opkg-utils: Update SRCREVPaul Barker
A bug in the opkg-show-deps script is fixed. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-25opkg: Update patch statusPaul Barker
Both patches against opkg have been accepted upstream with modifications and will be included in the v0.3.0 release. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-25opkg: Upgrade to v0.2.4Paul Barker
The patches for opkg have been rebased using git so that they apply cleanly onto the new release. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-25python3: several fixes for cross compilingJackie Huang
* Add a patch to use CROSSPYTHONPATH as PYTHONPATH for PYTHON_FOR_BUILD, otherwise CROSSPYTHONPATH is never used, and it use the path in target builds to find libraries. * Add a patch to avoid finding host headers and libs * Fix a typo: s/python-native3/python3-native/ Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-25perl: fix PERL5LIB settingsWolfgang Denk
The PERL5LIB settings in the perl wrapper script did not include the "site_perl" or "vendor_perl" directories, which caused some errors. See https://bugzilla.yoctoproject.org/show_bug.cgi?id=6890 Signed-off-by: Wolfgang Denk <wd@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-20cmake: drop already applied patchesPaul Eggleton
These patches were part of the 2.8.11 release. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-20postinst-intercept: rename recipe for nativesdk onlyHongxu Jia
The recipe postinst-intercept is only used for nativesdk, so we rename it from postinst-intercept to nativesdk-postinst-intercept. It avoids unnecessary build of postinst-intercept. [YOCTO #6937] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-20gcc-4.9: fix the compile failure of 'defaults.h' not foundHongxu Jia
While compiling gcc-crosssdk-initial-x86_64 on some host, there is occasionally failure that test the existance of default.h doesn't work. ... | tmp/work-shared/gcc-4.9.1-r0/gcc-4.9.1/gcc/calls.c:1240: error: 'STACK_CHECK_MAX_VAR_SIZE' was not declared in this scope ... The reason is tm_include_list='** defaults.h' rather than tm_include_list='** ./defaults.h' So we add the test condition for this situation. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-20tcl: Upgrade to 8.6.3Chong Lu
Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-20rpm: fix the rpm addsign functionRoy.Li
Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-20python: Fix CVE-2014-7185Wenzong Fan
Integer overflow in bufferobject.c in Python before 2.7.8 allows context-dependent attackers to obtain sensitive information from process memory via a large size and offset in a "buffer" function. This back-ported patch fixes CVE-2014-7185 Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-12docbook-xsl-stylesheets: fix do_configure typoRoss Burton
do_configure was incorrectly spelt do_configre, which with recent changes to base.bbclass mean make clean was invoked, which doesn't exist. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-12strace: add libunwind dependencyChong Lu
Add libunwind package dependency to solve following error: configure: error: failed to find libunwind-ptrace.h Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-12vala: upgrade to 0.26.1Ross Burton
vapigen can't be disabled anymore, so remove --disable-vapigen. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-12opkg-utils: Update SRCREVPaul Barker
update-alternatives now escapes '[' in expressions passed to sed. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-12gptfdisk: add 0.8.10+git versionKoen Kooi
Besides from being useful as fdisk replacement this gives us 'sgdisk' which can be used to set the GUID for partitions, e.g. sgdisk -t 1:C12A7328-F81F-11D2-BA4B-00A0C93EC93B /dev/mmcblk0p1 To mark it as ESP in scripts like mkefidisk.sh. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-12qemu: remove task sanitize_sourcesKai Kang
There is no dtc/.git and pixman/.git files any longer. So remove task sanitize_sources which is used to remove these files. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-12libtool: remove build host paths from installed libtoolShiqun Lin
Resulted libtool contains references about paths from the build host Below variables contains hard coded build paths from the host: LTCC= lt_sysroot= sys_lib_search_path_spec= LD= CC= compiler_lib_search_dirs= predep_objects= postdep_objects= compiler_lib_search_path= Signed-off-by: Shiqun Lin <Shiqun.Lin@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-09python-pygtk: Clean up incorrect "fix"Gary Thomas
This patch removes most of "dirty fix #1" which is no longer needed (no dependency on python-pygobject-dev exists). A side effect is that the pygtk code generator will also be installed. Merge 'fix-path.inc' into this recipe as it is not used by any other recipe. Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-09tcl: Upgrade to 8.6.2Chong Lu
libgcc_s.so.1 is needed by running ptest, so add libgcc to RDEPENDS_${PN}-ptest. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-09strace: Upgrade to 4.9Chong Lu
Remove two backported patches: 0001-Work-around-conflict-between-sys-ptrace.h-and-linux-.patch strace-fix-64-bit-process-detection.patch Update two patches to fit new version: Makefile-ptest.patch strace-add-configure-options.patch Add coreutils, grep and gawk to RDEPENDS_${PN}-ptest for making ptest pass. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-09perl: set the perl libraries search pathJackie Huang
The default value for this is ../../lib which ends up with something like: | ./sysroots/x86_64-linux/usr/bin/perl-native/perl5.20.0.real \ | "-I../../lib" "-I../../lib" "-MExtUtils::Command::MM" -e pod2man \ | "--" --section=0 --perm_rw=644 perldoc.pod blib/man1/perldoc.1 in this case, nativeperl will find libraries from the target build, When using an x86-64 host to target Haswell, you can end up with ../../lib including precompiled modules which use Haswell instructions, it fails with: | Running pm_to_blib for dist/if directly | Skip ../../lib/if.pm (unchanged) | Makefile:457: recipe for target 'manifypods' failed | make[1]: *** [manifypods] Illegal instruction So set it to use the -native ones instead of those from the target build. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-09apt: Add missing running depency debianutilsRicardo Ribalda Delgado
apt-file calls run-parts with options --list and --regex: root@neopili:~/curro/qtec/qt5022/build-qt5022-cesium/build/tmp/work/bobcat_64-poky-linux/apt/0.9.9.4-r0/apt-0.9.9.4# grep run-parts cmdline/apt-key -rn 187: for trusted in $(run-parts --list $TRUSTEDPARTS --regex '^.*\.gpg$'); do busybox implementation of run-parts does not support --regex. And --list option is not enabled on yocto busybox configuration. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-09help2man: Upgrade to 1.46.4Saul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-09btrfs: Update to 3.17 versionSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-09gcc: Fix intermittent failures during configureMark Hatle
If configure or any of the components it uses from the shared work directory change, do_configure may fail. An existing do_preconfigure was created to handle these conditions, but a 'sed' operation was missed, and a call to gnu-configize was also missed. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-09gdb: 7.7.1 -> 7.8.1Richard Purdie
Drop patch merged upstream. Also drop old arm/thumb patch which breaks the compile on arm. We've had this since 2010 (or longer) and the issue has likely been fixed upstream by now. If not someone with more knowledge will need to figure out the fix against the current codebase. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>