From: ludo@gnu.org (Ludovic Courtès)
To: Mathieu Lirzin <mthl@gnu.org>
Cc: 30395@debbugs.gnu.org
Subject: bug#30395: ‘gcc’ doesn't compile with LD_LIBRARY_PATH="$HOME/.guix-profile/lib"
Date: Sun, 18 Feb 2018 14:51:14 +0100 [thread overview]
Message-ID: <87d112iey5.fsf@gnu.org> (raw)
In-Reply-To: <87606v9qq2.fsf@gnu.org> (Mathieu Lirzin's message of "Sat, 17 Feb 2018 23:49:25 +0100")
Mathieu Lirzin <mthl@gnu.org> skribis:
> ludo@gnu.org (Ludovic Courtès) writes:
>
>> Mathieu Lirzin <mthl@gnu.org> skribis:
>>
>>> 13061 open("/gnu/store/38kr8xi7nib8rx8xr4gi0w0d8knyca3k-glibc-2.25/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
>>> 13061 fstat(3, {st_mode=S_IFREG|0444, st_size=2997, ...}) = 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
>>> <http://www.gnu.org/licenses/>.\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) = 2997
>>> 13061 read(3, "", 4096) = 0
>>> 13061 close(3) = 0
>>> 13061 open("/run/current-system/locale/2.25/fr_FR.utf8/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) = 3
>>> 13061 fstat(3, {st_mode=S_IFREG|0444, st_size=299, ...}) = 0
>>> 13061 mmap(NULL, 299, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f726d164000
>>> 13061 close(3) = 0
>>> 13061 open("/gnu/store/38kr8xi7nib8rx8xr4gi0w0d8knyca3k-glibc-2.25/lib/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No such file or directory)
>>> 13061 open("/gnu/store/5x9zxdmxphmprlchfl3a2y8w5ykcwkjc-glibc-2.25/lib/gconv/gconv-modules", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>>
>> How come this ‘gconv-modules’ file doesn’t 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/5x9zxdmxphmprlchfl3a2y8w5ykcwkjc-glibc-2.25"
>
> There is no corresponding store item, so it seems logical that the
> ‘gconv-modules’ are not found. :-)
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 “good” and the “bad” strace logs.
>> Can you try ‘guix gc --verify’?
>
> $ guix gc --verify
> reading the Nix store...
> checking path existence...
>
> $ guix gc --verify=contents
> reading the Nix store...
> checking path existence...
> checking hashes...
>
> What does it mean doctor? Is that cancer?
Everything’s alright, the store is not corrupt, but something else is
amiss.
Thanks,
Ludo’.
next prev parent reply other threads:[~2018-02-18 13:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-08 17:20 bug#30395: ‘gcc’ doesn't compile with LD_LIBRARY_PATH="$HOME/.guix-profile/lib" Mathieu Lirzin
2018-02-16 10:14 ` Ludovic Courtès
2018-02-16 12:01 ` Mathieu Lirzin
2018-02-16 13:03 ` Ludovic Courtès
2018-02-16 14:56 ` Mathieu Lirzin
2018-02-16 16:43 ` Ludovic Courtès
2018-02-17 19:02 ` Mathieu Lirzin
2018-02-17 21:16 ` Ludovic Courtès
2018-02-17 22:49 ` Mathieu Lirzin
2018-02-18 13:51 ` Ludovic Courtès [this message]
2018-02-18 21:51 ` Mathieu Lirzin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d112iey5.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=30395@debbugs.gnu.org \
--cc=mthl@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).