Skip to contentSkip to conversation

SRC_URI and minor dependency fixes

PATCH New Andre McCurdy 1 participant 16 messages Sep 8, 2017

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw

PATCH 1/15 setserial: add missing depends on groff-native

From: Yue Tao <[email protected]>

[YOCTO #6526]

setserial needs groff-native to build

(cherry picked from commit 1a1d1d89b490703ec163b82ba93f10a7d3e93270)
---
 meta/recipes-bsp/setserial/setserial_2.17.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-bsp/setserial/setserial_2.17.bb +2 -0
index 65d6068..f1e8cd3 100644
@@ -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
#2 lore raw

PATCH 2/15 kernel: Added bc-native as DEPENDS

In reply to Andre McCurdy

From: Alejandro Hernandez <[email protected]>

The makefile checks for bc during for compilation

[YOCTO #6781]

(cherry picked from commit c067e52cffe002de3b39aa1bced308dd532859c1)
---
 meta/classes/kernel.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/kernel.bbclass +1 -1
index 58b0ec8..922752b 100644
@@ -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
#3 lore raw

PATCH 3/15 base-passwd: fix SRC_URI

In reply to Andre McCurdy

From: 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

(cherry picked from commit 9ac88e3a9ac36ed83f01ac21db57a3c01a24385e)
---
 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
index 59bd413..ace94a6 100644
@@ -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
#4 lore raw

PATCH 4/15 dosfstools: fix SRC_URI

In reply to Andre McCurdy

From: 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).

(cherry picked from commit cba73a598abc396fae4fb582be98fc04cb2a580f)
---
 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
index a6a7ddc..c797c2a 100644
@@ -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
#5 lore raw

PATCH 5/15 mailx: fix SRC_URI

In reply to Andre McCurdy

From: Robert Yang <[email protected]>

The old one is not available any more.

(cherry picked from commit 3569d434e754a62ec998fbf48380d653d1524dc4)
---
 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
index cc0b6bf..77e2607 100644
@@ -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
#6 lore raw

PATCH 6/15 stat: fix SRC_URI

In reply to Andre McCurdy

From: 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

(cherry picked from commit 45034239c7e38ec991aa75d7c30417c22bfdef28)
---
 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
index c9edb1d..afee06e 100644
@@ -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
#7 lore raw

PATCH 7/15 ossp-uuid: update SRC_URI to not use Google Code

In reply to Andre McCurdy

From: Alexander Kanavin <[email protected]>

Google Code is shutting down so tarballs will be fetched from a Debian mirror instead

(cherry picked from commit 779c53911da663f06437e8a06c9a8c361d614fe6)
---
 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
index f524854..e77be99 100644
@@ -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
#8 lore raw

PATCH 8/15 ossp-uuid: use snapshot.debian.org for SRC_URI

In reply to Andre McCurdy

From: "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]

(cherry picked from commit 1b38ad4cb8faeb86c5e8cb6b7201194722c5ef31)
---
 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
index e77be99..fef3fb7 100644
@@ -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
#9 lore raw

PATCH 9/15 pigz: Update SRC_URI

In reply to Andre McCurdy

From: 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.

(cherry picked from commit 839b17ffd96abff3e9cf47fb4a6d680637c865b1)

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
index 355fb2a..5a9f982 100644
@@ -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
#10 lore raw

PATCH 10/15 cryptodev-linux: update SRC_URI

In reply to Andre McCurdy

From: 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]

(cherry picked from commit dc8b21ae0ed3bceb9f3df4f6cd8f8f55b9c306fb)

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
index 946faac..4a9d0ab 100644
@@ -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
#11 lore raw

PATCH 11/15 dpkg: update SRC_URI

In reply to Andre McCurdy

The 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
index eef7ce9..33bbb3b 100644
@@ -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
#12 lore raw

PATCH 12/15 libproxy: update SRC_URI

In reply to Andre McCurdy

Google 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
index aecb7b5..acfe8e5 100644
@@ -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
#13 lore raw

PATCH 13/15 lsof: update SRC_URI

In reply to Andre McCurdy

The 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
index 5676cd9..f17a700 100644
@@ -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
#14 lore raw

PATCH 14/15 netbase: update SRC_URI

In reply to Andre McCurdy

The 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
index ab7ae65..65bf549 100644
@@ -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
#15 lore raw

PATCH 15/15 mklibs-native: update SRC_URI

In reply to Andre McCurdy

The 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
index fd04c97..5db795f 100644
@@ -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