Re: Problem with Glbc-locales: failed to install locale

2018-03-15 Thread darlingmouse

Here is what I did so far. Same thing.

|ruki@ruki-ThinkPad-T400:~$ guix package -i glibc-locales||
||guile: warning: failed to install locale||
||warning: failed to install locale: Invalid argument||
||The following package will be upgraded:||
||   glibc-locales2.26.105-g0890d5379c -> 2.26.105-g0890d5379c 
/gnu/store/j73ld7v624ix39imy94bncxzl8nirdn8-glibc-locales-2.26.105-g0890d5379c||

||
||substitute: updating list of substitutes from 
'https://mirror.hydra.gnu.org'... substitute: updating list of 
substitutes from 'https://mirror.hydra.gnu.org'... 100.0%||

||The following derivations will be built:||
||/gnu/store/br2by76f04pmfcl4fr4jm00mc6xhp1fl-profile.drv||
||/gnu/store/6nqbjiijp6pihinif3ikywf652ph2yck-ca-certificate-bundle.drv||
||/gnu/store/6k0qgwhzq6mc1hqnh3vi75am3n3i5650-info-dir.drv||
||/gnu/store/268wyfb4bpk2536hj1pir1l9xp11622r-fonts-dir.drv||
||/gnu/store/8q3ys53cx6xjl8dzphisskckg6c13g78-manual-database.drv||
||Creating manual page database...||
||1 entries processed in 0.5 s||
||4 packages in profile||
||The following environment variable definitions may be needed:||
||   export PATH="/home/ruki/.guix-profile/bin${PATH:+:}$PATH"||
||ruki@ruki-ThinkPad-T400:~$ export 
PATH="/home/ruki/.guix-profile/bin${PATH:+:}$PATH"||

||ruki@ruki-ThinkPad-T400:~$ guix package||
||guile: warning: failed to install locale||
||warning: failed to install locale: Invalid argument||
||ruki@ruki-ThinkPad-T400:~$ |


On 03/15/2018 03:35 PM, Ricardo Wurmus wrote:

darlingmouse  writes:


ruki@ruki-ThinkPad-T400:~$ export
GUIX_LOCPATH=$HOME/.guix-profile/lib/locale

Does this directory exist?  If it doesn’t you may need to install
the “glibc-locales” package first.


ruki@ruki-ThinkPad-T400:~$ guix package
guile: warning: failed to install locale
warning: failed to install locale: Invalid argument

I wonder if this comes from the daemon’s environment.  If so,
GUIX_LOCPATH needs to be set in the environment in which the daemon is
started.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net






Re: Failed to connect to `/var/guix/daemon-socket/socket': Connection refused

2018-03-15 Thread Eric Bavier
On Thu, 15 Mar 2018 14:47:24 -0600
Muto  wrote:

> I am running the Guix package manager on Ubuntu (17.10), but whenever I
> try to do anything as a non-root user, I get an error:
> 
> failed to connect to `/var/guix/daemon-socket/socket': Connection
> refused

Have you started the guix-daemon?

