"calibre" package fails to build.

2018-06-28 Thread Matthew Brooks
It's also several versions out of date, according to the website. Which lists 
3.26.1 as the latest version, while 3.17 is the latest in the guix repo:
https://calibre-ebook.com/whats-new
(This might be the cause of the error, since I remember reading that calibre is 
tightly bound to specific versions of QT, but I don't have the link to the 
forum post it was in.)

The actual error appears to be the following snippet of the output, but I've 
got the entire output piped to a file if anyone needs it.

>In file included from 
>/gnu/store/kjzfprjsjgyi2y7ybs7rinaac7gziabb-qtbase-5.11.0/include/qt5/QtGui/qtguiglobal.h:43:0,
> from 
> /gnu/store/kjzfprjsjgyi2y7ybs7rinaac7gziabb-qtbase-5.11.0/include/qt5/QtGui/5.11.0/QtGui/qpa/qplatformfontdatabase.h:52,
> from 
> /tmp/guix-build-calibre-3.17.0.drv-0/calibre-3.17.0/src/calibre/headless/fontconfig_database.h:9,
> from 
> /tmp/guix-build-calibre-3.17.0.drv-0/calibre-3.17.0/src/calibre/headless/fontconfig_database.cpp:40:
>/tmp/guix-build-calibre-3.17.0.drv-0/calibre-3.17.0/src/calibre/headless/fontconfig_database.cpp:296:1:
> error: static assertion failed: sizeof specialLanguages / sizeof 
>*specialLanguages == QChar::ScriptCount
> Q_STATIC_ASSERT(sizeof specialLanguages / sizeof *specialLanguages == 
> QChar::ScriptCount);
> ^
>make: *** [Makefile:337: fontconfig_database.o] Error 1


pgpMgp8GQvj8E.pgp
Description: OpenPGP digital signature


Re: Error: system: command not found.

2018-06-28 Thread swedebugia



On June 28, 2018 11:06:38 PM GMT+02:00, Jone  wrote:
>> Can you not choose an earlier profile in grub and go from there?
>
>Here is my mistake: I decided that old profiles are not needed and
>clear
>them.

So did you learn something the hard way? 

>Well, I was not happy with my config also. Now - satisfied. So it is
>not so
>important,
>only the cost of processor time. That's why I want to get a good
>0-profile.

I do not understand how only relying on one profile relates to processor time. 

-- 
Cheers Swedebugia



Re: Error: system: command not found.

2018-06-28 Thread Jone
> Can you not choose an earlier profile in grub and go from there?

Here is my mistake: I decided that old profiles are not needed and clear
them.
Well, I was not happy with my config also. Now - satisfied. So it is not so
important,
only the cost of processor time. That's why I want to get a good 0-profile.


Re: "guix offload test" gets stuck with no output.

2018-06-28 Thread Fredrik Salomonsson
Hallå

No. Not yet at least. See http://lists.gnu.org/archive/
> html/guix-devel/2018-06/msg00316.html where I also proposed a change to
> guix pull which makes it do the least cpu intensive update by default.
>

Interesting. So how do you find a commit that have the least cpu intensive
update?

2018-06-28 11:45 GMT-07:00 swedebugia :

> Hej 
>
> On June 28, 2018 6:36:57 PM GMT+02:00, Fredrik Salomonsson <
> platt...@gmail.com> wrote:
> >Hi
> >
> >1) the new possibility of picking a commit that hydra already built
> >thus
> >> avoiding the compilation of guix locally?
> >
> >Didn't know that. Is that some sort of combination with "guix weather"
> >and
> >"guix pull --commit"?
>
> No. Not yet at least. See http://lists.gnu.org/archive/
> html/guix-devel/2018-06/msg00316.html where I also proposed a change to
> guix pull which makes it do the least cpu intensive update by default.
>
> --
> Cheers Swedebugia
>



-- 
s/Fred[re]+i[ck]+/Fredrik/g


Re: "guix offload test" gets stuck with no output.

2018-06-28 Thread swedebugia
Hej 

On June 28, 2018 6:36:57 PM GMT+02:00, Fredrik Salomonsson  
wrote:
>Hi
>
>1) the new possibility of picking a commit that hydra already built
>thus
>> avoiding the compilation of guix locally?
>
>Didn't know that. Is that some sort of combination with "guix weather"
>and
>"guix pull --commit"?

