guix-devel
[Top][All Lists]
Advanced

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

/run/current-system (was: Guix binary tarball)


From: Thomas Schwinge
Subject: /run/current-system (was: Guix binary tarball)
Date: Sun, 7 Jun 2015 15:16:40 +0200
User-agent: Notmuch/0.9-101-g81dad07 (http://notmuchmail.org) Emacs/24.4.1 (i586-pc-linux-gnu)

Hi!

On Sun, 07 Jun 2015 14:39:20 +0200, I wrote:
> In context of
> <http://news.gmane.org/find-root.php?message_id=%3C87lhg2je9j.fsf%40kepler.schwinge.homeip.net%3E>,
> I'm now installing Guix (GNU Guix 0.8.2 Binary) for the first time.  I
> noticed a few issues that have been raised in this thread already (I have
> not yet read every message in detail); so I'm hijacking this thread but
> will now just dump here what I wrote down during installation, and if
> there remains anything still to be sorted out, we can work on that later.

Another thing:

    $ guix --version
    warning: failed to install locale: Invalid argument
    guix (GNU Guix) 0.8.2
    [...]

strace:

    [...]
    open("/run/current-system/locale/locale-archive", O_RDONLY|O_CLOEXEC) = -1 
ENOENT (No such file or directory)
    
open("/gnu/store/hy2hi0zj5hrqkmkhpdxf04c9bcnlnsf9-glibc-2.21/share/locale/locale.alias",
 O_RDONLY|O_CLOEXEC) = 6
    fstat(6, {st_mode=S_IFREG|0444, st_size=2492, ...}) = 0
    mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7fcb7c680000
    read(6, "# Locale name alias data base.\n#"..., 4096) = 2492
    read(6, "", 4096)                       = 0
    close(6)                                = 0
    munmap(0x7fcb7c680000, 4096)            = 0
    open("/run/current-system/locale/de_DE.utf8/LC_IDENTIFICATION", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/run/current-system/locale/de_DE/LC_IDENTIFICATION", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/run/current-system/locale/de.utf8/LC_IDENTIFICATION", 
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/run/current-system/locale/de/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) 
= -1 ENOENT (No such file or directory)
    brk(0x2b5f000)                          = 0x2b5f000
    write(2, "warning: ", 9)                = 9
    write(2, ["failed to install locale: "]
    [...]
    write(2, "Invalid argument", 16)        = 16
    write(2, "\n", 1)                       = 1
    [...]

The system doesn't have /run/current-system.

    $ strings 
/gnu/store/hy2hi0zj5hrqkmkhpdxf04c9bcnlnsf9-glibc-2.21/lib/libc.so.6 | grep 
current-system
    /run/current-system/locale
    /run/current-system/locale/locale-archive

Assuming (based on a quick web search) that /run/current-system is a
NixOS/Guix thing, and assuming that the GNU Guix 0.8.2 Binary tarball
that I downloaded simply (and reasonably) does not include locale
information, this warning then is not to be worried about.

I have not yet researched how /run/current-system is supposed to be set
up.


Grüße,
 Thomas

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]