From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gkNfJHaR+GOp5gAAbAwnHQ (envelope-from ) for ; Fri, 24 Feb 2023 11:29:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cEyxI3aR+GNADQEA9RJhRA (envelope-from ) for ; Fri, 24 Feb 2023 11:29:10 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E2A179BF5 for ; Fri, 24 Feb 2023 11:29:09 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=G950BNq1; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677234550; a=rsa-sha256; cv=none; b=F1cKqnNlyI+0AlOiZN+NXDb7nrEJzWExdXMJn2/e0q7oVHAm7F4OVjxfLPGF+ZwEmw6qGJ PWwHjquRNrc0wSPJqcN87V99/RKYGLNLy21Qyk1ctcR7HbK0dzDjLhTUcH398Fw1R8YkdZ aQoECwQYuGhL2o5PQY0Siyfxj+ZD/SA3k7r9F7Rr7ZxdVm25Yp7v/hTrjy1H+xqfonkA+4 XQwxD+2DmxbJbBZORSOL2MK6PCe5nPDgEmvARYXhRHhMwo/IVPhbeG5g5tO0/0wkiJZ0t7 n14PxK/tNrw+IHdOmkOmMxW6BSxZTgcCE8iriBzcOlZexcNIDK7lYJOn8po0bA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=G950BNq1; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677234550; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=z/A2nghfBijI+gcXaoBwUxys/iUu4hXExBgEUiSwsQI=; b=lb3dCLaOprXmB2/zLkz5AauMUQH1ed3d/KoJytaQnjBdXOOtlnY5ElPm+0rEK5+Zvs6Uu4 nOVbfp1z1GdcBD8Bs+39ZI63l6/uM5azDmnMUTqKvh3S7vm7sNqyactVTcA7avRDEp8EKJ dUqz6IFQ78DiqLFKU2Z8ySN9IwjZDDOBVPGmSdvwKoU0OgTGbyyUjmEIBen6wFH7r2h0F7 n9WlNNb0ZFP8lzxLTOga1cIWjg82VFC5t+u2WNz2HYl5SQYk4UTaUVYEwAsDy8WYgk2mum fF/kfwVneMfBGGlbT3bhPqlAmB6P8HsaXpSy6cfwNyDvDzVrqmac9doHN2VZOw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVVK4-0002KX-2R; Fri, 24 Feb 2023 05:29:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVVK2-0002K9-QA for bug-guix@gnu.org; Fri, 24 Feb 2023 05:29:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pVVK2-0000PJ-IT for bug-guix@gnu.org; Fri, 24 Feb 2023 05:29:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pVVK2-00086N-1Y for bug-guix@gnu.org; Fri, 24 Feb 2023 05:29:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#61201: Installation hint crashes when user names contain at sign Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 24 Feb 2023 10:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61201 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 61201@debbugs.gnu.org Received: via spool by 61201-submit@debbugs.gnu.org id=B61201.167723451831112 (code B ref 61201); Fri, 24 Feb 2023 10:29:02 +0000 Received: (at 61201) by debbugs.gnu.org; 24 Feb 2023 10:28:38 +0000 Received: from localhost ([127.0.0.1]:36003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVVJe-00085i-5V for submit@debbugs.gnu.org; Fri, 24 Feb 2023 05:28:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41308) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVVJc-00085W-MG for 61201@debbugs.gnu.org; Fri, 24 Feb 2023 05:28:37 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVVJX-0000LH-EC for 61201@debbugs.gnu.org; Fri, 24 Feb 2023 05:28:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=z/A2nghfBijI+gcXaoBwUxys/iUu4hXExBgEUiSwsQI=; b=G950BNq1vYzLraAr0MMP S9VxI6ESJLjHye+7xVq9l6CQq4JyDa7EOWrEX7Q2x/B/vGdKJ99LGYRgeXvRMuojUQQiS9o7MB/8w UH51YE5dpgLXMZ99bl4MrugLDSOtTffejKMWdEq9wtW1/JgsKVVJt7HHWQnN8PHfOXuo1fJYy8qG7 r7Snd8Ix9+sPf2hIRr2G9ViVYtms5knZ4znIjvvpyHaPaZAGmG66BNPGFE2OfmsRkeKJpofgjZZyZ YXYI9fz1BMlKDPAySsGU5vtO9pzWpB3Rpaf1OxuS3DSl3SWMrduWEKPQ8sO5AJDpPMFwkNRcJnlSj F8D/ONKSfZfGlA==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVVJX-0007Ty-19 for 61201@debbugs.gnu.org; Fri, 24 Feb 2023 05:28:31 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87edratz17.fsf@inria.fr> Date: Fri, 24 Feb 2023 11:28:27 +0100 In-Reply-To: <87edratz17.fsf@inria.fr> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Tue, 31 Jan 2023 18:05:40 +0100") Message-ID: <87sfev2w8k.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: E2A179BF5 X-Spam-Score: -4.68 X-Migadu-Spam-Score: -4.68 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: wOT3xLXq45Ti Ludovic Court=C3=A8s skribis: > A funny thing was reported earlier today on the Caf=C3=A9 Guix channel: > > $ guix install hello [17:52] > building profile with 5 packages... > hint: Backtrace: [...] > In guix/ui.scm: > 312:5 6 (display-hint _ ) > 1451:24 5 (texi->plain-text ) > In texinfo.scm: > 1132:22 4 (parse ) > 980:31 3 (loop # (fragment) _ _ ) > 967:36 2 (loop # #f # ?) > 92:2 1 (command-spec ) > In ice-9/boot-9.scm: > 1685:16 0 (raise-exception _ #:continuable? ) >=20=20 > ice-9/boot-9.scm:1685:16: In procedure raise-exception: > Throw to key #E1E1E1">parser-error' with args(#f "Unknown command" univ)'. Here=E2=80=99s one way to reproduce the bug, showing a crash in =E2=80=98di= splay-hint=E2=80=99 due to an unescaped brace: --8<---------------cut here---------------start------------->8--- $ mkdir /tmp/x{ample $ touch /tmp/x{ample/guix.scm $ (cd '/tmp/x{ample' ; guix shell) guix shell: error: not loading '/tmp/x{ample/guix.scm' because not authoriz= ed to do so hint: Backtrace: 13 (primitive-load "/home/ludo/.config/guix/current/bin/guix") In guix/ui.scm: 2279:7 12 (run-guix . _) 2242:10 11 (run-guix-command _ . _) In ice-9/boot-9.scm: 1752:10 10 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) In guix/scripts/shell.scm: 308:15 9 (_) In guix/ui.scm: 312:5 8 (display-hint _ _) 1451:24 7 (texi->plain-text _) In texinfo.scm: 1132:22 6 (parse _) 980:31 5 (loop # (*fragment*) _ _ _) 980:31 4 (loop # #f _ _ _) 911:31 3 (loop # #f # #f _) 746:27 2 (_ # #f (example smallexample verb= atim lisp smalllisp menu w %) # = =E2=80=A6) In sxml/ssax/input-parse.scm: 88:2 1 (next-token _ _ _ _) In ice-9/boot-9.scm: 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: Throw to key `parser-error' with args `(# "EOF = while reading a token " "reading char data")'. --8<---------------cut here---------------end--------------->8--- Ludo=E2=80=99.