From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: bug#23828: unsupported sexp item type #f ``` Date: Thu, 23 Jun 2016 05:37:59 +0200 Message-ID: References: <87mvmclxqv.fsf@gnu.org> 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]:42749) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFvTu-0007dS-Ie for bug-guix@gnu.org; Wed, 22 Jun 2016 23:39:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFvTr-0000ex-5A for bug-guix@gnu.org; Wed, 22 Jun 2016 23:39:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:39346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFvTp-0000ep-VP for bug-guix@gnu.org; Wed, 22 Jun 2016 23:39:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bFvTp-0000y9-Qo for bug-guix@gnu.org; Wed, 22 Jun 2016 23:39:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87mvmclxqv.fsf@gnu.org> 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 23828@debbugs.gnu.org I'm running guix from `/gnu/store/3g6zn8y5sfwywr4pqiwqrab735a0x4zl-guix-0.10.0/bin` since I don't have my profile/PATH setup correctly yet. I was under the impression that `./guix package -i guix` would create the right symlinks in `/var/guix/profiles/per-user`. Weird, `/etc/guix/acl` doesn't contain anything but `/etc/nix/acl` does: ``` sudo cat /etc/nix/acl (acl (entry () (tag (guix import) ) ) ) ``` After `sudo rm -f /etc/nix/acl` guix or guix-daemon recreates the same file and exits with the same stack trace. Thank you David On Wed, Jun 22, 2016 at 11:28 PM, Ludovic Court=C3=A8s wrote= : > Hi, > > David Craven skribis: > >> Maybe not a bug, but I'm getting the same backtrace when trying to run >> ./guix archive or ./guix package -i guix or ./guix pull. > > Do you really type =E2=80=9C./guix=E2=80=9D? From which directory? > >> bin sudo ./guix archive --authorize < ../share/guix/hydra.gnu.org.pub >> >> /gnu/store/3g6zn8y5sfwywr4pqiwqrab735a0x4zl-guix-0.10.0/bin >> warning: failed to install locale: Invalid argument >> Backtrace: >> In ice-9/boot-9.scm: >> 157: 17 [catch #t # ...] >> In unknown file: >> ?: 16 [apply-smob/1 #] >> In ice-9/boot-9.scm: >> 63: 15 [call-with-prompt prompt0 ...] >> In ice-9/eval.scm: >> 432: 14 [eval # #] >> In ice-9/boot-9.scm: >> 2401: 13 [save-module-excursion #> ice-9/boot-9.scm:4045:3 ()>] >> 4050: 12 [#] >> 1724: 11 [%start-stack load-stack ...] >> 1729: 10 [#] >> In unknown file: >> ?: 9 [primitive-load >> "/gnu/store/3g6zn8y5sfwywr4pqiwqrab735a0x4zl-guix-0.10.0/bin/.guix-real"= ] >> In guix/ui.scm: >> 1188: 8 [run-guix-command archive "--authorize"] >> In ice-9/boot-9.scm: >> 157: 7 [catch srfi-34 # ...] >> 157: 6 [catch system-error ...] >> In guix/scripts/archive.scm: >> 328: 5 [#] >> 303: 4 [authorize-key] >> In ice-9/boot-9.scm: >> 702: 3 [map #canonical-sexp (sexp)> (#f)] >> In guix/pk-crypto.scm: >> 375: 2 [sexp->canonical-sexp #f] >> In unknown file: >> ?: 1 [call-with-output-string #> guix/pk-crypto.scm:376:5 (port)>] >> ?: 0 [scm-error misc-error #f "~A ~S" ("unsupported sexp item type" #= f) #f] >> >> ERROR: In procedure scm-error: >> ERROR: unsupported sexp item type #f > > Could it be that /etc/guix/acl contains bogus data? > > Could you try, as root: > > rm -f /etc/guix/acl > guix archive --authorize < /path/to/hydra.gnu.org.pub > > ? > > Thanks for the report, > Ludo=E2=80=99.