unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices
@ 2017-12-28 22:18 Diego Nicola Barbato
  2017-12-28 22:30 ` Leo Famulari
  2017-12-29 13:41 ` Ludovic Courtès
  0 siblings, 2 replies; 11+ messages in thread
From: Diego Nicola Barbato @ 2017-12-28 22:18 UTC (permalink / raw)
  To: 29881

Hello Guix,

When running `guix system reconfigure /etc/config.scm' as root I get the
following error:

guix system: error: failed to load '/etc/config.scm':
/etc/config.scm:24:9: /etc/config.scm:24:9: In procedure allocate-struct: Wrong type argument in position 2: 3

This error appears for the first time in commit
4ca90ff5976434a2b6e758df38df54387ae70c1b.  On line 24 of my config file
I have declared a mapped device of type luks-device-mapping.  If the
config file does not contain any mapped-devices declaration `guix system
reconfigure' works as expected (checked in a VM).

I run GuixSD on a x86_64 machine.

Greetings

Diego N. Barbato

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

* bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices
  2017-12-28 22:18 bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices Diego Nicola Barbato
@ 2017-12-28 22:30 ` Leo Famulari
  2017-12-28 23:04   ` dnbarbato
  2017-12-29 13:41 ` Ludovic Courtès
  1 sibling, 1 reply; 11+ messages in thread
From: Leo Famulari @ 2017-12-28 22:30 UTC (permalink / raw)
  To: 29881, dnbarbato

Can you send your config.scm? 

Without it, it's hard to know if there is a problem with your config.scm or the Guix mapper-devices code.


-------- Original Message --------
From: Diego Nicola Barbato <dnbarbato@posteo.de>
Sent: December 28, 2017 5:18:04 PM EST
To: 29881@debbugs.gnu.org
Subject: bug#29881: guix system reconfigure fails if config.scm contains LUKS	mapped-devices

Hello Guix,

When running `guix system reconfigure /etc/config.scm' as root I get the
following error:

guix system: error: failed to load '/etc/config.scm':
/etc/config.scm:24:9: /etc/config.scm:24:9: In procedure allocate-struct: Wrong type argument in position 2: 3

This error appears for the first time in commit
4ca90ff5976434a2b6e758df38df54387ae70c1b.  On line 24 of my config file
I have declared a mapped device of type luks-device-mapping.  If the
config file does not contain any mapped-devices declaration `guix system
reconfigure' works as expected (checked in a VM).

I run GuixSD on a x86_64 machine.

Greetings

Diego N. Barbato

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

* bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices
  2017-12-28 22:30 ` Leo Famulari
