Adam Williamson <adamw...@fedoraproject.org> writes:

>> > On Fri, 2017-10-13 at 10:38 -0700, Josh Stone wrote:
>> > > On 10/12/2017 05:34 PM, Adam Williamson wrote:
>> > > > In this case there's an even worse consequence; if you do attempt to
>> > > > update to nss 3.33.0 without nspr 4.17.0 dnf will 'skip' *most* of the
>> > > > nss packages (as it notices that they are missing dependencies), but it
>> > > > *will* install nss-softokn-freebl . With this mix of packages (most of
>> > > > nss at 3.32.0, but nss-softokn-freebl at 3.33.0), nss and anything that
>> > > > depends on it just fails to work at all - e.g. curl and dnf...so that's
>> > > > an extremely bad outcome.
>> > > 
>> > > Then isn't this a packaging bug?  They currently use ">=" requirements,
>> > > but if a greater version doesn't work, shouldn't they be "="?
>> > 
>> > Well, there's *additionally* probably a packaging bug, yeah: nss-
>> > softokn-freebl should be more strictly tied to the other packages.
>> 
>> I still don't figure out why this causes a problem.  nss-softokn-freebl
>> is parallel installable with older nss* packages and that could run into
>> a problem if nss-softokn-freebl used a new symbol from a newer nspr.
>> However, as far as I know nspr 4.17 doesn't add any new symbol so it's
>> shouldn't be a problem at least in this case.
>
> I definitely observed the half-upgraded case causing problems, but
> didn't really prove that it was the nss-softokn-freebl causing the
> problem, I guess. I suppose it could equally well just have been a
> mismatch between NSS 3.32.0 and NSPR 4.17.0?

I realized that this is an ABI issue between nss-softokn-freebl and
nss-util, not nspr.  The upstream bug[1] introduced the aligned malloc
functions which are only available in the newer nss-util package in
Fedora[2] (not that nss-softokn-freebl dlopen's nspr and nss-util).

I guess the fix would be to add either a versioned dependency on
nss-util or stubs for those functions in nss-softokn-freebl.

As this issue makes rpm non-functional, I would suggest people to ensure
that nss-util is updated to 3.33 before updating nss-softokn-freebl,
until it is fixed.

Footnotes: 
[1]  https://bugzilla.mozilla.org/show_bug.cgi?id=1390129

[2]  
https://taskotron.fedoraproject.org/artifacts/all/f2a2d24a-a82f-11e7-b9f4-525400817a8f/task_output/nss-util-3.33.0-1.0.fc26.log

Regards,
-- 
Daiki Ueno
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to