SRC_URI and minor dependency fixes
cover SRC_URI and minor dependency fixes
Daisy has now (long since) left upstream maintenance and entered into community support. As a member of a community which still actively develops against this version of OE, I would like to propose the following updates.
The SRC_URI fixes address fetcher failures which have crept in over time and now cause build failures for new users etc who don't already have a fully populated downloads directory.
The two dependency fixes are historical but often go unnoticed when building on a fully installed host system. Unfortunately they become more problematic when building within a minimal docker container etc where the host versions of the tools are not installed by default.
Alejandro Hernandez (1):
kernel: Added bc-native as DEPENDS
Alexander Kanavin (1):
ossp-uuid: update SRC_URI to not use Google Code
Andre McCurdy (5):
dpkg: update SRC_URI
libproxy: update SRC_URI
lsof: update SRC_URI
netbase: update SRC_URI
mklibs-native: update SRC_URI
Chang Rebecca Swee Fun (1):
cryptodev-linux: update SRC_URI
Maxin B. John (1):
ossp-uuid: use snapshot.debian.org for SRC_URI
Richard Purdie (1):
pigz: Update SRC_URI
Robert Yang (4):
base-passwd: fix SRC_URI
dosfstools: fix SRC_URI
mailx: fix SRC_URI
stat: fix SRC_URI
Yue Tao (1):
setserial: add missing depends on groff-native
meta/classes/kernel.bbclass | 2 +- meta/recipes-bsp/setserial/setserial_2.17.bb | 2 ++ meta/recipes-core/base-passwd/base-passwd_3.5.29.bb | 2 +- meta/recipes-core/netbase/netbase_5.2.bb | 2 +- meta/recipes-devtools/dosfstools/dosfstools_2.11.bb | 3 ++- meta/recipes-devtools/dpkg/dpkg.inc | 2 +- meta/recipes-devtools/mklibs/mklibs-native_0.1.38.bb | 2 +- meta/recipes-devtools/ossp-uuid/ossp-uuid_1.6.2.bb | 3 ++- meta/recipes-extended/lsof/lsof_4.87.bb | 2 +- meta/recipes-extended/mailx/mailx_12.5.bb | 4 ++-- meta/recipes-extended/pigz/pigz.inc | 2 +- meta/recipes-extended/stat/stat_3.3.bb | 2 +- meta/recipes-kernel/cryptodev/cryptodev_1.6.inc | 2 +- meta/recipes-support/libproxy/libproxy_0.4.11.bb | 2 +- 14 files changed, 18 insertions(+), 14 deletions(-)
Signature · 1 line
1.9.1
PATCH 1/15 setserial: add missing depends on groff-native
From: Yue Tao <[email protected]>
[YOCTO #6526]
setserial needs groff-native to build
--- meta/recipes-bsp/setserial/setserial_2.17.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-bsp/setserial/setserial_2.17.bb +2 -0
@@ -8,6 +8,8 @@ LICENSE = "GPLv2.0" LIC_FILES_CHKSUM = "file://version.h;beginline=1;endline=6;md5=2e7c59cb9e57e356ae81f50f4e4dfd99" PR = "r3" +DEPENDS += "groff-native" + inherit autotools-brokensep SRC_URI = "${SOURCEFORGE_MIRROR}/setserial/${BPN}-${PV}.tar.gz \
Signature · 1 line
1.9.1
PATCH 2/15 kernel: Added bc-native as DEPENDS
In reply to Andre McCurdyFrom: Alejandro Hernandez <[email protected]>
The makefile checks for bc during for compilation
[YOCTO #6781]
--- meta/classes/kernel.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/kernel.bbclass +1 -1
@@ -1,7 +1,7 @@ inherit linux-kernel-base kernel-module-split PROVIDES += "virtual/kernel" -DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc kmod-native depmodwrapper-cross" +DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc kmod-native depmodwrapper-cross bc-native" # we include gcc above, we dont need virtual/libc INHIBIT_DEFAULT_DEPS = "1"
Signature · 1 line
1.9.1
PATCH 3/15 base-passwd: fix SRC_URI
In reply to Andre McCurdyFrom: Robert Yang <[email protected]>
Fixed:
WARNING: Failed to fetch URL ftp://ftp.debian.org/debian/pool/main/b/base-passwd/base-passwd_3.5.29.tar.gz, attempting MIRRORS if available
--- meta/recipes-core/base-passwd/base-passwd_3.5.29.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/base-passwd/base-passwd_3.5.29.bb +1 -1
@@ -4,7 +4,7 @@ SECTION = "base" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" -SRC_URI = "${DEBIAN_MIRROR}/main/b/base-passwd/base-passwd_${PV}.tar.gz \ +SRC_URI = "https://launchpad.net/debian/+archive/primary/+files/${BPN}_${PV}.tar.gz \ file://add_shutdown.patch \ file://nobash.patch \ file://noshadow.patch \
Signature · 1 line
1.9.1
PATCH 4/15 dosfstools: fix SRC_URI
In reply to Andre McCurdyFrom: Robert Yang <[email protected]>
Fixed:
WARNING: Failed to fetch URL ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/dosfstools-2.11.src.tar.gz, attempting MIRRORS if available
And add a HOMEPAGE for it, there is no dosfstools 2.11 on its official page (but 3.x).
--- meta/recipes-devtools/dosfstools/dosfstools_2.11.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-devtools/dosfstools/dosfstools_2.11.bb +2 -1
@@ -2,13 +2,14 @@ # Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved # Released under the MIT license (see packages/COPYING) SUMMARY = "DOS FAT Filesystem Utilities" +HOMEPAGE = "http://daniel-baumann.ch/software/dosfstools/" SECTION = "base" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://mkdosfs/COPYING;md5=cbe67f08d6883bff587f615f0cc81aa8" PR = "r5" -SRC_URI = "ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/dosfstools-${PV}.src.tar.gz \ +SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/${BPN}/${BP}.src.tar.gz/407d405ade410f7597d364ab5dc8c9f6/${BP}.src.tar.gz \ file://mkdosfs-bootcode.patch \ file://mkdosfs-dir.patch \ file://alignment_hack.patch \
Signature · 1 line
1.9.1
PATCH 5/15 mailx: fix SRC_URI
In reply to Andre McCurdyFrom: Robert Yang <[email protected]>
The old one is not available any more.
--- meta/recipes-extended/mailx/mailx_12.5.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-extended/mailx/mailx_12.5.bb +2 -2
@@ -12,8 +12,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4202a0a62910cf94f7af8a3436a2a2dd" DEPENDS = "openssl" -SRC_URI = "${DEBIAN_MIRROR}/main/h/heirloom-mailx/heirloom-mailx_${PV}.orig.tar.gz;name=archive \ - ${DEBIAN_MIRROR}/main/h/heirloom-mailx/heirloom-mailx_${PV}-1.diff.gz;name=patch \ +SRC_URI = "https://launchpad.net/ubuntu/+archive/primary/+files/heirloom-mailx_12.5.orig.tar.gz;name=archive \ + https://launchpad.net/ubuntu/+archive/primary/+files/heirloom-mailx_12.5-1.diff.gz;name=patch \ file://explicitly.disable.krb5.support.patch \ "
Signature · 1 line
1.9.1
PATCH 6/15 stat: fix SRC_URI
In reply to Andre McCurdyFrom: Robert Yang <[email protected]>
The old SRC_URI is redirected to the new one, fixed:
WARNING: Failed to fetch URL ftp://metalab.unc.edu/pub/Linux/utils/file/stat-3.3.tar.gz, attempting MIRRORS if available
--- meta/recipes-extended/stat/stat_3.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/stat/stat_3.3.bb +1 -1
@@ -5,7 +5,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=39886b077fd072e876e5c4c16310b631 \ file://GPL;md5=94d55d512a9ba36caa9b7df079bae19f" -SRC_URI = "ftp://metalab.unc.edu/pub/Linux/utils/file/stat-${PV}.tar.gz \ +SRC_URI = "http://www.ibiblio.org/pub/Linux/utils/file/${BP}.tar.gz \ file://fix-error-return.patch" SRC_URI[md5sum] = "37e247e8e400ad9205f1b0500b728fd3"
Signature · 1 line
1.9.1
PATCH 7/15 ossp-uuid: update SRC_URI to not use Google Code
In reply to Andre McCurdyFrom: Alexander Kanavin <[email protected]>
Google Code is shutting down so tarballs will be fetched from a Debian mirror instead
--- meta/recipes-devtools/ossp-uuid/ossp-uuid_1.6.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/ossp-uuid/ossp-uuid_1.6.2.bb +1 -1
@@ -17,7 +17,7 @@ LIC_FILES_CHKSUM = "file://README;beginline=30;endline=55;md5=b394fadb039bbfca6a PR = "r2" -SRC_URI = "http://gnome-build-stage-1.googlecode.com/files/uuid-1.6.2.tar.gz \ +SRC_URI = "${DEBIAN_MIRROR}/main/o/${BPN}/${BPN}_${PV}.orig.tar.gz \ file://0001-Change-library-name.patch \ file://0002-uuid-preserve-m-option-status-in-v-option-handling.patch \ file://0003-Fix-whatis-entries.patch \
Signature · 1 line
1.9.1
PATCH 8/15 ossp-uuid: use snapshot.debian.org for SRC_URI
In reply to Andre McCurdyFrom: "Maxin B. John" <[email protected]>
Using ${DEBIAN_MIRROR} for SRC_URI doesn't work very well as that will only contain releases that are currently in Debian. So, move all of SRC_URI to the .bb so it can use snapshot.debian.org instead, and set UPSTREAM_CHECK_URI to ${DEBIAN_MIRROR} so upstream release checking continues to work.
[YOCTO #10040]
--- meta/recipes-devtools/ossp-uuid/ossp-uuid_1.6.2.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-devtools/ossp-uuid/ossp-uuid_1.6.2.bb +2 -1
@@ -16,8 +16,9 @@ LIC_FILES_CHKSUM = "file://README;beginline=30;endline=55;md5=b394fadb039bbfca6a file://uuid_md5.c;beginline=1;endline=28;md5=9c1f4b2218546deae24c91be1dcf00dd" PR = "r2" +UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/o/ossp-uuid/" -SRC_URI = "${DEBIAN_MIRROR}/main/o/${BPN}/${BPN}_${PV}.orig.tar.gz \ +SRC_URI = "http://snapshot.debian.org/archive/debian/20160728T043443Z/pool/main/o/${BPN}/${BPN}_${PV}.orig.tar.gz \ file://0001-Change-library-name.patch \ file://0002-uuid-preserve-m-option-status-in-v-option-handling.patch \ file://0003-Fix-whatis-entries.patch \
Signature · 1 line
1.9.1
PATCH 9/15 pigz: Update SRC_URI
In reply to Andre McCurdyFrom: Richard Purdie <[email protected]>
Upstream have released a new tarball and removed the old one. Revert to the Yocto Project source mirror instead, preserving the upstream version check.
Tweak commit to apply to older pigz v2.3.1 recipe in OE 1.6
--- meta/recipes-extended/pigz/pigz.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/pigz/pigz.inc +1 -1
@@ -7,7 +7,7 @@ HOMEPAGE = "http://zlib.net/pigz/" SECTION = "console/utils" LICENSE = "Zlib" -SRC_URI = "http://zlib.net/pigz/pigz-${PV}.tar.gz" +SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/${BP}.tar.gz" PROVIDES_class-native += "gzip-native"
Signature · 1 line
1.9.1
PATCH 10/15 cryptodev-linux: update SRC_URI
In reply to Andre McCurdyFrom: Chang Rebecca Swee Fun <[email protected]>
Gna! project announced that the download site from gna.org HTTP server will soon be closing down. We have verified that the site is no longer accessible without network proxy cache. We need to update SRC_URI to point to new alternative (nwl.cc HTTP server) in order to avoid fetcher issues in future.
[YOCTO #11575]
Tweak commit to apply to older cryptodev 1.6 recipe in OE 1.6
--- meta/recipes-kernel/cryptodev/cryptodev_1.6.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/cryptodev/cryptodev_1.6.inc +1 -1
@@ -3,7 +3,7 @@ HOMEPAGE = "http://cryptodev-linux.org/" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" -SRC_URI = "http://download.gna.org/cryptodev-linux/cryptodev-linux-${PV}.tar.gz" +SRC_URI = "http://nwl.cc/pub/cryptodev-linux/cryptodev-linux-${PV}.tar.gz" SRC_URI[md5sum] = "eade38998313c25fd7934719cdf8a2ea" SRC_URI[sha256sum] = "75f1425c8ea1f8cae523905a5a046a35092327a6152800b0b86efc4e56fb3e2f"
Signature · 1 line
1.9.1
PATCH 11/15 dpkg: update SRC_URI
In reply to Andre McCurdyThe upstream oe-core recipe fixed similar fetcher issues by switching to a specific debian snapshot version. However, the debian snapshot doesn't provide dpkg v1.17.4 so fetch from yoctoproject.org mirror instead.
--- meta/recipes-devtools/dpkg/dpkg.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/dpkg/dpkg.inc +1 -1
@@ -2,7 +2,7 @@ SUMMARY = "Package maintenance system from Debian" LICENSE = "GPLv2.0+" SECTION = "base" -SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.xz \ +SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/dpkg_${PV}.tar.xz \ file://ignore_extra_fields.patch" DEPENDS = "zlib bzip2 perl ncurses"
Signature · 1 line
1.9.1
PATCH 12/15 libproxy: update SRC_URI
In reply to Andre McCurdyGoogle Code has been shut down so libproxy tarball needs to be fetched from elsewhere.
--- meta/recipes-support/libproxy/libproxy_0.4.11.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/libproxy/libproxy_0.4.11.bb +1 -1
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \ DEPENDS = "gconf glib-2.0" -SRC_URI = "http://libproxy.googlecode.com/files/libproxy-${PV}.zip \ +SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/libproxy-${PV}.zip \ " SRC_URI[md5sum] = "06be230b8b612e64997f8f15af6373aa"
Signature · 1 line
1.9.1
PATCH 13/15 lsof: update SRC_URI
In reply to Andre McCurdyThe official lsof ftp site rejects download attempts from hosts for which it can not perform a DNS reverse-lookup. See:
https://people.freebsd.org/~abe/
Fix for long download timeout and warnings from the bitbake fetcher.
--- meta/recipes-extended/lsof/lsof_4.87.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/lsof/lsof_4.87.bb +1 -1
@@ -4,7 +4,7 @@ Its name stands for LiSt Open Files, and it does just that." SECTION = "devel" LICENSE = "BSD" -SRC_URI = "ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_${PV}.tar.bz2" +SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/lsof_${PV}.tar.bz2" SRC_URI[md5sum] = "80e2a76d0e05826db910ec88e631296c" SRC_URI[sha256sum] = "dfdd3709d82bc79ccdf3e404b84aafa9aede5948642a824ecaefd0aac589da2c"
Signature · 1 line
1.9.1
PATCH 14/15 netbase: update SRC_URI
In reply to Andre McCurdyThe upstream oe-core recipe fixed similar fetcher issues by switching to a specific debian snapshot version. However, the debian snapshot doesn't provide netbase v5.2 so fetch from yoctoproject.org mirror instead.
--- meta/recipes-core/netbase/netbase_5.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/netbase/netbase_5.2.bb +1 -1
@@ -6,7 +6,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://debian/copyright;md5=3dd6192d306f582dee7687da3d8748ab" PE = "1" -SRC_URI = "${DEBIAN_MIRROR}/main/n/netbase/netbase_${PV}.tar.gz \ +SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/netbase_${PV}.tar.gz \ file://hosts" SRC_URI[md5sum] = "3a01bfce6a28e1743412198abd241262"
Signature · 1 line
1.9.1
PATCH 15/15 mklibs-native: update SRC_URI
In reply to Andre McCurdyThe upstream oe-core recipe fixed similar fetcher issues by switching to a specific debian snapshot version. However, the debian snapshot doesn't provide mklibs 0.1.38 so fetch from yoctoproject.org mirror instead.
--- meta/recipes-devtools/mklibs/mklibs-native_0.1.38.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/mklibs/mklibs-native_0.1.38.bb +1 -1
@@ -6,7 +6,7 @@ LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://debian/copyright;md5=98d31037b13d896e33890738ef01af64" DEPENDS = "python-native dpkg-native" -SRC_URI = "http://ftp.de.debian.org/debian/pool/main/m/mklibs/${BPN}_${PV}.tar.gz \ +SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/${BPN}_${PV}.tar.gz \ file://ac_init_fix.patch\ file://fix_STT_GNU_IFUNC.patch\ "
Signature · 1 line
1.9.1