From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Vong Newsgroups: gmane.lisp.guile.user Subject: Re: Cryptic error messages: Bug in guile? Date: Tue, 13 Nov 2018 09:48:11 +0800 Message-ID: <87o9atzr1g.fsf@gmail.com> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1542073602 11209 195.159.176.226 (13 Nov 2018 01:46:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 13 Nov 2018 01:46:42 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: guile-user@gnu.org To: swedebugia Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Nov 13 02:46:38 2018 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gMNmo-0002pn-0X for guile-user@m.gmane.org; Tue, 13 Nov 2018 02:46:38 +0100 Original-Received: from localhost ([::1]:51560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gMNou-0007zq-AV for guile-user@m.gmane.org; Mon, 12 Nov 2018 20:48:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gMNoY-0007ze-Pq for guile-user@gnu.org; Mon, 12 Nov 2018 20:48:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gMNoT-0006Fx-N6 for guile-user@gnu.org; Mon, 12 Nov 2018 20:48:26 -0500 Original-Received: from mail-pg1-x535.google.com ([2607:f8b0:4864:20::535]:34181) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gMNoT-0006Du-Gm for guile-user@gnu.org; Mon, 12 Nov 2018 20:48:21 -0500 Original-Received: by mail-pg1-x535.google.com with SMTP id 17so4638146pgg.1 for ; Mon, 12 Nov 2018 17:48:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=QzrW+D0WqpTvQ6hCJihQCtat8BlEzFPE9t04plAn1BI=; b=l5W0pFxkQZzCa1xs+3FVAaMq3djmG09RIIMYdck7BJ90zt4tByz+6QU6uz5TyrUS94 XrjQH5rzL9ikL8XKTqE1BppBqfh01V8BY6Bce9jbFGJoM2BGsTiwGt5U999iRw7zvRDd HaWQvBWvUaXQvun5HrAHvpYKRcWHCEPhmR3nTf/Q3oKEe2bL1HXZl42iYpAcDbJBvlcn +l9mveE/6RO9qpHUBdGpA4+E0AXLaea8dlgAYLR56zm1exKLOesRDjle9eNzsEFmuJY7 D6ddefyvN/+wQW2asw5AKPVQCyz6KhH8IcukK+89D5vSDnDTRuBSQKUi4NbjyK7kjcM9 5wdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=QzrW+D0WqpTvQ6hCJihQCtat8BlEzFPE9t04plAn1BI=; b=dfy4nutMewP6kG6mcH0fS6tK1tJPfcimHjeaJHNuQuNzVM8WynI6GJl3jOr66i6B+4 YeiRJau2R0fjmKLdPJDQfXxy6XKR96bn3GB9qdRZUrO/c4dSsAihfmvNzuniSP0CNbk4 niPEucFoxC0QCfcFZwvoubsq4/Io0XqEBO7tDDa8RI21JZCmGqzQvPBm+qsktAraese4 AHgmrzuQTFLzw4Q+bxK7fpliut1IcmT6FY2HQzRAG/457m2W36sfHti5okxEEzWvnGPi TZ8j9if6cbIr8wJW382T/ImnElyyTOyoV3kTNVe+JmkE2KZsYWuIvkXlMUfAQJrmeSWP +xAA== X-Gm-Message-State: AGRZ1gKXKCwDhqwZiRfeMzYl2OTeAdBYta1eZkfX4GdrX6lLKOEdJhcj /xedR2ZvdCeqCQoBFlTpMs4= X-Google-Smtp-Source: AJdET5cw72h7wEeEIRVUZW+7NZhENWA6EqHA6rqswj8Ok+dPVcq6IaA34XH5H56JK+HZsu6PPSsMvQ== X-Received: by 2002:a63:801:: with SMTP id 1mr2912326pgi.275.1542073700619; Mon, 12 Nov 2018 17:48:20 -0800 (PST) Original-Received: from debian (1-36-201-233.static.netvigator.com. [1.36.201.233]) by smtp.gmail.com with ESMTPSA id c14-v6sm20767871pfc.92.2018.11.12.17.48.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 12 Nov 2018 17:48:19 -0800 (PST) In-Reply-To: (swedebugia's message of "Tue, 13 Nov 2018 02:35:54 +0100") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::535 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:14984 Archived-At: --=-=-= Content-Type: text/plain Hello, swedebugia writes: > Hi > > I try to package for guix. > Sometimes I forget a parens somewhere. > > When I invoke make in the guix source tree the parens error will be > reported as any other kind of error. (unbound variable, package not > found, etc) > > I would like to know if there is a way to avoid/improve this. > > E.g. make guile count parens before evaluation or whatever so that I > get a clear error, fast. > > Alternatively maybe somebody else has a parens counter script I could > use? E.g. I could tell make to first traverse all files looking for > unmatching parens. What error message do you receive? Usually I get something like: ERROR: In procedure read: In procedure scm_i_lreadparen: #:1:2: end of file --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQQwb8uPLAHCXSnTBVZh71Au9gJS8gUCW+otWwAKCRBh71Au9gJS 8vUjAP9LKefQ+X7jA3x5zD4WLvE1mxupuKxiyO711hjF7d6fvAD+On9mrLIY3R1v zYthlGOLkPGxMNP0SV0ZXJVwoKT1RAI= =dv8I -----END PGP SIGNATURE----- --=-=-=--