Mass build failure, font sub-package issue

Dennis Gilmore dennis at ausil.us
Thu Feb 26 00:53:54 UTC 2009


On Wednesday 25 February 2009 02:22:30 am Roy Rankin wrote:
> The mass build of one of my packages denemo returned a state of failed.
> http://koji.fedoraproject.org/koji/taskinfo?taskID=1156407
> In fact all builds were successful, but the font sub-package seems to
> have failed registration in some database. The message is as follows:
>
>   pg.DatabaseError: error 'ERROR:  duplicate key value violates unique
> constraint "rpminfo_unique_nvra"
> ' in 'INSERT INTO rpminfo (id,name,version,release,epoch,
>              build_id,arch,buildtime,buildroot_id,
>              external_repo_id,
>              size,payloadhash)
>      VALUES (1029749,'denemo-music-fonts','4.10','1.fc11',NULL,
>              85033,'ppc',1235475226,360846,
>              0,
>              30525,'27dfe803f57d46e4487375d3a0c68bf6')
koji only allows for one nvr (name-version-release) of a rpm ever. if you used 
an epoch on each build to make things newer you would hit the same issue.  you 
can use a different nvr  for a subpackage if you have a good reason for doing 
so but each rpm from each build needs to have a unique nvr.

Dennis




More information about the fedora-devel-list mailing list