From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#26948: gnutls errors on multiple guix commands Date: Fri, 26 May 2017 10:56:48 +0200 Message-ID: <87vaoovvvz.fsf@gnu.org> References: <8737c51e6r.fsf@gmail.com> <87shk3y74g.fsf@gnu.org> <8737btieie.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEB4P-0001qq-3X for bug-guix@gnu.org; Fri, 26 May 2017 04:58:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dEB4L-00051y-Uq for bug-guix@gnu.org; Fri, 26 May 2017 04:58:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35924) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dEB4L-00051q-Rl for bug-guix@gnu.org; Fri, 26 May 2017 04:58:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dEB4L-0004iy-KT for bug-guix@gnu.org; Fri, 26 May 2017 04:58:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <8737btieie.fsf@gmail.com> (Maxim Cournoyer's message of "Thu, 25 May 2017 00:26:01 -0700") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Maxim Cournoyer Cc: 26948@debbugs.gnu.org Hi Maxim, Maxim Cournoyer skribis: > It seems that the problem is caused by the file: > "/etc/ssl/certs/AC_Ra\303\255z_Certic\303\241mara_S.A.:2.15.7.126.82.147.= 123.224.21.227.87.240.105.140.203.236.12.p". Indeed. > The strange thing is that it shouldn't even get into the `files' > variable since we are scanning for files ending with a ".pem" suffix. > > ls /etc/ssl/certs/AC*2.15.7.126* > /etc/ssl/certs/AC_Ra=C3=ADz_Certic=C3=A1mara_S.A.:2.15.7.126.82.147.123.2= 24.21.227.87.240.105.140.203.236.12.pem > > > It looks like I have a locale problem? In my operating-system > definition, I'm using (locale "en_US.UTF-8") and the locale-definitions > field is not set (which means it's using %DEFAULT-LOCALE-DEFINITIONS). I > also have the following installed in my user profile: > > guix package -I locale > glibc-locales 2.25 out /gnu/store/2d97vjjx23w3bhwp4sbylwcx6l5fy8= g2-glibc-locales-2.25 > > > Finally, > > set | grep LOC > GUIX_LOCPATH=3D/run/current-system/locale > XTERM_LOCALE=3Den_US.UTF-8 Does the =E2=80=98guix=E2=80=99 command say =E2=80=9Cfailed to install loca= le=E2=80=9D? It probably does, which explains why it fails to decode the file name. Strangely that file name has question marks instead of the non-ASCII characters on my GuixSD system: --8<---------------cut here---------------start------------->8--- $ ls -l /etc/ssl/certs/*Certi*mara* lrwxrwxrwx 8 root root 162 Jan 1 1970 '/etc/ssl/certs/AC_Ra?z_Certic?mara= _S.A.:2.15.7.126.82.147.123.224.21.227.87.240.105.140.203.236.12.pem' -> '/= gnu/store/3ql0vilc0zv6ra42ghi04787vrg6bb71-nss-certs-3.30.2/etc/ssl/certs/A= C_Ra?z_Certic?mara_S.A.:2.15.7.126.82.147.123.224.21.227.87.240.105.140.203= .236.12.pem' --8<---------------cut here---------------end--------------->8--- but the initial problem seems to be in nss-certs itself. What does this report for you: guix package -p /run/current-system/profile -I nss-cert ? > I would have liked to exercise the > `make-credendials-with-ca-trust-files' function to debug but there's a > `make-certificate-credentials' function called which I coudln't source > (where does it come from? Doing C-c . u in Geiser didn't help making it > visible, as did grepping the Guix sources for its definition) These procedures come from (gnutls). They=E2=80=99re written in C. Thanks, Ludo=E2=80=99.