FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 06-28-2010, 05:53 AM
Ralf Corsepius
 
Default samba4 NVR koji issue

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
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 06-28-2010, 06:35 AM
Mamoru Tasaka
 
Default samba4 NVR koji issue

Ralf Corsepius wrote, at 06/28/2010 02:53 PM +9:00:
> 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

rawhide samba4.spec says;
--------------------------------------------
1 %define main_release 23

13 %define samba4_release %{main_release}.%{pre_release}%{?dist}

16 %define talloc_release %{main_release}%{?dist}
17 %define tdb_release %{main_release}%{?dist}
18 %define tevent_release %{main_release}%{?dist}
19 %define ldb_release %{main_release}%{?dist}

43 Name: samba4
44 Version: %{samba4_version}
45 Release: %{samba4_release}.2

263 %package -n libldb
267 Release: %{ldb_release}
----------------------------------------------

So %ldb_release has not changed since the previous build and koji raises
error. Changing %main_release will fix the error.

Mamoru

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 06-28-2010, 12:18 PM
Dennis Gilmore
 
Default samba4 NVR koji issue

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.

Dennis


--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 06-28-2010, 12:24 PM
Ralf Corsepius
 
Default samba4 NVR koji issue

On 06/28/2010 02:18 PM, Dennis Gilmore wrote:
> 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
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 

Thread Tools




All times are GMT. The time now is 10:16 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org