No. Not yet at least. See 
http://lists.gnu.org/archive/html/guix-devel/2018-06/msg00316.html where I also 
proposed a change to guix pull which makes it do the least cpu intensive update 
by default. 

-- 
Cheers Swedebugia



Re: Error: system: command not found.

2018-06-28 Thread swedebugia
Hi.


On June 28, 2018 5:25:25 PM GMT+02:00, Jone  wrote:
>Thanks, Swedebugia.
>
>> You probably like Pierre missed the warning about setting
>> the correct path after the first guix pull.
>
>Yep, maybe. But while I was messing with the system, I globally
>rewrote the system config. And now is difficult to combine it with
>current state of the system.. I think that it will be easier
>to completely reinstall =)

If you reconfigure once with a good guix you should be in the clear.
Can you not choose an earlier profile in grub and go from there?
-- 
Cheers Swedebugia 

Re: [ANN] Emacs-Guix 0.4.1

2018-06-28 Thread Pierre Neidhardt

Alex Kost  writes:

> I don't know.  This error looks like guile load paths are not set
> correctly.  Could you switch to Guix REPL and check whether %load-path
> contains "~/.config/guix/current/share/guile/site/2.2" ?

Indeed, I had this:

(add-to-list 'geiser-guile-load-path "~/projects/guix")

as per "(guix) The Perfect Setup" of the Guix manual.  Removing this
fixed the transaction issues.

Insights?

But the wrong outdated packaged remained.

> (setq guix-load-path "~/.config/guix/current/share/guile/site/2.2"
>   guix-load-compiled-path 
> "~/.config/guix/current/lib/guile/2.2/site-ccache")

This fixes the oudated package issue.

-- 
Pierre Neidhardt


signature.asc
Description: PGP signature


Re: [ANN] Emacs-Guix 0.4.1

2018-06-28 Thread Alex Kost
Pierre Neidhardt (2018-06-28 12:23 +0200) wrote:

> ERROR: In procedure scm-error:
> no code for module (guix build utils)
>
> Is something wrong my setup?

I don't know.  This error looks like guile load paths are not set
correctly.  Could you switch to Guix REPL and check whether %load-path
contains "~/.config/guix/current/share/guile/site/2.2" ?

...Oh, wait, I've just noticed that the mentioned directory contains
only .scm files.  When I experimented with "guix pull", it contained
both .scm and .go files, but now .go files are installed in
"~/.config/guix/current/lib/guile/2.2/site-ccache".  Apparently there
was another more recent change in "guix pull", that I did not notice.

This incompatibility between .scm and .go files may lead to
unpredictable problems, so I think I have to make another release :-)
Thanks for reporting!

To make sure that this is indeed the problem you have, could you please
add the following to you emacs config:

(setq guix-load-path "~/.config/guix/current/share/guile/site/2.2"
  guix-load-compiled-path 
"~/.config/guix/current/lib/guile/2.2/site-ccache")

and check if this fixes the problem you mentioned or not.

-- 
Alex



Re: "guix offload test" gets stuck with no output.

2018-06-28 Thread Fredrik Salomonsson
Hi

1) the new possibility of picking a commit that hydra already built thus
> avoiding the compilation of guix locally?

Didn't know that. Is that some sort of combination with "guix weather" and
"guix pull --commit"?


>  2) the ability to control the cpu frequency via a governor or the program
> cpufreq-set?

That I'm aware of, but newer hit me to throttle the cpu though when
building. Thanks for the tip!

Given that I'm still curious to get the offload working as I have an
desktop machine just sitting and collecting dust and would be fun to put
that to use.


2018-06-28 0:02 GMT-07:00 swedebugia :

>
>
> On June 28, 2018 8:09:14 AM GMT+02:00, Fredrik Salomonsson <
> platt...@gmail.com> wrote:
> >Hi,
> >
> >got inspired by this thread to try and setup offloading for my laptop.
> >As
> >everytime I run guix pull my laptop sounds like it's preparing to take
> >off.
> >
>
> Hi.
> Are you aware of
> 1) the new possibility of picking a commit that hydra already built thus
> avoiding the compilation of guix locally?
> 2) the ability to control the cpu frequency via a governor or the program
> cpufreq-set?
>
> This helps me keep my laptop temperature in check and guix pull with
> picked commit only takes a few minutes to complete.
> --
> Cheers Swedebugia
>



