diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-07-20 22:00:43 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-21 19:05:35 +0100 |
commit | 8933810ac3d10da2c6c0e5a72af0cfc2b8001c05 (patch) | |
tree | d8117f273462a1c15c4dc80ad17ecee9bcd12aee | |
parent | ec70845b0e4e6fb37200cacec55b80379cd19a3a (diff) | |
download | poky-8933810ac3d10da2c6c0e5a72af0cfc2b8001c05.tar.gz |
buildtools-tarball: Add wget to buildtools-tarball
GNU Wget cannot be upgrated to a newer that 1.12 version on supported
Centos distro. GNU Wget 1.12 and earlier uses a server-provided filename
instead of the original URL to determine the destination filename of a
download.
This means the files downloaded when fetching cannot be properly used:
$ wget http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.4.2/source/eventlog_0.2.13.tar.gz
$ ls
eventlog_0.2.13.tar.gz?AWSAccessKeyId=AKIAICTJ5MANGPMOH7JA&Expires=1400838672&Signature=TjakOBpOvHtEKKDgF14iVinWpY0=
This in turn lead to build errors like:
WARNING: Failed to fetch URL http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.4.2/source/eventlog_0.2.13.tar.gz, attempting MIRRORS if available
ERROR: Fetcher failure for URL: 'http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.4.2/source/eventlog_0.2.13.tar.gz'. The fetch command returned success for url http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.4.2/source/eventlog_0.2.13.tar.gz but /path/to/downloads/eventlog_0.2.13.tar.gz doesn't exist?!
ERROR: Function failed: Fetcher failure for URL: 'http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.4.2/source/eventlog_0.2.13.tar.gz'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /path/to/tmp/work/ppce500v2-enea-linux-gnuspe/eventlog/0.2.13-r0/temp/log.do_fetch.28302
ERROR: Task 4 (/path/to/poky/meta-openembedded/meta-oe/recipes-support/eventlog/eventlog_0.2.13.bb, do_fetch) failed with exit code '1'
[YOCTO #6549]
(From OE-Core rev: 16dcc820af60f1a875c9b3b13b545a78124ddd7f)
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/meta/buildtools-tarball.bb | 1 | ||||
-rw-r--r-- | meta/recipes-extended/wget/wget.inc | 4 | ||||
-rw-r--r-- | meta/recipes-support/gnutls/gnutls.inc | 2 | ||||
-rw-r--r-- | meta/recipes-support/nettle/nettle_2.7.1.bb | 2 |
4 files changed, 7 insertions, 2 deletions
diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb index 62e1e0bbef..c54d9e8699 100644 --- a/meta/recipes-core/meta/buildtools-tarball.bb +++ b/meta/recipes-core/meta/buildtools-tarball.bb | |||
@@ -41,6 +41,7 @@ TOOLCHAIN_HOST_TASK ?= "\ | |||
41 | nativesdk-git \ | 41 | nativesdk-git \ |
42 | nativesdk-pigz \ | 42 | nativesdk-pigz \ |
43 | nativesdk-make \ | 43 | nativesdk-make \ |
44 | nativesdk-wget \ | ||
44 | " | 45 | " |
45 | 46 | ||
46 | TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-buildtools-nativesdk-standalone-${DISTRO_VERSION}" | 47 | TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-buildtools-nativesdk-standalone-${DISTRO_VERSION}" |
diff --git a/meta/recipes-extended/wget/wget.inc b/meta/recipes-extended/wget/wget.inc index 642d502a50..a8ceb0e745 100644 --- a/meta/recipes-extended/wget/wget.inc +++ b/meta/recipes-extended/wget/wget.inc | |||
@@ -4,6 +4,7 @@ SECTION = "console/network" | |||
4 | LICENSE = "GPLv3" | 4 | LICENSE = "GPLv3" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
6 | DEPENDS = "gnutls zlib libpcre" | 6 | DEPENDS = "gnutls zlib libpcre" |
7 | DEPENDS_class-nativesdk = "nativesdk-gnutls nativesdk-zlib nativesdk-libpcre" | ||
7 | 8 | ||
8 | INC_PR = "r16" | 9 | INC_PR = "r16" |
9 | 10 | ||
@@ -13,6 +14,9 @@ EXTRA_OECONF = "--enable-ipv6 --with-ssl=gnutls --disable-rpath --disable-iri \ | |||
13 | ac_cv_header_uuid_uuid_h=no" | 14 | ac_cv_header_uuid_uuid_h=no" |
14 | 15 | ||
15 | ALTERNATIVE_${PN} = "wget" | 16 | ALTERNATIVE_${PN} = "wget" |
17 | ALTERNATIVE_${PN}_class-nativesdk = "" | ||
16 | ALTERNATIVE_PRIORITY = "100" | 18 | ALTERNATIVE_PRIORITY = "100" |
17 | 19 | ||
18 | RRECOMMENDS_${PN} += "ca-certificates" | 20 | RRECOMMENDS_${PN} += "ca-certificates" |
21 | |||
22 | BBCLASSEXTEND += "nativesdk" | ||
diff --git a/meta/recipes-support/gnutls/gnutls.inc b/meta/recipes-support/gnutls/gnutls.inc index d89b764aae..27aba26943 100644 --- a/meta/recipes-support/gnutls/gnutls.inc +++ b/meta/recipes-support/gnutls/gnutls.inc | |||
@@ -43,4 +43,4 @@ FILES_${PN}-xx = "${libdir}/libgnutlsxx.so.*" | |||
43 | 43 | ||
44 | LDFLAGS_append_libc-uclibc += " -pthread" | 44 | LDFLAGS_append_libc-uclibc += " -pthread" |
45 | 45 | ||
46 | BBCLASSEXTEND = "native" | 46 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta/recipes-support/nettle/nettle_2.7.1.bb b/meta/recipes-support/nettle/nettle_2.7.1.bb index 8aa5351896..f53afcc5d4 100644 --- a/meta/recipes-support/nettle/nettle_2.7.1.bb +++ b/meta/recipes-support/nettle/nettle_2.7.1.bb | |||
@@ -23,4 +23,4 @@ do_configure_prepend() { | |||
23 | 23 | ||
24 | inherit autotools | 24 | inherit autotools |
25 | 25 | ||
26 | BBCLASSEXTEND = "native" | 26 | BBCLASSEXTEND = "native nativesdk" |