@ 2017-12-28 23:04   ` dnbarbato
  0 siblings, 0 replies; 11+ messages in thread
From: dnbarbato @ 2017-12-28 23:04 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 29881

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

Leo Famulari <leo@famulari.name> writes:

> Can you send your config.scm? 
>
> Without it, it's hard to know if there is a problem with your config.scm or the Guix mapper-devices code.
>

As requested here is my config.scm.  Although I doubt there is a problem
with it since it works with commit
de2032b912ede1756290e7ca9f7af7e9b72627eb and the mapped-devices
declaration is the same as in the manual (except for the target and the
uuid).


[-- Attachment #2: config.scm --]
[-- Type: application/octet-stream, Size: 3788 bytes --]

;; This is an operating system configuration file
;; for a "desktop" setup with StumpWM and EXWM where
;; the root partition is encrypted with LUKS.

(use-modules (gnu) (gnu packages) (gnu system nss))
(use-service-modules avahi cups dbus desktop networking xorg)
(use-package-modules certs cups emacs gnome libusb lisp xdisorg)

(operating-system
  (host-name "GLaDOS")
  (timezone "Europe/Zurich")
  (locale "de_CH.UTF-8")

  ;; Assuming /dev/sda is the target hard disk, and "osiris"
  ;; is the label of the target root file system.
  (bootloader (bootloader-configuration
                (bootloader grub-bootloader)
                (target "/dev/sda")
                (timeout 1)))

  ;; Specify a mapped device for the encrypted root partition.
  ;; The UUID is that returned by 'cryptsetup luksUUID'.
  (mapped-devices
   (list (mapped-device
          (source (uuid "9f9b4eaf-3c02-4d3d-b517-782c419b943f"))
          (target "hathor")
          (type luks-device-mapping))))

  (file-systems (cons* (file-system
                        (device "osiris")
                        (title 'label)
                        (mount-point "/")
                        (type "ext4"))
                      (file-system
                        (device "horus")
                        (title 'label)
                        (mount-point "/home")
                        (type "ext4")
                        (dependencies mapped-devices))
                      %base-file-systems))

  (swap-devices '("/dev/sda2"))

  (users (cons (user-account
                (name "diego")
                (comment "Diego Nicola Barbato")
                (group "users")
                (supplementary-groups '("lp"
                                        "wheel" "netdev"
                                        "audio" "video"))
                (home-directory "/home/diego"))
               %base-user-accounts))

  ;; This is where we specify system-wide packages.
  (packages (cons* nss-certs         ;for HTTPS access
                   ;; gvfs              ;for user mounts
                   sbcl-stumpwm      ;StumpWM window manager
                   emacs emacs-exwm  ;emacs window manager
                   %base-packages))

  ;; Add desktop services to %base-services. This is a modified
  ;; version of %desktop-services with fewer services and wicd
  ;; instead of network-manager. Also adding tor, xscreensaver,
  ;; bluetooth and a swiss german console keymap.
  (services (cons* (tor-service)

		   ;; cups service
		   (service cups-service-type
			    (cups-configuration
			     (web-interface? #t)
			     (extensions
			      (list cups-filters escpr))))

                   ;; Login service
                   (slim-service)

                   ;; Screen lockers are a pretty useful thing
		   ;; and these are small.
                   (screen-locker-service xlockmore "xlock")
                   (screen-locker-service xscreensaver "xscreensaver")

		   ;; Add udev rules for MTP devices so that non-root
		   ;; users can access them.
		   (simple-service 'mtp udev-service-type (list libmtp))

                   ;; The D-Bus clique.
                   (bluetooth-service)
                   (avahi-service)
                   (wicd-service)
                   (udisks-service)
                   (upower-service)
                   (colord-service)
                   (geoclue-service)
                   (polkit-service)
                   (elogind-service)
                   (dbus-service)

                   (ntp-service)

                   ;; Add swiss german keymap
                   (console-keymap-service "de_CH-latin1")

                   %base-services))

  ;; Allow resolution of '.local' host names with mDNS.
  (name-service-switch %mdns-host-lookup-nss))

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

* bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices
  2017-12-28 22:18 bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices Diego Nicola Barbato
  2017-12-28 22:30 ` Leo Famulari
@ 2017-12-29 13:41 ` Ludovic Courtès
  2017-12-29 17:33   ` Mark H Weaver
                     ` (3 more replies)
  1 sibling, 4 replies; 11+ messages in thread
From: Ludovic Courtès @ 2017-12-29 13:41 UTC (permalink / raw)
  To: Diego Nicola Barbato; +Cc: 29881

Hi Diego,

Diego Nicola Barbato <dnbarbato@posteo.de> skribis:

> When running `guix system reconfigure /etc/config.scm' as root I get the
> following error:
>
> guix system: error: failed to load '/etc/config.scm':
> /etc/config.scm:24:9: /etc/config.scm:24:9: In procedure allocate-struct: Wrong type argument in position 2: 3

I’m afraid you’ll have to “rm -rf ~/.cache/guile/ccache” (Guile’s
auto-compilation cache) to work around
e2721a05e7d778bdf845b7cb7a42fd9f76095b69.

Can you confirm?

This commit adapts to a change in what ‘%fresh-auto-compile’ does in
Guile 2.2.3, which turned out to be wrong.

Thanks,
Ludo’.

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

* bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices
  2017-12-29 13:41 ` Ludovic Courtès
@ 2017-12-29 17:33   ` Mark H Weaver
  2017-12-30  0:19     ` Ludovic Courtès
  2017-12-30 13:55   ` Diego Nicola Barbato
                     ` (2 subsequent siblings)
  3 siblings, 1 reply; 11+ messages in thread
From: Mark H Weaver @ 2017-12-29 17:33 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 29881, Diego Nicola Barbato

ludo@gnu.org (Ludovic Courtès) writes:

> Diego Nicola Barbato <dnbarbato@posteo.de> skribis:
>
>> When running `guix system reconfigure /etc/config.scm' as root I get the
>> following error:
>>
>> guix system: error: failed to load '/etc/config.scm':
>> /etc/config.scm:24:9: /etc/config.scm:24:9: In procedure allocate-struct: Wrong type argument in position 2: 3
>
> I’m afraid you’ll have to “rm -rf ~/.cache/guile/ccache” (Guile’s
> auto-compilation cache) to work around
> e2721a05e7d778bdf845b7cb7a42fd9f76095b69.

FYI, I also encountered the same issue recently, and indeed I needed to
clear the auto-compilation cache for my system configuration file, for
both my normal user and root.

It makes me wonder if "guix system" should force a fresh compilation of
that file by default.

       Mark

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

* bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices
  2017-12-29 17:33   ` Mark H Weaver
@ 2017-12-30  0:19     ` Ludovic Courtès
  0 siblings, 0 replies; 11+ messages in thread
From: Ludovic Courtès @ 2017-12-30  0:19 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: 29881, Diego Nicola Barbato

Mark H Weaver <mhw@netris.org> skribis:

> ludo@gnu.org (Ludovic Courtès) writes:
>
>> Diego Nicola Barbato <dnbarbato@posteo.de> skribis:
>>
>>> When running `guix system reconfigure /etc/config.scm' as root I get the
>>> following error:
>>>
>>> guix system: error: failed to load '/etc/config.scm':
>>> /etc/config.scm:24:9: /etc/config.scm:24:9: In procedure allocate-struct: Wrong type argument in position 2: 3
>>
>> I’m afraid you’ll have to “rm -rf ~/.cache/guile/ccache” (Guile’s
>> auto-compilation cache) to work around
>> e2721a05e7d778bdf845b7cb7a42fd9f76095b69.
>
> FYI, I also encountered the same issue recently, and indeed I needed to
> clear the auto-compilation cache for my system configuration file, for
> both my normal user and root.
>
> It makes me wonder if "guix system" should force a fresh compilation of
> that file by default.

It should, as it used to do, but in 2.2.3 I pushed a “fix” for
‘%fresh-auto-compile’ that turned out to be misguided: it would now
force a fresh-auto-compile of everything, including files for which we
have a .go not in ~/.cache but in some other $GUILE_LOAD_COMPILED_PATH
entry.

See
<https://git.savannah.gnu.org/cgit/guile.git/commit/?h=stable-2.2&id=83d4c4d622b406ec0bc9d8139ec8182fa72b5720>.

I think we should revert it and publish 2.2.4 soon.

Thoughts?

Ludo’.

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

* bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices
  2017-12-29 13:41 ` Ludovic Courtès
  2017-12-29 17:33   ` Mark H Weaver
@ 2017-12-30 13:55   ` Diego Nicola Barbato
  2018-01-07  2:24   ` Mike Gerwitz
  2018-01-10 21:47   ` Mark H Weaver
  3 siblings, 0 replies; 11+ messages in thread
From: Diego Nicola Barbato @ 2017-12-30 13:55 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 29881

Hello Ludo,

ludo@gnu.org (Ludovic Courtès) writes:

> I’m afraid you’ll have to “rm -rf ~/.cache/guile/ccache” (Guile’s
> auto-compilation cache) to work around
> e2721a05e7d778bdf845b7cb7a42fd9f76095b69.
>
> Can you confirm?

Yes, running `rm -rf ~/.cache/guile/ccache' fixes the issue.

Thanks.

Diego

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

* bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices
  2017-12-29 13:41 ` Ludovic Courtès
  2017-12-29 17:33   ` Mark H Weaver
  2017-12-30 13:55   ` Diego Nicola Barbato
