GNU bug report logs - #34897
System reconfigure error

Previous Next

Package: guix;

Reported by: mikadoZero <mikadozero <at> yandex.com>

Date: Sun, 17 Mar 2019 20:21:01 UTC

Severity: normal

Tags: notabug

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 34897 in the body.
You can then email your comments to 34897 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#34897; Package guix. (Sun, 17 Mar 2019 20:21:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to mikadoZero <mikadozero <at> yandex.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 17 Mar 2019 20:21:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: mikadoZero <mikadozero <at> yandex.com>
To: bug-guix <at> gnu.org
Subject: System reconfigure error
Date: Sun, 17 Mar 2019 16:11:49 -0400
`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 <at> 2.69 gnu/packages/autotools.scm:45 2d0…> …))
   592:29  4 (map1 (#<package automake <at> 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 _ _)>




Information forwarded to bug-guix <at> gnu.org:
bug#34897; Package guix. (Sun, 17 Mar 2019 20:43:02 GMT) Full text and rfc822 format available.

Message #8 received at 34897 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: mikadoZero <mikadozero <at> yandex.com>
Cc: 34897 <at> debbugs.gnu.org
Subject: Re: bug#34897: System reconfigure error
Date: Sun, 17 Mar 2019 16:42:39 -0400
[Message part 1 (text/plain, inline)]
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'.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#34897; Package guix. (Sun, 17 Mar 2019 21:05:02 GMT) Full text and rfc822 format available.

Message #11 received at 34897 <at> debbugs.gnu.org (full text, mbox):

From: mikadoZero <mikadozero <at> yandex.com>
To: 34897 <at> debbugs.gnu.org
Subject: Re: bug#34897: System reconfigure error
Date: Sun, 17 Mar 2019 17:04:02 -0400
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.




Information forwarded to bug-guix <at> gnu.org:
bug#34897; Package guix. (Mon, 18 Mar 2019 00:00:02 GMT) Full text and rfc822 format available.

Message #14 received at 34897 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: mikadoZero <mikadozero <at> yandex.com>
Cc: 34897 <at> debbugs.gnu.org
Subject: Re: bug#34897: System reconfigure error
Date: Mon, 18 Mar 2019 00:58:54 +0100
[Message part 1 (text/plain, inline)]
The gettext package is named "gnu-gettext".  Modify your "packages" field.

[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#34897; Package guix. (Mon, 18 Mar 2019 01:36:01 GMT) Full text and rfc822 format available.

Message #17 received at 34897 <at> debbugs.gnu.org (full text, mbox):

From: mikadoZero <mikadozero <at> yandex.com>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 34897 <at> debbugs.gnu.org
Subject: Re: bug#34897: System reconfigure error
Date: Sun, 17 Mar 2019 21:34:46 -0400
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.




Information forwarded to bug-guix <at> gnu.org:
bug#34897; Package guix. (Mon, 18 Mar 2019 09:44:02 GMT) Full text and rfc822 format available.

Message #20 received at 34897 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: mikadoZero <mikadozero <at> yandex.com>
Cc: Danny Milosavljevic <dannym <at> scratchpost.org>, 34897 <at> debbugs.gnu.org
Subject: Re: bug#34897: System reconfigure error
Date: Mon, 18 Mar 2019 10:43:39 +0100
Hi,

mikadoZero <mikadozero <at> 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’.




Added tag(s) notabug. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 18 Mar 2019 09:44:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 34897 <at> debbugs.gnu.org and mikadoZero <mikadozero <at> yandex.com> Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 18 Mar 2019 09:44:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#34897; Package guix. (Mon, 18 Mar 2019 18:12:02 GMT) Full text and rfc822 format available.

Message #27 received at 34897 <at> debbugs.gnu.org (full text, mbox):

From: mikadoZero <mikadozero <at> yandex.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 34897 <at> debbugs.gnu.org
Subject: Re: bug#34897: System reconfigure error
Date: Mon, 18 Mar 2019 14:11:15 -0400
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.  




Information forwarded to bug-guix <at> gnu.org:
bug#34897; Package guix. (Thu, 21 Mar 2019 02:39:01 GMT) Full text and rfc822 format available.

Message #30 received at 34897-done <at> debbugs.gnu.org (full text, mbox):

From: mikadoZero <mikadozero <at> yandex.com>
To: 34897-done <at> debbugs.gnu.org
Subject: System reconfigure error
Date: Wed, 20 Mar 2019 22:37:45 -0400
This was not a bug.
It looked like a bug to me before I received the helpful replies.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 18 Apr 2019 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 10 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.