Building on doris.caelum.ci.dev (from ocaml/opam:debian-unstable) Unable to find image 'ocaml/opam:debian-unstable' locally debian-unstable: Pulling from ocaml/opam Digest: sha256:730ba1f0177ca25fd2003dcf99bd6c4e2bc2f1957c5aebd8d47e1bd69cf161a0 Status: Downloaded newer image for ocaml/opam:debian-unstable 2024-11-09 19:30.52 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (env CI true) /: (env OPAM_HEALTH_CHECK_CI true) /: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2024-11-09 19:30.52 ---> using "40df4fa4cdfc68a5fa7a326047e82a7adc5df52b8059d4a7b745bdd50aad56e7" from cache /: (run (network host) (shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q eecf6d033c6c13a6bda9b445601ddcbaa09dd288")) 2024-11-09 19:30.52 ---> using "659878f189cdb906ec3e452fdc4f26cfb0c3654f53f43b380cf690e70b2f5ac6" from cache /: (run (shell "rm -rf ~/.opam && opam init -ya --bare --config ~/.opamrc-sandbox ~/opam-repository")) Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults. Checking for available remotes: rsync and local, git. - you won't be able to use mercurial repositories unless you install the hg command on your system. - you won't be able to use darcs repositories unless you install the darcs command on your system. <><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><> [default] Initialised User configuration: ~/.profile is already up-to-date. [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc. 2024-11-09 19:30.52 ---> using "b22293df705e6cba3afecfd99e3970445bf105f18df9a7b31bf5584e65710795" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.13' '4.13.1'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.13.1"} | "ocaml-system" {= "4.13.1"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed host-arch-x86_64.1 -> installed host-system-other.1 -> installed ocaml-options-vanilla.1 -> retrieved ocaml-config.2 (2 extra sources) -> retrieved ocaml-config.2 (2 extra sources) -> retrieved ocaml-base-compiler.4.13.1 (cached) -> installed ocaml-base-compiler.4.13.1 -> installed ocaml-config.2 -> installed ocaml.4.13.1 Done. # To update the current shell environment, run: eval $(opam env --switch=4.13) 2024-11-09 19:30.52 ---> using "32f7c014b7288b430ab54809061cc5c84ed0d5f68c94c9588a711eb45b4fc248" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [202 kB] - Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-11-09-0804.37-F-2024-11-04-2012.18.pdiff [276 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-11-09-0804.37-F-2024-11-04-2012.18.pdiff [276 kB] - Fetched 542 kB in 1s (365 kB/s) - Reading package lists... - 2024-11-09 19:30.52 ---> using "fb752a019ff10c7c569845bf0fee9743f0d089c9bd72fde507f5fdc45425ac03" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"esperanto.0.0.4\"\ \nopam install -vy \"esperanto.0.0.4\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"esperanto.0.0.4\" | grep -q '\"debian-unstable\"'; then\ \n echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\ \n exit 69\ \n fi\ \nfi\ \n\ \n\ \nexit $res\ \n")) [NOTE] esperanto.0.0.4 is not installed. Nothing to do. The following actions will be performed: === install 4 packages - install conf-which 1 [required by esperanto] - install esperanto 0.0.4 - install esperanto-cosmopolitan 0.0.4 [required by esperanto] - install ocaml-src 4.13.1 [required by esperanto] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 2/11: [esperanto.0.0.4, esperanto-cosmopolitan.0.0.4: extract] Processing 3/11: [esperanto.0.0.4, esperanto-cosmopolitan.0.0.4: extract] [ocaml-src.4.13.1: extract] Processing 4/11: [esperanto.0.0.4, esperanto-cosmopolitan.0.0.4: extract] [ocaml-src.4.13.1: extract] [conf-which: which which] -> retrieved esperanto.0.0.4, esperanto-cosmopolitan.0.0.4 (cached) Processing 4/11: [ocaml-src.4.13.1: extract] [conf-which: which which] Processing 5/11: [ocaml-src.4.13.1: extract] [conf-which: which which] [esperanto-cosmopolitan: sh] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "which" "which" (CWD=/home/opam/.opam/4.13/.opam-switch/build/conf-which.1) - /usr/bin/which -> compiled conf-which.1 Processing 5/11: [ocaml-src.4.13.1: extract] [esperanto-cosmopolitan: sh] -> installed conf-which.1 Processing 6/11: [ocaml-src.4.13.1: extract] [esperanto-cosmopolitan: sh] -> retrieved ocaml-src.4.13.1 (cached) Processing 6/11: [esperanto-cosmopolitan: sh] Processing 7/11: [esperanto-cosmopolitan: sh] Processing 8/11: [esperanto-cosmopolitan: sh] [ocaml-src: cp .] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-c" "cd toolchain && ./configure.sh --prefix=/home/opam/.opam/4.13" (CWD=/home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4) - configure.sh: Using cc for host compiler (x86_64-linux-gnu) - configure.sh: Checking that cc works: yes - configure.sh: Using cc for target compiler (x86_64-linux-gnu) - configure.sh: Checking if ld is available: yes - configure.sh: Checking if ld is LLD: no - configure.sh: Checking if ld understands x86_64: yes - configure.sh: Checking if objcopy is available: yes - configure.sh: Checking if objcopy understands x86_64: yes - configure.sh: Checking if objcopy understands -w -G: yes - configure.sh: Using ld for target linker - configure.sh: Using objcopy for target objcopy - configure.sh: Target toolchain triple is x86_64-esperanto-none-static - configure.sh: cc is gcc 14 Processing 8/11: [esperanto-cosmopolitan: make toolchain] [ocaml-src: cp .] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "cp" "-r" "." "/home/opam/.opam/4.13/lib/ocaml-src" (CWD=/home/opam/.opam/4.13/.opam-switch/build/ocaml-src.4.13.1) -> installed ocaml-src.4.13.1 Processing 8/11: [esperanto-cosmopolitan: make toolchain] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "-C" "toolchain" "all" "V=1" (CWD=/home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4) - make: Entering directory '/home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain' - mkdir -p bin - SUBST bin/x86_64-esperanto-none-static-cc - SUBST bin/x86_64-esperanto-none-static-ld - SUBST bin/x86_64-esperanto-none-static-objcopy - UNZIP cosmopolitan.zip for dst/cosmopolitan.a - GEN include/cosmopolitan/cosmopolitan.h - HOSTCC startup.o - cc -MT startup.o -MMD -MP -MF startup.Td -g -Os -nostdlib -nostdinc -fno-pie -no-pie -mno-red-zone -fno-omit-frame-pointer -pg -I/home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include -c startup.c -o startup.o - In file included from startup.c:1: - /home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include/cosmopolitan/cosmopolitan.h: In function '__get_tls_privileged': - /home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include/cosmopolitan/cosmopolitan.h:35681:14: warning: cast increases required alignment of target type [-Wcast-align] - 35681 | tib = *(char **)(tib + 0x1480 + __tls_index * 8); - | ^ - /home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include/cosmopolitan/cosmopolitan.h:35684:10: warning: cast increases required alignment of target type [-Wcast-align] - 35684 | return (struct CosmoTib *)tib; - | ^ - /home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include/cosmopolitan/cosmopolitan.h: In function '__get_tls_win32': - /home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include/cosmopolitan/cosmopolitan.h:35690:10: warning: cast increases required alignment of target type [-Wcast-align] - 35690 | tib = *(char **)(tib + 0x1480 + __tls_index * 8); - | ^ - /home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include/cosmopolitan/cosmopolitan.h:35691:10: warning: cast increases required alignment of target type [-Wcast-align] - 35691 | return (struct CosmoTib *)tib; - | ^ - mv -f startup.Td startup.d && touch startup.o - HOSTCC startup_unix.o - cc -MT startup_unix.o -MMD -MP -MF startup_unix.Td -g -Os -nostdlib -nostdinc -fno-pie -no-pie -mno-red-zone -fno-omit-frame-pointer -pg -I/home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include -c startup_unix.c -o startup_unix.o - In file included from startup_unix.c:1: - /home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include/cosmopolitan/cosmopolitan.h: In function '__get_tls_privileged': - /home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include/cosmopolitan/cosmopolitan.h:35681:14: warning: cast increases required alignment of target type [-Wcast-align] - 35681 | tib = *(char **)(tib + 0x1480 + __tls_index * 8); - | ^ - /home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include/cosmopolitan/cosmopolitan.h:35684:10: warning: cast increases required alignment of target type [-Wcast-align] - 35684 | return (struct CosmoTib *)tib; - | ^ - /home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include/cosmopolitan/cosmopolitan.h: In function '__get_tls_win32': - /home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include/cosmopolitan/cosmopolitan.h:35690:10: warning: cast increases required alignment of target type [-Wcast-align] - 35690 | tib = *(char **)(tib + 0x1480 + __tls_index * 8); - | ^ - /home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include/cosmopolitan/cosmopolitan.h:35691:10: warning: cast increases required alignment of target type [-Wcast-align] - 35691 | return (struct CosmoTib *)tib; - | ^ - mv -f startup_unix.Td startup_unix.d && touch startup_unix.o - HOSTCC fake_unix.o - cc -MT fake_unix.o -MMD -MP -MF fake_unix.Td -g -Os -nostdlib -nostdinc -fno-pie -no-pie -mno-red-zone -fno-omit-frame-pointer -pg -I/home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include -c fake_unix.c -o fake_unix.o - mv -f fake_unix.Td fake_unix.d && touch fake_unix.o - HOSTCC startup_threads.o - cc -MT startup_threads.o -MMD -MP -MF startup_threads.Td -g -Os -nostdlib -nostdinc -fno-pie -no-pie -mno-red-zone -fno-omit-frame-pointer -pg -I/home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include -c startup_threads.c -o startup_threads.o - In file included from startup_threads.c:1: - /home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include/cosmopolitan/cosmopolitan.h: In function '__get_tls_privileged': - /home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include/cosmopolitan/cosmopolitan.h:35681:14: warning: cast increases required alignment of target type [-Wcast-align] - 35681 | tib = *(char **)(tib + 0x1480 + __tls_index * 8); - | ^ - /home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include/cosmopolitan/cosmopolitan.h:35684:10: warning: cast increases required alignment of target type [-Wcast-align] - 35684 | return (struct CosmoTib *)tib; - | ^ - /home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include/cosmopolitan/cosmopolitan.h: In function '__get_tls_win32': - /home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include/cosmopolitan/cosmopolitan.h:35690:10: warning: cast increases required alignment of target type [-Wcast-align] - 35690 | tib = *(char **)(tib + 0x1480 + __tls_index * 8); - | ^ - /home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include/cosmopolitan/cosmopolitan.h:35691:10: warning: cast increases required alignment of target type [-Wcast-align] - 35691 | return (struct CosmoTib *)tib; - | ^ - mv -f startup_threads.Td startup_threads.d && touch startup_threads.o - HOSTCC fake_threads.o - cc -MT fake_threads.o -MMD -MP -MF fake_threads.Td -g -Os -nostdlib -nostdinc -fno-pie -no-pie -mno-red-zone -fno-omit-frame-pointer -pg -I/home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include -c fake_threads.c -o fake_threads.o - mv -f fake_threads.Td fake_threads.d && touch fake_threads.o - HOSTCC cosmopolitan_syscalls.o - cc -MT cosmopolitan_syscalls.o -MMD -MP -MF cosmopolitan_syscalls.Td -g -Os -nostdlib -nostdinc -fno-pie -no-pie -mno-red-zone -fno-omit-frame-pointer -pg -I/home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include -c cosmopolitan_syscalls.c -o cosmopolitan_syscalls.o - In file included from cosmopolitan_syscalls.c:1: - /home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include/cosmopolitan/cosmopolitan.h: In function '__get_tls_privileged': - /home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include/cosmopolitan/cosmopolitan.h:35681:14: warning: cast increases required alignment of target type [-Wcast-align] - 35681 | tib = *(char **)(tib + 0x1480 + __tls_index * 8); - | ^ - /home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include/cosmopolitan/cosmopolitan.h:35684:10: warning: cast increases required alignment of target type [-Wcast-align] - 35684 | return (struct CosmoTib *)tib; - | ^ - /home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include/cosmopolitan/cosmopolitan.h: In function '__get_tls_win32': - /home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include/cosmopolitan/cosmopolitan.h:35690:10: warning: cast increases required alignment of target type [-Wcast-align] - 35690 | tib = *(char **)(tib + 0x1480 + __tls_index * 8); - | ^ - /home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain/include/cosmopolitan/cosmopolitan.h:35691:10: warning: cast increases required alignment of target type [-Wcast-align] - 35691 | return (struct CosmoTib *)tib; - | ^ - mv -f cosmopolitan_syscalls.Td cosmopolitan_syscalls.d && touch cosmopolitan_syscalls.o - GEN lib/cosmopolitan - make: Leaving directory '/home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain' -> compiled esperanto-cosmopolitan.0.0.4 Processing 9/11: [esperanto-cosmopolitan: make toolchain] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "-C" "toolchain" "install" (CWD=/home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4) - make: Entering directory '/home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain' - INSTALL toolchain - make: Leaving directory '/home/opam/.opam/4.13/.opam-switch/build/esperanto-cosmopolitan.0.0.4/toolchain' -> installed esperanto-cosmopolitan.0.0.4 Processing 10/11: [esperanto: sh] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-c" "cd caml && ./configure.sh --prefix=/home/opam/.opam/4.13 --target=x86_64-esperanto-none-static" (CWD=/home/opam/.opam/4.13/.opam-switch/build/esperanto.0.0.4) Processing 10/11: [esperanto: make caml] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "-C" "caml" "-j255" (CWD=/home/opam/.opam/4.13/.opam-switch/build/esperanto.0.0.4) - make: Entering directory '/home/opam/.opam/4.13/.opam-switch/build/esperanto.0.0.4/caml' - cp -r `opam var prefix`/lib/ocaml-src ./ocaml - sed -e 's!@@PREFIX@@!/home/opam/.opam/4.13!' \ - esperanto.conf.in > esperanto.conf - sed -e 's/\/lib\/cpp/\/usr\/bin\/cpp/g' ocaml/configure > ocaml/configure.sed - mv ocaml/configure.sed ocaml/configure - sed -e 's/otherlibraries="dynlink"/otherlibraries=""/g' ocaml/configure > ocaml/configure.sed - mv ocaml/configure.sed ocaml/configure - sed -e '/^char \$2 ()\;/s/^/\/\//' ocaml/configure > ocaml/configure.sed - mv ocaml/configure.sed ocaml/configure - sed -e 's/^return \$2 ()\;/return \&\$2\;/' ocaml/configure > ocaml/configure.sed - mv ocaml/configure.sed ocaml/configure - sed -e 's/oc_cflags="/oc_cflags="-z caml-startup $OC_CFLAGS /g' ocaml/configure > ocaml/configure.sed - mv ocaml/configure.sed ocaml/configure - sed -e 's/ocamlc_cflags="/ocamlc_cflags="$OCAMLC_CFLAGS /g' ocaml/configure > ocaml/configure.sed - mv ocaml/configure.sed ocaml/configure - sed -e 's/nativecclibs="$cclibs $DLLIBS"/nativecclibs="$GLOBAL_LIBS"/g' ocaml/configure > ocaml/configure.sed - mv ocaml/configure.sed ocaml/configure - sed -e 's/^all: $(BYTECODE_STATIC_LIBRARIES) $(BYTECODE_SHARED_LIBRARIES)/all: primitives ld.conf/' ocaml/runtime/Makefile > ocaml/runtime/Makefile.sed - mv ocaml/runtime/Makefile.sed ocaml/runtime/Makefile - sed -e 's/^ocamlrun$(EXE):.*/dummy:/g' ocaml/runtime/Makefile > ocaml/runtime/Makefile.sed - mv ocaml/runtime/Makefile.sed ocaml/runtime/Makefile - sed -e 's/^ocamlruni$(EXE):.*/dummyi:/g' ocaml/runtime/Makefile > ocaml/runtime/Makefile.sed - mv ocaml/runtime/Makefile.sed ocaml/runtime/Makefile - sed -e 's/^ocamlrund$(EXE):.*/dummyd:/g' ocaml/runtime/Makefile > ocaml/runtime/Makefile.sed - mv ocaml/runtime/Makefile.sed ocaml/runtime/Makefile - sed -e 's/write(/_write(/' ocaml/runtime/extern.c > ocaml/runtime/extern.c.sed - mv ocaml/runtime/extern.c.sed ocaml/runtime/extern.c - sed -e 's/\([^_]\)link/\1link_t/g' ocaml/runtime/roots_nat.c > ocaml/runtime/roots_nat.c.sed - mv ocaml/runtime/roots_nat.c.sed ocaml/runtime/roots_nat.c - cat esperanto_sys.c >> ocaml/runtime/sys.c - cat esperanto_signals.c >> ocaml/runtime/signals.c - cat esperanto_permission.c >> ocaml/otherlibs/unix/access.c - cat esperanto_open.c >> ocaml/otherlibs/unix/open.c - cat esperanto_socket.c >> ocaml/otherlibs/unix/socket.c - cat esperanto_sockopt.c >> ocaml/otherlibs/unix/sockopt.c - cat esperanto_unixsupport.c >> ocaml/otherlibs/unix/unixsupport.c - cat esperanto_wait.c >> ocaml/otherlibs/unix/wait.c - cat esperanto_unix_signals.c >> ocaml/otherlibs/unix/signals.c - cat esperanto_systhreads_signals.c >> ocaml/otherlibs/systhreads/st_posix.h - cat esperanto_termios.c >> ocaml/otherlibs/unix/termios.c - patch ocaml/otherlibs/unix/gethost.c esperanto_gethost.patch - patching file ocaml/otherlibs/unix/gethost.c - patch ocaml/otherlibs/unix/socketaddr.c esperanto_socketaddr.4.13.patch - patching file ocaml/otherlibs/unix/socketaddr.c - sed -e '/ alloc /s/^/\/\//' ocaml/runtime/caml/compatibility.h > ocaml/runtime/caml/compatibility.h.sed - mv ocaml/runtime/caml/compatibility.h.sed ocaml/runtime/caml/compatibility.h - sed -e '/ callback /s/^/\/\//' ocaml/runtime/caml/compatibility.h > ocaml/runtime/caml/compatibility.h.sed - mv ocaml/runtime/caml/compatibility.h.sed ocaml/runtime/caml/compatibility.h - sed -e '/ flush /s/^/\/\//' ocaml/runtime/caml/compatibility.h > ocaml/runtime/caml/compatibility.h.sed - mv ocaml/runtime/caml/compatibility.h.sed ocaml/runtime/caml/compatibility.h - sed -e '/pthread_mutexattr_settype/s/^/\/\//' ocaml/otherlibs/systhreads/st_posix.h > ocaml/otherlibs/systhreads/st_posix.h.sed - mv ocaml/otherlibs/systhreads/st_posix.h.sed ocaml/otherlibs/systhreads/st_posix.h - printf "ocamlrun:\n\tcp /home/opam/.opam/4.13/bin/ocamlrun .\n" >> ocaml/runtime/Makefile - printf "ocamlrund:\n\tcp /home/opam/.opam/4.13/bin/ocamlrund .\n" >> ocaml/runtime/Makefile - printf "ocamlruni:\n\tcp /home/opam/.opam/4.13/bin/ocamlruni .\n" >> ocaml/runtime/Makefile - touch ocaml/runtime/libcamlrun.a ocaml/runtime/libcamlrund.a ocaml/runtime/libcamlruni.a - sed -e 's/^ocamlyacc$(EXE):.*/dummy:/g' ocaml/yacc/Makefile > ocaml/yacc/Makefile.sed - mv ocaml/yacc/Makefile.sed ocaml/yacc/Makefile - printf "ocamlyacc:\n\tcp /home/opam/.opam/4.13/bin/ocamlyacc .\n" >> ocaml/yacc/Makefile - printf "objinfo_helper:\n\ttouch objinfo_helper\n" >> ocaml/tools/Makefile - chmod +x ocaml/configure - cd ocaml && \ - CC="x86_64-esperanto-none-static-cc" \ - OC_CFLAGS="-D__STRICT_ANSI__" \ - OCAMLC_CFLAGS="""" \ - AS="x86_64-esperanto-none-static-cc -c" \ - ASPP="x86_64-esperanto-none-static-cc -D__STRICT_ANSI__ -c" \ - CPPFLAGS="-D__STRICT_ANSI__" \ - LIBS="-nostdlib "\ - GLOBAL_LIBS="" \ - LD="x86_64-esperanto-none-static-ld" \ - ac_cv_prog_DIRECT_LD="x86_64-esperanto-none-static-ld" \ - ac_cv_lib_m_cos="no" \ - ./configure \ - -host=x86_64-unknown-none \ - -prefix /home/opam/.opam/4.13/esperanto-sysroot \ - -disable-shared\ - -disable-instrumented-runtime\ - -disable-ocamltest\ - -disable-ocamldoc\ - -disable-debugger\ - - configure: Configuring OCaml version 4.13.1 - checking build system type... x86_64-pc-linux-gnu - checking host system type... x86_64-unknown-none - checking target system type... x86_64-unknown-none - checking for x86_64-unknown-none-ld... x86_64-esperanto-none-static-ld - checking how to print strings... printf - checking for x86_64-unknown-none-gcc... x86_64-esperanto-none-static-cc - checking whether the C compiler works... yes - checking for C compiler default output file name... a.out - checking for suffix of executables... - - checking whether we are cross compiling... no - checking for suffix of object files... o - checking whether we are using the GNU C compiler... no - checking whether x86_64-esperanto-none-static-cc accepts -g... yes - checking for x86_64-esperanto-none-static-cc option to accept ISO C89... none needed - checking for a sed that does not truncate output... /usr/bin/sed - checking for grep that handles long lines and -e... /usr/bin/grep - checking for egrep... /usr/bin/grep -E - checking for fgrep... /usr/bin/grep -F - checking for non-GNU ld... x86_64-esperanto-none-static-ld - checking if the linker (x86_64-esperanto-none-static-ld) is GNU ld... no - checking for BSD- or MS-compatible name lister (nm)... no - checking for x86_64-unknown-none-dumpbin... no - checking for x86_64-unknown-none-link... no - checking for dumpbin... no - checking for link... link -dump - checking the name lister (nm) interface... BSD nm - checking whether ln -s works... yes - checking the maximum length of command line arguments... 1572864 - checking how to convert x86_64-pc-linux-gnu file names to x86_64-unknown-none format... func_convert_file_noop - checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop - checking for x86_64-esperanto-none-static-ld option to reload object files... -r - checking for x86_64-unknown-none-objdump... no - checking for objdump... objdump - checking how to recognize dependent libraries... unknown - checking for x86_64-unknown-none-dlltool... no - checking for dlltool... no - checking how to associate runtime and link libraries... printf %s\n - checking for x86_64-unknown-none-ar... no - checking for ar... ar - checking for archiver @FILE support... @ - checking for x86_64-unknown-none-strip... no - checking for strip... strip - checking for x86_64-unknown-none-ranlib... no - checking for ranlib... ranlib - checking for gawk... no - checking for mawk... mawk - checking command to parse nm output from x86_64-esperanto-none-static-cc object... - ok - checking for sysroot... no - checking for a working dd... /usr/bin/dd - checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 - checking for x86_64-unknown-none-mt... no - checking for mt... no - checking if : is a manifest tool... no - checking how to run the C preprocessor... x86_64-esperanto-none-static-cc -E - checking for ANSI C header files... no - checking for sys/types.h... yes - checking for sys/stat.h... yes - checking for stdlib.h... yes - checking for string.h... yes - checking for memory.h... no - checking for strings.h... yes - checking for inttypes.h... no - checking for stdint.h... - yes - checking for unistd.h... yes - checking for dlfcn.h... no - checking for objdir... .libs - checking for x86_64-esperanto-none-static-cc option to produce PIC... -DPIC - checking if x86_64-esperanto-none-static-cc PIC flag -DPIC works... yes - checking if x86_64-esperanto-none-static-cc static flag works... yes - checking if x86_64-esperanto-none-static-cc supports -c -o file.o... yes - checking if x86_64-esperanto-none-static-cc supports -c -o file.o... (cached) yes - checking whether the x86_64-esperanto-none-static-cc linker (x86_64-esperanto-none-static-ld) supports shared libraries... no - checking dynamic linker characteristics... no - checking how to hardcode library paths into programs... unsupported - checking whether stripping libraries is possible... yes - checking if libtool supports shared libraries... no - checking whether to build shared libraries... no - checking whether to build static libraries... yes - checking C compiler vendor... gcc-14-2 - checking whether host executables can be run in the build... yes - checking whether #! works in shell scripts... yes - checking for a BSD-compatible install... /usr/bin/install -c - checking for cos in -lm... (cached) no - checking math.h usability... - yes - checking math.h presence... yes - checking for math.h... yes - checking for unistd.h... (cached) yes - checking for stdint.h... (cached) yes - checking for dirent.h... yes - checking for sys/select.h... yes - checking for off_t... yes - checking size of int... 4 - checking size of long... 8 - checking size of long *... 8 - checking size of short... - 2 - checking size of long long... 8 - configure: Target is a 64 bits architecture - checking whether byte ordering is bigendian... no - checking alignment of double... 8 - checking alignment of long... 8 - checking alignment of long long... - 8 - checking whether the C compiler supports __attribute__((aligned(n)))... yes - checking whether the C compiler supports __attribute__((optimize("tree-vectorize")))... yes - checking for x86_64-unknown-none-ld... (cached) x86_64-esperanto-none-static-ld - checking for rlwrap... no - configure: checking semantics of signal handlers - checking for sigaction... no - checking for sigprocmask... no - configure: assuming signals have the System V semantics. - checking for expm1... no - checking for log1p... no - checking for hypot... no - checking for fma... no - checking for exp2... no - checking for log2... no - checking for cbrt... - no - checking for acosh... no - checking for asinh... no - checking for atanh... no - checking for erf... no - checking for erfc... no - checking for trunc... no - checking for round... no - checking for copysign... no - configure: error: C99 float ops unavailable, enable replacements with --enable-imprecise-c99-float-ops - make: *** [GNUmakefile:104: ocaml/Makefile.config] Error 1 - make: Leaving directory '/home/opam/.opam/4.13/.opam-switch/build/esperanto.0.0.4/caml' [ERROR] The compilation of esperanto.0.0.4 failed at "make -C caml -j255". #=== ERROR while compiling esperanto.0.0.4 ====================================# # context 2.4.0~alpha1~dev | linux/x86_64 | ocaml-base-compiler.4.13.1 | file:///home/opam/opam-repository # path ~/.opam/4.13/.opam-switch/build/esperanto.0.0.4 # command ~/.opam/opam-init/hooks/sandbox.sh build make -C caml -j255 # exit-code 2 # env-file ~/.opam/log/esperanto-8-468832.env # output-file ~/.opam/log/esperanto-8-468832.out ### output ### # make: Entering directory '/home/opam/.opam/4.13/.opam-switch/build/esperanto.0.0.4/caml' # cp -r `opam var prefix`/lib/ocaml-src ./ocaml # sed -e 's!@@PREFIX@@!/home/opam/.opam/4.13!' \ # esperanto.conf.in > esperanto.conf # sed -e 's/\/lib\/cpp/\/usr\/bin\/cpp/g' ocaml/configure > ocaml/configure.sed # mv ocaml/configure.sed ocaml/configure # sed -e 's/otherlibraries="dynlink"/otherlibraries=""/g' ocaml/configure > ocaml/configure.sed # mv ocaml/configure.sed ocaml/configure # sed -e '/^char \$2 ()\;/s/^/\/\//' ocaml/configure > ocaml/configure.sed # mv ocaml/configure.sed ocaml/configure # sed -e 's/^return \$2 ()\;/return \&\$2\;/' ocaml/configure > ocaml/configure.sed # mv ocaml/configure.sed ocaml/configure # sed -e 's/oc_cflags="/oc_cflags="-z caml-startup $OC_CFLAGS /g' ocaml/configure > ocaml/configure.sed # mv ocaml/configure.sed ocaml/configure # sed -e 's/ocamlc_cflags="/ocamlc_cflags="$OCAMLC_CFLAGS /g' ocaml/configure > ocaml/configure.sed # mv ocaml/configure.sed ocaml/configure # sed -e 's/nativecclibs="$cclibs $DLLIBS"/nativecclibs="$GLOBAL_LIBS"/g' ocaml/configure > ocaml/configure.sed # mv ocaml/configure.sed ocaml/configure # sed -e 's/^all: $(BYTECODE_STATIC_LIBRARIES) $(BYTECODE_SHARED_LIBRARIES)/all: primitives ld.conf/' ocaml/runtime/Makefile > ocaml/runtime/Makefile.sed # mv ocaml/runtime/Makefile.sed ocaml/runtime/Makefile # sed -e 's/^ocamlrun$(EXE):.*/dummy:/g' ocaml/runtime/Makefile > ocaml/runtime/Makefile.sed # mv ocaml/runtime/Makefile.sed ocaml/runtime/Makefile # sed -e 's/^ocamlruni$(EXE):.*/dummyi:/g' ocaml/runtime/Makefile > ocaml/runtime/Makefile.sed # mv ocaml/runtime/Makefile.sed ocaml/runtime/Makefile # sed -e 's/^ocamlrund$(EXE):.*/dummyd:/g' ocaml/runtime/Makefile > ocaml/runtime/Makefile.sed # mv ocaml/runtime/Makefile.sed ocaml/runtime/Makefile # sed -e 's/write(/_write(/' ocaml/runtime/extern.c > ocaml/runtime/extern.c.sed # mv ocaml/runtime/extern.c.sed ocaml/runtime/extern.c # sed -e 's/\([^_]\)link/\1link_t/g' ocaml/runtime/roots_nat.c > ocaml/runtime/roots_nat.c.sed # mv ocaml/runtime/roots_nat.c.sed ocaml/runtime/roots_nat.c # cat esperanto_sys.c >> ocaml/runtime/sys.c # cat esperanto_signals.c >> ocaml/runtime/signals.c # cat esperanto_permission.c >> ocaml/otherlibs/unix/access.c # cat esperanto_open.c >> ocaml/otherlibs/unix/open.c # cat esperanto_socket.c >> ocaml/otherlibs/unix/socket.c # cat esperanto_sockopt.c >> ocaml/otherlibs/unix/sockopt.c # cat esperanto_unixsupport.c >> ocaml/otherlibs/unix/unixsupport.c # cat esperanto_wait.c >> ocaml/otherlibs/unix/wait.c # cat esperanto_unix_signals.c >> ocaml/otherlibs/unix/signals.c # cat esperanto_systhreads_signals.c >> ocaml/otherlibs/systhreads/st_posix.h # cat esperanto_termios.c >> ocaml/otherlibs/unix/termios.c # patch ocaml/otherlibs/unix/gethost.c esperanto_gethost.patch # patching file ocaml/otherlibs/unix/gethost.c # patch ocaml/otherlibs/unix/socketaddr.c esperanto_socketaddr.4.13.patch # patching file ocaml/otherlibs/unix/socketaddr.c # sed -e '/ alloc /s/^/\/\//' ocaml/runtime/caml/compatibility.h > ocaml/runtime/caml/compatibility.h.sed # mv ocaml/runtime/caml/compatibility.h.sed ocaml/runtime/caml/compatibility.h # sed -e '/ callback /s/^/\/\//' ocaml/runtime/caml/compatibility.h > ocaml/runtime/caml/compatibility.h.sed # mv ocaml/runtime/caml/compatibility.h.sed ocaml/runtime/caml/compatibility.h # sed -e '/ flush /s/^/\/\//' ocaml/runtime/caml/compatibility.h > ocaml/runtime/caml/compatibility.h.sed # mv ocaml/runtime/caml/compatibility.h.sed ocaml/runtime/caml/compatibility.h # sed -e '/pthread_mutexattr_settype/s/^/\/\//' ocaml/otherlibs/systhreads/st_posix.h > ocaml/otherlibs/systhreads/st_posix.h.sed # mv ocaml/otherlibs/systhreads/st_posix.h.sed ocaml/otherlibs/systhreads/st_posix.h # printf "ocamlrun:\n\tcp /home/opam/.opam/4.13/bin/ocamlrun .\n" >> ocaml/runtime/Makefile # printf "ocamlrund:\n\tcp /home/opam/.opam/4.13/bin/ocamlrund .\n" >> ocaml/runtime/Makefile # printf "ocamlruni:\n\tcp /home/opam/.opam/4.13/bin/ocamlruni .\n" >> ocaml/runtime/Makefile # touch ocaml/runtime/libcamlrun.a ocaml/runtime/libcamlrund.a ocaml/runtime/libcamlruni.a # sed -e 's/^ocamlyacc$(EXE):.*/dummy:/g' ocaml/yacc/Makefile > ocaml/yacc/Makefile.sed # mv ocaml/yacc/Makefile.sed ocaml/yacc/Makefile # printf "ocamlyacc:\n\tcp /home/opam/.opam/4.13/bin/ocamlyacc .\n" >> ocaml/yacc/Makefile # printf "objinfo_helper:\n\ttouch objinfo_helper\n" >> ocaml/tools/Makefile # chmod +x ocaml/configure # cd ocaml && \ # CC="x86_64-esperanto-none-static-cc" \ # OC_CFLAGS="-D__STRICT_ANSI__" \ # OCAMLC_CFLAGS="""" \ # AS="x86_64-esperanto-none-static-cc -c" \ # ASPP="x86_64-esperanto-none-static-cc -D__STRICT_ANSI__ -c" \ # CPPFLAGS="-D__STRICT_ANSI__" \ # LIBS="-nostdlib "\ # GLOBAL_LIBS="" \ # LD="x86_64-esperanto-none-static-ld" \ # ac_cv_prog_DIRECT_LD="x86_64-esperanto-none-static-ld" \ # ac_cv_lib_m_cos="no" \ # ./configure \ # -host=x86_64-unknown-none \ # -prefix /home/opam/.opam/4.13/esperanto-sysroot \ # -disable-shared\ # -disable-instrumented-runtime\ # -disable-ocamltest\ # -disable-ocamldoc\ # -disable-debugger\ # # configure: Configuring OCaml version 4.13.1 # checking build system type... x86_64-pc-linux-gnu # checking host system type... x86_64-unknown-none # checking target system type... x86_64-unknown-none # checking for x86_64-unknown-none-ld... x86_64-esperanto-none-static-ld # checking how to print strings... printf # checking for x86_64-unknown-none-gcc... x86_64-esperanto-none-static-cc # checking whether the C compiler works... yes # checking for C compiler default output file name... a.out # checking for suffix of executables... # checking whether we are cross compiling... no # checking for suffix of object files... o # checking whether we are using the GNU C compiler... no # checking whether x86_64-esperanto-none-static-cc accepts -g... yes # checking for x86_64-esperanto-none-static-cc option to accept ISO C89... none needed # checking for a sed that does not truncate output... /usr/bin/sed # checking for grep that handles long lines and -e... /usr/bin/grep # checking for egrep... /usr/bin/grep -E # checking for fgrep... /usr/bin/grep -F # checking for non-GNU ld... x86_64-esperanto-none-static-ld # checking if the linker (x86_64-esperanto-none-static-ld) is GNU ld... no # checking for BSD- or MS-compatible name lister (nm)... no # checking for x86_64-unknown-none-dumpbin... no # checking for x86_64-unknown-none-link... no # checking for dumpbin... no # checking for link... link -dump # checking the name lister (nm) interface... BSD nm # checking whether ln -s works... yes # checking the maximum length of command line arguments... 1572864 # checking how to convert x86_64-pc-linux-gnu file names to x86_64-unknown-none format... func_convert_file_noop # checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop # checking for x86_64-esperanto-none-static-ld option to reload object files... -r # checking for x86_64-unknown-none-objdump... no # checking for objdump... objdump # checking how to recognize dependent libraries... unknown # checking for x86_64-unknown-none-dlltool... no # checking for dlltool... no # checking how to associate runtime and link libraries... printf %s\n # checking for x86_64-unknown-none-ar... no # checking for ar... ar # checking for archiver @FILE support... @ # checking for x86_64-unknown-none-strip... no # checking for strip... strip # checking for x86_64-unknown-none-ranlib... no # checking for ranlib... ranlib # checking for gawk... no # checking for mawk... mawk # checking command to parse nm output from x86_64-esperanto-none-static-cc object... ok # checking for sysroot... no # checking for a working dd... /usr/bin/dd # checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 # checking for x86_64-unknown-none-mt... no # checking for mt... no # checking if : is a manifest tool... no # checking how to run the C preprocessor... x86_64-esperanto-none-static-cc -E # checking for ANSI C header files... no # checking for sys/types.h... yes # checking for sys/stat.h... yes # checking for stdlib.h... yes # checking for string.h... yes # checking for memory.h... no # checking for strings.h... yes # checking for inttypes.h... no # checking for stdint.h... yes # checking for unistd.h... yes # checking for dlfcn.h... no # checking for objdir... .libs # checking for x86_64-esperanto-none-static-cc option to produce PIC... -DPIC # checking if x86_64-esperanto-none-static-cc PIC flag -DPIC works... yes # checking if x86_64-esperanto-none-static-cc static flag works... yes # checking if x86_64-esperanto-none-static-cc supports -c -o file.o... yes # checking if x86_64-esperanto-none-static-cc supports -c -o file.o... (cached) yes # checking whether the x86_64-esperanto-none-static-cc linker (x86_64-esperanto-none-static-ld) supports shared libraries... no # checking dynamic linker characteristics... no # checking how to hardcode library paths into programs... unsupported # checking whether stripping libraries is possible... yes # checking if libtool supports shared libraries... no # checking whether to build shared libraries... no # checking whether to build static libraries... yes # checking C compiler vendor... gcc-14-2 # checking whether host executables can be run in the build... yes # checking whether #! works in shell scripts... yes # checking for a BSD-compatible install... /usr/bin/install -c # checking for cos in -lm... (cached) no # checking math.h usability... yes # checking math.h presence... yes # checking for math.h... yes # checking for unistd.h... (cached) yes # checking for stdint.h... (cached) yes # checking for dirent.h... yes # checking for sys/select.h... yes # checking for off_t... yes # checking size of int... 4 # checking size of long... 8 # checking size of long *... 8 # checking size of short... 2 # checking size of long long... 8 # configure: Target is a 64 bits architecture # checking whether byte ordering is bigendian... no # checking alignment of double... 8 # checking alignment of long... 8 # checking alignment of long long... 8 # checking whether the C compiler supports __attribute__((aligned(n)))... yes # checking whether the C compiler supports __attribute__((optimize("tree-vectorize")))... yes # checking for x86_64-unknown-none-ld... (cached) x86_64-esperanto-none-static-ld # checking for rlwrap... no # configure: checking semantics of signal handlers # checking for sigaction... no # checking for sigprocmask... no # configure: assuming signals have the System V semantics. # checking for expm1... no # checking for log1p... no # checking for hypot... no # checking for fma... no # checking for exp2... no # checking for log2... no # checking for cbrt... no # checking for acosh... no # checking for asinh... no # checking for atanh... no # checking for erf... no # checking for erfc... no # checking for trunc... no # checking for round... no # checking for copysign... no # configure: error: C99 float ops unavailable, enable replacements with --enable-imprecise-c99-float-ops # make: *** [GNUmakefile:104: ocaml/Makefile.config] Error 1 # make: Leaving directory '/home/opam/.opam/4.13/.opam-switch/build/esperanto.0.0.4/caml' <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build esperanto 0.0.4 +- +- The following changes have been performed | - install conf-which 1 | - install esperanto-cosmopolitan 0.0.4 | - install ocaml-src 4.13.1 +- # To update the current shell environment, run: eval $(opam env) The former state can be restored with: /usr/bin/opam switch import "/home/opam/.opam/4.13/.opam-switch/backup/state-20241109193053.export" 'opam install -vy esperanto.0.0.4' failed. "/usr/bin/env" "bash" "-c" " opam remove -y "esperanto.0.0.4" opam install -vy "esperanto.0.0.4" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "esperanto.0.0.4" | grep -q '"debian-unstable"'; then echo "This package failed and has been disabled for CI using the 'x-ci-accept-failures' field." exit 69 fi fi exit $res " failed with exit status 31 Failed: Build failed