GNU logs - #61033, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#61033: opam importer can't handle list field
Resent-From: Csepp <raingloom@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Tue, 24 Jan 2023 02:27:02 +0000
Resent-Message-ID: <handler.61033.B.16745271965613 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 61033
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 61033 <at> debbugs.gnu.org
X-Debbugs-Original-To: Bug reports for GNU Guix <bug-guix@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.16745271965613
          (code B ref -1); Tue, 24 Jan 2023 02:27:02 +0000
Received: (at submit) by debbugs.gnu.org; 24 Jan 2023 02:26:36 +0000
Received: from localhost ([127.0.0.1]:55662 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pK91A-0001ST-92
	for submit <at> debbugs.gnu.org; Mon, 23 Jan 2023 21:26:36 -0500
Received: from lists.gnu.org ([209.51.188.17]:43524)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raingloom@HIDDEN>) id 1pK919-0001SM-3l
 for submit <at> debbugs.gnu.org; Mon, 23 Jan 2023 21:26:35 -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 <raingloom@HIDDEN>)
 id 1pK918-0004xB-Qr
 for bug-guix@HIDDEN; Mon, 23 Jan 2023 21:26:34 -0500
Received: from mx1.riseup.net ([198.252.153.129])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <raingloom@HIDDEN>)
 id 1pK917-00081d-1u
 for bug-guix@HIDDEN; Mon, 23 Jan 2023 21:26:34 -0500
Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
 client-signature RSA-PSS (2048 bits) client-digest SHA256)
 (Client CN "mail.riseup.net", Issuer "R3" (not verified))
 by mx1.riseup.net (Postfix) with ESMTPS id 4P19ny2XNyzDrKq
 for <bug-guix@HIDDEN>; Tue, 24 Jan 2023 02:26:30 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak;
 t=1674527190; bh=leZDvXESlmVIWVdveSpnoSemLLPNwKFgwsX4ZCHBh/w=;
 h=From:To:Subject:Date:From;
 b=J3xPwBrHRZRg/Au/39qqWU1o6tQoJ1MIVQQD3ECakE9UCWcyfaTsZWW8N1UhYRHgy
 eZQrnoBau4ROeo2JvuVe6GmViO+952yQI6exCBsCqWEx/1qABQzorniWBeV6TFHxJu
 JDmQ9oBt/gaJDzUwB+DMlmVYIkEj9C6VqH+RTy7o=
X-Riseup-User-ID: E85026067A5E8D4212B36951048336107ED2C8F4DC23D83D1BBA9B28530F1539
Received: from [127.0.0.1] (localhost [127.0.0.1])
 by fews2.riseup.net (Postfix) with ESMTPSA id 4P19nx4sGhz1yBT
 for <bug-guix@HIDDEN>; Tue, 24 Jan 2023 02:26:29 +0000 (UTC)
From: Csepp <raingloom@HIDDEN>
Date: Tue, 24 Jan 2023 03:23:44 +0100
Message-ID: <86h6wg652t.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=198.252.153.129;
 envelope-from=raingloom@HIDDEN; helo=mx1.riseup.net
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

Truncated stack trace:

```
...
In guix/import/opam.scm:
    287:2  3 (opam->guix-package "mirage-crypto-pk" #:repo _ # _)
In unknown file:
           2 (filter #<procedure 7f43905afd00 at guix/import/opam.s=E2=80=
=A6> =E2=80=A6)
In guix/import/opam.scm:
   290:13  1 (_ ("mirage-no-solo5" "mirage-no-xen"))
In unknown file:
           0 (string-prefix? "conf-" ("mirage-no-solo5" "mirage-n=E2=80=A6"=
) =E2=80=A6)

ERROR: In procedure string-prefix?:
In procedure string-prefix?: Wrong type argument in position 2 (expecting s=
tring): ("mirage-no-solo5" "mirage-no-xen")
```




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Csepp <raingloom@HIDDEN>
Subject: bug#61033: Acknowledgement (opam importer can't handle list field)
Message-ID: <handler.61033.B.16745271965613.ack <at> debbugs.gnu.org>
References: <86h6wg652t.fsf@HIDDEN>
X-Gnu-PR-Message: ack 61033
X-Gnu-PR-Package: guix
Reply-To: 61033 <at> debbugs.gnu.org
Date: Tue, 24 Jan 2023 02:27:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guix@HIDDEN

