From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#30395: =?UTF-8?Q?=E2=80=98gcc=E2=80=99?= doesn't compile with LD_LIBRARY_PATH="$HOME/.guix-profile/lib" Date: Sun, 18 Feb 2018 14:51:14 +0100 Message-ID: <87d112iey5.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> <87606v9qq2.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]:43871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1enPNt-0007dl-FW for bug-guix@gnu.org; Sun, 18 Feb 2018 08:52:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1enPNq-0004VN-DE for bug-guix@gnu.org; Sun, 18 Feb 2018 08:52:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:41145) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1enPNq-0004VH-95 for bug-guix@gnu.org; Sun, 18 Feb 2018 08:52:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1enPNq-00055r-18 for bug-guix@gnu.org; Sun, 18 Feb 2018 08:52:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87606v9qq2.fsf@gnu.org> (Mathieu Lirzin's message of "Sat, 17 Feb 2018 23:49:25 +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: Mathieu Lirzin Cc: 30395@debbugs.gnu.org Mathieu Lirzin skribis: > ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> Mathieu Lirzin skribis: >> >>> 13061 open("/gnu/store/38kr8xi7nib8rx8xr4gi0w0d8knyca3k-glibc-2.25/shar= e/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_IDENTIFICATIO= N", 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/= gconv/gconv-modules.cache", O_RDONLY) =3D -1 ENOENT (No such file or direct= ory) >>> 13061 open("/gnu/store/5x9zxdmxphmprlchfl3a2y8w5ykcwkjc-glibc-2.25/lib/= gconv/gconv-modules", O_RDONLY|O_CLOEXEC) =3D -1 ENOENT (No such file or di= rectory) >> >> 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/5x9zxdmxphmprlchfl3a2y8w5ykcwkj= c.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= /5x9zxdmxphmprlchfl3a2y8w5ykcwkjc-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 Oh! Now your mission, if you accept it, will be to find where that 5x9zxdmxphmprlchfl3a2y8w5ykcwkjc-glibc-2.25 comes from. Perhaps what would help is to diff the =E2=80=9Cgood=E2=80=9D and the =E2=80=9Cbad=E2=80= =9D strace logs. >> 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? Everything=E2=80=99s alright, the store is not corrupt, but something else = is amiss. Thanks, Ludo=E2=80=99.