-- 
s/Fred[re]+i[ck]+/Fredrik/g


Re: Error: system: command not found.

2018-06-28 Thread Jone
Thanks, Swedebugia.

> You probably like Pierre missed the warning about setting
> the correct path after the first guix pull.

Yep, maybe. But while I was messing with the system, I globally
rewrote the system config. And now is difficult to combine it with
current state of the system.. I think that it will be easier
to completely reinstall =)


Re: Error: system: command not found.

2018-06-28 Thread swedebugia
Hi

On June 28, 2018 4:11:14 PM GMT+02:00, Jone  wrote:
>> When I had problems they were caused by wrong path.
>
>Not sure, it seems the main problem is a broken 'guix pull' in root
>guix
>instance,
>and I can not do anything further, deadlock!

I thought that too. Keep calm. You most probably have multiple well working 
guix in the store. 

>
>Output:
>
>## user
>
>ls -l .config/guix/
>total 0
>lrwxrwxrwx 1 jone users 58 May 20 23:29 latest ->
>/gnu/store/9247gcx6ircqypbv8l157c5wvwm0wjkh-guix-d8ac79870
>
>echo $PATH
>/home/jone/.guix-profile/bin:/home/jone/.guix-profile/sbin:/run/setuid-programs:/run/current-system/profile/bin:/run/current-system/profile/sbin:/home/jone/bin
>
>## root
>
>ls -l /root/.config/guix/
>total 4
>lrwxrwxrwx 1 root root 33 Jun 27 18:25 current ->
>/root/.config/guix/current-5-link
>lrwxrwxrwx 1 root root 51 Jun 27 03:00 current-1-link ->
>/gnu/store/awhkhxxlkfq67yza628wcbnldsj48kly-profile
>lrwxrwxrwx 1 root root 51 Jun 27 14:01 current-2-link ->
>/gnu/store/h5l5qv5wqfpx0dszhms56xjzsqnacc11-profile
>lrwxrwxrwx 1 root root 51 Jun 27 14:21 current-3-link ->
>/gnu/store/4ismmx7j2xl5wiy6y941br387m2shqj3-profile
>lrwxrwxrwx 1 root root 51 Jun 27 17:12 current-4-link ->
>/gnu/store/j8jrbdynjnl6wm7i0mr3mxfxyx93s886-profile
>lrwxrwxrwx 1 root root 51 Jun 27 18:25 current-5-link ->
>/gnu/store/c9qimm831w3rlqmsaq0n5qlw68bkg4cl-profile

These profiles could be corrupt because you generated them with an old guix. 
With a good guix you can generate a good one. See below. 

>lrwxrwxrwx 1 root root 66 Jun 27 02:53 latest ->
>/gnu/store/g42p8f30ihr4ni5anmw5029gd29gky52-guix-2a09df43e-modules
>
>echo $PATH
>/run/setuid-programs:/run/current-system/profile/bin:/run/current-system/profile/sbin

This is NOT correct. You probably like Pierre missed the warning about setting 
the correct path after the first guix pull. 

.config/guix/current/bin should be first in path. 

You have at least 2 new guix that compiled correctly below in zzz-guix-command. 
They should be linked to from the current profile in .config/ 


