unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Diego Nicola Barbato <dnbarbato@posteo.de>
To: 33623@debbugs.gnu.org
Subject: bug#33623: Backtrace when running `guix system roll-back'
Date: Fri, 07 Dec 2018 10:44:21 +0100	[thread overview]
Message-ID: <87o99xsmbu.fsf@GlaDOS.home> (raw)
In-Reply-To: <871s6uu253.fsf@GlaDOS.home> (Diego Nicola Barbato's message of "Thu, 06 Dec 2018 16:05:12 +0100")

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

> Hello Swedebugia,
>
> swedebugia@riseup.net writes:
>
>> On 2018-12-05 12:36, Diego Nicola Barbato wrote:
>>> Hello Guix,
>>> 
>>> When I run ‘guix system roll-back’ I get the following backtrace:
>>> 
>>> --8<---------------cut here---------------start------------->8---
>>> root@tapuakh ~# guix system roll-back
>>> Backtrace:
>>>           10 (primitive-load "/root/.config/guix/current/bin/guix")
>>> In guix/ui.scm:
>>>   1603:12  9 (run-guix-command _ . _)
>>> In ice-9/boot-9.scm:
>>>     829:9  8 (catch srfi-34 #<procedure 341ea60 at guix/ui.scm:615:…> …)
>>>     829:9  7 (catch system-error #<procedure 341eb00 at guix/script…> …)
>>> In guix/scripts/system.scm:
>>>    1268:8  6 (_)
>>> In guix/status.scm:
>>>     615:4  5 (call-with-status-report _ _)
>>> In guix/scripts/system.scm:
>>>    1208:9  4 (process-command _ _ _)
>>>    469:10  3 (switch-to-system-generation #<build-daemon 256.99 1ec…> …)
>>> In guix/store.scm:
>>>   1659:24  2 (run-with-store _ _ #:guile-for-build _ #:system _ # _)
>>> In guix/scripts/system.scm:
>>>     499:6  1 (_ _)
>>> In unknown file:
>>>            0 (_ #<build-daemon 256.99 1ec03c0>)
>>> 
>>> ERROR: Wrong type to apply: #<<computed-file> name: "grub.cfg" gexp:
>>> #<gexp  3971ab0> guile: #f options: (#:local-build? #t)>
>>> --8<---------------cut here---------------end--------------->8---
>>> 
>>> I run GuixSD (commit: 1f51f0d975d95a2ba645193cf43d0a294d952e83) on an
>>> x86_64 machine.
>>
>> Interesting. Could you provide a config.scm to help us reproduce the
>> issue?
>
> I've got something better.
>
> Steps to reproduce:
>
> Install GuixSD in a VM using the iso image and the attached config.  The
> image should be at least 16G (8G is to small for a reconfigure).
>
> Reboot the VM.
>
> Run ‘guix pull --commit=1f51f0’ as root.
>
> Make sure to log out and back in again to avoid bug#33647.
>
> Run ‘guix system reconfigure /etc/config.scm’.
>
> Reboot the VM.
>
> Run ‘guix system roll-back’ as root.
>
> Backtrace ensues.

I just repeated the aforementioned steps with the new (0.16.0) iso image
and by pulling from current master (5118e2) instead of 1f51f0 and got a
similar backtrace.  I believe ‘guix system roll-back’ is currently
broken on master.
Judging from the backtrace this might have something to do with the
recent clean up of system code (specifically commit 46c296).

Greetings

Diego

  reply	other threads:[~2018-12-07  9:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-05 11:36 bug#33623: Backtrace when running `guix system roll-back' Diego Nicola Barbato
2018-12-05 23:56 ` swedebugia
2018-12-06 15:05   ` Diego Nicola Barbato
2018-12-07  9:44     ` Diego Nicola Barbato [this message]
2018-12-07 14:15 ` Ludovic Courtès
2018-12-07 17:55   ` znavko
2018-12-07 22:23     ` Ludovic Courtès
2018-12-08  9:45   ` swedebugia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o99xsmbu.fsf@GlaDOS.home \
    --to=dnbarbato@posteo.de \
    --cc=33623@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).