#5358 <class 'pg.DatabaseError'>: error 'ERROR: duplicate key value violates unique constraint "rpminfo_unique_nvra"
Closed: Invalid None Opened 11 years ago by jnovy.

Hello,

I have tried multiple times to build TeX Live 2012 for F18. Here we go with the builds:

http://koji.fedoraproject.org/koji/taskinfo?taskID=4570925
http://koji.fedoraproject.org/koji/taskinfo?taskID=4572694
http://koji.fedoraproject.org/koji/taskinfo?taskID=4573282

All built successfully but task failed on koji side. Once because of:
GenericError: Error importing archive file, /mnt/koji/packages/texlive/2012/2.20120926_r27815.fc18/src/texlive-2012-2.20120926_r27815.fc18.src.rpm already exists

which was likely because koji servers went out of sync. But other two ones failed with these messages:

Build1:

<class 'pg.DatabaseError'>: error 'ERROR: duplicate key value violates unique constraint "rpminfo_unique_nvra"
' in 'INSERT INTO rpminfo (build_id, name, arch, buildtime, payloadhash, epoch, version, buildroot_id, release, external_repo_id, id, size) VALUES (358957, 'texlive-latex4wp-it-doc', 'noarch', 1349771456, 'b3d436fccfc6381b940c96beb7e8c7e2', 1, '0.svn22335', 1477467, '3.20120926_r27815', 0, 3406193, 683252)'

Build2:

<class 'pg.DatabaseError'>: error 'ERROR: duplicate key value violates unique constraint "rpminfo_unique_nvra"
' in 'INSERT INTO rpminfo (build_id, name, arch, buildtime, payloadhash, epoch, version, buildroot_id, release, external_repo_id, id, size) VALUES (358828, 'texlive-cachepic-bin', 'noarch', 1349710556, '4f2ce2cf4917a67af027cef2c891b249', 1, '2012', 1476971, '0.svn15543.2.20120926_r27815', 0, 3400871, 9664)'

Any ideas how to fix it?

Thanks!


Maybe bogus warning. Could be caused by the missing %dist tag for noarch packages (as a remainder for distro-independent builds). Will try to build it with %dist tag for every package and eventually close this one if it fixes the build.

Ok, closing this one. It seems to be really caused by missing %dist tag for noarch packages. Having a different issue with koji build now. Will file separate ticket.

Metadata Update from @jnovy:
- Issue set to the milestone: Fedora 18 Alpha

7 years ago

Login to comment on this ticket.

Metadata