<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>10040</bug_id>
          
          <creation_ts>2016-07-27 19:33:20 +0000</creation_ts>
          <short_desc>Some recipes use DEBIAN_MIRROR for SRC_URI</short_desc>
          <delta_ts>2016-08-01 11:19:34 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>2.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>Backport to Krogoth</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.2 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Maxin B. John">maxin.john</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>tim.orling</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>64550</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-07-27 19:33:20 +0000</bug_when>
    <thetext>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&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64551</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-07-27 19:35:07 +0000</bug_when>
    <thetext>Missed some:

- apm
- docbook-xml-dtd4
- linuxdoc-tools
- at
- blktool
- libaio
- mailx</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64553</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2016-07-27 20:21:59 +0000</bug_when>
    <thetext>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&apos;s dpkg fix on master-next.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64580</commentid>
    <comment_count>3</comment_count>
    <who name="Maxin B. John">maxin.john</who>
    <bug_when>2016-07-28 14:13:03 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; Related to [YOCTO #10005].
&gt; 
&gt; Partial fix (for krogoth) in:
&gt; http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=timo/krogoth-
&gt; checkuri-10005
&gt; 
&gt; Based on Ross&apos;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64721</commentid>
    <comment_count>4</comment_count>
    <who name="Maxin B. John">maxin.john</who>
    <bug_when>2016-08-01 11:19:34 +0000</bug_when>
    <thetext>Fix available in master branch now:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f5a7cd40f0075ef8e3dabc29850b4c3a22f837e2</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>