System reconfigure error

DoneSubmitted by mikadoZero.
Details
4 participants
  • Danny Milosavljevic
  • Leo Famulari
  • Ludovic Courtès
  • mikadoZero
Owner
unassigned
Severity
normal
M
M
mikadoZero wrote on 17 Mar 2019 21:11
(address . bug-guix@gnu.org)
o969s1kq.fsf@yandex.com
`guix describe`guix 19c0cdb repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 19c0cdb9e6271956015232421ef7f63a1ad001ae
I get an error message when I do `guix system reconfigure config.scm`:
Backtrace:In guix/ui.scm: 1654:12 19 (run-guix-command _ . _)In ice-9/boot-9.scm: 829:9 18 (catch _ _ #<procedure 7f5517e709b8 at guix/ui.scm:624:2 (key c)> _) 829:9 17 (catch _ _ #<procedure 7f5517e709d0 at guix/ui.scm:750:6 (key proc…> …)In guix/scripts/system.scm: 1301:8 16 (_)In guix/status.scm: 810:4 15 (call-with-status-report _ _)In guix/scripts/system.scm: 1162:6 14 (process-action _ _ _)In guix/store.scm: 1737:24 13 (run-with-store _ _ #:guile-for-build _ #:system _ #:target _)In guix/scripts/system.scm: 1175:13 12 (_ _) 882:18 11 (perform-action reconfigure #<<operating-system> kernel: #<package…> …)In gnu/system.scm: 845:19 10 (operating-system-derivation _ #:container? _)In gnu/services.scm: 779:26 9 (loop #<<service> type: #<service-type system 1bdafa0> value: #<pro…>)In srfi/srfi-1.scm: 592:17 8 (map1 (#<<service> type: #<service-type profile 1bdab90> value: …> …))In gnu/services.scm: 586:32 7 (packages->profile-entry _)In guix/profiles.scm: 338:3 6 (packages->manifest _)In srfi/srfi-1.scm: 592:29 5 (map1 (#<package autoconf@2.69 gnu/packages/autotools.scm:45 2d0…> …)) 592:29 4 (map1 (#<package automake@1.16.1 gnu/packages/autotools.scm:251 …> …)) 592:17 3 (map1 (#<procedure gettext (_ #:optional _ _)> #<package texinfo…> …))In guix/inferior.scm: 583:24 2 (inferior-package->manifest-entry #<procedure gettext (_ #:optiona…> …) 358:4 1 (inferior-package-input-field #<procedure gettext (_ #:optional _ …> …) 302:18 0 (inferior-package-field _ _)
guix/inferior.scm:302:18: In procedure inferior-package-field:In procedure struct_vtable: Wrong type argument in position 1 (expecting struct): #<procedure gettext (_ #:optional _ _)>
L
L
Leo Famulari wrote on 17 Mar 2019 21:42
(name . mikadoZero)(address . mikadozero@yandex.com)(address . 34897@debbugs.gnu.org)
20190317204239.GA2757@jasmine.lan
On Sun, Mar 17, 2019 at 04:11:49PM -0400, mikadoZero wrote:
Toggle quote (8 lines)> `guix describe`> guix 19c0cdb> repository URL: https://git.savannah.gnu.org/git/guix.git> branch: master> commit: 19c0cdb9e6271956015232421ef7f63a1ad001ae> > I get an error message when I do `guix system reconfigure config.scm`:
Please share the contents of 'config.scm'.
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlyOsTwACgkQJkb6MLrKfwgexxAAh6YZdpk7use2v5/wG+FPH7cjszB874v/+qWN+w3uLPlcRM9QoGY4aeDKbfSCTdebPxd2HJZ0cjDXDpFjRms3ZEr0Q34REh/CIYjOUur2lMP2oWy89oV4umyIVZl7hFlUhFtjq/Tgj8f/0LJuSnUBNdfNyPmg9QqLFIa5eVPL2Z89cZFeLv0BPbG9DgTX66d9oGFvADtozLAjSDB3MFr9pxZvjRsTSmvcHr+GmVltZUKUpTAfYV0zJ6KnV/G5UVRR3zRy8567ambuv0r5GLHQExx6ze6XJZTwjjTdehMLCTqvxFuEDYpc0c61idMEdpVwFwWKBeeqRHeTEdpg55NyxjDs9ogT+DWUrrrzxRpmMqf67cER8pg0uJaoDm6iduC4aA6wQcCzE78JJph15DDkxNUxnZrLZ4dULy1HAygcPOgnUma7u+Dk0iK6FpI1iDZ/JE54Y2jshAWCX1GrArHbWqwRbHk97Cz4pkNkLNCy5mkT5Xtwz1B9MEiWqmJproT/4oO2Um/5TYQNvdxw8C/qva1ftUMMhXgq8/dxKy/LLuF/lMxWicLpFo4/E7OvK6v9LS9DVkWKPxYiYT5zkqogIFMb0KXW5xOyHMxxwf+BVu4mb3qRRA2y6SIMecSOoxMFitPyziY2PJOEt9bV7a1LqptTqDeoXWKncI+zKUsiEls==nbvr-----END PGP SIGNATURE-----

M
M
mikadoZero wrote on 17 Mar 2019 22:04
(address . 34897@debbugs.gnu.org)
lg1drz5p.fsf@yandex.com
Leo Famulari writes:
Toggle quote (11 lines)> On Sun, Mar 17, 2019 at 04:11:49PM -0400, mikadoZero wrote:>> `guix describe`>> guix 19c0cdb>> repository URL: https://git.savannah.gnu.org/git/guix.git>> branch: master>> commit: 19c0cdb9e6271956015232421ef7f63a1ad001ae>> >> I get an error message when I do `guix system reconfigure config.scm`:>> Please share the contents of 'config.scm'.
This is the contents of config.scm:

(use-modules (gnu) (gnu system nss))
(use-service-modules networking ssh)
(use-package-modules autotools certs emacs gettext graphviz man shells terminals texinfo)
(operating-system (host-name "guix") (timezone "some-timezone") (locale "en_US.utf8")
(bootloader (bootloader-configuration (bootloader grub-bootloader) (target "/dev/sda")))
(mapped-devices (list (mapped-device (source (uuid "some-uuid")) (target "root") (type luks-device-mapping))))
(file-systems (cons (file-system (device (file-system-label "root")) (mount-point "/") (type "ext4") (dependencies mapped-devices)) %base-file-systems))
(swap-devices '("/swapfile"))
(users (cons* (user-account (name "root") (uid 0) (group "root") (home-directory "/root") (shell #~(string-append #$zsh "/bin/zsh"))) (user-account (name "guix") (group "users") (supplementary-groups '("wheel" "netdev" "audio")) (home-directory "/home/guix") (shell #~(string-append #$zsh "/bin/zsh"))) %base-user-accounts))
(packages (cons*
;; programs for contributing to guix autoconf automake gettext texinfo graphviz help2man
nss-certs kmscon zsh emacs-no-x %base-packages))
(services (cons* (service dhcp-client-service-type) (service openssh-service-type (openssh-configuration (port-number 2222))) %base-services)))

Note: some-timezone and some-uuid above are placeholders.
D
D
Danny Milosavljevic wrote on 18 Mar 2019 00:58
(name . mikadoZero)(address . mikadozero@yandex.com)(address . 34897@debbugs.gnu.org)
20190318005854.38f6b8ff@scratchpost.org
The gettext package is named "gnu-gettext". Modify your "packages" field.
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlyO3z4ACgkQ5xo1VCwwuqVQcggAgFakQ7M6RKsuKYAeQn6HUWaHi/JYAJxjdSt2/xQXe0WjbZN1pQdYxz/b6+WArLT4JHlQ/MZGxa61K30WLBg5dkfxrP6lQFjRdjrBNyCzHcq5AoHypoXrJQqw/nmgES7J+xvh//2TS06S/w3fliuVtzp4F9sLdrddwQzi+uSvks6wbdV8SCo2h9nHjVABLGJpCCR0Qp17GNHY+le8MYkEjiF2n0JHT9LLR/9KSnlQh52kUhj2X9lEewa1U2nu9ho+SLKW8wFYm0mVCTeZpNzWDQKKU4/XOyVRu3EimYvQ5WyaxwpbOTfau3bRECQJf4WlxJMxvzgY+JR5wgm3O/9dqQ===4oqJ-----END PGP SIGNATURE-----

M
M
mikadoZero wrote on 18 Mar 2019 02:34
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)(address . 34897@debbugs.gnu.org)
k1gxrmmh.fsf@yandex.com
Danny Milosavljevic writes:
Toggle quote (2 lines)> The gettext package is named "gnu-gettext". Modify your "packages" field.
Thank you. Changing "gettext" to "gnu-gettext" got it working.
In this case package search seems to be misleading. `guix package -sgnu-gettext` returns nothing. While in the return of `guix package -sgettext` there is a package with the name of "gettext" that talks aboutgnu gettext in it's description.
L
L
Ludovic Courtès wrote on 18 Mar 2019 10:43
(name . mikadoZero)(address . mikadozero@yandex.com)
87sgvkplf8.fsf@gnu.org
Hi,
mikadoZero <mikadozero@yandex.com> skribis:
Toggle quote (11 lines)> Danny Milosavljevic writes:>>> The gettext package is named "gnu-gettext". Modify your "packages" field.>> Thank you. Changing "gettext" to "gnu-gettext" got it working.>> In this case package search seems to be misleading. `guix package -s> gnu-gettext` returns nothing. While in the return of `guix package -s> gettext` there is a package with the name of "gettext" that talks about> gnu gettext in it's description.
The name that “guix package -s” shows is the package name.‘gnu-gettext’, conversely, is the name of the variable bound to thatpackage.
In your config file, you can use ‘specifications->manifest’ asdocumented in the manual if you’d rather avoid dealing with variables.
HTH!
Ludo’.
L
L
Ludovic Courtès wrote on 18 Mar 2019 10:43
control message for bug #34897
(address . control@debbugs.gnu.org)
87r2b4plez.fsf@gnu.org
tags 34897 notabugclose 34897
M
M
mikadoZero wrote on 18 Mar 2019 19:11
Re: bug#34897: System reconfigure error
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 34897@debbugs.gnu.org)
imwgrr24.fsf@yandex.com
Ludovic Courtès writes:

Toggle quote (11 lines)> ...>> The name that “guix package -s” shows is the package name.> ‘gnu-gettext’, conversely, is the name of the variable bound to that> package.>> In your config file, you can use ‘specifications->manifest’ as> documented in the manual if you’d rather avoid dealing with variables.>> ...
Thank you for pointing this out. I have reread the relevant section of"4.2 Invoking ‘guix package’" of the manual. I have recently startedusing it in user manifests. I will try using this further.
M
M
mikadoZero wrote on 21 Mar 2019 03:37
System reconfigure error
(address . 34897-done@debbugs.gnu.org)
cuck1gtj6km.fsf@yandex.com
This was not a bug.It looked like a bug to me before I received the helpful replies.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 34897@debbugs.gnu.org