[Mageia-dev] [packages-commits] [215093] SILENT: Fix install

David Walser luigiwalser at yahoo.com
Sun Feb 26 23:20:35 CET 2012


D.Morgan wrote:
> On Sun, Feb 26, 2012 at 1:50 PM, David Walser <luigiwalser at yahoo.com> wrote:
>> Luc Menut wrote:
>>> Le 26/02/2012 10:12, root at mageia.org a écrit :
>>>> Revision
>>>>     215093
>>>> Author
>>>>     dmorgan
>>>> Date
>>>>     2012-02-26 10:12:36 +0100 (Sun, 26 Feb 2012)
>>>>
>>> [...]
>>>> @@ -75,7 +74,7 @@
>>>>   Requires(post):    nss
>>>>   Requires(post):    rpm-helper
>>>>   Requires:  %{mklibname sqlite3_ 0}>= %{sqlite3_version}
>>>> -Requires:   %{nspr_libname}>= 2:%{nspr_version}
>>>> +Requires:   %{nspr_libname}>= %{nspr_version}
>>>>
>>>
>>> I think epoch is needed here.
>>> with lib64nss3-3.13.3-3.mga2
>>> rpm -q --requires lib64nss3
>>> nss
>>> rpm-helper
>>> lib64sqlite3_0 >= 3.7.10
>>> lib64nspr4 >= 4.9
>>>
>>> but lib64nspr4-4.9-3.mga2 provides
>>> rpm -q --provides lib64nspr4
>>> nspr = 2:4.9-3.mga2
>>> mozilla-nspr = 2:4.9-3.mga2
>>> ...
>>> lib64nspr4 = 2:4.9-3.mga2
>>> lib64nspr4(x86-64) = 2:4.9-3.mga2
>>
>> Yes, that change looked incorrect to me too.  I don't believe anything in nss was actually wrong/broken.  It was just relying on nspr
>> reporting the correct version through pkg-config, which it was not.  It looks like my fix for that was successful.
>>
> 
> no your fix BROKE the BS.  so i workarounded here to allow to push and nss.
> Please next time before updating core packages, build and install in
> your machine or in a chroot.

No it didn't.  The update to nspr 4.9 (which I didn't do) caused the breakage, which was seen as soon as nss was rebuilt (which I did).  I 
didn't make any functional changes to nss.  The fix I put into nspr (after the BS got broken), did seem to work, as nss rebuilt against it 
successfully and was installable again afterward.  And yes, I acknowleged that I should have installed it locally first and apologize.

> The pb here that i didn't passed to fix ( and was early in the night
> for me ) so i didn't had time to fix.
> 
> But this morning if i added the epoch i obtained :
> 
> $ rpmbuild -ba SPECS/nss.spec
> error: Failed build dependencies:
>         pkgconfig(nspr) >= 2:4.9 is needed by nss-2:3.13.3-3.mga2.i586
> 
> But in nspr if i look to the provides i can see:
> 
> pkgconfig(nspr) = 4.9             so seems this is wrong here.
> 
> 
> Any hint ?

The epoch shouldn't be needed with the pkgconfig Require that you switched to, since it's provided virtually without an Epoch.  The libnspr4 
require that Luc commented on should have the Epoch still (although I don't think removing it technically breaks anything, but it does 
basically make it so that the version of the require isn't enforced).



More information about the Mageia-dev mailing list