>
>
>ls -l /gnu/store | grep guix
>-r--r--r--  2 root root1437 Jan  1  1970
>0qfcnbk19fycgygwc8s8k8k01yn6xyzi-guix-command.drv
>-r--r--r--  2 root root 943 Jan  1  1970
>0x5a9hm8mgbx73hl0hsbw4yyngb31ads-shepherd-guix-daemon.scm.drv
>dr-xr-xr-x  3 root root4096 Jan  1  1970
>0zadksf076a2l3gbimgl7phwcwbkd8kr-guix-packages-base-source
>dr-xr-xr-x  5 root root4096 Jan  1  1970
>14bkn25rih8y8j5n848i6xq0qfg8x5nc-guix-69390e29d
>-r--r--r--  2 root root1504 Jan  1  1970
>1cam9k64c56fksva4nmv1rabx2xqkc17-guix-config-builder
>-r--r--r--  2 root root1210 Jan  1  1970
>1ciw7ib9cvw3vm92xxv8aw2r6azsv3s9-guix-b7238c3d6-builder
>-r--r--r--  2 root root7324 Jan  1  1970
>1f7ll8gbpbj0hkm194aq73b77vxjfa8c-guix-packages-builder
>-r--r--r--  2 root root2900 Jan  1  1970
>1fn8gnq2kcynxiqz54xhl6ywfvya6s4h-guix-0.14.0-11.ab85cf7.drv
>-r--r--r--  2 root root 876 Jan  1  1970
>1s2yal3ia5zlifv5p1v38ndzv6mfxfb1-guix-core.drv
>-r--r--r--  2 root root2051 Jan  1  1970
>1v4nsr0v16qfgb1ik8viyhh05fs0n3bq-guix-cli.drv
>-r--r--r--  2 root root4712 Jan  1  1970
>1vskak06b635sjrg0lrb7iy15qp70jnf-guix-0.14.0-11.ab85cf7.drv
>dr-xr-xr-x  4 root root4096 Jan  1  1970
>230n6p7pns43dbaq3pwk9glfvx23zm10-guix-extra
>-r--r--r--  2 root root4383 Jan  1  1970
>2b9485z1qfz4g6arfm9r4snp718f2wki-guix-system-builder
>-r--r--r--  2 root root   11217 Jan  1  1970
>2h4wcl2wj162hs84s0bkcip73s2b24zx-guix-packages-source.drv
>-r--r--r--  2 root root 886 Jan  1  1970
>3fgl1fqhb4xx10spyvgjjha5isj4fcph-guix-config.drv
>dr-xr-xr-x  3 root root4096 Jan  1  1970
>3pw07filsg47yppwsha5qsbgk129iwhx-guix-cli
>dr-xr-xr-x  4 root root4096 Jan  1  1970
>40cmqfwwaj8pbqzrjqz6nhdi6s67gc22-guix-69390e29d-modules
>-r--r--r--  2 root root   11217 Jan  1  1970
>43kzipbzaq1wh3icv48b6k6inqvsvdsd-guix-packages-source.drv
>-r-xr-xr-x  2 root root2240 Jan  1  1970
>455rs0xq4k132gfnygqzm04xjn60d47d-guix-command
>-r--r--r--  2 root root  113238 Jan  1  1970
>49m6iw9s2hyd1kfmkvv7jl3dvngywgnb-guix-packages-base-source-builder
>-r--r--r--  2 root root2051 Jan  1  1970
>4axxyw1dg4bfbbwvjr0sqslxd7h7mxag-guix-cli.drv
>-r--r--r--  2 root root1036 Jan  1  1970
>4ds0lrwsyn1biwg8a3cq4dci690fpfw2-guix-manual.drv
>-r--r--r--  2 root root1383 Jan  1  1970
>4jbkhyldzv1g59vic674qh9jrfghmgii-guix-e96ba83fa-modules.drv
>-r--r--r--  2 root root2391 Jan  1  1970
>4n0yh5fqq7kv95zvmkq7z6balwb6pzcl-guix-command-builder
>dr-xr-xr-x  2 root root4096 Jan  1  1970
>4n42yg0rbymgdgay8yfvry6dfvh3yy1c-guix
>-r--r--r--  2 root root 925 Jan  1  1970
>4sl7dwq7aps8jj956fbag6km6wyjq8yv-guix-config-source.drv
>-r--r--r--  2 root root1437 Jan  1  1970
>4w20qm92l8jm3v2nxd25qgvhdpqskxk6-guix-command.drv
>-r--r--r--  2 root root1915 Jan  1  1970
>4wv5kk02cza1f36jy2mpp3in6gdrn7jd-guix-system.drv
>-r--r--r--  2 root root4383 Jan  1  1970
>556r1dakqa40nrjszxxzsqqf736ym96z-guix-system-builder
>dr-xr-xr-x  4 

Re: Error: system: command not found.

2018-06-28 Thread Jone
> When I had problems they were caused by wrong path.

