summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
AgeCommit message (Collapse)Author
2014-02-17recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issuesMatthieu Crapet
Rename SUMMARY with length > 80 to DESCRIPTION. Note: don't bump PR Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-02-17help2man: Update to 1.44.1Saul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-02-17diffstat: enable ptest supportChong Lu
Install diffstat test suite and run it as ptest. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-02-16adt-installer: Disable multilibsRichard Purdie
This recipe is pointless as a multilib and worse, it races agaist itself causing autobuilder failures. Disable the multilib case. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-14flex: enable ptest supportChong Lu
Install flex test suite and run it as ptest. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-14flex: upgrade to 2.5.38Chong Lu
Upgrade flex to 2.5.38. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-12meta/recipes: Remove virtclass referencesRichard Purdie
The virtclass overrides will go away at some point (apart from the multilib one). Change them all to class-xxx instead since people enjoy copy and pasting them. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-11python-smartpm: really ignore conflicts during install with --attemptPaul Eggleton
The original patch added in OE-Core commit bdf07b1698d228dc7ff555199a269b1ff8ceca19 was supposed to ignore conflicts, but it was unable to do so because it wasn't raising errors in the right place. When the --attempt option is used (as is done in complementary package installation for RPM), raise errors immediately on conflicts, catch errors at the right point so that requested packages and their dependencies can be ignored, and print appropriate warnings when doing so. Fixes [YOCTO #5313]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-08python-pycurl: upgrade to 7.19.3Laurentiu Palcu
Changes: * Refreshed no-static-link.patch; * LGPL&MIT license files changed names; * MIT license file added a contributor to the list; * README.rst license snippet changed to reflect the filename changes and the new contributor; Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-08gdb: upgrade to 7.6.2Laurentiu Palcu
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-08nasm: upgrade to 2.11Laurentiu Palcu
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-08ossp-uuid: Use alternative source mirrorKhem Raj
Original ftp location is inaccessible Fixes WARNING: Failed to fetch URL ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz, attempting MIRRORS if available Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-02-08binutils: Add backports to resolve systemd (from git) breakageRichard Purdie
Backport the patches for PR2404 and PR16476 from binutils to resolve failures when compiling systemd from git. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-06distcc: rename systemd service to distccRoss Burton
The sysv init script is called distcc, so rename the service to match so that in hybrid systemd/sysvinit images the service correctly masks the init script. This prevents such images from failing to start the distccd unit with error code 102, as the ports it wants to bind to are already taken. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-02-04binutils: Package additional file when using ld-is-goldKhem Raj
Fixes QA warnings like WARNING: QA Issue: binutils: Files/directories were installed but not shipped /usr/bin/ld.bfd /usr/bin/dwp Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-04tcl-native: Depend on zlib-nativeRichard Purdie
tcl can use its internal zlib. If it detects zlib during configure, then it gets removed from the sysroot during the build (since its no in DEPENDS), it causes build failures. Worse, if the configure test fails to find zlib, it still appents -lz to the other autoconf tests meaning several fail when they shouldn't. This results in conflicts with system macros and other bizarre issues. The easiest fix is to depend on zlib-native and make things determinstic. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-02binutils: Upgrade to 2.24Khem Raj
This builds and runs images for all qemu machines Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-02postinst-intercept: New recipe to include postinstall intercepts in nativesdkDavid Nyström
Adding ability to use postinstalls intercepts in the nativesdk env, and making sure the correlate between repo + SDK. This to enable rootfs generation from a package repository using only a package repository and the toolchain tarball. See https://github.com/nysan/rootfs-sandbox for examples. Signed-off-by: David Nyström <david.nystrom@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-02python-setuptools: Remove its provided by python-distributeKhem Raj
Use python-distribute-native in packagegroup-toolset-native Also fixes warnings like WARNING: The recipe python-setuptools is trying to install files into a shared area when those files already exist. Those files and their manifest location are: /srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/lib/python2.7/site-packages/setuptools.pth Matched in manifest-qemux86-64-python-distribute /srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/lib/python2.7/site-packages/site.pyc Matched in manifest-qemux86-64-python-distribute /srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/lib/python2.7/site-packages/site.py Matched in manifest-qemux86-64-python-distribute Conflicts: meta/recipes-devtools/python/python-setuptools_1.4.bb Signed-off-by: Khem Raj <raj.khem@gmail.com>
2014-02-02python-distribute: Add recipes for python2 and python3Khem Raj
in python3-distribute rename easy_install to easy3_install Signed-off-by: Khem Raj <raj.khem@gmail.com>
2014-02-02python_2.7.3.bb: Inherit python-dirKhem Raj
So it can get the correct python direcotries for python2 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2014-02-02python3: Add target and native recipesKhem Raj
3.3.3 is latest bugfix release in 3.3 series License text is changed to reflect year and prev releases +++ ../Python-3.3.2/LICENSE 2013-05-15 09:32:54.000000000 -0700 @@ -74,7 +74,9 @@ 3.2.1 3.2 2011 PSF yes 3.2.2 3.2.1 2011 PSF yes 3.2.3 3.2.2 2012 PSF yes + 3.2.4 3.2.3 2013 PSF yes 3.3.0 3.2 2012 PSF yes + 3.3.1 3.3.0 2013 PSF yes Footnotes: @@ -110,8 +112,8 @@ distribute, and otherwise use Python alone or in any derivative version, provided, however, that PSF's License Agreement and PSF's notice of copyright, i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, -2011, 2012 Python Software Foundation; All Rights Reserved" are retained in Python -alone or in any derivative version prepared by Licensee. +2011, 2012, 2013 Python Software Foundation; All Rights Reserved" are retained +in Python alone or in any derivative version prepared by Licensee. We use native python in disutils bbclass and this needs to peek into target sysroot when building plugins in cross environment. Otherwise anything that inherits distutils3.bbclass will not build. Fix host include contamination issue Let compiler append sysroot to include path if it can Fix the compiler invocation and linker flags when cross compiling The details are in patch header. This should fix the QA errors about host contamination Add virtual/libintl to dep list There is use of libintl.h but we dont express the dependency Add lzma dependency for python3-misc Fixes and from test-dependencies.sh run there is undeterministic lzma dependency: WARN: packages/armv5te-oe-linux-gnueabi/python3/python3-misc/latest lost dependency on liblzma Fix staging warnings due to duplicate install WARNING: The recipe python3 is trying to install files into a shared area when those files already exist. Those files and their manifest location are: builds/world/tmp/sysroots/qemux86-64/usr/include/python3.3m/pyconfig.h builds/world/tmp/sysroots/qemux86-64/usr/lib/libpython3.3m.so.1.0 builds/world/tmp/sysroots/qemux86-64/usr/lib/libpython3.3m.so builds/world/tmp/sysroots/qemux86-64/usr/lib/python3.3/config/Makefile Let compiler search includes relative to sysroot This makes it cross compilable and assumption on hardcoded paths is fixed. Errors like below would appear if ncursesw is installed on build host cc1: warning: include location "/usr/include/ncursesw" is unsafe for cross-compilation [-Wpoison-system-directories] Signed-off-by: Khem Raj <raj.khem@gmail.com> Fix linking not happening issue in modules We need to tweak CONFIGURE_LDFLAGS for python3 instead of LDFLAGS directly Add second compile stage which uses original makefile Signed-off-by: Khem Raj <raj.khem@gmail.com>
2014-02-02python-3.3-manifest: Add python3 manifest fileKhem Raj
Like python2 mostly except This will package collections into python3-core instead of python3-misc fixes errors like Traceback (most recent call last): File "/usr/lib/python3.3/site.py", line 69, in import os File "/usr/lib/python3.3/os.py", line 659, in <module> from collections.abc import MutableMapping ImportError: No module named 'collections' Signed-off-by: Khem Raj <raj.khem@gmail.com>
2014-02-02Revert "Add missing RDEPENDS of initscripts-functions"Chen Qi
Instead of manually adding initscripts to RDEPENDS of each package, we should make it automatically handled by the update-rc.d.bbclass. This solution would have the benefit of backward compatibility. In other words, users need not modify their recipes. This reverts commit 16080a3485bd793edd66ed8361f1e8b86a9e19ea. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-02-02e2fsprogs:fix build native package errorBaogen Shang
e2fsprogs requires pkgconfig to build native package Signed-off-by: Baogen Shang <baogen.shang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-02-02quilt: add ac_cv_path_BASH to CACHED_CONFIGUREVARS also for nativeMing Liu
A issue was fixed in target recipe with commit: 95893404 [ quilt: added ac_cv_path_BASH to CACHED_CONFIGUREVARS On Fedora 17, bash has moved to /usr/bin/bash and the configure process finds it on the host machine there, this ensures that it is set correctly for the target. [YOCTO #2363] Signed-off-by: Saul Wold <sgw@linux.intel.com> ] But it's also impacting native package in the case that the sstate is used between Fedora 17(or later) and other hosts. Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-02-02syslinux: fix booting memtest86+ using pxelinux regressionJonathan Liu
After syslinux was updated from 4.07 to 6.01, booting memtest86+ using pxelinux would fail: PXELINUX 6.01 2013-07-04 Copyright (C) 1994-2013 H. Peter Anvin et al Loading memtest86... ok Booting kernel failed: invalid argument This backports the necessary upstream patches to allow memtest86+ to boot using pxelinux again. [YOCTO #5501] Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-02unfs3: Fix compile regression from unfs3 portJason Wessel
A line got dropped from the original patch when porting to the latest unfs3. The regression was introduced in commit 7d8075c64 (unfs3: Fix dependencies and allow target builds). This patch restores the missing line from the original which had been working fine for over a year's time. --- a/Config/Makefile.in +++ b/Config/Makefile.in @@ -12,7 +12,9 @@ all: lib.a lib.a: $(OBJS) $(AR) crs lib.a $(OBJS) -y.tab.h y.tab.c: exports.y +y.tab.h: y.tab.c + +y.tab.c: exports.y $(YACC) -d exports.y Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-31gcc: Include patch scheduled for GCC 4.8.3 to fix epilogue on ARMHolger Hans Peter Freyther
GCC 4.8.0, 4.8.1 and 4.8.2 can generate broken epilogues for the ABI used by the kernel. Apply the patch that is included for GCC 4.8.3 from http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58854. The issue was found on Yocto/Dora and the patch should be backported to this branch. A kernel built with Dora's GCC 4.8.1 misbehaved on: while true; do (for i in `seq 1 100`; do echo "Log message... $RANDOM"; done) | logger; done busybox's syslogd would from time to read a huge negative value and then exit, strace would get stuck waiting on a syscall. After this patch it appears to work better. Signed-off-by: Holger Hans Peter Freyther <holger@moiji-mobile.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-31libtool: Set CONFIG_SHELL for nativesdkRichard Purdie
We're seeing similar failures that we saw from libtool-native and libtool-cross where /bin/sh changed from bash to dash on different machines after sstate reusage. This patch fixes nativesdk to avoid the same issue. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-29qemu: Allow building without X11 supportJonas Eriksson
To enable the construction of minimal hypervisors based on OE, it is important to be able to build qemu without it requiring X support. By checking that the distro is built with the x11 feature before adding virtual/x11 to the dependencies, this is made possible. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-29unfs3: Fix dependencies and allow target buildsJason Wessel
Fixed in this patch: * All patches marked as submitted to the upstream * Remove the pseudo dependency because unfs3 can fully stand alone or be used with pseudo and it does not link against pseudo * Dependencies to flex for nativesdk and target builds are fixed such that unfs3 can be deployed into an image * Add unfs3 references in separatebuilddir.inc because unfs3 works correctly with autotools. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-28pkgconfig: Drop glibconfig from SRC_URI to unbreak builds after previous commitRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-28pkgconfig: remove out-dated configure options and dependenciesRoss Burton
0.27 onwards uses a snapshot of glib 2 not glib 1, so drop the do_configure_prepend and update the internal/installed options as appropriate. Legacy scripts were removed in 0.26. Use of popt was removed in 0.28. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-28python-numpy: don't search host directories for librariesRoss Burton
The build process hard-codes searches of various directories in /usr when looking for libraries, delete this to avoid host contamination. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-28unfs-server: Remove unfs-server recipe and patchesJason Wessel
The unfs-server only supports NFS v2 and it is not useful any longer with the advent of 64 bit inodes and the fact that the server has only a 32 bit key for the NFS hash which is hardcoded back to the inode. This recipe is replaced with a user mode NFS server using v3. [YOCTO #5639] Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-01-28unfs3, unfs-server: Replace all instances of unfs-server with unfs3Jason Wessel
Other recipes dependencies and even some comments need to be updated for the removal of unfs-server and the replacement with unfs3. The unfs3 is a complete drop in replacement providing all the prior functionality of NFSv2 but also adding NFSv3. [YOCTO #5639] Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-01-28unfs3: Add a NFSv3 user mode server for use with runqemuJason Wessel
The user mode nfs server allows the use of runqemu without any root privileges and may even be accelerated with kvm. Example: runqemu-extract-sdk tmp-eglibc/deploy/images/qemux86-64/core-image-minimal-qemux86-64.tar.bz2 rootfs runqemu qemux86-64 `pwd`/rootfs nographic slirp kvm [YOCTO #5639] Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-01-28dpkg: use systemd service for first boot configurationChen Qi
Use a systemd service file for first boot configuration for dpkg based images which has 'package-management' in its IMAGE_FEATURES. [YOCTO #5719] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-01-28run-postinsts: Add systemd service fileRoss Burton
This patch mainly adds a systmd service file for run-postinsts, which is started at first boot to run the post-install scripts. Apart from this, this patch also modifies the installation location of run-postinsts to ${sbindir}. This is because this script would be used by both sysvinit and systemd based images. So it's more reasonable to make it locate under ${sbindir}. [YOCTO #5719] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-01-28run-postinsts: remove the init script after a clean start-upChen Qi
If we enable ipk/deb package back-end, and we have 'package-management' in our IMAGE_FEATURES, then the /etc/rcS.d/S99run-postinsts would still exist in our system after a clean start-up. The initial design for run-postinsts requires the related init script to be removed if there's no more post-install script left in the system. This patch fixes this problem. [YOCTO #5718] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-01-28opkg-utils: Add RPROVIDES/RREPLACES/RCONFLICTS to fix upgrade-pathMartin Jansa
* now with update-alternatives-cworth completely gone should correctly replace it on target as well Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-01-28cmake: Fix freetype detectionMartin Jansa
* since last freetype upgrade cmake cannot detect it * e.g. webkit-efl requires freetype and is failing because of this Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-01-28distcc: add systemd supportChen Qi
Add systemd support for distcc. These unit files mainly use the same files in Fedora 20 as a reference. [YOCTO #4420] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-01-23libtool-cross/native: Force usage of bash due to sstate inconsistenciesRichard Purdie
Scenario: a) libtool script is built on system with bash as /bin/sh b) machine B installs sstate from build a) c) machine B has dash as /bin/sh In this scenario, the script fails to work properly since its expecting /bin/sh to have bash like syntax and it no longer does have it. This patch forces the configure process to use /bin/bash, not /bin/sh and hence allows the scripts to work correctly when used from sstate. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-23Revert "e2fsprogs/populate-extfs.sh: fix a problem on dash"Richard Purdie
This reverts commit 22f90c5aec4f0b0360d1d960226f9965d83d589b. This causes build failures with: | dirname: missing operand | Try 'dirname --help' for more information. under some circumstances.
2014-01-22libtool: remove the unrecognized configure optionChen Qi
Remove the unrecognized configure option '--with-sysroot' to avoid build time warnings. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-22adt_installer: do not install rootfs if target is not selectedLaurentiu Palcu
Currently, if YOCTOADT_TARGETS does not contain an architecture but the rootfs/machine settings are uncommented, then the rootfs is installed and adt will throw an error because is not able to find the toolchain environment script. This patch will: * not allow to install a target rootfs if the toolchain for the target architecture is not selected; * uncomment the target rootfs/machine settings for the other architectures since it's easier for the user to just add a new architecture in YOCTOADT_TARGETS and have the target rootfs installed; [YOCTO #5727] Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-21e2fsprogs/populate-extfs.sh: fix a problem on dashRobert Yang
The dash can't handle the or [[ in parameter expansion, for example: A=/usr/bin/[[ B=[[ C="${A%$B}" The C should be "/usr/bin" in common, but it will be /usr/bin/[[ on dash, use dirname to fix it. NOTE: There are 3 lines about parameter expansion, only fix the DIR="${DIR%$TGT}" since the other 2 works will and are very useful in this case. [YOCTO #5712] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-21guile: don't use the identifier 'noreturn'Robert Yang
Fix the build error of autogen-native which depends on guile-native: ysroots/x86_64-linux/usr/include/guile/2.0/libguile/error.h:40:24: error: expected ')' before '__attribute__' sysroots/x86_64-linux/usr/include/guile/2.0/libguile/error.h:40:24: error: expected ',' or ';' before ')' token sysroots/x86_64-linux/usr/include/guile/2.0/libguile/error.h:42:27: error: expected ')' before '__attribute__' [YOCTO #5743] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>