From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id ULN+IwLH7F82bAAA0tVLHw (envelope-from ) for ; Wed, 30 Dec 2020 18:29:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4DlTHwLH7F8cQgAA1q6Kng (envelope-from ) for ; Wed, 30 Dec 2020 18:29:22 +0000 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 9AE849403CD for ; Wed, 30 Dec 2020 18:29:21 +0000 (UTC) Received: from localhost ([::1]:59234 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kugDn-00029g-8L for larch@yhetil.org; Wed, 30 Dec 2020 13:29:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57762) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kugDa-00029X-VC for help-guix@gnu.org; Wed, 30 Dec 2020 13:29:06 -0500 Received: from lepiller.eu ([89.234.186.109]:49602) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kugDU-0000LW-DM for help-guix@gnu.org; Wed, 30 Dec 2020 13:29:06 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 54998255; Wed, 30 Dec 2020 18:28:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date :in-reply-to:references:mime-version:content-type :content-transfer-encoding:subject:to:from:message-id; s=dkim; bh=kxk9dQFgtTZMuso+YNPLLSBP6MwHe/U8mHHSxWTIFn0=; b=dBgIpG+R66k4 xPSghX4rPp48oSdjZb9A/3myn3/W9d3f6cXxHSeauTLyz1IweqZ/MBQFVQG7h+sS k7BU2yh93d3hO/SqGYwtWYtLHPy6AYb3ZtYZwTsNJ38oTIr/q4Y/p99fRdeTc4+V 6pUnynd2Ykdo8y/qf+wDTdVeOmBBSWQB/eyG/rA4eoX7mnIyNSiRttLLpagvdI7F zTQSd5jT5ox4TCnLFb/4LoKU4GvbmU0pKXvNdWTaod6fYY735p+lmJJILmZoAQbn xQ24VJcKPMcTKFkRCjlYZnUYCACKSV5hdgWXKw9JyyXYvmMJY4OR69eKVQFNr8cJ NXIY4LVCpg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 4297fc45 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Wed, 30 Dec 2020 18:28:48 +0000 (UTC) Date: Wed, 30 Dec 2020 13:28:39 -0500 User-Agent: K-9 Mail for Android In-Reply-To: <9fba565a28399f9db338b1ccab6777d8a66a98ce.camel@divoplade.fr> References: <9fba565a28399f9db338b1ccab6777d8a66a98ce.camel@divoplade.fr> MIME-Version: 1.0 Subject: Re: OCaml: incompatible ppx drivers (ppxlib and ocaml-migrate-parsetree) To: help-guix@gnu.org,divoplade From: Julien Lepiller Message-ID: <64694B22-34EE-4EB0-9736-13D3E171B0DF@lepiller.eu> Received-SPF: pass client-ip=89.234.186.109; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 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" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.23 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=lepiller.eu header.s=dkim header.b=dBgIpG+R; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 9AE849403CD X-Spam-Score: -1.23 X-Migadu-Scanner: scn1.migadu.com X-TUID: b+QIgvBj9wAa Looking at the opam repo, ppxlib 0=2E20=2E0 requires ocaml-parse-tree >=3D = 2=2E1=2E0, which is the latest=2E You have version 1=2E8=2E0=2E Le 30 d=C3=A9cembre 2020 11:55:11 GMT-05:00, divoplade = a =C3=A9crit : >Dear guix, > >I am trying to build js-of-ocaml=2E I have created an updated version of >ocaml-compiler-libs, ocaml-migrate-parsetree and ocaml-ppxlib, and >tried to build the latest js_of_ocaml with that, but I get the >following error when building the updated ppxlib: > >starting phase `build' >File "_build/default/=2Eppx/0224ad3443a846e54f1637fccb074e7d/ppx=2Eexe", >line 1, characters 0-0: >Error: Failed to create on-demand ppx rewriter for ppxlib=2Emetaquot; too >many >incompatible ppx drivers were found: ppxlib and ocaml-migrate- >parsetree=2E >File "_build/default/=2Eppx/3134a5298fb2c80808cc94dd434856cb/ppx=2Eexe", >line 1, characters 0-0: >Error: Failed to create on-demand ppx rewriter for ppxlib=2Etraverse; too >many >incompatible ppx drivers were found: ppxlib and ocaml-migrate- >parsetree=2E >File "traverse/dune", line 7, characters 13-48: >7 | (preprocess (pps ppxlib_metaquot ppxlib=2Erunner))) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >Error: Too many incompatible ppx drivers were found: ppxlib and >ocaml-migrate-parsetree=2E >File "ast/ast_helper_lite=2Emli", line 18, characters 0-17: >18 | open Ocaml_common > ^^^^^^^^^^^^^^^^^ >Error (warning 33): unused open Ocaml_common=2E >command "dune" "build" "@install" failed with status 1 >builder for `/gnu/store/k7wfvxqbp07f8idjsbzi699v5y163j24-ocaml-ppxlib- >0=2E20=2E0=2Edrv' failed with exit code 1 > >Why are these two packages "incompatible"? Do you understand what is >happening?