@ 2018-01-07  2:24   ` Mike Gerwitz
  2018-01-10 21:47   ` Mark H Weaver
  3 siblings, 0 replies; 11+ messages in thread
From: Mike Gerwitz @ 2018-01-07  2:24 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 29881, Diego Nicola Barbato

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

On Fri, Dec 29, 2017 at 14:41:21 +0100, Ludovic Courtès wrote:
> Diego Nicola Barbato <dnbarbato@posteo.de> skribis:
>
>> When running `guix system reconfigure /etc/config.scm' as root I get the
>> following error:
>>
>> guix system: error: failed to load '/etc/config.scm':
>> /etc/config.scm:24:9: /etc/config.scm:24:9: In procedure allocate-struct: Wrong type argument in position 2: 3
>
> I’m afraid you’ll have to “rm -rf ~/.cache/guile/ccache” (Guile’s
> auto-compilation cache) to work around
> e2721a05e7d778bdf845b7cb7a42fd9f76095b69.
>
> Can you confirm?

I just ran into this, and clearing ~/.cache/guile/ccache did indeed fix
it.  Thanks.

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

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

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

* bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices
  2017-12-29 13:41 ` Ludovic Courtès
                     ` (2 preceding siblings ...)
  2018-01-07  2:24   ` Mike Gerwitz
@ 2018-01-10 21:47   ` Mark H Weaver
  2018-01-15 22:33     ` Ludovic Courtès
  3 siblings, 1 reply; 11+ messages in thread
From: Mark H Weaver @ 2018-01-10 21:47 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 29881, Diego Nicola Barbato

ludo@gnu.org (Ludovic Courtès) writes:

