Re: Error: system: command not found.

2018-06-27 Thread Leo Famulari
On Wed, Jun 27, 2018 at 09:48:23PM -0400, Mike Gerwitz wrote:
> On Wed, Jun 27, 2018 at 14:53:50 +, Jone wrote:
> > I have a problem: can not run system reconfigure.
> > root@guix ~# guix system --help
> > guix: system: command not found
> 
> I had the same problem last night and I found (via strace) that it was
> looking for an sqlite3 guile library.  Installing guile-sqlite3 into
> root's profile fixed the problem for me.
> 
> I just didn't have the chance to report the issue yet.

I think this is fixed in some recent commit. I had this issue but no
longer need to explicitly install guile-sqlite3 to work around it.


signature.asc
Description: PGP signature


Re: Error: system: command not found.

2018-06-27 Thread Mike Gerwitz
On Wed, Jun 27, 2018 at 14:53:50 +, Jone wrote:
> I have a problem: can not run system reconfigure.
>   root@guix ~# guix system --help
>   guix: system: command not found

I had the same problem last night and I found (via strace) that it was
looking for an sqlite3 guile library.  Installing guile-sqlite3 into
root's profile fixed the problem for me.

I just didn't have the chance to report the issue yet.

-- 
Mike Gerwitz
Free Software Hacker+Activist | GNU Maintainer & Volunteer
GPG: D6E9 B930 028A 6C38 F43B  2388 FEF6 3574 5E6F 6D05
https://mikegerwitz.com


signature.asc
Description: PGP signature


Re: Error: system: command not found.

2018-06-27 Thread Ricardo Wurmus


Jone  writes:

> And the current results:
> during reconfigure were built from source samba, ffmpeg, icecat (now)
> and I do not know what else and how long it will be.
> Theoretically, berlin.guixsd.org repository is enabled:
>
> (modify-services %desktop-services
> ...
>   (substitute-urls (list "https://berlin.guixsd.org;
>  "https://mirror.hydra.gnu.org;)))
>
> but I don't understand why these "heavy" packages are being built.

I suspect that they are listed in the “packages” field of your
configuration.  There has been a change to the icecat package about 19
hours ago.

We recommend not to add user packages to the “packages” field of your
operating system configuration.

--
Ricardo




Re: Error: system: command not found.

2018-06-27 Thread Jone
And the current results:
during reconfigure were built from source samba, ffmpeg, icecat (now)
and I do not know what else and how long it will be.
Theoretically, berlin.guixsd.org repository is enabled:

(modify-services %desktop-services
...
  (substitute-urls (list "https://berlin.guixsd.org;
 "https://mirror.hydra.gnu.org;)))

but I don't understand why these "heavy" packages are being built.



Re: 'libstdc++.so.6' cannot be found in RUNPATH ()

2018-06-27 Thread Timothy Sample
Hi Hinko,

Hinko Kocevar  writes:

> Hi Ludovic,
>
> Thank you for the insight.
>
> Is there a way to have the check pass by other means (i.e not skip the check)?

One thing you could do is patch the RUNPATH of the library.  You can do
this with the ‘patchelf’ command.  A good starting place might be to
look at the Rust bootstrap package.  It uses ‘patchelf’ to update the
RUNPATH of binaries, and leaves the ‘validate-runpath’ phase in place.

> I will resort to skipping the check as immediate solution.
>
> /hinko



Re: Error: system: command not found.

2018-06-27 Thread Jone
Thanks. I already wrote this, but I was not sure that nothing would break in 
the system.



Re: Error: system: command not found.

2018-06-27 Thread Ricardo Wurmus


Pierre Neidhardt  writes:

> If you run guix as root, then you must run `guix pull` as root as well.
> I find it simpler to use the `sudo` command to execute your user's "guix" with
> additional privileges.  For instance,
>
>   sudo guix system reconfigure ...
>
> should work.

You can also use “sudo -E guix system reconfigure” to keep the current
user’s environment.

-- 
Ricardo




Re: Error: system: command not found.

2018-06-27 Thread Jone
Works as
sudo -E guix system --help
but I can not imagine what will happen as a result with 'sudo -E' and 'system 
reconfigure'.



Re: Error: system: command not found.

2018-06-27 Thread Jone
> If you run guix as root, then you must run `guix pull` as root as
> well.
Yes, that's exactly what I did.

> sudo guix system reconfigure
> should work.
But:
sudo guix system --help
Password: 
guix: system: command not found
Try `guix --help' for more information.

Checked again - but alas.. Amusing situation)) I can not roll back
system (there is only the current generation) and can not reconfigure..



Re: Error: system: command not found.

2018-06-27 Thread Pierre Neidhardt
If you run guix as root, then you must run `guix pull` as root as well.
I find it simpler to use the `sudo` command to execute your user's "guix" with
additional privileges.  For instance,

  sudo guix system reconfigure ...

should work.

-- 
Pierre Neidhardt

You'd like to do it instantaneously, but that's too slow.


signature.asc
Description: PGP signature


Error: system: command not found.

2018-06-27 Thread Jone
I have a problem: can not run system reconfigure.
root@guix ~# guix system --help
guix: system: command not found

'guix pull' launched 3 times in a row, each time gives the same output:
compiling...100.0% of 1 files
compiling...100.0% of 230 files
compiling...100.0% of 180 files
compiling...100.0% of 67 files
compiling...100.0% of 37 files
- in other words, it doesn't work.

Any ideas, how to reconfigure system? I can run 'guix system CMD' as
user, but for reconfigure need root permissions.
_
Now:
working instance of guix:
~/Desktop> guix system list-generations
Generation 6апр 25 2018 19:13:28(current)
  file name: /var/guix/profiles/system-6-link
  canonical file name: /gnu/store/7n91925xqz6579rxq2md2605s4nzddlz-system
  label: GNU with Linux-Libre 4.16.4 (beta)



Re: locale warnings

2018-06-27 Thread Ludovic Courtès
Hi Oleg,

Oleg Pykhalov  skribis:

> $ PAGER= systemctl show guix-daemon.service  | grep locale
> Environment=GUIX_LOCPATH=/root/.guix-profile/lib/locale
>
> $ sudo guix package -I 
> …
> guix0.14.0  out 
> /gnu/store/pii5cimi72lj5l7793h54g5sg0sr2apl-guix-0.14.0
> glibc-utf8-locales  2.25out 
> /gnu/store/xa391b23r5lbwxb9q26sq5rq1fkd1xi3-glibc-utf8-locales-2.25
> glibc-locales   2.27out 
> /gnu/store/s28fmfrq8r0c688x59cj0fcyh2pv87nj-glibc-locales-2.27
> glibc   2.27out /gnu/store/y7siq9fr3dyccyaig94rpkqfimbiw35f-glibc-2.27

The problem you may have is that guix@0.14.0 is linked against glibc
2.26, so it cannot use the 2.27 locales.  You should upgrade ‘guix’.

HTH,
Ludo’.