From mboxrd@z Thu Jan 1 00:00:00 1970 From: Diego Nicola Barbato Subject: bug#33623: Backtrace when running `guix system roll-back' Date: Fri, 07 Dec 2018 10:44:21 +0100 Message-ID: <87o99xsmbu.fsf@GlaDOS.home> References: <87k1ko2ois.fsf@tapuakh.i-did-not-set--mail-host-address--so-tickle-me> <871s6uu253.fsf@GlaDOS.home> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43988) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVCh2-0002x9-9R for bug-guix@gnu.org; Fri, 07 Dec 2018 04:45:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gVCgw-00049q-M6 for bug-guix@gnu.org; Fri, 07 Dec 2018 04:45:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:60267) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gVCgw-00049e-EJ for bug-guix@gnu.org; Fri, 07 Dec 2018 04:45:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gVCgw-0003eT-8g for bug-guix@gnu.org; Fri, 07 Dec 2018 04:45:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <871s6uu253.fsf@GlaDOS.home> (Diego Nicola Barbato's message of "Thu, 06 Dec 2018 16:05:12 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 33623@debbugs.gnu.org Diego Nicola Barbato writes: > Hello Swedebugia, > > swedebugia@riseup.net writes: > >> On 2018-12-05 12:36, Diego Nicola Barbato wrote: >>> Hello Guix, >>>=20 >>> When I run =E2=80=98guix system roll-back=E2=80=99 I get the following = backtrace: >>>=20 >>> --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 # =E2=80=A6) >>> 829:9 7 (catch system-error # =E2=80=A6) >>> 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 # =E2=80=A6) >>> 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 (_ #) >>>=20 >>> ERROR: Wrong type to apply: #< name: "grub.cfg" gexp: >>> # guile: #f options: (#:local-build? #t)> >>> --8<---------------cut here---------------end--------------->8--- >>>=20 >>> 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 =E2=80=98guix pull --commit=3D1f51f0=E2=80=99 as root. > > Make sure to log out and back in again to avoid bug#33647. > > Run =E2=80=98guix system reconfigure /etc/config.scm=E2=80=99. > > Reboot the VM. > > Run =E2=80=98guix system roll-back=E2=80=99 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 =E2=80=98guix system roll-back=E2=80=99 is cu= rrently 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