`~Eric


pgpvPaRv0Yq_l.pgp
Description: OpenPGP digital signature


Re: system vm fails

2018-03-15 Thread Catonano
I tried with a checked out guix and I got what follows


...
validating RUNPATH of 1 binaries in
"/gnu/store/kydnvbnz4vy4b7j2j595jjkc678lvn03-xdg-user-dirs-0.17/bin"...
phase `validate-runpath' succeeded after 0.0 seconds
starting phase `validate-documentation-location'
phase `validate-documentation-location' succeeded after 0.0 seconds
starting phase `delete-info-dir-file'
phase `delete-info-dir-file' succeeded after 0.0 seconds
starting phase `patch-dot-desktop-files'
phase `patch-dot-desktop-files' succeeded after 0.0 seconds
starting phase `install-license-files'
installing 1 license files
phase `install-license-files' succeeded after 0.0 seconds
starting phase `reset-gzip-timestamps'
phase `reset-gzip-timestamps' succeeded after 0.0 seconds
starting phase `compress-documentation'
compressing documentation in
'/gnu/store/kydnvbnz4vy4b7j2j595jjkc678lvn03-xdg-user-dirs-0.17/share/man'
with "gzip" and flags ("--best" "--no-name")
phase `compress-documentation' succeeded after 0.0 seconds
guix system: error: build failed: error parsing derivation
`/gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv': expected
string `Derive(['


the file /gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv' seems
to be empty. I opened it with nano


system vm fails

2018-03-15 Thread Catonano
after some time that I didn't try, I issued this command

~$ guix system vm ~/configs/vm-config-desktop.scm \
>--image-size=10GB \
>--share=$HOME/transit=/transit


and I got


Backtrace:
In srfi/srfi-1.scm:
   592:29 19 (map1 (#< path: "/gnu/store/1w63bv…> …))
   592:29 18 (map1 (#< path: "/gnu/store/29lkk2…> …))
   592:29 17 (map1 (#< path: "/gnu/store/2b2d0d…> …))
   592:29 16 (map1 (#< path: "/gnu/store/2r3bal…> …))
   592:29 15 (map1 (#< path: "/gnu/store/3a8fqh…> …))
   592:29 14 (map1 (#< path: "/gnu/store/4clx1c…> …))
   592:29 13 (map1 (#< path: "/gnu/store/4xvb3r…> …))
   592:29 12 (map1 (#< path: "/gnu/store/6m75lp…> …))
   592:29 11 (map1 (#< path: "/gnu/store/6zy8h2…> …))
   592:29 10 (map1 (#< path: "/gnu/store/72n0a3…> …))
   592:29  9 (map1 (#< path: "/gnu/store/75z1k3…> …))
   592:29  8 (map1 (#< path: "/gnu/store/7fb2pw…> …))
   592:29  7 (map1 (#< path: "/gnu/store/998x1z…> …))
   592:17  6 (map1 (#< path: "/gnu/store/ajqj00…> …))
In guix/derivations.scm:
   644:39  5 (_ _)
In guix/memoization.scm:
100:0  4 (_ # "/gnu/store/ajqj00q…" …)
In guix/derivations.scm:
   634:22  3 (_)
   494:17  2 (read-derivation-from-file "/gnu/store/ajqj00qwkah0hgvs…")
In ice-9/ports.scm:
   444:17  1 (call-with-input-file _ _ #:binary _ #:encoding _ # _)
In unknown file:
   0 (scm-error misc-error #f "~A ~S ~S" ("failed to par…" …) …)

ERROR: In procedure scm-error:
failed to parse derivation # ()


Re: Problem with Glbc-locales: failed to install locale

2018-03-15 Thread Ricardo Wurmus

darlingmouse  writes:

> ruki@ruki-ThinkPad-T400:~$ export
> GUIX_LOCPATH=$HOME/.guix-profile/lib/locale

Does this directory exist?  If it doesn’t you may need to install
the “glibc-locales” package first.

> ruki@ruki-ThinkPad-T400:~$ guix package
> guile: warning: failed to install locale
> warning: failed to install locale: Invalid argument

I wonder if this comes from the daemon’s environment.  If so,
GUIX_LOCPATH needs to be set in the environment in which the daemon is
started.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net





Re: Problem with Glbc-locales: failed to install locale

2018-03-15 Thread darlingmouse
ruki@ruki-ThinkPad-T400:~$ export 
GUIX_LOCPATH=$HOME/.guix-profile/lib/locale

ruki@ruki-ThinkPad-T400:~$ guix package
guile: warning: failed to install locale
warning: failed to install locale: Invalid argument


On 03/15/2018 11:27 AM, Ludovic Courtès wrote:

darlingmouse  skribis:


Doing ls $GUIX_LOCPATH prints my working dir.

That means it’s undefined.  Please run:

   export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale

Thanks,
Ludo’.





Re: Problem with Glbc-locales: failed to install locale

2018-03-15 Thread Ludovic Courtès
darlingmouse  skribis:

> Doing ls $GUIX_LOCPATH prints my working dir.

That means it’s undefined.  Please run:

  export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale

Thanks,
Ludo’.



Re: Problem with Glbc-locales: failed to install locale

2018-03-15 Thread darlingmouse

Doing |ls $GUIX_LOCPATH|prints my working dir.
|
ruki@ruki-ThinkPad-T400:~$ ldd 
/gnu/store/f8k940vy9gck66m9r4id5m098w3hxgka-bash-minimal-4.4.12/bin/bash 
| grep libc||
||libdl.so.2 => 
/gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/libdl.so.2 
(0x7f584eb6f000)||
||libc.so.6 => 
/gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/libc.so.6 
(0x7f584e7d)||
||/gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/ld-linux-x86-64.so.2 
=> /lib64/ld-linux-x86-64.so.2 (0x7f584ed73000)||

||ruki@ruki-ThinkPad-T400:~$ |

On 03/15/2018 03:29 AM, Ludovic Courtès wrote:

Hello,

darlingmouse  skribis:


ruki@ruki-ThinkPad-T400:~$ export LC_ALL=en_US.utf8; export LANG=en_US.utf8
ruki@ruki-ThinkPad-T400:~$ guix package
/gnu/store/f8k940vy9gck66m9r4id5m098w3hxgka-bash-minimal-4.4.12/bin/bash:
warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
guile: warning: failed to install locale
warning: failed to install locale: Invalid argument

And what’s the output of:

   ls $GUIX_LOCPATH

and:

   ldd /gnu/store/f8k940vy9gck66m9r4id5m098w3hxgka-bash-minimal-4.4.12/bin/bash 
| grep libc

Thanks,
Ludo’.




Re: Wayland setup

2018-03-15 Thread Thorsten Wilms

On 15.03.2018 02:08, Marius Bakke wrote:

This looks like a driver problem.  Can you post the output of
"dmesg | grep -w 'drm|r600|radeon'" ?

I seem to recall that hardware acceleration on radeon/amdgpu requires
proprietary microcode, even when using the free driver.  Maybe that is
related?


Right, thank you!

comparing `dmesg | grep -w 'drm\|r600\|radeo'` from both systems made 
this stand out:

---
radeon :01:00.0: Direct firmware load for /*(DEBLOBBED)*/ failed 
with error -2

[drm:rv770_init [radeon]] *ERROR* Failed to load firmware!
---

Guess I have to research how to put that back in now, as my level of 
idealism doesn't cover basic functionality falling flat. I understand 
the issues with binary blobs, but from a right-here, right-now 
perspective, what you do here is to cripple a driver (one among many, I 
assume) and let it be a surprise for users if things go belly up.



--
Thorsten Wilms

thorwil's design for free software:
http://thorwil.wordpress.com/



Re: Problem with Glbc-locales: failed to install locale

2018-03-15 Thread Ludovic Courtès
Hello,

darlingmouse  skribis:

> ruki@ruki-ThinkPad-T400:~$ export LC_ALL=en_US.utf8; export LANG=en_US.utf8
> ruki@ruki-ThinkPad-T400:~$ guix package
> /gnu/store/f8k940vy9gck66m9r4id5m098w3hxgka-bash-minimal-4.4.12/bin/bash:
> warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
> guile: warning: failed to install locale
> warning: failed to install locale: Invalid argument

And what’s the output of:

  ls $GUIX_LOCPATH

and:

  ldd /gnu/store/f8k940vy9gck66m9r4id5m098w3hxgka-bash-minimal-4.4.12/bin/bash 
| grep libc

Thanks,
Ludo’.