aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools
AgeCommit message (Collapse)Author
2018-01-29Fix docker-registry downloads by using https://pypi.python.orgjethroMartin Oberhuber
The docker-registry recipe depends on a couple of Python packages which use a SRC_URI with http:// protocol. In jethro, this leads to an error message "ERROR 403: SSL is required" when building. In jethro, the issue is fixed by converting affected http:// URIs to https. Note that morty or later do not show the build error although they use http. Signed-off-by: Martin Oberhuber <mober.at@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-10-30go-net: add SRC_URI checksumsIoan-Adrian Ratiu
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-10-30go-sqlite: add SRC_URI checksumsIoan-Adrian Ratiu
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-10-13Enable go-cross 1.3 to coexist with later versionsAmy Fong
Since we need go 1.3 to co-exist with later versions (ie 1.4), package go-cross_1.3 as go-cross-1.3_1.3. go 1.3 will be installed to a different path than go-cross, this requires go packages needing go 1.3 to set its PATH to: export PATH=${STAGING_BINDIR_NATIVE}/${HOST_SYS}/go-1.3:$PATH Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-10-13Backport go-cross: set alignment for the .rel.plt section on 32-bit ↵Amy Fong
architectures submitted to upstream https://github.com/errordeveloper/oe-meta-go go-cross: set alignment for the .rel.plt section on 32-bit architectures This patch is cherry picked from golang's upstream, and this patch will fix the package of etcd's following build error: ERROR: debugedit failed with exit code 256 (cmd was 'bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/rpm/bin/debugedit' -b 'bitbake_build/tmp/work/cortexa7t2hf-vfp-neon-wrs-linux-gnueabi' -d '/usr/src/debug' -i -l 'bitbake_build/tmp/work/cortexa7t2hf-vfp-neon-wrs-linux-gnueabi/etcd/git-r0/debugsources.list' 'bitbake_build/tmp/work/cortexa7t2hf-vfp-neon-wrs-linux-gnueabi/etcd/git-r0/package/usr/bin/etcd'): bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/rpm/bin/debugedit: elf_update: invalid section alignment ERROR: Function failed: split_and_strip_files ERROR: Logfile of failure stored in: bitbake_build/tmp/work/cortexa7t2hf-vfp-neon-wrs-linux-gnueabi/etcd/git-r0/temp/do_package/log.do_package.109414 ERROR: Task 12 (layers/meta-overc/meta-pod/recipes-connectivity/etcd/etcd_git.bb, do_package) failed with exit code '1' Signed-off-by: fupan li <fupan.li@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-10-13Backport go-cross: fix the building failed for quark bspAmy Fong
submitted to upstream https://github.com/errordeveloper/oe-meta-go go-cross: fix the building failed for quark bsp Quark used i586 architecture, and golang dealt intel 32bit architecture as 386, so export GOARCH = "386" when the TARGET_ARCH is i586 to support quark bsp. Signed-off-by: fupan li <fupan.li@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-10-13Backport go-cross: fix the bug of cross building errorAmy Fong
submitted to upstream https://github.com/errordeveloper/oe-meta-go go-cross: fix the bug of cross building error When a package's recipe inherit "cross" bbclass, its CC and CXX are defined as the host native gcc and g++ instead of the host cross toolchain, fot this case, CC_FOR_TARGET and CXX_FOR_TARGET should be defined the same with CC and CXX, instead they are should be define as host cross toolchain's CC and CXX, otherwise, it will build failed for target arm architecture as below: | # Building packages and commands for linux/arm. | + CC='gcc ' | + bitbake_build/tmp/work/x86_64-wrs-linux-gnueabi/go-cross/1.4-r0/go/pkg/tool/linux_amd64/go_bootstrap install -ccflags '' -gcflags '' -ldflags '' -v std | runtime | errors | sync/atomic | unicode | unicode/utf8 | math | sort | encoding | unicode/utf16 | container/list | crypto/subtle | runtime/cgo | container/ring | image/color | runtime/race | # runtime/cgo | gcc: error: unrecognized command line option '-marm' Signed-off-by: fupan li <fupan.li@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-10-13docker: needs go 1.3Amy Fong
The current version of docker (1.6.2) requires go 1.3 See go 1.4 sqlite issue: https://github.com/docker/docker/issues/9649 Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-09-08bbappend: switch to use a wildcard beyond major versionMark Asselstine
Using a wildcard will simplify things when using meta-virtualization against different yocto or oe branches and prevent having to make future updates to keep in step with package uprevs. The changes found within these bbappend tend to be generic and non-version specific, thus safe for 'porting' via wildcard. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-08-05python-sqlalchemy upgrade 0.9.7->1.0.8Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-08-05python-sphinx: upgrade 1.2b1 -> 1.3.1Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-07-31python-simplejson: upgrade 3.6.2->3.7.3Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-07-31python-webob: upgrade 1.2.3 -> 1.4.1Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-07-31python-werkzeug: upgrade 0.9.4->0.10.4Lei Maohui
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-07-29golang: use oe-meta-goAmy Fong
From b101a0c7ce6ef1eb41bef786831e58fa4d1b069f Mon Sep 17 00:00:00 2001 From: Amy Fong <amy.fong@windriver.com> Date: Mon, 27 Jul 2015 14:10:20 -0400 Subject: [PATCH] golang: use oe-meta-go Update meta-virtualization to use go package from oe-meta-go. The package golang-cross is go-cross in the oe-meta-go. Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-06-19golang-cross: add ccache supportAmy Fong
golang doesn't work with ccache. In the current state, a lot of parsing happens where it'll grab the first string in CC or LD and uses that for its builds. When ccache is enabled, it results in trying to do builds with just ccache. The brokeness is seen when building with apps that uses cgo, like docker. To enable ccache to work, some string comparisons and changes to parsing had to be made. Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-06-19golang-cross: do_compile fails on warnings treated as errorAmy Fong
On glibc 2.20+, the _BSD_SOURCE and _SVID_SOURCE feature test macros are deprecated as of glibc 2.19.90 (2.20 devel), we define _DEFAULT_SOURCE instead. (fixed upstream) https://groups.google.com/forum/#!topic/golang-codereviews/S4TARFCxu2k Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-06-17python-gevent: Fix cross compile for ARMJason Wessel
The lack of a proper ability to regenerate configure causes the cross compile detect logic to fail (shown below). It is easiest to just force the cross compile option at configure time. | configure: error: in `/opt/buildtmp/work/cortexa7t2hf-vfp-neon-wrs-linux-gnueabi/python-gevent/1.0.1-r0/gevent-1.0.1/build/temp.linux-x86_64-2.7/libev': | configure: error: cannot run C compiled programs. | If you meant to cross compile, use `--host'. | See `config.log' for more details | Running '/bin/sh /opt/buildtmp/work/cortexa7t2hf-vfp-neon-wrs-linux-gnueabi/python-gevent/1.0.1-r0/gevent-1.0.1/libev/configure > configure-output.txt' in /opt/buildtmp/work/cortexa7t2hf-vfp-neon-wrs-linux-gnueabi/python-gevent/1.0.1-r0/gevent-1.0.1/build/temp.linux-x86_64-2.7/libev | building 'gevent.core' extension | creating build/temp.linux-x86_64-2.7/gevent | ccache arm-wrs-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -marm -mthumb-interwork -mtune=cortex-a7 --sysroot=/opt/buildtmp/sysroots/fsl-ls10xx -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -fPIC -DLIBEV_EMBED=1 -DEV_COMMON= -DEV_CLEANUP_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_PERIODIC_ENABLE=0 -Ibuild/temp.linux-x86_64-2.7/libev -Ilibev -I/opt/buildtmp/sysroots/fsl-ls10xx/usr/include/python2.7 -c gevent/gevent.core.c -o build/temp.linux-x86_64-2.7/gevent/gevent.core.o | In file included from gevent/libev.h:2:0, | from gevent/gevent.core.c:313: | libev/ev.c:45:22: fatal error: config.h: No such file or directory | # include "config.h" | ^ | compilation terminated. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-06-14docker uprev 1.6.2Amy Fong
Uprev docker to 1.6.2 go-capability is upreved to a later git commit go-dbus is upreved to version 2 go-distribution-digest is added as a new dependency. Only the digest part of go-distribution is needed/kept here, hence go-distribution-digest go-logrus is upreved to 0.7.1 Remove PR since it's no longer used Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-05-13python-simplejson: inherit setuptools instead of distutilsfidoJackie Huang
Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-03-30golang-cross: disable CCACHE support for golang-crossJason Wessel
The ccache on some hosts will cause the golang-cross package to fail with the error: | cmd/fix | cmd/yacc | runtime/cgo | go build runtime/cgo: no buildable Go source files in /proj/bitbake_build/tmp/work/x86_64-wrs-linux/golang-cross/1.3-r0/go/src/pkg/runtime/cgo | WARNING: /proj/bitbake_build/tmp/work/x86_64-wrs-linux/golang-cross/1.3-r0/temp/do_compile/run.do_compile.14152:1 exit 1 from | sh -x ./make.bash | ERROR: Function failed: do_compile Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-03-30gevent: allow ssl v2 or v3 certificatesBruce Ashfield
Work around an issue with python 2.7 not always having SSLv3 available by allowing v2 or v3 certificates. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2015-03-17docker: avoid fetching dependenciesAmy Fong
Docker's build process will clone missing dependencies which circumvents the bitbake fetcher. This is a bad thing in many ways, for example this will not respect BB_NO_NETWORK and DL_DIR settings. To work around this we are able to provide recipes for each of the missing dependencies. The dependencies are all in GO and are required to be added to the sysroot such that the docker build can find them via GOPATH at build time. The docker recipe was updated to add these new packages as dependencies and the explicit clone of go-cli was removed. After these change we are able to complete the build with networking disabled after completing a fetchall. Docker functionality was tested on an image built with these changes and it functions as it did before. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
2015-03-17docker: Add dependencies for docker and docker-registryAmy Fong
These are a set of dependencies required to build and run docker and docker-registry which had previously existed in meta-cloud-services. By moving these from meta-cloud-services to meta-virtualization we can build and use docker without needing to include meta-cloud-services. Since meta-cloud-services depends on meta-virtualization these recipes will still be available for use with packages/images in meta-cloud-services. There is a concern that meta-cloud-services contains many python packages as there exists tight dependency for specific package versions, this move does not prevent this tight binding from continuing using various mechanisms made available to layers. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com>
2015-03-17Add python packages needed for docker-registryAmy Fong
Signed-off-by: Amy Fong <amy.fong@windriver.com>
2015-03-17Add golang-crossAmy Fong
This package is derived from meta-golang: https://github.com/digitallumens/meta-golang.git commit 3fa6c8af6b4762de2f4e6740e327a5a71c29e6e1 In the meta-golang version, golang depends on a gcc-cross that causes conflicts with our toolchain. So the golang-cross recipe was extracted and then the following changes were made to work in wrlinux: - our TARGET_ARCH is x86-64, golang-cross wants amd64 - in the former recipe, compile fails because it can't find header files and libraries because --sysroot is dropped. So I redefined the target cc and target cxx as cc and cxx at the start of the compile rule since cc gets redefined in there somewhere. Signed-off-by: Amy Fong <amy.fong@windriver.com>
2015-02-25python: drop cross build patchPaul Gortmaker
This is the old 2.7.2 version and it will be found when the 2.7.9 version goes looking for the patch of the same name, causing do_patch() to fail. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2015-02-24python: update bbappend to match oe-core masterBruce Ashfield
It is questionable if we need this at all anymore (we probably don't), but for now, there's no reason to not match the versions. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2013-08-21python: replace FILESPATH with FILESEXTRAPATHS_prependBruce Ashfield
redefining THISDIR and using FILESPATH is no longer required in a "modern" bbappend, and in fact breaks other layers that also patch python. Removing THISDIR and using FILESEXTRAPATHS_prepend fixes both issues. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-06-21python: Add ncurses support. Requires cross-compile patch for library search.Raymond Danks
Signed-off-by: Raymond Danks <ray.danks@se-eng.com>