If you wish to submit further information on this problem, please
send it to 61033 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
61033: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D61033
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#61033: opam importer can't handle list field
Resent-From: Julien Lepiller <julien@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sat, 28 Jan 2023 12:19:02 +0000
Resent-Message-ID: <handler.61033.B61033.16749083133003 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 61033
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Csepp <raingloom@HIDDEN>
Cc: 61033 <at> debbugs.gnu.org
Received: via spool by 61033-submit <at> debbugs.gnu.org id=B61033.16749083133003
          (code B ref 61033); Sat, 28 Jan 2023 12:19:02 +0000
Received: (at 61033) by debbugs.gnu.org; 28 Jan 2023 12:18:33 +0000
Received: from localhost ([127.0.0.1]:39744 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pLkAD-0000mM-94
	for submit <at> debbugs.gnu.org; Sat, 28 Jan 2023 07:18:33 -0500
Received: from lepiller.eu ([89.234.186.109]:37382)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <julien@HIDDEN>) id 1pLkA7-0000m7-OU
 for 61033 <at> debbugs.gnu.org; Sat, 28 Jan 2023 07:18:31 -0500
Received: from lepiller.eu (localhost [127.0.0.1])
 by lepiller.eu (OpenSMTPD) with ESMTP id c20519b7;
 Sat, 28 Jan 2023 12:18:23 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from
 :to:cc:subject:message-id:in-reply-to:references:mime-version
 :content-type:content-transfer-encoding; s=dkim; bh=Xjf2o5HMxp51
 iF0ES+oJcyV+WDtF/DJAdgwmwdIaCfM=; b=kXmtPzcpMS9X4zxtMuu0pgtenXPK
 D4FZueFmt+PUKZBrx4raDDJzpPLvu1dq8tzPujsG26JYXKuNP+rDCpraPXffmfQE
 qPxTCpnnWuV6ibTQN68XifVxKEwMn+IQpckKXOxId5b/PdvJb6XcWEAIa+exaZdv
 2uk0RhiYYkhCy3IqjLoKU8Cbd5BsPw9IRgpncWRPa9jhnmVov6BV0pH8LFBHUaSu
 enVogG6co3AfrFRahaZYhQkpcfI0yyTCobEOX23SM/hH/oxxgs18yKzvwQwEsvGr
 0exsA6xAsEjGQ9JsSVykZ9fwIPZpVF4DH24p2TJ5YvozPn0M0DxzFY2VYA==
Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 68d2f3db
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Sat, 28 Jan 2023 12:18:18 +0000 (UTC)
Date: Sat, 28 Jan 2023 13:18:11 +0100
From: Julien Lepiller <julien@HIDDEN>
Message-ID: <20230128131811.23b5806c@HIDDEN>
In-Reply-To: <86h6wg652t.fsf@HIDDEN>
References: <86h6wg652t.fsf@HIDDEN>
X-Mailer: Claws Mail 4.1.1 (GTK 3.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Le Tue, 24 Jan 2023 03:23:44 +0100,
Csepp <raingloom@HIDDEN> a =C3=A9crit :

> Truncated stack trace:
>=20
> ```
> ...
> In guix/import/opam.scm:
>     287:2  3 (opam->guix-package "mirage-crypto-pk" #:repo _ # _)
> In unknown file:
>            2 (filter #<procedure 7f43905afd00 at guix/import/opam.s=E2=80=
=A6>
> =E2=80=A6) In guix/import/opam.scm:
>    290:13  1 (_ ("mirage-no-solo5" "mirage-no-xen"))
> In unknown file:
>            0 (string-prefix? "conf-" ("mirage-no-solo5" "mirage-n=E2=80=
=A6")
> =E2=80=A6)
>=20
> ERROR: In procedure string-prefix?:
> In procedure string-prefix?: Wrong type argument in position 2
> (expecting string): ("mirage-no-solo5" "mirage-no-xen") ```
>=20
>=20
>=20

The issue is related to lines like this in the list of dependencies:

(("mirage-no-solo5" & "mirage-no-xen") | "zarith-freestanding" |
"mirage-runtime" {>=3D "4.0"})

This reads as a choice between three dependencies:
- mirage-no-solo5 with mirage-no-xen
- zarith-freestanding
- mirage-runtime

The importer infrastructure is not intelligent enough to really be able
to solve constraints in imported packages, so I don't see an easy
solution. It could silently use the first option, or put a comment
instead.

Ideas?





Last modified: Sat, 28 Jan 2023 12:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.