> Diego Nicola Barbato <dnbarbato@posteo.de> skribis:
>
>> When running `guix system reconfigure /etc/config.scm' as root I get the
>> following error:
>>
>> guix system: error: failed to load '/etc/config.scm':
>> /etc/config.scm:24:9: /etc/config.scm:24:9: In procedure allocate-struct: Wrong type argument in position 2: 3
>
> I’m afraid you’ll have to “rm -rf ~/.cache/guile/ccache” (Guile’s
> auto-compilation cache) to work around
> e2721a05e7d778bdf845b7cb7a42fd9f76095b69.

FYI, more recently there has been another change that caused "guix
system build" to fail for me, and once again it was fixed by clearing
the auto-compilation cache for my system configuration.

Here's the error I got:

--8<---------------cut here---------------start------------->8---
mhw@jojen ~$ (guix system build /etc/config-sddm.scm --keep-going --keep-failed --no-grafts; guix system build /etc/config-sddm.scm --keep-going --keep-failed; guix package -m mhw-manifest.scm --keep-going --keep-failed)
Backtrace:
In guix/store.scm:
  1443:24 19 (run-with-store _ _ #:guile-for-build _ #:system _ # _)
In guix/scripts/system.scm:
  1031:13 18 (_ _)
   736:18 17 (perform-action build #<<operating-system> kernel: #<p…> …)
In gnu/system.scm:
   813:19 16 (operating-system-derivation _ #:container? _)
In gnu/services.scm:
   697:26 15 (loop #<<service> type: #<service-type system 1ac8dc0> …>)
In srfi/srfi-1.scm:
   592:17 14 (map1 (#<<service> type: #<service-type profile 1ac8…> …))
In gnu/services.scm:
   697:26 13 (loop #<<service> type: #<service-type profile 1ac8b40>…>)
In srfi/srfi-1.scm:
   592:17 12 (map1 (#<<service> type: #<service-type shepherd-roo…> …))
In gnu/services.scm:
   698:26 11 (loop #<<service> type: #<service-type shepherd-root 1a…>)
In srfi/srfi-1.scm:
   592:29 10 (map1 (#<<service> type: #<service-type file-systems…> …))
   592:29  9 (map1 (#<<service> type: #<service-type user-file-sy…> …))
   592:29  8 (map1 (#<<service> type: #<service-type root-file-sy…> …))
   592:29  7 (map1 (#<<service> type: #<service-type user-process…> …))
   592:29  6 (map1 (#<<service> type: #<service-type host-name 1b…> …))
   592:29  5 (map1 (#<<service> type: #<service-type account 1ac8…> …))
   592:29  4 (map1 (#<<service> type: #<service-type udev 1bb0780…> …))
   592:29  3 (map1 (#<<service> type: #<service-type nscd 1bb0960…> …))
   592:17  2 (map1 (#<<service> type: #<service-type guix 1bb0870…> …))
In gnu/services/base.scm:
  1471:43  1 (guix-shepherd-service _)
In unknown file:
           0 (symbol->string ("--gc-keep-derivations=yes" "--gc-ke…"))

ERROR: In procedure symbol->string:
ERROR: In procedure symbol->string: Wrong type argument in position 1 (expecting symbol): ("--gc-keep-derivations=yes" "--gc-keep-outputs=yes")
Backtrace:
In guix/store.scm:
  1443:24 19 (run-with-store _ _ #:guile-for-build _ #:system _ # _)
In guix/scripts/system.scm:
  1031:13 18 (_ _)
   736:18 17 (perform-action build #<<operating-system> kernel: #<p…> …)
In gnu/system.scm:
   813:19 16 (operating-system-derivation _ #:container? _)
In gnu/services.scm:
   697:26 15 (loop #<<service> type: #<service-type system 254ffa0> …>)
In srfi/srfi-1.scm:
   592:17 14 (map1 (#<<service> type: #<service-type profile 254f…> …))
In gnu/services.scm:
   697:26 13 (loop #<<service> type: #<service-type profile 254fc80>…>)
In srfi/srfi-1.scm:
   592:17 12 (map1 (#<<service> type: #<service-type shepherd-roo…> …))
In gnu/services.scm:
   698:26 11 (loop #<<service> type: #<service-type shepherd-root 25…>)
In srfi/srfi-1.scm:
   592:29 10 (map1 (#<<service> type: #<service-type file-systems…> …))
   592:29  9 (map1 (#<<service> type: #<service-type user-file-sy…> …))
   592:29  8 (map1 (#<<service> type: #<service-type root-file-sy…> …))
   592:29  7 (map1 (#<<service> type: #<service-type user-process…> …))
   592:29  6 (map1 (#<<service> type: #<service-type host-name 26…> …))
   592:29  5 (map1 (#<<service> type: #<service-type account 254f…> …))
   592:29  4 (map1 (#<<service> type: #<service-type udev 2653820…> …))
   592:29  3 (map1 (#<<service> type: #<service-type nscd 2653a00…> …))
   592:17  2 (map1 (#<<service> type: #<service-type guix 2653910…> …))
In gnu/services/base.scm:
  1471:43  1 (guix-shepherd-service _)
In unknown file:
           0 (symbol->string ("--gc-keep-derivations=yes" "--gc-ke…"))

ERROR: In procedure symbol->string:
ERROR: In procedure symbol->string: Wrong type argument in position 1 (expecting symbol): ("--gc-keep-derivations=yes" "--gc-keep-outputs=yes")
--8<---------------cut here---------------end--------------->8---

and the relevant excerpt from my system configuration:

--8<---------------cut here---------------start------------->8---
       (modify-services (remove (lambda (svc)
                                  (eq? (service-kind svc)
                                       wicd-service-type))
                                %base-services)
         (guix-service-type config =>
                            (guix-configuration
                              (inherit config)
                              (use-substitutes? #f)
                              (authorized-keys '())
                              (substitute-urls '())
                              (extra-options '("--gc-keep-derivations=yes"
                                               "--gc-keep-outputs=yes")))))
--8<---------------cut here---------------end--------------->8---

I guess that maybe the 'guix-configuration' record was changed, but I
haven't taken the time to find the commit that broke my cached
etc/config-sddm.go.

       Mark

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

* bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices
  2018-01-10 21:47   ` Mark H Weaver
@ 2018-01-15 22:33     ` Ludovic Courtès
  2018-03-05  9:58       ` Ludovic Courtès
  0 siblings, 1 reply; 11+ messages in thread
From: Ludovic Courtès @ 2018-01-15 22:33 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: 29881, Diego Nicola Barbato

