From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Lirzin Subject: bug#30395: =?UTF-8?Q?=E2=80=98gcc=E2=80=99?= doesn't compile with LD_LIBRARY_PATH="$HOME/.guix-profile/lib" Date: Sat, 17 Feb 2018 23:49:25 +0100 Message-ID: <87606v9qq2.fsf@gnu.org> References: <87vaf72y9w.fsf@gnu.org> <87k1vdqm09.fsf@gnu.org> <87mv09gn3i.fsf@gnu.org> <874lmhozml.fsf@gnu.org> <871shlkmp6.fsf@gnu.org> <87h8qgnavo.fsf@gnu.org> <87a7w7a18h.fsf@gnu.org> <87606vjp0t.fsf@gnu.org> 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]:37737) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1enBIy-0005gV-AQ for bug-guix@gnu.org; Sat, 17 Feb 2018 17:50:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1enBIw-0000HT-VK for bug-guix@gnu.org; Sat, 17 Feb 2018 17:50:04 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:40830) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1enBIw-0000HF-SU for bug-guix@gnu.org; Sat, 17 Feb 2018 17:50:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1enBIw-0001LV-Ks for bug-guix@gnu.org; Sat, 17 Feb 2018 17:50:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87606vjp0t.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 17 Feb 2018 22:16:02 +0100") 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 30395@debbugs.gnu.org ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Mathieu Lirzin skribis: > >> 13061 open("/gnu/store/38kr8xi7nib8rx8xr4gi0w0d8knyca3k-glibc-2.25/share= /locale/locale.alias", O_RDONLY|O_CLOEXEC) =3D 3 >> 13061 fstat(3, {st_mode=3DS_IFREG|0444, st_size=3D2997, ...}) =3D 0 >> 13061 read(3, "# Locale name alias data base.\n# Copyright (C) >> 1996-2017 Free Software Foundation, Inc.\n#\n# This program is free >> software; you can redistribute it and/or modify\n# it under the >> terms of the GNU General Public License as published by\n# the Free >> Software Foundation; either version 2, or (at your option)\n# any >> later version.\n#\n# This program is distributed in the hope that it >> will be useful,\n# but WITHOUT ANY WARRANTY; without even the >> implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR >> PURPOSE. See the\n# GNU General Public License for more >> details.\n#\n# You should have received a copy of the GNU General >> Public License\n# along with this program; if not, see >> .\n\n# The format of this file is the >> same as for the corresponding file of\n# the X Window System, which >> normally can be found in\n#\t/usr/lib/X11/locale/locale.alias\n# A >> single line contains two fields: an alias and a substitution >> value.\n# All entries are case independent.\n\n# Note: This file is >> o"..., 4096) =3D 2997 >> 13061 read(3, "", 4096) =3D 0 >> 13061 close(3) =3D 0 >> 13061 open("/run/current-system/locale/2.25/fr_FR.utf8/LC_IDENTIFICATION= ", O_RDONLY|O_CLOEXEC) =3D 3 >> 13061 fstat(3, {st_mode=3DS_IFREG|0444, st_size=3D299, ...}) =3D 0 >> 13061 mmap(NULL, 299, PROT_READ, MAP_PRIVATE, 3, 0) =3D 0x7f726d164000 >> 13061 close(3) =3D 0 >> 13061 open("/gnu/store/38kr8xi7nib8rx8xr4gi0w0d8knyca3k-glibc-2.25/lib/g= conv/gconv-modules.cache", O_RDONLY) =3D -1 ENOENT (No such file or directo= ry) >> 13061 open("/gnu/store/5x9zxdmxphmprlchfl3a2y8w5ykcwkjc-glibc-2.25/lib/g= conv/gconv-modules", O_RDONLY|O_CLOEXEC) =3D -1 ENOENT (No such file or dir= ectory) > > How come this =E2=80=98gconv-modules=E2=80=99 file doesn=E2=80=99t exist?= I have it here. > I have: > > $ guix hash -r /gnu/store/5x9zxdmxphmprlchfl3a2y8w5ykcwkjc-glibc-2.25 > 03la0p9pigf6r33px5nckky9fxvrynvw1fgn9v2l04zlys7k3k2y > $ wget -q -O - https://berlin.guixsd.org/5x9zxdmxphmprlchfl3a2y8w5ykcwkjc= .narinfo | grep NarHash > NarHash: sha256:03la0p9pigf6r33px5nckky9fxvrynvw1fgn9v2l04zlys7k3k2y > > > What about you? $ guix hash -r /gnu/store/5x9zxdmxphmprlchfl3a2y8w5ykcwkjc-glibc-2.25 guix hash: error: lstat: Aucun fichier ou dossier de ce type: "/gnu/store/5= x9zxdmxphmprlchfl3a2y8w5ykcwkjc-glibc-2.25" There is no corresponding store item, so it seems logical that the =E2=80=98gconv-modules=E2=80=99 are not found. :-)=20 Just in case, I have checked that =E2=80=98LD_LIBRARY_PATH=3D"$HOME/.guix-profile/lib" strace -f -s 1000 gdb= =E2=80=99 still has a reference to that glibc: --8<---------------cut here---------------start------------->8--- open("/gnu/store/38kr8xi7nib8rx8xr4gi0w0d8knyca3k-glibc-2.25/lib/gconv/gcon= v-modules.cache", O_RDONLY) =3D -1 ENOENT (No such file or directory) open("/gnu/store/5x9zxdmxphmprlchfl3a2y8w5ykcwkjc-glibc-2.25/lib/gconv/gcon= v-modules", O_RDONLY|O_CLOEXEC) =3D -1 ENOENT (No such file or directory) --8<---------------cut here---------------end--------------->8--- > Can you try =E2=80=98guix gc --verify=E2=80=99? $ guix gc --verify reading the Nix store... checking path existence... $ guix gc --verify=3Dcontents reading the Nix store... checking path existence... checking hashes... What does it mean doctor? Is that cancer? Thanks. --=20 Mathieu Lirzin GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37