From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id mOr+Mm+6W2S0awAASxT56A (envelope-from ) for ; Wed, 10 May 2023 17:38:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kBzpMm+6W2Rc5wAA9RJhRA (envelope-from ) for ; Wed, 10 May 2023 17:38:23 +0200 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 72EAA2F80A for ; Wed, 10 May 2023 17:38:23 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwltF-0002BQ-6C; Wed, 10 May 2023 11:38:05 -0400 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 1pwltD-0002AU-7W for bug-guix@gnu.org; Wed, 10 May 2023 11:38:03 -0400 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 1pwltC-0001dJ-S8 for bug-guix@gnu.org; Wed, 10 May 2023 11:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pwltC-0001Tx-D1 for bug-guix@gnu.org; Wed, 10 May 2023 11:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63331: Guile-GnuTLS/Git circular dependency Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 10 May 2023 15:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63331 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Baines Cc: Simon Josefsson , Vivien Kraus , 63331@debbugs.gnu.org Received: via spool by 63331-submit@debbugs.gnu.org id=B63331.16837330605665 (code B ref 63331); Wed, 10 May 2023 15:38:02 +0000 Received: (at 63331) by debbugs.gnu.org; 10 May 2023 15:37:40 +0000 Received: from localhost ([127.0.0.1]:48713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwlsp-0001TI-Oe for submit@debbugs.gnu.org; Wed, 10 May 2023 11:37:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwlsk-0001T1-7O for 63331@debbugs.gnu.org; Wed, 10 May 2023 11:37:38 -0400 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 1pwlsb-0001ZU-Ly; Wed, 10 May 2023 11:37:25 -0400 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=qfcgrn6oj1sfb78zf0Gv1gvb8ISCM6f3BCAfpINUIu4=; b=VXap+4pvHhFlmQA0+Y9+ FimT6j7yj7Slt3fMGvsRbT6A3u11CCXndZg6ukHlB5omL3DoRv/E6y7+3CyFj7fK5WZb860r8eaQv 6y6iLvrkY/XiiLnhqAhgCAd66tTg3Z+0OcZ2HmChR1YeIS8QIIvSCCd365DB3UftMb5ooU3mqo98v z+p9PutUP3ewgNnhwvCXuYH3GEJAFOtUeeWQe4+VxXcWkAbBuAVtjSrUuJB4qeknSwC+TFVFB34ch wAgf5Xt1llBi/o4tvMY8TiR7UESjD8Gfm230NvUJ7tPH7Xx47piyb8Lqk+RXKh+nT50qGBb7Ljbnu qfFL7G/5qjB3eQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pwlsb-0003xb-9L; Wed, 10 May 2023 11:37:25 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <877ctljs0m.fsf@inria.fr> <8735472aep.fsf@josefsson.org> <874jol4uje.fsf@cbaines.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Primidi 21 =?UTF-8?Q?Flor=C3=A9al?= an 231 de la =?UTF-8?Q?R=C3=A9volution,?= jour du Statice X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 10 May 2023 17:37:22 +0200 In-Reply-To: <874jol4uje.fsf@cbaines.net> (Christopher Baines's message of "Tue, 09 May 2023 12:15:24 +0100") Message-ID: <87pm788afh.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: 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683733103; a=rsa-sha256; cv=none; b=dysbq5bepIwxFB60wWSGylbyshLmBGQz4trTHEGWpsyPtwFuts/fRgIVhhVgXemVnrKLJA ud+sMpiwAxEWHI/Zy6M5ib8ZKnF3ipJ2QYs60ukuqmbv1nsIipoxMT55581vhHBAl71w6p mYTKQ/33+PMUggzi/4Wj6WTk55wigFgnGBU2Y/OTWhhiUR7D/hllrTTIMO+aZwHhPZ/VH4 vDFYdrlEEB82YXRobCg2siprvmweGHXNq6Hb5/0nYm7t8hUP4KVx7EHE8+FVPaYnEHgO/3 uq5g6/8t10l/Hh7RnxADuLlMKsQuUi8paheQsGEbkYfbuph7QroVvJYjfxdONA== 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=VXap+4pv; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683733103; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=qfcgrn6oj1sfb78zf0Gv1gvb8ISCM6f3BCAfpINUIu4=; b=LYDJuDyPq6DN/v6ptVb4xpecqyU6Sw0FNMaSzbYT4kzZI5DuX32wq3T+ZEk2L4SE9eiOAZ WJKXGD6VHePUGQuJY66zqAsVhNysBzABMNVOY52au3HJwl/Qf9lYSEFdQwwI/8ha/1eBFM XuDLhYVDOkALVoHO6P7yAfGzIN2xogMp0Lg+Wxpd/rLTFIyg1YbFeqKOXUdSMgzZmfb/hw w1GsCObiT0kHV0FSUMX05/A5BgtaRIiyqMPPWAq7cAE3tMtbH7QMb2lQdbz2DvPE1xNdUk jITVYeHaPWQr5eOSTNp1Y6wbY8cyJiGC86WAi66pHMUG5ykS65cCN7Zz+ZsCJQ== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=VXap+4pv; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -4.08 X-Spam-Score: -4.08 X-Migadu-Queue-Id: 72EAA2F80A X-TUID: HeCbcRIuhpp+ Hi, Christopher Baines skribis: > It seems to build for me, but I'm having problems cross building. There > were warnings before about protocol/ssl3 being undefined, but now this > seems to result in an error when building extra.scm: > > > GUILEC modules/gnutls.go > gnutls.scm:608:23: warning: possibly unbound variable `protocol/ssl3' > gnutls.scm:609:25: warning: possibly unbound variable `protocol/tls1-0' > gnutls.scm:610:25: warning: possibly unbound variable `protocol/tls1-1' > GUILEC modules/gnutls/extra.go [...] > ice-9/boot-9.scm:1685:16: In procedure raise-exception: > Unbound variable: protocol/ssl3 > make[3]: *** [Makefile:1295: modules/gnutls/extra.go] Error 1 Is it a regression or did we already have that problem? That comes from this bit in (gnutls): ;; Renaming. (define protocol/ssl-3 protocol/ssl3) (define protocol/tls-1.0 protocol/tls1-0) (define protocol/tls-1.1 protocol/tls1-1) When cross-compiling, the .so cannot be loaded (understandably; see also GNUTLS_GUILE_CROSS_COMPILING) so =E2=80=98protocol/ssl3=E2=80=99 above is u= ndefined. The problem is that when compiling (gnutls extra), we end up loading (gnutls) and thus evaluating the lines above, which fail. In Guile-Avahi I worked around it like so: (define protocol/unspecified (and (defined? 'protocol/unspec) protocol/unspec)) I guess we could do that as well here. HTH, Ludo=E2=80=99.