Not sure, it seems the main problem is a broken 'guix pull' in root guix
instance,
and I can not do anything further, deadlock!

Output:

## user

ls -l .config/guix/
total 0
lrwxrwxrwx 1 jone users 58 May 20 23:29 latest ->
/gnu/store/9247gcx6ircqypbv8l157c5wvwm0wjkh-guix-d8ac79870

echo $PATH
/home/jone/.guix-profile/bin:/home/jone/.guix-profile/sbin:/run/setuid-programs:/run/current-system/profile/bin:/run/current-system/profile/sbin:/home/jone/bin

## root

ls -l /root/.config/guix/
total 4
lrwxrwxrwx 1 root root 33 Jun 27 18:25 current ->
/root/.config/guix/current-5-link
lrwxrwxrwx 1 root root 51 Jun 27 03:00 current-1-link ->
/gnu/store/awhkhxxlkfq67yza628wcbnldsj48kly-profile
lrwxrwxrwx 1 root root 51 Jun 27 14:01 current-2-link ->
/gnu/store/h5l5qv5wqfpx0dszhms56xjzsqnacc11-profile
lrwxrwxrwx 1 root root 51 Jun 27 14:21 current-3-link ->
/gnu/store/4ismmx7j2xl5wiy6y941br387m2shqj3-profile
lrwxrwxrwx 1 root root 51 Jun 27 17:12 current-4-link ->
/gnu/store/j8jrbdynjnl6wm7i0mr3mxfxyx93s886-profile
lrwxrwxrwx 1 root root 51 Jun 27 18:25 current-5-link ->
/gnu/store/c9qimm831w3rlqmsaq0n5qlw68bkg4cl-profile
lrwxrwxrwx 1 root root 66 Jun 27 02:53 latest ->
/gnu/store/g42p8f30ihr4ni5anmw5029gd29gky52-guix-2a09df43e-modules

echo $PATH
/run/setuid-programs:/run/current-system/profile/bin:/run/current-system/profile/sbin


ls -l /gnu/store | grep guix
-r--r--r--  2 root root1437 Jan  1  1970
0qfcnbk19fycgygwc8s8k8k01yn6xyzi-guix-command.drv
-r--r--r--  2 root root 943 Jan  1  1970
0x5a9hm8mgbx73hl0hsbw4yyngb31ads-shepherd-guix-daemon.scm.drv
dr-xr-xr-x  3 root root4096 Jan  1  1970
0zadksf076a2l3gbimgl7phwcwbkd8kr-guix-packages-base-source
dr-xr-xr-x  5 root root4096 Jan  1  1970
14bkn25rih8y8j5n848i6xq0qfg8x5nc-guix-69390e29d
-r--r--r--  2 root root1504 Jan  1  1970
1cam9k64c56fksva4nmv1rabx2xqkc17-guix-config-builder
-r--r--r--  2 root root1210 Jan  1  1970
1ciw7ib9cvw3vm92xxv8aw2r6azsv3s9-guix-b7238c3d6-builder
-r--r--r--  2 root root7324 Jan  1  1970
1f7ll8gbpbj0hkm194aq73b77vxjfa8c-guix-packages-builder
-r--r--r--  2 root root2900 Jan  1  1970
1fn8gnq2kcynxiqz54xhl6ywfvya6s4h-guix-0.14.0-11.ab85cf7.drv
-r--r--r--  2 root root 876 Jan  1  1970
1s2yal3ia5zlifv5p1v38ndzv6mfxfb1-guix-core.drv
-r--r--r--  2 root root2051 Jan  1  1970
1v4nsr0v16qfgb1ik8viyhh05fs0n3bq-guix-cli.drv
-r--r--r--  2 root root4712 Jan  1  1970
1vskak06b635sjrg0lrb7iy15qp70jnf-guix-0.14.0-11.ab85cf7.drv
dr-xr-xr-x  4 root root4096 Jan  1  1970
230n6p7pns43dbaq3pwk9glfvx23zm10-guix-extra
-r--r--r--  2 root root4383 Jan  1  1970
2b9485z1qfz4g6arfm9r4snp718f2wki-guix-system-builder
-r--r--r--  2 root root   11217 Jan  1  1970
2h4wcl2wj162hs84s0bkcip73s2b24zx-guix-packages-source.drv
-r--r--r--  2 root root 886 Jan  1  1970
3fgl1fqhb4xx10spyvgjjha5isj4fcph-guix-config.drv
dr-xr-xr-x  3 root root4096 Jan  1  1970
3pw07filsg47yppwsha5qsbgk129iwhx-guix-cli
dr-xr-xr-x  4 root root4096 Jan  1  1970
40cmqfwwaj8pbqzrjqz6nhdi6s67gc22-guix-69390e29d-modules
-r--r--r--  2 root root   11217 Jan  1  1970
43kzipbzaq1wh3icv48b6k6inqvsvdsd-guix-packages-source.drv
-r-xr-xr-x  2 root root2240 Jan  1  1970
455rs0xq4k132gfnygqzm04xjn60d47d-guix-command
-r--r--r--  2 root root  113238 Jan  1  1970
49m6iw9s2hyd1kfmkvv7jl3dvngywgnb-guix-packages-base-source-builder
-r--r--r--  2 root root2051 Jan  1  1970
4axxyw1dg4bfbbwvjr0sqslxd7h7mxag-guix-cli.drv
-r--r--r--  2 root root1036 Jan  1  1970
4ds0lrwsyn1biwg8a3cq4dci690fpfw2-guix-manual.drv
-r--r--r--  2 root root1383 Jan  1  1970
4jbkhyldzv1g59vic674qh9jrfghmgii-guix-e96ba83fa-modules.drv
-r--r--r--  2 root root2391 Jan  1  1970
4n0yh5fqq7kv95zvmkq7z6balwb6pzcl-guix-command-builder
dr-xr-xr-x  2 root root4096 Jan  1  1970
4n42yg0rbymgdgay8yfvry6dfvh3yy1c-guix
-r--r--r--  2 root root 925 Jan  1  1970
4sl7dwq7aps8jj956fbag6km6wyjq8yv-guix-config-source.drv
-r--r--r--  2 root root1437 Jan  1  1970
4w20qm92l8jm3v2nxd25qgvhdpqskxk6-guix-command.drv
-r--r--r--  2 root root1915 Jan  1  1970
4wv5kk02cza1f36jy2mpp3in6gdrn7jd-guix-system.drv
-r--r--r--  2 root root4383 Jan  1  1970
556r1dakqa40nrjszxxzsqqf736ym96z-guix-system-builder
dr-xr-xr-x  4 root root4096 Jan  1  1970
56ax0y84liv7nl5kyzyy718m5a34259l-guix-system-source
-r--r--r--  2 root root1196 Jan  1  1970
56j1ssh1mhngw3jnrwa57hwlbfgj006x-guix-b7238c3d6.drv
-r--r--r--  2 root root1437 Jan  1  1970
5g25x81yhvs0wgch63xzbvh5d1x6spgy-guix-command.drv
-r--r--r--  2 root root 979 Jan  1  1970
5h841f21ilgqhv3dcc43xlaa1rxi7lmj-guix-locale-guix-packages.drv
-r--r--r--  2 root root5029 Jan  1  1970
5ib5f94aksrnrjfmpaihld5vyfc3bnkd-guix-system-source.drv
-r--r--r--  2 root root 886 Jan  1  1970
5imji0m667fcbn8ddplpby9lgc1zvjsl-guix-config.drv
-r--r--r--  2 root root1196 Jan  1  1970
5mnc810vhw2wyrbhywsbd3v8cn6j0jkm-guix-bc1d26e39.drv
-r--r--r--  2 root root7324 Jan  1  1970

Re: Error: system: command not found.

2018-06-28 Thread swedebugia
Hi

Could you send the output of the following:
ls -l .config/guix/
ls -l /root/.config/guix/
echo $PATH as both user and root

Even
ls -l /gnu/store |grep guix

When I had problems they were caused by wrong path. 
-- 
Cheers Swedebugia 

Re: guix system disk-image: preset user profiles (packages & arbitrary data)

2018-06-28 Thread Pierre Neidhardt

Ludovic Courtès  writes:

> There are two things we could do:
>
>   • Add an option to make the root file system persistent (easy).
>
>   • Add an option to allow users to specify additional partitions in the
> disk image (which would be writable).  If you look at ‘qemu-image’
> in (gnu system vm), you’ll see there’s already a list of partitions
> there, and this is what needs to be modified.
>
> My preference goes to the second option; it’s a bit more work, but it’s
> not too hard.

With option 2, you mean that we could add new writable partitions, but
_also_ make the root partition writable, right?

It seems to be the most straightforward approach to me.
How else would you attack option 1?

Alternatively, isn't all this exactly the same as installing directly
onto a USB drive, following the regular installation procedure?
Namely


 herd start cow-store /mnt
 guix system init /my/usb/config.scm /mnt 

-- 
Pierre Neidhardt


signature.asc
Description: PGP signature


Re: Error: system: command not found.

2018-06-28 Thread Jone
> We recommend not to add user packages to the “packages” field of your
> operating system configuration.

Ricardo, there are listed only base system-wide packages! I even deleted
'icecat' and some others,
but this almost did not change the reconfigure time.

By the way, in the new system generation (after reconfigure) the same
problems, well, it was expected.
But if I launch 'sudo -E guix pull', then .. ?


Re: Error: system: command not found.

2018-06-28 Thread Jone
My situation is worse, installation of guile-sqlite3 does not solve the
problem. And brocken 'guix pull' in root instance of guix - can't
update. After reconfigure with 'sudo -E guix ..' the same problems
remained..

2018-06-28 4:05 GMT+00:00 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.
>


Re: [ANN] Emacs-Guix 0.4.1

2018-06-28 Thread Pierre Neidhardt

Hi Alex!

Thanks a lot for this release!

I'm still having issues however:

1. `guix-installed-user-packages' does not seem to know about the
updated guix packages after a `guix pull'.

2. All transactions fail, for instance:

