fix checkuri failures for krogoth
cover fix checkuri failures for krogoth
Recipes that use DEBIAN_MIRROR in SRC_URI are setting themselves up for failure as the Debian mirror network only stores active releases, so once a version we use isn't in oldstable/stable/testing/unstable then it will be removed.
The solution here is to use the snapshot.debian.org service for the SRC_URI, and set UPSTREAM_CHECK_URI to the relevant pool directory on DEBIAN_MIRRORS. This way we get a stable SRC_URI but still have new upstream release checking.
Fixes:
[YOCTO #10005]
[YOCTO #10040]
The following changes since commit e67395419dcb1142ae6dd4348736a2720d2ebe9d:
nss: fix build for gcc-6 (2016-07-17 11:37:23 -0700)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib maxin/krogoth-next
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=maxin/krogoth-next
Maxin B. John (10):
apmd: use snapshot.debian.org for SRC_URI
ossp-uuid: use snapshot.debian.org for SRC_URI
serf: use snapshot.debian.org for SRC_URI
netbase: use snapshot.debian.org for SRC_URI
docbook-xml-dtd4: use snapshot.debian.org for SRC_URI
linuxdoc-tools: use snapshot.debian.org for SRC_URI
blktool: use snapshot.debian.org for SRC_URI
libaio: use snapshot.debian.org for SRC_URI
mailx: use snapshot.debian.org for SRC_URI
libproxy: use snapshot.debian.org for SRC_URI
Tim Orling (2):
dpkg: use snapshot.debian.org for SRC_URI
at: use snapshot.debian.org for SRC_URI
meta/recipes-bsp/apmd/apmd_3.2.2-15.bb | 3 ++- meta/recipes-core/netbase/netbase_5.3.bb | 3 ++- meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb | 4 +++- meta/recipes-devtools/dpkg/dpkg.inc | 4 ++-- meta/recipes-devtools/dpkg/dpkg_1.18.4.bb | 5 +++-- meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native_0.9.69.bb | 3 ++- meta/recipes-devtools/ossp-uuid/ossp-uuid_1.6.2.bb | 3 ++- meta/recipes-extended/at/at_3.1.18.bb | 4 +++- meta/recipes-extended/blktool/blktool_4-7.bb | 3 ++- meta/recipes-extended/libaio/libaio_0.3.110.bb | 4 +++- meta/recipes-extended/mailx/mailx_12.5-5.bb | 3 ++- meta/recipes-support/libproxy/libproxy_0.4.11.bb | 4 +++- meta/recipes-support/serf/serf_1.3.8.bb | 4 +++- 13 files changed, 32 insertions(+), 15 deletions(-)
Signature · 1 line
2.4.0
PATCH 1/12 apmd: use snapshot.debian.org for SRC_URI
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-bsp/apmd/apmd_3.2.2-15.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-bsp/apmd/apmd_3.2.2-15.bb +2 -1
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ file://apm.h;beginline=6;endline=18;md5=7d4acc1250910a89f84ce3cc6557c4c2" DEPENDS = "libtool-cross" -SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_3.2.2.orig.tar.gz;name=tarball \ +SRC_URI = "http://snapshot.debian.org/archive/debian/20160728T043443Z/pool/main/a/${BPN}/${PN}_3.2.2.orig.tar.gz;name=tarball \ file://legacy.patch \ file://libtool.patch \ file://unlinux.patch \
@@ -26,6 +26,7 @@ SRC_URI[tarball.sha256sum] = "7f7d9f60b7766b852881d40b8ff91d8e39fccb0d1d913102a5 # for this package we're mostly interested in tracking debian patches, # and not in the upstream version where all development has effectively stopped +UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/a/apmd/" UPSTREAM_CHECK_REGEX = "(?P<pver>((\d+\.*)+)-((\d+\.*)+))\.(diff|debian\.tar)\.(gz|xz)" S = "${WORKDIR}/apmd-3.2.2.orig"
Signature · 1 line
2.4.0
PATCH 2/12 ossp-uuid: use snapshot.debian.org for SRC_URI
In reply to Maxin B. JohnUsing ${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
2.4.0
PATCH 3/12 serf: use snapshot.debian.org for SRC_URI
In reply to Maxin B. JohnUsing ${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-support/serf/serf_1.3.8.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-support/serf/serf_1.3.8.bb +3 -1
@@ -1,11 +1,13 @@ SUMMARY = "High-Performance Asynchronous HTTP Client Library" -SRC_URI = "${DEBIAN_MIRROR}/main/s/${BPN}/${BPN}_${PV}.orig.tar.gz \ +SRC_URI = "http://snapshot.debian.org/archive/debian/20160728T043443Z/pool/main/s/${BPN}/${BPN}_${PV}.orig.tar.gz \ file://norpath.patch \ file://env.patch" SRC_URI[md5sum] = "713beaf05d7f3329de121e218e2fcb93" SRC_URI[sha256sum] = "77134cd5010664ca023585bce50978bd4005906ed280ff889f591f86df7c59e4" +UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/s/serf/" + LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
Signature · 1 line
2.4.0
PATCH 4/12 netbase: use snapshot.debian.org for SRC_URI
In reply to Maxin B. JohnUsing ${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-core/netbase/netbase_5.3.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-core/netbase/netbase_5.3.bb +2 -1
@@ -6,13 +6,14 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://debian/copyright;md5=3dd6192d306f582dee7687da3d8748ab" PE = "1" -SRC_URI = "${DEBIAN_MIRROR}/main/n/netbase/netbase_${PV}.tar.xz \ +SRC_URI = "http://snapshot.debian.org/archive/debian/20160728T043443Z/pool/main/n/${BPN}/${BPN}_${PV}.tar.xz \ file://netbase-add-rpcbind-as-an-alias-to-sunrpc.patch \ file://hosts" SRC_URI[md5sum] = "2637a27fd3de02a278d2b5be7e6558c1" SRC_URI[sha256sum] = "81f6c69795044d62b8ad959cf9daf049d0545fd466c52860ad3f933b1e97b88b" +UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/n/netbase/" do_install () { install -d ${D}/${mandir}/man8 ${D}${sysconfdir} install -m 0644 ${WORKDIR}/hosts ${D}${sysconfdir}/hosts
Signature · 1 line
2.4.0
PATCH 5/12 docbook-xml-dtd4: use snapshot.debian.org for SRC_URI
In reply to Maxin B. JohnUsing ${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/docbook-xml/docbook-xml-dtd4_4.5.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb +3 -1
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE-OASIS;md5=c608985dd5f7f215e669e763 # Note: the upstream sources are not distributed with a license file. # LICENSE-OASIS is included as a "patch" to workaround this. When # upgrading this recipe, please verify whether this is still needed. -SRC_URI = "${DEBIAN_MIRROR}/main/d/docbook-xml/docbook-xml_${PV}.orig.tar.gz \ +SRC_URI = "http://snapshot.debian.org/archive/debian/20160728T043443Z/pool/main/d/docbook-xml/docbook-xml_${PV}.orig.tar.gz \ file://LICENSE-OASIS \ file://docbook-xml-update-catalog.xml.patch \ file://docbook-xml.xml \
@@ -20,6 +20,8 @@ SRC_URI = "${DEBIAN_MIRROR}/main/d/docbook-xml/docbook-xml_${PV}.orig.tar.gz \ SRC_URI[md5sum] = "487b4d44e15cffb1f4048af23f98208e" SRC_URI[sha256sum] = "b0f8edcf697f5318e63dd98c9a931f3fee167af0805ba441db372e0f17b2a44f" +UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/d/docbook-xml/" + S="${WORKDIR}/docbook-xml-4.5.c31424" inherit allarch
Signature · 1 line
2.4.0
PATCH 6/12 linuxdoc-tools: use snapshot.debian.org for SRC_URI
In reply to Maxin B. JohnUsing ${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/linuxdoc-tools/linuxdoc-tools-native_0.9.69.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native_0.9.69.bb +2 -1
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=077ef64ec3ac257fb0d786531cf26931" DEPENDS = "groff-native openjade-native" -SRC_URI = "${DEBIAN_MIRROR}/main/l/linuxdoc-tools/linuxdoc-tools_${PV}.orig.tar.gz \ +SRC_URI = "http://snapshot.debian.org/archive/debian/20160728T043443Z/pool/main/l/${BPN}/${BPN}_${PV}.orig.tar.gz \ file://disable_sgml2rtf.patch \ file://disable_txt_doc.patch \ file://disable_tex_doc.patch \
@@ -14,6 +14,7 @@ SRC_URI = "${DEBIAN_MIRROR}/main/l/linuxdoc-tools/linuxdoc-tools_${PV}.orig.tar. SRC_URI[md5sum] = "1d13d500918a7a145b0edc2f16f61dd1" SRC_URI[sha256sum] = "7103facee18a2ea97186ca459d743d22f7f89ad4b5cd1dfd1c34f83d6bfd4101" +UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/l/linuxdoc-tools/" inherit autotools-brokensep native do_configure () {
Signature · 1 line
2.4.0
PATCH 7/12 blktool: use snapshot.debian.org for SRC_URI
In reply to Maxin B. JohnUsing ${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-extended/blktool/blktool_4-7.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-extended/blktool/blktool_4-7.bb +2 -1
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ DEPENDS = "glib-2.0" -SRC_URI = "${DEBIAN_MIRROR}/main/b/blktool/blktool_4.orig.tar.gz;name=tarball \ +SRC_URI = "http://snapshot.debian.org/archive/debian/20160728T043443Z/pool/main/b/${BPN}/${BPN}_4.orig.tar.gz;name=tarball \ file://0001-fix-typos-in-manpage.patch \ file://0002-fix-string-error.patch \ file://0003-Fix-3-d-argument-for-BLKROSET-it-must-be-const-int.patch \
@@ -20,6 +20,7 @@ SRC_URI[tarball.sha256sum] = "b1e6d5912546d2a4b704ec65c2b9664aa3b4663e7d800e0680 # for this package we're mostly interested in tracking debian patches, # and not in the upstream version where all development has effectively stopped +UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/b/blktool/" UPSTREAM_CHECK_REGEX = "(?P<pver>((\d+\.*)+)-((\d+\.*)+))\.(diff|debian\.tar)\.(gz|xz)" S = "${WORKDIR}/${BPN}-4.orig"
Signature · 1 line
2.4.0
PATCH 8/12 libaio: use snapshot.debian.org for SRC_URI
In reply to Maxin B. JohnUsing ${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-extended/libaio/libaio_0.3.110.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-extended/libaio/libaio_0.3.110.bb +3 -1
@@ -5,7 +5,7 @@ HOMEPAGE = "http://lse.sourceforge.net/io/aio.html" LICENSE = "LGPLv2.1+" LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499" -SRC_URI = "${DEBIAN_MIRROR}/main/liba/libaio/libaio_${PV}.orig.tar.gz \ +SRC_URI = "http://snapshot.debian.org/archive/debian/20160728T043443Z/pool/main/liba/${BPN}/${BPN}_${PV}.orig.tar.gz \ file://generic-arch-dectection-for-padding-defines.patch \ file://00_arches.patch \ file://destdir.patch \
@@ -17,6 +17,8 @@ SRC_URI = "${DEBIAN_MIRROR}/main/liba/libaio/libaio_${PV}.orig.tar.gz \ SRC_URI[md5sum] = "2a35602e43778383e2f4907a4ca39ab8" SRC_URI[sha256sum] = "e019028e631725729376250e32b473012f7cb68e1f7275bfc1bbcdd0f8745f7e" +UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/liba/libaio/" + EXTRA_OEMAKE =+ "prefix=${prefix} includedir=${includedir} libdir=${libdir}" do_install () {
Signature · 1 line
2.4.0
PATCH 9/12 mailx: use snapshot.debian.org for SRC_URI
In reply to Maxin B. JohnUsing ${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-extended/mailx/mailx_12.5-5.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-extended/mailx/mailx_12.5-5.bb +2 -1
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4202a0a62910cf94f7af8a3436a2a2dd" DEPENDS = "openssl" -SRC_URI = "${DEBIAN_MIRROR}/main/h/heirloom-mailx/heirloom-mailx_12.5.orig.tar.gz;name=archive \ +SRC_URI = "http://snapshot.debian.org/archive/debian/20160728T043443Z/pool/main/h/heirloom-mailx/heirloom-mailx_12.5.orig.tar.gz;name=archive \ file://0001-Don-t-reuse-weak-symbol-optopt-to-fix-FTBFS-on-mips.patch \ file://0002-Patched-out-SSL2-support-since-it-is-no-longer-suppo.patch \ file://0003-Fixed-Lintian-warning-warning-macro-N-not-defined.patch \
@@ -28,6 +28,7 @@ SRC_URI[archive.sha256sum] = "015ba4209135867f37a0245d22235a392b8bbed956913286b8 # for this package we're mostly interested in tracking debian patches, # and not in the upstream version where all development has effectively stopped +UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/h/heirloom-mailx/" UPSTREAM_CHECK_REGEX = "(?P<pver>((\d+\.*)+)-((\d+\.*)+))\.(diff|debian\.tar)\.(gz|xz)" S = "${WORKDIR}/heirloom-mailx-12.5"
Signature · 1 line
2.4.0
PATCH 10/12 dpkg: use snapshot.debian.org for SRC_URI
In reply to Maxin B. JohnFrom: Tim Orling <[email protected]>
From Ross Burton (commit 1d39e4c145925e4517dc7fbb6f83767e883bb3c6)
Using ${DEBIAN_MIRROR} for SRC_URI doesn't work very well as that will only contain releases that are currently in Debian, so currently doesn't contain 1.18.4 as unstable has moved on to 1.18.9.
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 #10005]
--- meta/recipes-devtools/dpkg/dpkg.inc | 4 ++-- meta/recipes-devtools/dpkg/dpkg_1.18.4.bb | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-)
meta/recipes-devtools/dpkg/dpkg.inc +2 -2
@@ -2,8 +2,6 @@ SUMMARY = "Package maintenance system from Debian" LICENSE = "GPLv2.0+" SECTION = "base" -SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.xz" - SRC_URI_append_class-native = " file://0001-When-running-do_package_write_deb-we-have-trees-of-h.patch" DEPENDS = "zlib bzip2 perl ncurses"
@@ -11,6 +9,8 @@ DEPENDS_class-native = "bzip2-replacement-native zlib-native virtual/update-alte RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} xz run-postinsts perl" RDEPENDS_${PN}_class-native = "xz-native" +UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/d/dpkg/" + inherit autotools gettext perlnative pkgconfig systemd python () {
meta/recipes-devtools/dpkg/dpkg_1.18.4.bb +3 -2
@@ -1,8 +1,8 @@ require dpkg.inc LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" -SRC_URI_append_class-native =" file://glibc2.5-sync_file_range.patch " -SRC_URI += "file://noman.patch \ +SRC_URI += "http://snapshot.debian.org/archive/debian/20160509T100042Z/pool/main/d/${BPN}/${BPN}_${PV}.tar.xz \ + file://noman.patch \ file://remove-tar-no-timestamp.patch \ file://fix-abs-redefine.patch \ file://arch_pm.patch \
@@ -14,6 +14,7 @@ SRC_URI += "file://noman.patch \ file://0005-dpkg-compiler.m4-remove-Wvla.patch \ file://0006-add-musleabi-to-known-target-tripets.patch \ " +SRC_URI_append_class-native =" file://glibc2.5-sync_file_range.patch " SRC_URI[md5sum] = "e95b513c89693f6ec3ab53b6b1c3defd" SRC_URI[sha256sum] = "fe89243868888ce715bf45861f26264f767d4e4dbd0d6f1a26ce60bbbbf106da"
Signature · 1 line
2.4.0
PATCH 11/12 at: use snapshot.debian.org for SRC_URI
In reply to Maxin B. JohnFrom: Tim Orling <[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 currently doesn't contain 3.1.18 as unstable has moved on to 3.1.20.
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 #10005]
--- meta/recipes-extended/at/at_3.1.18.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-extended/at/at_3.1.18.bb +3 -1
@@ -15,7 +15,7 @@ PAM_DEPS = "libpam libpam-runtime pam-plugin-env pam-plugin-limits" RCONFLICTS_${PN} = "atd" RREPLACES_${PN} = "atd" -SRC_URI = "${DEBIAN_MIRROR}/main/a/at/at_${PV}.orig.tar.gz;subdir=${BP} \ +SRC_URI += "http://snapshot.debian.org/archive/debian/20160509T100042Z/pool/main/a/${BPN}/${BPN}_${PV}.orig.tar.gz;subdir=${BP} \ file://fix_parallel_build_error.patch \ file://posixtm.c \ file://posixtm.h \
@@ -28,6 +28,8 @@ SRC_URI = "${DEBIAN_MIRROR}/main/a/at/at_${PV}.orig.tar.gz;subdir=${BP} \ file://configure-fix-with-without-selinux.patch \ " +UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/a/at/" + PAM_SRC_URI = "file://pam.conf.patch \ file://configure-add-enable-pam.patch"
Signature · 1 line
2.4.0
Re: [krogoth][PATCH 11/12] at: use snapshot.debian.org for SRC_URI
Maxim,
Quoted 6 lines · Maxin B. John
From: Tim Orling <[email protected]>
Using ${DEBIAN_MIRROR} for
SRC_URIdoesn't work very well as that will only contain releases that are currently in Debian, so currently doesn't contain 3.1.18 as unstable has moved on to 3.1.20.
Quoted 8 lines
So, move all of
SRC_URIto the .bb so it can use snapshot.debian.org instead, and setUPSTREAM_CHECK_URIto ${DEBIAN_MIRROR} so upstream release checking continues to work.[YOCTO #10005]
Signed-off-by Tim Orling <[email protected]>Signed-off-by Maxin B. John <[email protected]>
I pulled this version in from another request.
-armin
Quoted 27 lines
--- meta/recipes-extended/at/at_3.1.18.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)meta/recipes-extended/at/at_3.1.18.bb +3
-1@@ -15,7 +15,7 @@ PAM_DEPS = "libpam libpam-runtime pam-plugin-env pam-plugin-limits" RCONFLICTS_${PN} = "atd" RREPLACES_${PN} = "atd" -SRC_URI = "${DEBIAN_MIRROR}/main/a/at/at_${PV}.orig.tar.gz;subdir=${BP} \ +SRC_URI += "http://snapshot.debian.org/archive/debian/20160509T100042Z/pool/main/a/${BPN}/${BPN}_${PV}.orig.tar.gz;subdir=${BP} \ file://fix_parallel_build_error.patch \ file://posixtm.c \ file://posixtm.h \@@ -28,6 +28,8 @@ SRC_URI = "${DEBIAN_MIRROR}/main/a/at/at_${PV}.orig.tar.gz;subdir=${BP} \ file://configure-fix-with-without-selinux.patch \ " +UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/a/at/" + PAM_SRC_URI = "file://pam.conf.patch \ file://configure-add-enable-pam.patch"
PATCH 12/12 libproxy: use snapshot.debian.org for SRC_URI
In reply to Maxin B. JohnUsing ${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-support/libproxy/libproxy_0.4.11.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-support/libproxy/libproxy_0.4.11.bb +3 -1
@@ -8,13 +8,15 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \ DEPENDS = "glib-2.0" -SRC_URI = "${DEBIAN_MIRROR}/main/libp/${BPN}/${BPN}_${PV}.orig.tar.gz \ +SRC_URI = "http://snapshot.debian.org/archive/debian/20160728T043443Z/pool/main/libp/${BPN}/${BPN}_${PV}.orig.tar.gz \ file://0001-test-Include-sys-select.h-for-select.patch \ " SRC_URI[md5sum] = "3cd1ae2a4abecf44b3f24d6639d2cd84" SRC_URI[sha256sum] = "dc3f33de54163718f82b3e7c496a7de97f8862578414b8ecaad3cbfe4821864b" +UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/libp/libproxy/" + inherit cmake pkgconfig PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gnome', '', d)} gnome3"
Signature · 1 line
2.4.0
Quoted 6 lines · Maxin B. John
Recipes that use
DEBIAN_MIRRORinSRC_URIare setting themselves up for failure
as the Debian mirror network only stores active releases, so once a version we
use isn't in oldstable/stable/testing/unstable then it will be removed.
Quoted 7 lines
The solution here is to use the snapshot.debian.org service for the
SRC_URI,
and setUPSTREAM_CHECK_URIto the relevant pool directory onDEBIAN_MIRRORS.
This way we get a stableSRC_URIbut still have new upstream release checking.
Will these all apply to master too?
Ross
Hi Ross,
9 out of those 12 patches applies to master. I have pushed those here:
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=maxin/10040
Will update and push the other patches soon.
Best regards,
Maxin
From: Burton, Ross [mailto:[email protected]]
Sent: Thursday, July 28, 2016 5:39 PM
To: John, Maxin <[email protected]>
Cc: OE-core <[email protected]>
Subject: Re: [OE-core] [krogoth] [PATCH 00/12] fix checkuri failures for krogoth
On 28 July 2016 at 15:04, Maxin B. John <[email protected]<mailto:[email protected]>> wrote:
Recipes that use DEBIAN_MIRROR in SRC_URI are setting themselves up for failure
as the Debian mirror network only stores active releases, so once a version we
use isn't in oldstable/stable/testing/unstable then it will be removed.
The solution here is to use the snapshot.debian.org<http://snapshot.debian.org> service for the SRC_URI, and set UPSTREAM_CHECK_URI to the relevant pool directory on DEBIAN_MIRRORS.
This way we get a stable SRC_URI but still have new upstream release checking.
Will these all apply to master too?
Ross
[krogoth] Backport Request: pulseaudio: Disable unit tests
In reply to Burton, RossCan I please get master commit 92cfdb2ba7e04e2b70986c6569f500dd2a48b5d1 backported to krogoth?
Thanks,
Mike