[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#882255: libc6-amd64: Multilib causes catastrophic system failure during upgrade to libc 2.25



On 2017-11-26 09:21, Bastian Blank wrote:
> On Sun, Nov 26, 2017 at 09:13:52AM +0100, Bastian Blank wrote:
> > It seems that ldconfig does not force the collation to a value that
> > would make it use the claimed sorting.

This is indeed correct, that said it's not true for the locale of the
reporter, ie cz_CZ.utf8, so I am afraid there is another bug there,
probably related though.

> ldconfig:
> -> setlocale (LC_ALL, "")

This is done for ldconfig to be able to display localized messages.

> -> glob()
>    -> qsort(strcoll-equiv)
> 
> Other occurances of similar bugs: https://bugs.debian.org/600310

I see two way of fixing this issue:
- make sure the directories are sorted in a locale independent way
- update debian/patches/any/local-ldconfig-multiarch.diff to add
  standard search paths before the configured ones.

While this is definitely a bug, I still believe that we should not allow
the installation of libc6:amd64 and libc6-amd64:i386 together and that
gcc should be able to use the multiarch library as an alternative to the
multilib one, so that users are not forced to install two almost
identical libc on their systems, with the consequences we see.

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: