unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Building system for i686
@ 2017-12-26 18:35 Ricardo Wurmus
  2017-12-27 22:09 ` Marius Bakke
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Ricardo Wurmus @ 2017-12-26 18:35 UTC (permalink / raw)
  To: help-guix

Hi Guix,

as my i686 laptop has only about 1G of memory and thus fails to build a
great many packages (including the guix package itself) I wanted to
build its configuration on my x86_64 laptop.  I then copied the system
closure to the i686 laptop with “guix copy”.

On the i686 target I ran “sudo -E guix system reconfigure config.scm”
and expected it to do little more than switching to the transferred
system item.  Instead it started building Guix, which fails on my i686
machine (not enough memory).

Is this behaviour a bug?

--
Ricardo

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Building system for i686
  2017-12-26 18:35 Building system for i686 Ricardo Wurmus
@ 2017-12-27 22:09 ` Marius Bakke
  2017-12-28  0:40   ` `guix copy` vs grafts Marius Bakke
  2017-12-28 20:06 ` Building system for i686 Daniel Pimentel
  2018-01-08 14:46 ` Ludovic Courtès
  2 siblings, 1 reply; 5+ messages in thread
From: Marius Bakke @ 2017-12-27 22:09 UTC (permalink / raw)
  To: Ricardo Wurmus, help-guix

[-- Attachment #1: Type: text/plain, Size: 934 bytes --]

Ricardo Wurmus <rekado@elephly.net> writes:

> Hi Guix,
>
> as my i686 laptop has only about 1G of memory and thus fails to build a
> great many packages (including the guix package itself) I wanted to
> build its configuration on my x86_64 laptop.  I then copied the system
> closure to the i686 laptop with “guix copy”.
>
> On the i686 target I ran “sudo -E guix system reconfigure config.scm”
> and expected it to do little more than switching to the transferred
> system item.  Instead it started building Guix, which fails on my i686
> machine (not enough memory).

There is a caveat with `guix copy`: if you copy the grafted derivation
(as the `guix system build` closure would be) the receiving system won't
recognize it since it only computes the ungrafted derivations.

If you build the system with --no-grafts, I suspect things will work as
expected.

> Is this behaviour a bug?

Probably :)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* `guix copy` vs grafts
  2017-12-27 22:09 ` Marius Bakke
@ 2017-12-28  0:40   ` Marius Bakke
  0 siblings, 0 replies; 5+ messages in thread
From: Marius Bakke @ 2017-12-28  0:40 UTC (permalink / raw)
  To: Ricardo Wurmus, help-guix

[-- Attachment #1: Type: text/plain, Size: 1129 bytes --]

Marius Bakke <mbakke@fastmail.com> writes:

> Ricardo Wurmus <rekado@elephly.net> writes:
>
>> Hi Guix,
>>
>> as my i686 laptop has only about 1G of memory and thus fails to build a
>> great many packages (including the guix package itself) I wanted to
>> build its configuration on my x86_64 laptop.  I then copied the system
>> closure to the i686 laptop with “guix copy”.
>>
>> On the i686 target I ran “sudo -E guix system reconfigure config.scm”
>> and expected it to do little more than switching to the transferred
>> system item.  Instead it started building Guix, which fails on my i686
>> machine (not enough memory).
>
> There is a caveat with `guix copy`: if you copy the grafted derivation
> (as the `guix system build` closure would be) the receiving system won't
> recognize it since it only computes the ungrafted derivations.

To clarify: I think what happens is that "guix system/build" builds the
'normal' derivation, then afterwards computes and builds the grafts.

If the first is not present locally, it will be built even if the
grafted derivation is already in the store.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Building system for i686
  2017-12-26 18:35 Building system for i686 Ricardo Wurmus
  2017-12-27 22:09 ` Marius Bakke
@ 2017-12-28 20:06 ` Daniel Pimentel
  2018-01-08 14:46 ` Ludovic Courtès
  2 siblings, 0 replies; 5+ messages in thread
From: Daniel Pimentel @ 2017-12-28 20:06 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: help-guix

I have a Thinkpad X60s with GuixSD runing Emacs-exwm and a lot of 
packages (emacs, git, lilypond, texlive, gimp, inkscape, ...) but 
libreoffice not install because the libzmf isn't building. Follow 
errors:

builder for 
`/gnu/store/5pwpi8dnrx5r2fkv0gpzm80vz0gcf35h-libzmf-0.0.2.drv' failed 
with exit code 1
cannot build derivation 
`/gnu/store/2pxrlgkc9s5qyg5sbhy92bg5ilcqs2ji-libreoffice-5.3.7.2.drv': 1 
dependencies couldn't be built
guix package: error: build failed: build of 
`/gnu/store/2pxrlgkc9s5qyg5sbhy92bg5ilcqs2ji-libreoffice-5.3.7.2.drv' 
failed

---
Daniel Pimentel (d4n1)

On 2017-12-26 15:35, Ricardo Wurmus wrote:
> Hi Guix,
> 
> as my i686 laptop has only about 1G of memory and thus fails to build a
> great many packages (including the guix package itself) I wanted to
> build its configuration on my x86_64 laptop.  I then copied the system
> closure to the i686 laptop with “guix copy”.
> 
> On the i686 target I ran “sudo -E guix system reconfigure config.scm”
> and expected it to do little more than switching to the transferred
> system item.  Instead it started building Guix, which fails on my i686
> machine (not enough memory).
> 
> Is this behaviour a bug?
> 
> --
> Ricardo
> 
> GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
> https://elephly.net

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Building system for i686
  2017-12-26 18:35 Building system for i686 Ricardo Wurmus
  2017-12-27 22:09 ` Marius Bakke
  2017-12-28 20:06 ` Building system for i686 Daniel Pimentel
@ 2018-01-08 14:46 ` Ludovic Courtès
  2 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2018-01-08 14:46 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: help-guix

Hi Ricardo,

Ricardo Wurmus <rekado@elephly.net> skribis:

> as my i686 laptop has only about 1G of memory and thus fails to build a
> great many packages (including the guix package itself) I wanted to
> build its configuration on my x86_64 laptop.  I then copied the system
> closure to the i686 laptop with “guix copy”.

Could you check whether Guix can be built with Guile 2.2.3 on this
system?  The memory demand should be lower.

We should do whatever it takes to have Guix buildable with 1G of RAM
again.

Ludo’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-01-08 14:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-26 18:35 Building system for i686 Ricardo Wurmus
2017-12-27 22:09 ` Marius Bakke
2017-12-28  0:40   ` `guix copy` vs grafts Marius Bakke
2017-12-28 20:06 ` Building system for i686 Daniel Pimentel
2018-01-08 14:46 ` Ludovic Courtès

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).