--8<---cut here---start->8---
(process-package-actions "/var/guix/profiles/per-user/ambrevar/guix-profile" 
#:install '((43818368 "out")) #:upgrade '() #:remove '() #:use-substitutes? #t 
#:dry-run? #f)
The process begins ...
The following package will be installed:
   ncdu 1.13/gnu/store/ir2izsd72axl0xxdl4aapr9bz0vssm31-ncdu-1.13

substitute: updating substitutes from 'http://mirror.hydra.gnu.org'... 100.0%
The following derivations will be built:
   /gnu/store/1jmicry5wlk1zmxqkvfdnabpkqjqhsy8-profile.drv
   /gnu/store/zpgkmbwa6mfv2516smi0fk5izm3y4cq8-xdg-mime-database.drv
   /gnu/store/sp176agljg5csn8z043ydslf0ipl2rbm-ca-certificate-bundle.drv
   /gnu/store/pbxcgf4bm61g7ip2hg4qd1kfagpncs6b-fonts-dir.drv
   /gnu/store/jhaszp492nqh0lmacdzsidalm3yknqrq-ghc-package-cache.drv
   /gnu/store/ijz4z5cdfm2z2ly8paaji4lkl1p97m9l-gtk-im-modules.drv
   /gnu/store/biy8a424ayksq8shry4s9pp8wa2l0c8l-gtk-icon-themes.drv
   /gnu/store/awxqzb7397790x1p4saqbrn8jw8mpcnn-xdg-desktop-database.drv
   /gnu/store/20bgjzq55yz71jv0q96wjc28x1zlf98r-glib-schemas.drv
   /gnu/store/0yx4lcx26jljs8z77kx7mdrnswq9x4ln-info-dir.drv
   /gnu/store/f4zznhia3rjm9qpry4mjvxfv85wvnj1g-manual-database.drv
Warning: Schema ?org.gnome.gmtp? has path ?/apps/gMTP/?.  Paths starting with 
?/apps/?, ?/desktop/? or ?/system/? are deprecated.
Warning: Schema ?org.gnome.system.locale? has path ?/system/locale/?.  Paths 
starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
Warning: Schema ?org.gnome.system.proxy? has path ?/system/proxy/?.  Paths 
starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
Warning: Schema ?org.gnome.system.proxy.http? has path ?/system/proxy/http/?.  
Paths starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
Warning: Schema ?org.gnome.system.proxy.https? has path ?/system/proxy/https/?. 
 Paths starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
Warning: Schema ?org.gnome.system.proxy.ftp? has path ?/system/proxy/ftp/?.  
Paths starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
Warning: Schema ?org.gnome.system.proxy.socks? has path ?/system/proxy/socks/?. 
 Paths starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
Backtrace:
  10 (primitive-load "/gnu/store/mbly9vgw50f7wl028rjk8zp1xw7?")
In ice-9/eval.scm:
   721:20  9 (primitive-eval (begin (use-modules (guix build #) ?) #))
In ice-9/psyntax.scm:
  1235:36  8 (expand-top-sequence ((begin (use-modules (# # ?) ?) ?)) ?)
  1182:24  7 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?)
  1182:24  6 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?)
   285:10  5 (parse _ (("placeholder" placeholder)) (()) _ c (eval) ?)
In ice-9/boot-9.scm:
  3365:20  4 (process-use-modules _)
   222:17  3 (map1 (((guix build utils)) ((guix build union)) ((?)) ?))
  3366:31  2 (_ ((guix build utils)))
   2791:6  1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ ?)
In unknown file:
   0 (scm-error misc-error #f "~A ~S" ("no code for modu?" ?) ?)

ERROR: In procedure scm-error:
no code for module (guix build utils)
--8<---cut here---end--->8---

Is something wrong my setup?

-- 
Pierre Neidhardt


signature.asc
Description: PGP signature


Re: "guix offload test" gets stuck with no output.

2018-06-28 Thread swedebugia



On June 28, 2018 8:09:14 AM GMT+02:00, Fredrik Salomonsson  
wrote:
>Hi,
>
>got inspired by this thread to try and setup offloading for my laptop.
>As
>everytime I run guix pull my laptop sounds like it's preparing to take
>off.
>

Hi.
Are you aware of
1) the new possibility of picking a commit that hydra already built thus 
avoiding the compilation of guix locally? 
2) the ability to control the cpu frequency via a governor or the program 
cpufreq-set? 

This helps me keep my laptop temperature in check and guix pull with picked 
commit only takes a few minutes to complete. 
-- 
Cheers Swedebugia



Re: "guix offload test" gets stuck with no output.

2018-06-28 Thread Fredrik Salomonsson
Hi,

got inspired by this thread to try and setup offloading for my laptop. As
everytime I run guix pull my laptop sounds like it's preparing to take off.

But running into problems similar to what Matthew described. I.e. it just
get stuck.

> $ guix offload test
>
guix offload: testing 1 build machines defined in
> '/etc/guix/machines.scm'...
>
guix offload: '192.168.1.105' is running guile (GNU Guile) 2.2.3
>

 On the build machine however I see

> Jun 27 22:26:05 localhost sshd[3203]: error: connect_to localhost port
> 37146: failed.
> Jun 27 22:26:05 localhost sshd[3203]: error: connect_to localhost port
> 37146: failed.
> Jun 27 22:42:11 localhost sshd[4136]: error: connect_to localhost port
> 37146: failed.
> Jun 27 22:42:11 localhost sshd[4136]: error: connect_to localhost port
> 37146: failed.
>

My laptop is using guix on a foreign distro (arch) with the guix version
"4bfd8579f9e06a0a0eafb69be7233bb99c75a02e".
The build machine is a GuixSD VM on my desktop with the same guix version.
Checked the message, shepherd.log and secure logs but couldn't find
anything that looked wrong.

My machine.scm looks like:

> (list (build-machine
>(name "192.168.1.105")
>(system "x86_64-linux")
>(user "plattfot")
>(host-key "ssh-ed25519  root@(none)")
>(private-key "/home/plattfot/.ssh/id_guix")
>))
>

$HOME/.config/guix/current/bin is in the PATH on both machines.

Anyone has any ideas what could be wrong? Or how to debug this?

Thanks


2018-06-16 16:49 GMT-07:00 Matthew Brooks :

> It seems to be working now, for some reason.
>
> I updated guix in the user and root accounts on the build machine again,
> and double-checked the .bashrc configs since one of them said I needed to
> add ".config/guix/current/bin" to the path (even though I swear I did that
> the other day, but it wasn't there today so maybe I didn't), and it's
> working now.
>
> If it breaks again, I'll let you all know, but
>



-- 
s/Fred[re]+i[ck]+/Fredrik/g