Hi Mark,

Mark H Weaver <mhw@netris.org> skribis:

> ludo@gnu.org (Ludovic Courtès) writes:
>
>> Diego Nicola Barbato <dnbarbato@posteo.de> skribis:
>>
>>> When running `guix system reconfigure /etc/config.scm' as root I get the
>>> following error:
>>>
>>> guix system: error: failed to load '/etc/config.scm':
>>> /etc/config.scm:24:9: /etc/config.scm:24:9: In procedure allocate-struct: Wrong type argument in position 2: 3
>>
>> I’m afraid you’ll have to “rm -rf ~/.cache/guile/ccache” (Guile’s
>> auto-compilation cache) to work around
>> e2721a05e7d778bdf845b7cb7a42fd9f76095b69.
>
> FYI, more recently there has been another change that caused "guix
> system build" to fail for me, and once again it was fixed by clearing
> the auto-compilation cache for my system configuration.

For now, in commit 92423868bc451600f8f3d93b638091d12b14b7aa, I’ve
arranged so that auto-compilation is turned off for Guile 2.2.3 only.

At the same time, I reverted the offending change in Guile, and
hopefully we’ll release 2.2.4 shortly:

  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=29226#25

I’m not sure we can do much better for 2.2.3, or perhaps we should
always use (compile-file file #:to 'value) in ‘load*’?

Thanks,
Ludo’.

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

* bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices
  2018-01-15 22:33     ` Ludovic Courtès
@ 2018-03-05  9:58       ` Ludovic Courtès
  0 siblings, 0 replies; 11+ messages in thread
From: Ludovic Courtès @ 2018-03-05  9:58 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: 29881-done, Diego Nicola Barbato

ludo@gnu.org (Ludovic Courtès) skribis:

> Mark H Weaver <mhw@netris.org> skribis:
>
>> ludo@gnu.org (Ludovic Courtès) writes:
>>
>>> Diego Nicola Barbato <dnbarbato@posteo.de> skribis:
>>>
>>>> When running `guix system reconfigure /etc/config.scm' as root I get the
>>>> following error:
>>>>
>>>> guix system: error: failed to load '/etc/config.scm':
>>>> /etc/config.scm:24:9: /etc/config.scm:24:9: In procedure allocate-struct: Wrong type argument in position 2: 3
>>>
>>> I’m afraid you’ll have to “rm -rf ~/.cache/guile/ccache” (Guile’s
>>> auto-compilation cache) to work around
>>> e2721a05e7d778bdf845b7cb7a42fd9f76095b69.
>>
>> FYI, more recently there has been another change that caused "guix
>> system build" to fail for me, and once again it was fixed by clearing
>> the auto-compilation cache for my system configuration.
>
> For now, in commit 92423868bc451600f8f3d93b638091d12b14b7aa, I’ve
> arranged so that auto-compilation is turned off for Guile 2.2.3 only.

[...]

> I’m not sure we can do much better for 2.2.3, or perhaps we should
> always use (compile-file file #:to 'value) in ‘load*’?

In commit f44c7aaccd1942b8bf7916e4c8bb0f8f1abfcb58 I added an explicit
‘compile-file’ call to update the cached .go file for the user’s config,
when on 2.2.3.

This should solve the problem most of the time.  The only remaining
issue is if you’re using 2.2.3 and your config spans several modules:
only the main .scm file is rebuilt, so there could be ABI issues in the
other modules.

I’m closing the bug now.

Ludo’.

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

end of thread, other threads:[~2018-03-05  9:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-28 22:18 bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices Diego Nicola Barbato
2017-12-28 22:30 ` Leo Famulari
2017-12-28 23:04   ` dnbarbato
2017-12-29 13:41 ` Ludovic Courtès
2017-12-29 17:33   ` Mark H Weaver
2017-12-30  0:19     ` Ludovic Courtès
2017-12-30 13:55   ` Diego Nicola Barbato
2018-01-07  2:24   ` Mike Gerwitz
2018-01-10 21:47   ` Mark H Weaver
2018-01-15 22:33     ` Ludovic Courtès
2018-03-05  9:58       ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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