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

Pascal Terjan pterjan at gmail.com
Sun Feb 26 22:18:37 CET 2012


On Sun, Feb 26, 2012 at 20:18, D.Morgan <dmorganec at gmail.com> 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.
>
> 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.

pkgconfig(*) provides are generated from info in the pkg config file,
epoch should not be used there


More information about the Mageia-dev mailing list