koji's mergerepos does not consider epoch tag

Atanas Zhelev atanas.zhelev at opencode.com
Mon Feb 2 09:22:43 UTC 2015


On Friday, January 30, 2015 10:29:37 PM Allen Hewes wrote:
> > i'm using external repository with various vendor supplied rpm's in
> > koji. One of those rpm's had it's versioning schema changed and it uses
> > epoch tag now.
> > After regeneration of the build tags koji does not see the new package.
> > It looks like mergerepos ignores the epoch tag. The "old" rpm which
> > actually has a higher version number if epoch is not considered is
> > included instead.
> > Can you offer any advice?
> 
> 
> Hi Atanas,
> 
> Have you tried the latest:
> http://koji.fedoraproject.org/koji/buildinfo?buildID=605087
> 
> For me, mergerepo (from EPEL 7) was broken. I was experiencing this:
> https://bugzilla.redhat.com/show_bug.cgi?id=1058975
> 
> /allen
> 

Hi Allen,

thanks for the pointers but it seems that's not it.
Koji actually executes /usr/libexec/kojid/mergerepos which is provided by the 
package koji-builder. createrepo package provides /usr/bin/mergerepo. So koji 
has its own mergerepo command.

I ran /usr/bin/mergerepo manually and the generated metadata did have the new 
package with the epoch tag. A bug in koji's version of mergerepos maybe?

This is with koji 1.8.0 running on RHEL6.

--
BR
Atanas



More information about the buildsys mailing list