<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>36482</bug_id>
          
          <creation_ts>2019-03-31 22:35:30 +0300</creation_ts>
          <short_desc>bad src_id was saved (with a space)</short_desc>
          <delta_ts>2019-04-01 04:18:05 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Infrastructure</classification>
          <product>Infrastructure</product>
          <component>girar</component>
          <version>unspecified</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>36377</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="Dmitry V. Levin">ldv</assigned_to>
          <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>vseleznv</cc>
          
          <qa_contact name="Andrey Cherepanov">cas</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>180243</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2019-03-31 22:35:30 +0300</bug_when>
    <thetext>2019-Mar-31 16:36:09 :: lasso.git 2.5.1-alt1: package `lasso&apos; version `2.5.1-alt1&apos; was already built from a different source: ` :gear:10980e29f29eca835a5d388a8c4d67b6420238fc&apos;

Obviously, the problem is that the saved src_id has a whitespace at the beginning.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180247</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2019-04-01 04:06:08 +0300</bug_when>
    <thetext>That&apos;s because the index is broken:

$ grep -F 2.5.1-alt1 /ALT/repo/c8.1/index/src/l/lasso/d-t-s-evr.list
1516384211	198313	-	2.5.1-alt1
1544173949	217214	300	2.5.1-alt1gear:10980e29f29eca835a5d388a8c4d67b6420238fc
[ldv@wom SRPMS]$ sed -rn &apos;s/^([^[:space:]]+[[:space:]]){3}2\.5\.1-alt1([[:space:]]([^[:space:]]+))?$/:\3/p&apos; /ALT/repo/c8.1/index/src/l/lasso/d-t-s-evr.list
:
:gear:10980e29f29eca835a5d388a8c4d67b6420238fc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180248</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2019-04-01 04:08:08 +0300</bug_when>
    <thetext>That&apos;s because the index is broken:

$ grep -F 2.5.1-alt1 /ALT/repo/c8.1/index/src/l/lasso/d-t-s-evr.list
1516384211	198313	-	2.5.1-alt1
1544173949	217214	300	2.5.1-alt1	gear:10980e29f29eca835a5d388a8c4d67b6420238fc

$ sed -rn &apos;s/^([^[:space:]]+[[:space:]]){3}2\.5\.1-alt1([[:space:]]([^[:space:]]+))?$/:\3/p&apos; /ALT/repo/c8.1/index/src/l/lasso/d-t-s-evr.list
:
:gear:10980e29f29eca835a5d388a8c4d67b6420238fc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180249</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2019-04-01 04:18:05 +0300</bug_when>
    <thetext>Indices are buggy.

*** This bug has been marked as a duplicate of bug 36377 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>