From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MHdNATu77GW4HQEAqHPOHw:P1 (envelope-from ) for ; Sat, 09 Mar 2024 20:40:43 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id MHdNATu77GW4HQEAqHPOHw (envelope-from ) for ; Sat, 09 Mar 2024 20:40:43 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=planete-kraus.eu header.s=albinoniA header.b="S9Ly7/sC"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-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=1710013242; h=from:from:sender:sender:reply-to: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=TCSfq4tEzG1XwJx9qRsI7wftkh7x79jOPUpPE6X1ZCE=; b=fs1u9Eyim8An4DYLdu2zSIjX3MoUh+3fI+vkOwzxJE9h58tJGzZlBosBQF8C/sF8SpmNbF UOxN+UJAaMs4ZUxhRosnHSYTCYZJJtrhfoNtsOoRXVbVWNG16e8v9akRet+LfSmWhYiDaC dF3OE6fMBvfcXuPBYUxF2IIxI1+DWoT84C1ZPlA/GjEyMRwfTD9oJxUC5De7kZC/hedGwy paYOft7DvNHT+ABaxDQ5Bf3S+1ta3Xrdt1o7lurc9SbmBjHofPeSoYPNw+4SNl2BbDeLm8 MKsL3IhlDUdy+PRrCMFh7jALHpI0zbbWduSWVAirwA742fT/tSDGTw8yc+y/DQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710013242; a=rsa-sha256; cv=none; b=WKPZeV2QF64ZvG2u6GMDEfBTAETo3hISfMAwILbXtDxH+uEKpoIiS5N/3s9/s0DnNMI7Lp 6Ckpgdoi5pYUB9aVyhpsAK7XuH0Cya8Zj2vMcpVhff3QXzqMNaR/bYtRY1tC+VujhGsvLQ o+E09gyowj+wkupvak3oLjn8ZsSZU0yltn+DBVyNvJcccJZUrvgyU4L2LVKNcEnd/FUfDr JfDTylXQZSM2NJo0c3gtuiBXNyRtw/yrIksJ5JyrEXMpMTwpt1r1n8JufFa0LDc7xsfPhu I7MkqrViK4PjOR8VBCeSGp0Gn+aNJ9GRp87zDGVP5knJ8h+dilDot+fE/8u+vg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=planete-kraus.eu header.s=albinoniA header.b="S9Ly7/sC"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org 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 B1CA83F3E2 for ; Sat, 9 Mar 2024 20:40:42 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rj2YZ-0008Do-IU; Sat, 09 Mar 2024 14:40:31 -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 1rj2YX-0008De-Ih for guix-patches@gnu.org; Sat, 09 Mar 2024 14:40:29 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rj2YX-0005ry-8X for guix-patches@gnu.org; Sat, 09 Mar 2024 14:40:29 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rj2Z3-0007rz-Oj for guix-patches@gnu.org; Sat, 09 Mar 2024 14:41:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69677] [PATCH gnome-team 1/1] gnu: opam: Fix build. Resent-From: Vivien Kraus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 09 Mar 2024 19:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69677 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer Cc: rg@raghavgururajan.name, liliana.prikler@gmail.com, 69677@debbugs.gnu.org Received: via spool by 69677-submit@debbugs.gnu.org id=B69677.171001323030203 (code B ref 69677); Sat, 09 Mar 2024 19:41:01 +0000 Received: (at 69677) by debbugs.gnu.org; 9 Mar 2024 19:40:30 +0000 Received: from localhost ([127.0.0.1]:34876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rj2YY-0007r5-87 for submit@debbugs.gnu.org; Sat, 09 Mar 2024 14:40:30 -0500 Received: from planete-kraus.eu ([89.234.140.182]:46146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rj2YV-0007qn-L7 for 69677@debbugs.gnu.org; Sat, 09 Mar 2024 14:40:29 -0500 Received: from planete-kraus.eu (localhost [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id ee7e2339; Sat, 9 Mar 2024 19:39:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= message-id:subject:from:to:cc:date:in-reply-to:references :content-type:content-transfer-encoding:mime-version; s= albinoniA; bh=dDWUiyl2kGWr1l+mSf3ubNneuxU=; b=S9Ly7/sCnoTpgqk2vk qQOxkwZHB1CkwD0dlFK7E4FABI/S//CaWWO1VNhA2LXQXEDa1PLtxbcAyZYeHPUA JOyyWZbs1DqM6YLFw2p4eqVu37RGZhNg7omr29CqrvICizF2u36HvYLHrVLVcUY7 3/T5mpSRvEwP9OBr+LdabT4RARh8I/77/yZU69J8Bp4tpfQI6mu/fZJ2B2BCquU2 f7eHPWQd/GHvjlQsSKww9qmq/bxapIsCYTKPjtTkV0JzgVoMzeyFQyL4RZkpzXVj p346T9mW5haXIlNzWpbI5/6SkdzIptQNpBKxJgxgEvbohtR/txY534D4+fiHid9e VcXA== Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id f8030de0 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Sat, 9 Mar 2024 19:39:47 +0000 (UTC) Message-ID: <6052b863f74d183b2088db53ce85f41c6e1a247f.camel@planete-kraus.eu> Date: Sat, 09 Mar 2024 20:39:45 +0100 In-Reply-To: <87y1are0a8.fsf@gmail.com> References: <3a4e1befc3e3da925fccec1d88f53fff1ffff83b.1709986125.git.vivien@planete-kraus.eu> <87y1are0a8.fsf@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Vivien Kraus X-ACL-Warn: , Vivien Kraus via Guix-patches From: Vivien Kraus via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.28 X-Spam-Score: -5.28 X-Migadu-Queue-Id: B1CA83F3E2 X-Migadu-Scanner: mx11.migadu.com X-TUID: LV+o73R6PF+Y Le samedi 09 mars 2024 =C3=A0 13:18 -0500, Maxim Cournoyer a =C3=A9crit=C2= =A0: >=20 > I'd like to hear about upstream.=C2=A0 Perhaps our package is simply > buggy? > It'd be nice to have an upstream issue to link to. With a closer investigation, it looks lik we are doing things wrong indeed. >From within the failed build directory, if I set up the environment variable, run ocaml -I , and in the prompt, run: #load "base64.cma";; Base64.decode_exn;; I get an error message: Error: The files /gnu/store/wh2ipi0bjywcf5pyis6z1s52adf5cqyd-ocaml- base64-3.5.1/lib/ocaml/site-lib/base64/base64.cma and /gnu/store/i01v0c5yzhw62qmvrlv3y436igwhcafh-ocaml-extlib- 1.7.9/lib/ocaml/site-lib/extlib/base64.cmi make inconsistent assumptions over interface Base64 My guess is that we have 2 ocaml libraries implementing Base64 (ocaml- base64 and ocaml-extlib, propagated from ocaml-dose3). Dune sees that we have a powerful ocaml-base64 installed, so it lays out the compatibility version 6 for us, but when it comes to actually building the project, ocamlfind prioritizes the ocaml-extlib path by adding it first, and it shadows our powerful ocaml-base64 implementation. With this new extlib actor in the plot, I could search better. It seems like Opam is aware of the issue: https://github.com/ocaml/opam/issues/5694 The solution seems to be for extlib to ship a minimal version. But maybe this should primarily concern the ocaml team, not gnome-team, as it looks to me like a recipe for breaking at least half of the ocaml ecosystem. Best regards, Vivien