Bug 10040 - Some recipes use DEBIAN_MIRROR for SRC_URI
Summary: Some recipes use DEBIAN_MIRROR for SRC_URI
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.1
Hardware: All Multiple
: Medium normal
Target Milestone: 2.2 M3
Assignee: Maxin B. John
QA Contact:
URL:
Whiteboard: Backport to Krogoth
Depends on:
Blocks:
 
Reported: 2016-07-27 19:33 UTC by Ross Burton
Modified: 2016-08-01 11:19 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ross Burton 2016-07-27 19:33:20 UTC
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.  As an example of this, see the recent dpkg patch I submitted.

The following recipes in oe-core still use DEBIAN_MIRROR in their SRC_URI:

- ossp-uuid
- serf
- netbase

These should be switched to use snapshot.debian.org.
Comment 1 Ross Burton 2016-07-27 19:35:07 UTC
Missed some:

- apm
- docbook-xml-dtd4
- linuxdoc-tools
- at
- blktool
- libaio
- mailx
Comment 2 Tim Orling 2016-07-27 20:21:59 UTC
Related to [YOCTO #10005].

Partial fix (for krogoth) in:
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=timo/krogoth-checkuri-10005

Based on Ross's dpkg fix on master-next.
Comment 3 Maxin B. John 2016-07-28 14:13:03 UTC
(In reply to comment #2)
> Related to [YOCTO #10005].
> 
> Partial fix (for krogoth) in:
> http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=timo/krogoth-
> checkuri-10005
> 
> Based on Ross's dpkg fix on master-next.

Sent the patches along with these fixes, Thanks!

http://lists.openembedded.org/pipermail/openembedded-core/2016-July/124448.html
Comment 4 Maxin B. John 2016-08-01 11:19:34 UTC
Fix available in master branch now:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f5a7cd40f0075ef8e3dabc29850b4c3a22f837e2