Bug 36482

Summary: bad src_id was saved (with a space)
Product: Infrastructure Reporter: Ivan Zakharyaschev <imz>
Component: girarAssignee: Dmitry V. Levin <ldv>
Status: CLOSED DUPLICATE QA Contact: Andrey Cherepanov <cas>
Severity: major    
Priority: P3 CC: glebfm, ldv, vseleznv
Version: unspecified   
Hardware: all   
OS: Linux   

Description Ivan Zakharyaschev 2019-03-31 22:35:30 MSK
2019-Mar-31 16:36:09 :: lasso.git 2.5.1-alt1: package `lasso' version `2.5.1-alt1' was already built from a different source: ` :gear:10980e29f29eca835a5d388a8c4d67b6420238fc'

Obviously, the problem is that the saved src_id has a whitespace at the beginning.
Comment 1 Dmitry V. Levin 2019-04-01 04:06:08 MSK
That'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 's/^([^[:space:]]+[[:space:]]){3}2\.5\.1-alt1([[:space:]]([^[:space:]]+))?$/:\3/p' /ALT/repo/c8.1/index/src/l/lasso/d-t-s-evr.list
:
:gear:10980e29f29eca835a5d388a8c4d67b6420238fc
Comment 2 Dmitry V. Levin 2019-04-01 04:08:08 MSK
That'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 's/^([^[:space:]]+[[:space:]]){3}2\.5\.1-alt1([[:space:]]([^[:space:]]+))?$/:\3/p' /ALT/repo/c8.1/index/src/l/lasso/d-t-s-evr.list
:
:gear:10980e29f29eca835a5d388a8c4d67b6420238fc
Comment 3 Dmitry V. Levin 2019-04-01 04:18:05 MSK
Indices are buggy.

*** This bug has been marked as a duplicate of bug 36377 ***