From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id UPH3GxYQDGbdQwEA62LTzQ:P1 (envelope-from ) for ; Tue, 02 Apr 2024 16:03:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id UPH3GxYQDGbdQwEA62LTzQ (envelope-from ) for ; Tue, 02 Apr 2024 16:03:02 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=gDjfSAQz; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712066582; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=83C6WXHBiGjFGcz0a8r+HfyXFpEYJ2p+SN28Oy46mA4=; b=ArqQ1hROeq95/sB4xqcaqBwZTFlpMh1zw2JlSvPaEM6XzeiX90sq5fCkJhvPkSd55N2xLH 0uVi7U1DcH2HLBl189TM17uqpE2G04WaVpFYAgoNSM0r3eyyEXbkks1mUvudwFOQVg3y4H IX7hS5G0ugc6wtC26oAhurafjhyEI89VJOqRGrr/tXm+/jnfVqsiHALfMT0iDC+Go3SyhG uu/Bxuy+Gzu+a6hrDTd68U2LV/D0AyC7ASC9PcGpJkDzVT8N0T5zr+LLMHpYnm1x1NaJDx Fc4t2Q84hKtcJcV99N55+E371iQXVCGWgfle4tsFrZAZPRIRppe24hbBry7uBQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=gDjfSAQz; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712066582; a=rsa-sha256; cv=none; b=uEFv4/b1jAssePPNY9b7CDDwyY1lq2upqVLcqbYUJg5sin/x2N7crUvvyI8uffCEzI359A 1JDkNLP3aNS2PyO3eAhXuB8TSLV0JjeB/bBo4VqB8eOEbpzZPCyZc2Z1a5gXnntAaxVxYb a1kAGcW+2xGFRYnFu/SI9rIKlrUyuNyXPxg9hblFqD1Hd1HBVmMx4JwUMp+rW37sJZFEzQ 1HjP+FyrdIo14osCWJgtIOD3ff42lm+gcj3c7tUPJe5VEvEoj0e8MXjTNQqK6axQlZv981 mIvIQmxt8VVtIX87JU9tLHfJHv8oEDc+aj9tHZ4fD71gYjZG614h8KYkmAHlFg== 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 269146D829 for ; Tue, 2 Apr 2024 16:03:01 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rrej5-0002Du-S6; Tue, 02 Apr 2024 10:02:59 -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 1rrej4-0002De-JC for bug-guix@gnu.org; Tue, 02 Apr 2024 10:02:58 -0400 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 1rrej4-0000H2-9w for bug-guix@gnu.org; Tue, 02 Apr 2024 10:02:58 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rrej7-0006G7-Mq for bug-guix@gnu.org; Tue, 02 Apr 2024 10:03:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#69996: Broken OCaml packages (e.g. frama-c and binsec) Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 02 Apr 2024 14:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69996 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: pukkamustard , 69996@debbugs.gnu.org Received: via spool by 69996-submit@debbugs.gnu.org id=B69996.171206652923773 (code B ref 69996); Tue, 02 Apr 2024 14:03:01 +0000 Received: (at 69996) by debbugs.gnu.org; 2 Apr 2024 14:02:09 +0000 Received: from localhost ([127.0.0.1]:54804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rreiG-0006BN-RQ for submit@debbugs.gnu.org; Tue, 02 Apr 2024 10:02:09 -0400 Received: from lepiller.eu ([89.234.186.109]:53876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rreiD-0006Ae-0X for 69996@debbugs.gnu.org; Tue, 02 Apr 2024 10:02:06 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 0dbe3847; Tue, 2 Apr 2024 14:01:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=ia1ghMN97et9 vwQ/trpnPKeEk4LOUJoGfoEdepZUecU=; b=gDjfSAQz6Ds3+Wc2NhaX0j4SRotT FoNGQe96d8oxRjilGoKpjnFQv5QilTFX3teYemeUIiqYRYgCxVw7w3fFbcOGMzqV JnzNV9plIPlB7N/yi2LnxNW+0To6wASNnXFFYvwLQbdy5AHPBRUWJlnvSZRrvq+I QnPDZP1/mwUsY/fCSfYszA9bs4xYcjcgSA6VBTm2TGpfuf3/KerP8sxDEg24t+Ha GuDu2CWE65i9wUibNITTADR5peP9dKCIDBaWPTwnj3lz8Zc/8/x400KOanaEuE+u zbnPOtvO0tVIN+3/7Bn1MaGdOf4HINSEifSmHHzWyv48b5GMcJFnsB+CSw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id ee74acee (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 2 Apr 2024 14:01:58 +0000 (UTC) Date: Tue, 02 Apr 2024 16:01:57 +0200 From: Julien Lepiller User-Agent: K-9 Mail for Android In-Reply-To: <86zfummwfs.fsf@posteo.net> References: <86zfummwfs.fsf@posteo.net> Message-ID: <8CFAB584-A35A-4D75-83EC-88E4056337A2@lepiller.eu> 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 269146D829 X-Spam-Score: -5.24 X-Migadu-Spam-Score: -5.24 X-Migadu-Scanner: mx10.migadu.com X-TUID: BC8FyYPXLTMF At least for Frama-C, the issue is environment variables=2E It requires OCA= MLPATH to work correctly=2E So this works: guix shell frama-c ocaml -- frama-c Even though the compiler is not needed=2E It's another example of why we should propagate search paths, although we = could also redefine the same search path in packages that need it ;) Le 25 mars 2024 11:29:44 GMT+01:00, pukkamustard a =C3=A9crit=C2=A0: > >As reported by Arnaud (off-list mail) some OCaml packages build fine but >seem to be broken=2E > >Examples include `frama-c` and `binsec`: > >``` >guix shell frama-c -- frama-c >[kernel] Current source was: :0 > The full backtrace is: > Raised at Dune_site_plugins__Plugins=2Elookup_and_summarize=2Eloop=2E(f= un) in file "otherlibs/dune-site/src/plugins/plugins=2Eml", line 237, chara= cters 16-87 > Called from Dune_site_plugins__Plugins=2Eload_gen in file "otherlibs/du= ne-site/src/plugins/plugins=2Eml", line 263, characters 39-69 > Called from Stdlib__List=2Eiter in file "list=2Eml", line 110, characte= rs 12-15 > Called from Stdlib__List=2Eiter in file "list=2Eml", line 110, characte= rs 12-15 > Called from Frama_c_kernel__Kernel=2Ebootstrap_loader in file "src/kern= el_services/plugin_entry_points/kernel=2Eml", line 933, characters 35-62 > Called from Frama_c_kernel__Cmdline=2Eparse_and_boot in file "src/kerne= l_services/cmdline_parameters/cmdline=2Eml", line 894, characters 2-22 > Called from Frama_c_kernel__Cmdline=2Ecatch_toplevel_run in file "src/k= ernel_services/cmdline_parameters/cmdline=2Eml", line 233, characters 4-8 > =20 > Unexpected error (The library "frama-c-aorai=2Ecore" can't be found in = the search paths "/gnu/store/psmc4940aa9bj23dddkglv0p2yhi05kn-ocaml-4=2E14= =2E1/lib"=2E)=2E > Please report as 'crash' at https://git=2Eframa-c=2Ecom/pub/frama-c/iss= ues > Your Frama-C version is 27=2E1 (Cobalt)=2E > Note that a version and a backtrace alone often do not contain enough > information to understand the bug=2E Guidelines for reporting bugs are = at: > https://git=2Eframa-c=2Ecom/pub/frama-c/-/wikis/Guidelines-for-reportin= g-bugs >``` > >``` >guix shell binsec -- binsec -v >Fatal error: exception The library "binsec=2Esse=2Echeckct" can't be foun= d in the search paths "/gnu/store/psmc4940aa9bj23dddkglv0p2yhi05kn-ocaml-4= =2E14=2E1/lib"=2E >``` > > >