From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id oJgDFG76cmdq8QAA62LTzQ:P1 (envelope-from ) for ; Mon, 30 Dec 2024 19:54:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id oJgDFG76cmdq8QAA62LTzQ (envelope-from ) for ; Mon, 30 Dec 2024 20:54:22 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=posteo.de header.s=2017 header.b=OFIvYf7x; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.de (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735588462; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=79QU0e80OJqE8XvAqG1JrapwPboaBwgD0J9A22PHGyI=; b=lXGhSWg/jcloxP2KFPUBlaOw6y1UVVLQLR4s5s6RoxU8Abdv9FjLoG0NDujRE2CXQaaIDK jAVk/uB2tKWq5PLSBASSn6sezcoXCoiXjUGtjguBNeWFHLtzaRbjKPI6kXc3Ohhr53Xccb rw7WrvVQ01M1ianHvJfmUoGVBML/wCVBdiOjriWEjlplLQdUlC2wgqLiOT3aZBRNPQKEYM DSksQCrPVOO5xOdlEm0IN8TLsFS68f4HX10/kchPA9wCfyTKpe32A6Z8sZM0CIkHAFqB00 P6Sx/kSf/md8kyG4b881TB4tGZZRqr6ylnTsBwMdt8o3sZIGfATfMnFhgUbz0A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=posteo.de header.s=2017 header.b=OFIvYf7x; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.de (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735588462; a=rsa-sha256; cv=none; b=Fu3XuRsUy0TCSH2oQs7lUi5N3a76imUEvy/lx07VBTKm4JBMzlVOpZa7mx1hMYmAk30M60 W700Id0HwzyPFcmdccnAgPkCI7CulzeUmg84t2XNr6OuFJsLPQxmn75T567LqyRAcp49u6 xf1XO6mA4DoNQO5Yauo3+TkAz11waJqWoaHiHtA2LQ3Q9A643fLJAGKwqlZZKyZ395Vyf0 OeJHkLI24H3S9G0YD9cQp3ZZKmmUdvWDcG5PPhgQhMagjb2Uf1+zkViHtnDldQwK0xoVmw 7m5NKmQ6HP8b1T2d9uk1NqVwEOgS1BeHaM76140XHjbcStfAZ/MqGA+k55+XzA== 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 2503F4115C for ; Mon, 30 Dec 2024 20:54:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tSLps-0003YW-Vg; Mon, 30 Dec 2024 14:53:57 -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 1tSLpo-0003YI-RV for help-guix@gnu.org; Mon, 30 Dec 2024 14:53:53 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tSLpl-0004uy-7V for help-guix@gnu.org; Mon, 30 Dec 2024 14:53:51 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id C0065240027 for ; Mon, 30 Dec 2024 20:53:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1735588426; bh=42mvQQ6h2dAS5S4iRDU9y+8gij1YG6HwBiSwXsFvUYU=; h=Content-Type:Message-ID:Date:MIME-Version:Subject:To:From:Cc: From; b=OFIvYf7xEFz5SiUT2ivh+Z5Qj1Z6ecIKK4ioRmyl1qDX+jGoqPRh0vFKw2u38st1i ernBn3wEhp6sR/Xt7hpcg6ZMHQ/1w3SsKv5/Ar1yrbCP8sSnSm6O5hOBSyFB1BAvp1 yQXO1+MNb/NLa4tiWRLcue6eaz0SSuiP02H2jiMXuIODcZ7b64P9cwaM+GosQg30n0 qwU4yNyMSSm6686xO+IaCcvsInqy0x6eE215cPbMz8R+pc4+AIi9+W7bkn5eO6DeZo Z0IYXayYpsBxqM5OL7m020C2hD3z0fEyr5bVqwBB6vufS6mXsfLFZK1udPmsI3lWii jzrhLPjz+rQlg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YMRcV1JBqz9rxL; Mon, 30 Dec 2024 20:53:46 +0100 (CET) Message-ID: <6a870903-f0c7-4ee4-a568-fc2ef2ff0bab@posteo.de> Date: Mon, 30 Dec 2024 19:53:45 +0000 MIME-Version: 1.0 Subject: Re: OCaml package `ocaml-zarith` not working / Guix installed `ocamlc` not picking up installed libraries To: Julien Lepiller References: <62213a9d-3bab-4f0f-bd7b-9a98b880ae0d@posteo.de> <5C5E5640-35C0-43CD-8D29-1EB168E8DF30@lepiller.eu> From: Zelphir Kaltstahl Content-Language: en-US Cc: help-guix In-Reply-To: <5C5E5640-35C0-43CD-8D29-1EB168E8DF30@lepiller.eu> Received-SPF: pass client-ip=185.67.36.65; envelope-from=zelphirkaltstahl@posteo.de; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 2.80 X-Spam-Score: 2.80 X-Migadu-Queue-Id: 2503F4115C X-TUID: ezLihLox64Qc On 30.12.24 20:33, Julien Lepiller wrote: > That might be a mismatch between ocaml (latest version is ocaml 5) and tge libraries which are currently built with ocaml4. If you try the same with ocaml@4, does it work? Hi Julien! If I try with the following manifest.scm: ~~~~manifest.scm~~~~ (specifications->manifest '("ocaml@4" "ocaml-utop" "dune" ;; "opam" "bash" "ocaml-zarith")) ~~~~ I get: ~~~~output~~~~ guix shell: warning: ambiguous package specification `ocaml@4' guix shell: warning: choosing ocaml@4.14.1 from gnu/packages/ocaml.scm:256:2 The following derivation will be built: /gnu/store/qzxdn126savzdn3a9ayhy3fgkl79r1y6-profile.drv building CA certificate bundle... listing Emacs sub-directories... building fonts directory... building directory of Info manuals... building profile with 5 packages... guix shell: checking the environment variables visible from shell '/bin/bash'... guix shell: All is good! The shell gets correct environment variables. File "main.ml", line 1, characters 5-6: 1 | open Z ^ Error: Unbound module Z ~~~~ So I tried with `ocaml@4.14.1` instead, which according to the warning it chose anyway, due to @4 being ambiguous, but the error remains. Regards, Zelphir -- repositories:https://notabug.org/ZelphirKaltstahl,https://codeberg.org/ZelphirKaltstahl