Use Cmd.v and one of Cmd.eval* instead. ocamlfind ocamlopt -linkpkg -g -package unix -package cmdliner -I src -I test src/uutf.cmx test/utftrip.cmx -o test/utftrip.native + ocamlfind ocamlopt -linkpkg -g -package unix -package cmdliner -I src -I test src/uutf.cmx test/utftrip.cmx -o test/utftrip.native /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-ml/uutf-1.0.3/temp/camlstartup9711aa.o: in function `caml_program': :(.text+0x2e5): undefined reference to `camlCmdliner_arg__entry' /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-ml/uutf-1.0.3/temp/camlstartup9711aa.o: in function `caml_globals': :(.data+0x3c8): undefined reference to `camlCmdliner_arg__gc_roots' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_systemd-j4-20220503-170004 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.3.1 [2] x86_64-pc-linux-gnu-11.3.0 * clang/llvm (if any): Python 3.9.12 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.60.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11] 2) Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit f703c8e20982828c6a94c623fef84894f2a5cec3 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu May 5 11:03:06 2022 +0000 2022-05-05 11:03:06 UTC emerge -qpvO dev-ml/uutf [ebuild N ] dev-ml/uutf-1.0.3 USE="ocamlopt utftrip -doc -test"
Created attachment 776906 [details] emerge-info.txt
Created attachment 776909 [details] dev-ml:uutf-1.0.3:20220505-120642.log
Created attachment 776912 [details] emerge-history.txt
Created attachment 776915 [details] environment
Created attachment 776918 [details] etc.portage.tar.bz2
Created attachment 776921 [details] temp.tar.bz2
I think is fixed with dev-ml/cmdliner: serialize compilation