summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
AgeCommit message (Collapse)Author
2019-02-01libdnf: Fix build with clang/libc++Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-31python2-manifest: Add missing xmlrpclib.pyRichard Purdie
The manifest creation bug that was masking this file was fixed, rerun and add the missing file to fix: File "/usr/lib64/python2.7/SimpleXMLRPCServer.py", line 102, in <module> import xmlrpclib ImportError: No module named xmlrpclib [YOCTO #12814] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-28valgrind: Dont strip off -mcpuKhem Raj
Defsault armtunes do not include -march any longer we habe -mcpu only, therefore to select right ISA we need to keep mcpu Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-26libtool: Fix ignoring compiler-rt libsKhem Raj
This is a limitation of libtool where it is not aware of compiler-rt being a compiler internal library, this patch fixes it Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-26perl: drop lost patchRuslan Bilovol
Commit 68552c353255 "perl: remove the previous version of the recipe" dropped 0001-Makefile.SH-Pod-Simple-requires-Getopt-Long.patch from recipe, but left the patch itself in source tree. Remove this patch since nobody uses it. Cc: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-26subversion: drop lost patchRuslan Bilovol
Commit 5bb47984af79 "subversion: 1.9.7 -> 1.10.0" dropped serf.m4-Regex-modified-to-allow-D-in-paths.patch from recipe, but left the patch itself in source tree. Remove this patch since nobody uses it. Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-24cmake-native: Add --enable-ccache to configure optionsRobert Yang
cmake-native requires --enable-ccache to enable ccache, target recipe doesn't need this since it is already handled by cmake.bbclass. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-24ccache: Fix Segmentation fault error when gcc -o /dev/nullRobert Yang
Fixed: $ export CCACHE_DEBUG=1 $ ccache gcc -c hello.c -o /dev/null Segmentation fault (core dumped) This is because failed to open /dev/null.foo (Permission denied), check file stream before write to it can fix the problem. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-24ccache: 3.5 -> 3.6Robert Yang
* Rebased 0002-dev.mk.in-fix-file-name-too-long.patch and sent it to upstream, and got merged. * The LIC_FILES_CHKSUM is changed because of year updated. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-24cmake: do not look into native sysroot in the nativesdk environmentAlexander Kanavin
I am not sure why we do this in the first place, but it is causing cmake to erroneously pick up items from the native sysroot when building for the target and the target item is missing, for example: https://autobuilder.yoctoproject.org/typhoon/#/builders/59/builds/198/steps/7/logs/step2c Note that for executable programs this variable is not referred to, as set by set( CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER ) in the same file. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-24qemuwrapper-cross: check qemu usermode only when building a target packageAlexander Kanavin
When building nativesdk- package, MACHINE_FEATURES do not apply as they are specified only for target machines, not ones hosting the sdk. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-24gcc-runtime: Add --cache-file to EXTRA_OECONFRobert Yang
This can save configure time since it runs configure multiple times: $ time bitbake gcc-runtime -cconfigure 60s -> 54s Saved 6s Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-24perl: Make install.perl depend on install.symRobert Yang
Fixed a race issue when do_install: Generating wrapper script for /path/to/8.1-r0/image/path/to/8.1-r0/recipe-sysroot-native/usr/bin/perl-native/perl5.28.1 mv: cannot stat /path/to/8.1-r0/image/path/to/8.1-r0/recipe-sysroot-native/usr/bin/perl-native/perl5.28.1: No such file or directory Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-21perl-native: unset configure symbol i_xlocaleKai Kang
perl-native checks xlocale.h on build machine. But xlocale.h has been removed by glibc already. When use share state caches between machines that one has xlocale.h but the other one doesn't, it causes packages which depend on perl-native such as libdbi-perl-native fails to compile: | In file included from DBIXS.h:23, | from Perl.xs:7: | .../tmp-glibc/work/x86_64-linux/libdbi-perl-native/1.642-r0/recipe-sysroot-native/usr/lib/perl5/5.28.1/x86_64-linux/CORE/perl.h:723:13: | fatal error: xlocale.h: No such file or directory | # include <xlocale.h> | ^~~~~~~~~~~ | compilation terminated. Unset configure symbol i_xlocale for perl-native to fix the issue. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-21perl: fix a race issue during 'make install'Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-21apt: Backport a patch to include std::array definitionKhem Raj
This partial backport helps compiling apt with clang/libc++ Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-20python3: use ncursesw, not ncursesAlexander Kanavin
So that wide-char functions are accssible. [YOCTO #13142] Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-18nasm: Upgrade 2.14 -> 2.14.02Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-18subversion: Upgrade 1.11.0 -> 1.11.1Richard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-18vala: update to 0.42.4Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-14meta: Fix Deprecated warnings from regexsRichard Purdie
Fix handling of escape characters in regexs and hence fix python Deprecation warnings which will be problematic in python 3.8. Note that some show up as: """ meta/classes/package.bbclass:1293: DeprecationWarning: invalid escape sequence \.   """ where the problem isn't on 1293 in package.bbclass but in some _prepend to a package.bbclass function in a different file like mesa.inc, often from do_package_split() calls. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-14perl: fix yet another race failureAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-14strace: add lost Upstream-StatusRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-14meta: remove True option to getVar calls (again)André Draszik
A couple have still been missed in the past despite multiple attempts at doing so (or simply have re-appeared?). Search & replace made using the following command: sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \ -i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \ | cut -d':' -f1 \ | sort -u) Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-14python3-pbr: Move src uri checksums out of .inc fileKhem Raj
python2 version of pbr is in meta-python and uses the same inc file but is not updated synchronously, which ends up breaking it, either we move py2 version into OE-core as well and then ensure that both recipes are updated atomically, or we move the checksums into recipe files Fixes errors like http://errors.yoctoproject.org/Errors/Details/216253/ Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-14strace: update from 4.25 to 4.26Randy MacLeod
Refresh patches using devtool. Update license since the main code is now covered by LGPL-2.1+ and the tests under GPL-2. Fix a MIPS build error with an upstream patch. Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-14python3-smmap: upgrade to 2.0.5Ross Burton
The maintainer lost access to the smmap PyPi account so as with gitdb, set the PyPi name to smmap2. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-14rpm: produce sane amount of logging when creating a rootfsAlexander Kanavin
Previously there was lots of irrelevant noise in the logs, because we also wanted to be able to debug postinst issues easily. I have adjusted the logging levels so that postinst info is still written to the logs, but other things are not. [YOCTO #13119] Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-14binutils: bfd doesn't handle ELF compressed data alignmentKhem Raj
Backport patches for ld/gold from master [YOCTO# 13136] Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-14ccache: 3.4.2 -> 3.5Robert Yang
License-Update: Copyright year and zlib version are changed, others are the same. This version supports CCACHE_DEBUG which will make the debug easier. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2019-01-14ccache-native: Remove dependenciesRobert Yang
Remove ccache-native's dependencies so that all native recipes can depend on ccache-native and use it except ccache-native itself. It has the following 4 dependencies: - xz-native: It is intruduced by ccache-3.4.2.tar.xz, use ccache-3.4.2.tar.gz to replace of it can fix the problem. - zlib-native: Use --with-bundled-zlib to fix it. - autotools-native: Set INHIBIT_AUTOTOOLS_DEPS and add a do_configure() to fix the problem. - quilt-native: Set PATCHTOOL = "patch" to fix it. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2019-01-11nativesdk-icecc-toolchain: Use TARGET_PREFIX in post-relocateJoshua Watt
The icecc setup for the SDK was broken in multilib configurations now that each multilib environment runs the post-relocate scripts separately. Including $TARGET_PREFIX in the icecc shim path and in the toolchain environment name prevents the various multilib setups from conflicting. [YOCTO #13128] Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-01-11python3-pbr:Upgrade to 5.1.1Hong Liu
Upgrade python3-pbr from 4.2.0 to 5.1.1. Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-01-11file: upgrade 5.34 -> 5.35Yi Zhao
License-Update: remove trailing whitespace from COPYING Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-11perl: remove the previous version of the recipeAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
2019-01-11perl: add a version that builds the recipe using perl-cross, and update to ↵Alexander Kanavin
5.28.1 perl-cross is a build system overlay from buildroot project that aims to bring a bit of sanity to cross-building perl. The advantage of using that is that we can drop a lot of custom patches (that no one really understands), and simplify the perl recipe as well. Also the build time goes down from several minutes to about 30 seconds. The whole thing becomes maintainable again, in my opinion. When rewriting the recipe I had two goals in mind: 1. Stay with upstream defaults as much as possible 2. Add custom patches only when their necessity was proven through testing. http://arsv.github.io/perl-cross/ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
2019-01-07meson: write correct host endian into SDK cross fileRoss Burton
Meson doesn't ignore this but will emit a warning, so write the correct value. Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-01-07meson: fix nativesdk-meson for multilib SDKsRoss Burton
Multilib SDKs differ only in the environment variables set, so nativesdk-meson's setup script needs to write a cross file for each environment. Rename the shipped meson.cross to meson.cross.template, as it cannot be used directly. Now that post-relocate scripts are called once for each environment, the generated meson.cross can be prefixed with TARGET_PREFIX to ensure it is unique. Finally rewrite the setup script to use string.Template to perform the expansion instead of hand-coding the logic. Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-01-07meson: use a sensible default for libdir when cross-compilingRoss Burton
If --libdir isn't passed to Meson a default is used, but as this default value changes depending on the host (whether it is Debian-like, or has /usr/lib64) this isn't appropriate for cross builds. Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-01-07swig: Fix configure failureAlistair Francis
Fix the swig build failure by calling the default do_configure from autotools. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-07python-native: fix one do_populate_sysroot warningChangqing Li
Fix below warning: WARNING: Skipping RPATH /usr/lib64 as is a standard search path for work/x86_64-linux/python-native/2.7.15-r1.1/recipe-sysroot-native/ usr/lib/python2.7/lib-dynload/_bsddb.so setup.py will check db.h under include_dirs, for native build, /usr/lib64 will be insert to postion 0 of include_dirs, so it's priority is higher then our sysroot, cause db.h sysroot is ignored, and rpath set to /usr/lib64. and this cause warning when do_populate_sysroot. use append to fix it. Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-07python/python3: use cc_basename to replace CC for checking compilerChangqing Li
When working path contains "clang"/"gcc"/"icc", it might be part of $CC because of the "--sysroot" parameter. That could cause judgement error about clang/gcc/icc compilers. eg: if build under /yocto/builds/xicc/, bitbake python, $CC will contains xicc, will make $CC match *icc, but actuall xicc just folder name. When "*icc" is matched, below errors are reported when compiling python/python3: x86_64-wrs-linux-gcc: error: strict: No such file or directory x86_64-wrs-linux-gcc: error: unrecognized command line option '-fp-model' Here use cc_basename to replace CC for checking compiler to avoid such kind of issue. Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-03cmake-native: Set --parallel for configureRobert Yang
This can save do_configure's time from 330s to 60s on my host. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-03nativesdk-meson: add missing dependency on setuptoolsRoss Burton
Meson uses pkg_resources, which is part of setuptools. Signed-off-by: Ross Burton <ross.burton@intel.com>
2019-01-03dpkg: Upgrade to 1.18.25Aníbal Limón
Removed (now in upstream), 0001-arch-Add-support-for-riscv64-CPU.patch Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-03librepo: upgrade 1.9.2 -> 1.9.3Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-03libcomps: upgrade 0.1.8 -> 0.1.9Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-03libdnf: upgrade 0.22.3 -> 0.24.1Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-03createrepo-c: update to 0.12.0Alexander Kanavin
Drop 0001-Correctly-install-the-shared-library.patch as upstream fixed the issue. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-03dnf: upgrade 4.0.9 -> 4.0.10Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>