From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 6EhuCz/AW2SHSAAASxT56A (envelope-from ) for ; Wed, 10 May 2023 18:03:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WAuXCj/AW2SaMwAAG6o9tA (envelope-from ) for ; Wed, 10 May 2023 18:03:11 +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 75BD6BA76 for ; Wed, 10 May 2023 18:03:10 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwmHQ-0003LS-0n; Wed, 10 May 2023 12:03:04 -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 1pwmHO-0003LJ-RW for bug-guix@gnu.org; Wed, 10 May 2023 12:03:02 -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 1pwmHO-0006i8-GJ for bug-guix@gnu.org; Wed, 10 May 2023 12:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pwmHO-0002PK-0T for bug-guix@gnu.org; Wed, 10 May 2023 12:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63331: Guile-GnuTLS/Git circular dependency Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 10 May 2023 16:03:01 +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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Simon Josefsson , Vivien Kraus , 63331@debbugs.gnu.org Received: via spool by 63331-submit@debbugs.gnu.org id=B63331.16837345249179 (code B ref 63331); Wed, 10 May 2023 16:03:01 +0000 Received: (at 63331) by debbugs.gnu.org; 10 May 2023 16:02:04 +0000 Received: from localhost ([127.0.0.1]:48788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwmGR-0002Nz-L0 for submit@debbugs.gnu.org; Wed, 10 May 2023 12:02:03 -0400 Received: from mira.cbaines.net ([212.71.252.8]:42516) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwmGN-0002NV-IF for 63331@debbugs.gnu.org; Wed, 10 May 2023 12:02:01 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:54d1:d5d4:280e:f699]) by mira.cbaines.net (Postfix) with ESMTPSA id E6D2027BBEC; Wed, 10 May 2023 17:01:57 +0100 (BST) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 18f64e0d; Wed, 10 May 2023 16:01:57 +0000 (UTC) References: <877ctljs0m.fsf@inria.fr> <8735472aep.fsf@josefsson.org> <874jol4uje.fsf@cbaines.net> <87pm788afh.fsf@gnu.org> User-agent: mu4e 1.8.13; emacs 28.2 From: Christopher Baines Date: Wed, 10 May 2023 16:59:28 +0100 In-reply-to: <87pm788afh.fsf@gnu.org> Message-ID: <877ctg18ga.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683734591; a=rsa-sha256; cv=none; b=RTmALMXOjE+JtLmjuff4DF7tedbkV84mKMlcCfVIgVRRGk4LQAlPQ3IzFMPrLCz2g37OPB mzbvAUzmlEptEFM37r244U018P2me5ezu796UTFBAdRhpEErnxpAuLUK/LPAv2Vk+7wsTO 2d3c+cZdlEXrmKwXGRLKtautvY1OyszWuw7I/JXzacDj855YrhituLDBlsxT1ifqYbocj9 pVmokk2TvM+x36uZnA3DgnQMdiDIjLSRqSqx14tmd+i9/Zh+amKnAJTK7lTh/pxC6+1iok p5KGBPmevVRxrhC9pY4UYaKhDHmBPy7uygiUgPeweR06q6jcPNRy+CTvJE+pvw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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=1683734591; 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: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; bh=q2Ejo1f2HLy67ftgmMbbi99tgyqcoSsTUtlrxBQQ2oQ=; b=KIeY/fsmx+n0YEDkyuwmajY9EauGtNGeOvR0cOH7R7QLX+sDPhJATB2rorQpiZSTy41AAJ NCs/ScsWb2Ur9yVmImriBHPyssK4icGz2D5Gg/av6etlwwdo1zEZFl236XnbuCPGv4XxnY rr/7KQQWcX4QAqE8AfdjtbhKKsgpYbLfiautj+HOrmB62gSgqNr4yGeyTp2+MaGCOT/aT+ ZgMDmsO7Saf8skEXRPsHkt+9dfxS9l08WPBuRCnyWqTduG8sHtHOGH/VBRTulEGmvLDH7v rszMclUgICCQ3AsloAHrvQilmmRO+DIHY4S6t2T31p/rr8Iv5/I7qZA/ZWywCw== X-Migadu-Spam-Score: -4.51 X-Spam-Score: -4.51 X-Migadu-Queue-Id: 75BD6BA76 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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-TUID: UZkrvPBbxhul --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > 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? A regression I think, the data service doesn't have recent data, but it does know about builds that worked: https://data.guix.gnu.org/repository/1/branch/master/package/guile-gnutls= /output-history?output=3Dout&system=3Dx86_64-linux&target=3Driscv64-linux-g= nu > 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= undefined. > 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 That sort of makes sense, although I don't know why this wasn't failing in the same way in the past. Build logs are available though, so maybe this makes sense to someone. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmRbv/VfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9Xf8Jw/8DUHTQZ6SHJ9zHbq2uPm5PzwgV7USHjTF 6m6+xboWd/2IKwLcGH+JClgigRELIX96JnbTZQljICMEhr26P9q4SCUBdMiXkNQV //ZRQH7kzzKiQQ6Pjzazg/GRk3z8ioQCL9T0mq5DBIZF9oU2H+VIZ5hM4K1hREWo 36QxyQlwzGRKMXmjGJz6+QgaeTt4QwKY0eyphU8kzmm20JOMkodgIaR2IkFAzrRX +Zfg0Lg/7Te8WunBKLqEH5p56t6Sd9+qsjiAb2DrF5OR2n8qYYmtX7VdDz/dDdcn xscjwnlXAHpITHkw3u2S45f8F/Gd1AsqYoAbShX4ngFjVJv7vDSawDsPgq5ChGoc aSPOyG5n8ZqehRlvLyekBzzqkZcDnQKtAJhjqxtUGOYP8nWSc/xTyGWQ3hQmPru4 0DHs17ep3x2X4dyZItYJOQTgZYUvcZ2XMAIo+NtlnynTKbDrX3VUzoxwTz1GWDby ssz23hAdRsyB0NB12k4xn28AfrSi9VhvuJTJth5pL88V0rmdaTpgM14bnnhwbDEJ 5bd2/pH5SPEVe2JtLg+l8b9heSWHnxpO/P7hU/qxPOVNl6UnSiOvVfSdrbv4CdAX Y9pU5kXOni93FVmDnnbu9QpceZrK8A8768dUueXWNJST6nwXdXaiAg0sMk4uWbg9 EiWTxKhFxWE= =qrpV -----END PGP SIGNATURE----- --=-=-=--