On Monday, June 28, 2010 12:53:10 am Ralf Corsepius wrote:
> Hi,
>
> The samba4 package in rawhide would need a rebuild for perl-5.12.x.
> However building fails with strange error message[1]:
>
> samba4-4.0.0-23.alpha11.fc14.2 (180065) failed on
>
ppc06.phx2.fedoraproject.org (noarch):
> 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 (2040153,'libldb','0.9.10','23.fc14',NULL,
> 180065,'x86_64',1277703280,817980,
> 0,
> 92284,'d6b89d2b4392b352ca380da7b2565b13')
>
> Any explanation? How to fix this?
>
> Ralf
>
> [1]
http://koji.fedoraproject.org/koji/taskinfo?taskID=2276457
koji ensures all rpms built have a unique nvr. your doing something that
causes the binary rpms to have the same nvr as a previous successful build you
will need to bump things.
No disagreement, except ...
* that I did not understand this error message.
* I was taken by surprise, because both a preceeding scratch built and a
preceeding local mock-build did not exhibit this bug. Only the "final
built" has exhibited this error.
* There had been other attempts by other people to rebuild samba4 which
had failed with a similar error.
The work around was what Mamoru said.
Ralf