* bug#34897: System reconfigure error
@ 2019-03-17 20:11 mikadoZero
2019-03-17 20:42 ` Leo Famulari
2019-03-21 2:37 ` mikadoZero
0 siblings, 2 replies; 8+ messages in thread
From: mikadoZero @ 2019-03-17 20:11 UTC (permalink / raw)
To: 34897
`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 _ _)>
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#34897: System reconfigure error
2019-03-17 20:11 bug#34897: System reconfigure error mikadoZero
@ 2019-03-17 20:42 ` Leo Famulari
2019-03-17 21:04 ` mikadoZero
2019-03-21 2:37 ` mikadoZero
1 sibling, 1 reply; 8+ messages in thread
From: Leo Famulari @ 2019-03-17 20:42 UTC (permalink / raw)
To: mikadoZero; +Cc: 34897
[-- Attachment #1: Type: text/plain, Size: 363 bytes --]
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'.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#34897: System reconfigure error
2019-03-17 20:42 ` Leo Famulari
@ 2019-03-17 21:04 ` mikadoZero
2019-03-17 23:58 ` Danny Milosavljevic
0 siblings, 1 reply; 8+ messages in thread
From: mikadoZero @ 2019-03-17 21:04 UTC (permalink / raw)
To: 34897
Leo Famulari writes:
> 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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#34897: System reconfigure error
2019-03-17 21:04 ` mikadoZero
@ 2019-03-17 23:58 ` Danny Milosavljevic
2019-03-18 1:34 ` mikadoZero
0 siblings, 1 reply; 8+ messages in thread
From: Danny Milosavljevic @ 2019-03-17 23:58 UTC (permalink / raw)
To: mikadoZero; +Cc: 34897
[-- Attachment #1: Type: text/plain, Size: 78 bytes --]
The gettext package is named "gnu-gettext". Modify your "packages" field.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#34897: System reconfigure error
2019-03-17 23:58 ` Danny Milosavljevic
@ 2019-03-18 1:34 ` mikadoZero
2019-03-18 9:43 ` Ludovic Courtès
0 siblings, 1 reply; 8+ messages in thread
From: mikadoZero @ 2019-03-18 1:34 UTC (permalink / raw)
To: Danny Milosavljevic; +Cc: 34897
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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#34897: System reconfigure error
2019-03-18 1:34 ` mikadoZero
@ 2019-03-18 9:43 ` Ludovic Courtès
2019-03-18 18:11 ` mikadoZero
0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2019-03-18 9:43 UTC (permalink / raw)
To: mikadoZero; +Cc: 34897
Hi,
mikadoZero <mikadozero@yandex.com> skribis:
> 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 that
package.
In your config file, you can use ‘specifications->manifest’ as
documented in the manual if you’d rather avoid dealing with variables.
HTH!
Ludo’.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#34897: System reconfigure error
2019-03-18 9:43 ` Ludovic Courtès
@ 2019-03-18 18:11 ` mikadoZero
0 siblings, 0 replies; 8+ messages in thread
From: mikadoZero @ 2019-03-18 18:11 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 34897
Ludovic Courtès writes:
> ...
>
> 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 started
using it in user manifests. I will try using this further.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#34897: System reconfigure error
2019-03-17 20:11 bug#34897: System reconfigure error mikadoZero
2019-03-17 20:42 ` Leo Famulari
@ 2019-03-21 2:37 ` mikadoZero
1 sibling, 0 replies; 8+ messages in thread
From: mikadoZero @ 2019-03-21 2:37 UTC (permalink / raw)
To: 34897-done
This was not a bug.
It looked like a bug to me before I received the helpful replies.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2019-03-21 2:41 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-17 20:11 bug#34897: System reconfigure error mikadoZero
2019-03-17 20:42 ` Leo Famulari
2019-03-17 21:04 ` mikadoZero
2019-03-17 23:58 ` Danny Milosavljevic
2019-03-18 1:34 ` mikadoZero
2019-03-18 9:43 ` Ludovic Courtès
2019-03-18 18:11 ` mikadoZero
2019-03-21 2:37 ` mikadoZero
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).