From 20ade4357044f1cad89d22a98d068944bc3e4fbc Mon Sep 17 00:00:00 2001 From: Marcello Seri Date: Tue, 5 Mar 2024 11:02:17 +0100 Subject: [PATCH] libc 0.0.1 is not compatible with riscv64 Fails with ``` #=== ERROR while compiling libc.0.0.1 =========================================# # context 2.2.0~beta2~dev | linux/riscv64 | ocaml-base-compiler.5.1.1 | file:///home/opam/opam-repository # path ~/.opam/5.1/.opam-switch/build/libc.0.0.1 # command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p libc -j 3 @install # exit-code 1 # env-file ~/.opam/log/libc-7-f97f5e.env # output-file ~/.opam/log/libc-7-f97f5e.out ### output ### # (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I libc/.libc.objs/byte -no-alias-deps -open Libc__ -o libc/.libc.objs/byte/libc.cmo -c -impl libc/libc.pp.ml) # File "libc/libc.ml", line 25, characters 8-12: # 25 | include Impl # ^^^^ # Error: Unbound module Impl ``` --- packages/libc/libc.0.0.1/opam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/libc/libc.0.0.1/opam b/packages/libc/libc.0.0.1/opam index 1e37185f19a..992fef4a24d 100644 --- a/packages/libc/libc.0.0.1/opam +++ b/packages/libc/libc.0.0.1/opam @@ -29,7 +29,7 @@ build: [ ] ] dev-repo: "git+https://github.com/ocaml-sys/libc.ml.git" -available: arch != "x86_32" & arch != "arm32" & arch != "ppc64" & arch != "s390x" +available: arch != "x86_32" & arch != "arm32" & arch != "ppc64" & arch != "s390x" & arch != "riscv64" url { src: "https://github.com/ocaml-sys/libc.ml/releases/download/0.0.1/libc-0.0.1.tbz"