2024-06-17 13:29.01: New job: test samoht/ocaml-gmp https://github.com/samoht/ocaml-gmp.git#refs/heads/master (824c367c696b14c6da1c325ba66ddb9ff68bf4b3) (linux-x86_64:ubuntu-23.10-4.14_opam-2.1) Base: ocaml/opam@sha256:f0448c0f85a2f69e762d3e3e93fd89165fc9256efb9dc94d0f5321ce9e796f17 Opam project build To reproduce locally: git clone --recursive "https://github.com/samoht/ocaml-gmp.git" -b "master" && cd "ocaml-gmp" && git reset --hard 824c367c cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam@sha256:f0448c0f85a2f69e762d3e3e93fd89165fc9256efb9dc94d0f5321ce9e796f17 # ubuntu-23.10-4.14_opam-2.1 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam RUN opam init --reinit -ni RUN uname -rs && opam exec -- ocaml -version && opam --version WORKDIR /src RUN sudo chown opam /src RUN cd ~/opam-repository && (git cat-file -e a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u COPY --chown=1000:1000 gmp.opam ./ RUN opam pin add -yn gmp.dev './' ENV DEPS="base-bigarray.base base-threads.base base-unix.base dune.3.16.0 host-arch-x86_64.1 host-system-other.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.1 --depext-only -y gmp.dev $DEPS RUN opam install $DEPS COPY --chown=1000:1000 . /src RUN opam exec -- dune build @install @check @runtest && rm -rf _build END-OF-DOCKERFILE docker build . END-REPRO-BLOCK 2024-06-17 13:29.01: Using cache hint "samoht/ocaml-gmp-ocaml/opam@sha256:f0448c0f85a2f69e762d3e3e93fd89165fc9256efb9dc94d0f5321ce9e796f17-ubuntu-23.10-4.14_opam-2.1-6d4177d06f45e4ad6f62fe7dc5b7b009" 2024-06-17 13:29.01: Using OBuilder spec: ((from ocaml/opam@sha256:f0448c0f85a2f69e762d3e3e93fd89165fc9256efb9dc94d0f5321ce9e796f17) (comment ubuntu-23.10-4.14_opam-2.1) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (workdir /src) (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam")) (run (shell "opam init --reinit -ni")) (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) (workdir /src) (run (shell "sudo chown opam /src")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u")) (copy (src gmp.opam) (dst ./)) (run (network host) (shell "opam pin add -yn gmp.dev './'")) (env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.16.0 host-arch-x86_64.1 host-system-other.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1") (env CI true) (env OCAMLCI true) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam update --depexts && opam install --cli=2.1 --depext-only -y gmp.dev $DEPS")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) (copy (src .) (dst /src)) (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) ) 2024-06-17 13:29.01: Waiting for resource in pool OCluster 2024-06-19 16:10.12: Waiting for worker… 2024-06-19 16:13.53: Got resource from pool OCluster Building on x86-bm-c14.sw.ocaml.org hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch <name> hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m <name> Initialized empty Git repository in /var/cache/obuilder/ocluster/git/ocaml-gmp.git-45e6d4e36a97da37f84463b9aec8401614110a52/.git/ HEAD is now at 824c367 import gmp 6.1.2 (from ocaml/opam@sha256:f0448c0f85a2f69e762d3e3e93fd89165fc9256efb9dc94d0f5321ce9e796f17) 2024-06-19 16:13.55 ---> using "a24e00e0a6a141fd43fc7e711aefe8e77b12edf309373fb90cdc69a8f04abd82" from cache /: (comment ubuntu-23.10-4.14_opam-2.1) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (workdir /src) /src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam")) 2024-06-19 16:13.55 ---> using "03f98fd1cb2b9f58a017f660e93aa4d6eaa7eddeb78bf02076e4aa51b20ee36a" from cache /src: (run (shell "opam init --reinit -ni")) Configuring from /home/opam/.opamrc and then 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. Continue? [Y/n] y This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, which can't be reverted. You may want to back it up before going further. Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file:///home/opam/opam-repository 2024-06-19 16:13.55 ---> using "99d42aac82e41a9942ea95dc19305c91262e5f9b825ec738c6434b0728feb945" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-112-generic The OCaml toplevel, version 4.14.2 2.1.6 2024-06-19 16:13.55 ---> using "42f990391ac8e1bbd988c39334d0160d6bbf13ee1c05c4154449ab71aa153d67" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2024-06-19 16:13.55 ---> using "88a7ba93bd555614a530444e8fa7fb8f7da45c2e0f72515e12009fb6a9b8c157" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD c45f5bab71..59c0c54934 master -> origin/master a6069b9eeb [new release] dune (15 packages) (3.16.0) <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file:///home/opam/opam-repository The following actions will be performed: - install host-arch-x86_64 1 - install host-system-other 1 - recompile ocaml-options-vanilla 1 [upstream or system changes] - recompile ocaml-base-compiler 4.14.2* [upstream or system changes] - recompile ocaml-config 2 [upstream or system changes] - recompile ocaml 4.14.2 [uses ocaml-base-compiler, ocaml-config] - recompile opam-depext 1.2.1-1 [uses ocaml] ===== 2 to install | 5 to recompile ===== <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-config.2 (cached) -> removed ocaml-options-vanilla.1 -> installed host-arch-x86_64.1 -> installed host-system-other.1 -> installed ocaml-options-vanilla.1 -> retrieved opam-depext.1.2.1-1 (cached) -> retrieved ocaml-base-compiler.4.14.2 (cached) -> removed opam-depext.1.2.1-1 -> removed ocaml.4.14.2 -> removed ocaml-config.2 -> removed ocaml-base-compiler.4.14.2 -> installed ocaml-base-compiler.4.14.2 -> installed ocaml-config.2 -> installed ocaml.4.14.2 -> installed opam-depext.1.2.1-1 Done. <><> opam-depext.1.2.1-1 installed successfully <><><><><><><><><><><><><><><><> => opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead # Run eval $(opam env) to update the current shell environment 2024-06-19 16:13.55 ---> using "4659889f00c5234d1772d6465e21bbbab3f71591e81c913aad1dbc60f28be779" from cache /src: (copy (src gmp.opam) (dst ./)) 2024-06-19 16:13.55 ---> saved as "72ae9b26717739ac173b46009f80fe11b46e0834be2588a8959d0c9baf26bf13" /src: (run (network host) (shell "opam pin add -yn gmp.dev './'")) [gmp.dev] synchronised (file:///src) gmp is now pinned to file:///src (version dev) 2024-06-19 16:13.59 ---> saved as "79b8d1819b8edd5d25527d775ba0c0b606b37a34a6e2ab4b5ccb01cd67bf6c30" /src: (env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.16.0 host-arch-x86_64.1 host-system-other.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1") /src: (env CI true) /src: (env OCAMLCI true) /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam update --depexts && opam install --cli=2.1 --depext-only -y gmp.dev $DEPS")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://security.ubuntu.com/ubuntu mantic-security InRelease [127 kB] - Get:2 http://security.ubuntu.com/ubuntu mantic-security/restricted amd64 Packages [484 kB] - Hit:3 http://archive.ubuntu.com/ubuntu mantic InRelease - Get:4 http://security.ubuntu.com/ubuntu mantic-security/main amd64 Packages [508 kB] - Get:5 http://security.ubuntu.com/ubuntu mantic-security/universe amd64 Packages [393 kB] - Get:6 http://archive.ubuntu.com/ubuntu mantic-updates InRelease [127 kB] - Hit:7 http://archive.ubuntu.com/ubuntu mantic-backports InRelease - Get:8 http://archive.ubuntu.com/ubuntu mantic-updates/multiverse amd64 Packages [9920 B] - Get:9 http://archive.ubuntu.com/ubuntu mantic-updates/main amd64 Packages [584 kB] - Get:10 http://archive.ubuntu.com/ubuntu mantic-updates/universe amd64 Packages [508 kB] - Get:11 http://archive.ubuntu.com/ubuntu mantic-updates/restricted amd64 Packages [506 kB] - Fetched 3248 kB in 1s (2400 kB/s) - Reading package lists... - <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [gmp.dev] synchronised (no changes) [NOTE] Package ocaml-options-vanilla is already installed (current version is 1). [NOTE] Package ocaml-config is already installed (current version is 2). [NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2). [NOTE] Package ocaml is already installed (current version is 4.14.2). [NOTE] Package host-system-other is already installed (current version is 1). [NOTE] Package host-arch-x86_64 is already installed (current version is 1). [NOTE] Package base-unix is already installed (current version is base). [NOTE] Package base-threads is already installed (current version is base). [NOTE] Package base-bigarray is already installed (current version is base). 2024-06-19 16:14.39 ---> saved as "713c5c854d5174659ac19d18a169446e819a8b443a8b4cb48e1bae1aacb652d0" /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) [NOTE] Package ocaml-options-vanilla is already installed (current version is 1). [NOTE] Package ocaml-config is already installed (current version is 2). [NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2). [NOTE] Package ocaml is already installed (current version is 4.14.2). [NOTE] Package host-system-other is already installed (current version is 1). [NOTE] Package host-arch-x86_64 is already installed (current version is 1). [NOTE] Package base-unix is already installed (current version is base). [NOTE] Package base-threads is already installed (current version is base). [NOTE] Package base-bigarray is already installed (current version is base). The following actions will be performed: - install dune 3.16.0 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved dune.3.16.0 (cached) -> installed dune.3.16.0 Done. # Run eval $(opam env) to update the current shell environment 2024-06-19 16:16.02 ---> saved as "4cff4390e3716efc86421eaf12838235ea3ceb73d94de64e83e04317412b1e41" /src: (copy (src .) (dst /src)) 2024-06-19 16:16.04 ---> saved as "d9d4b1cdd78ec00320bb866cab3997658ce98067b216cc377d004c19fa65946d" /src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) File "dune", lines 6-9, characters 0-114: 6 | (rule 7 | (deps (source_tree src)) 8 | (targets gmp.h libgmp.a) 9 | (action (run ./build.sh %{ocaml-config:target} %{cc}))) (cd _build/default && ./build.sh x86_64-pc-linux-gnu gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC) checking build system type... haswell-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for x86_64-pc-linux-gnu-strip... no checking for strip... strip checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking ABI=64 checking compiler gcc -O2 -pedantic -fomit-frame-pointer -m64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC... yes checking for x86_64-pc-linux-gnu-gcc... gcc 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... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for gcc option to accept ISO C99... none needed checking for gcc option to accept ISO Standard C... (cached) none needed checking how to run the C preprocessor... gcc -E checking build system compiler gcc... yes checking for build system preprocessor... gcc -E checking for build system executable suffix... checking whether build system compiler is ANSI... yes checking for build system compiler math library... -lm checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E using ABI="64" CC="gcc" CFLAGS="-O2 -pedantic -fomit-frame-pointer -m64" CPPFLAGS="-O2 -fno-strict-aliasing -fwrapv -pthread -fPIC" MPN_PATH=" x86_64/fat x86_64 generic" checking whether assembler supports --noexecstack option... yes checking for x86_64-pc-linux-gnu-ar... no checking for ar... ar checking for BSD- or MS-compatible name lister (nm)... no checking for x86_64-pc-linux-gnu-dumpbin... no checking for x86_64-pc-linux-gnu-link... no checking for dumpbin... no checking for link... link -dump checking the name lister (nm) interface... BSD nm checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert haswell-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert haswell-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... strip checking for x86_64-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc 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-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes 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... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking invent.h usability... no checking invent.h presence... no checking for invent.h... no checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking sys/attributes.h usability... no checking sys/attributes.h presence... no checking for sys/attributes.h... no checking sys/iograph.h usability... no checking sys/iograph.h presence... no checking for sys/iograph.h... no checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/processor.h usability... no checking sys/processor.h presence... no checking for sys/processor.h... no checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking sys/sysinfo.h usability... yes checking sys/sysinfo.h presence... yes checking for sys/sysinfo.h... yes checking sys/syssgi.h usability... no checking sys/syssgi.h presence... no checking for sys/syssgi.h... no checking sys/systemcfg.h usability... no checking sys/systemcfg.h presence... no checking for sys/systemcfg.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for sys/resource.h... yes checking for sys/sysctl.h... no checking for machine/hal_sysinfo.h... no checking whether fgetc is declared... yes checking whether fscanf is declared... yes checking whether optarg is declared... yes checking whether ungetc is declared... yes checking whether vfprintf is declared... yes checking whether sys_errlist is declared... no checking whether sys_nerr is declared... no checking return type of signal handlers... void checking for intmax_t... yes checking for long double... yes checking for long long... yes checking for ptrdiff_t... yes checking for quad_t... yes checking for uint_least32_t... yes checking for intptr_t... yes checking for working volatile... yes checking for C/C++ restrict keyword... __restrict checking whether gcc __attribute__ ((const)) works... yes checking whether gcc __attribute__ ((malloc)) works... yes checking whether gcc __attribute__ ((mode (XX))) works... yes checking whether gcc __attribute__ ((noreturn)) works... yes checking whether gcc hidden aliases work... yes checking for inline... inline checking for cos in -lm... yes checking for working alloca.h... yes checking for alloca (via gmp-impl.h)... yes checking how to allocate temporary memory... alloca checking whether byte ordering is bigendian... no checking format of `double' floating point... IEEE little endian checking for alarm... yes checking for attr_get... no checking for clock... yes checking for cputime... no checking for getpagesize... yes checking for getrusage... yes checking for gettimeofday... yes checking for getsysinfo... no checking for localeconv... (cached) no checking for memset... yes checking for mmap... yes checking for mprotect... yes checking for nl_langinfo... yes checking for obstack_vprintf... (cached) no checking for popen... yes checking for processor_info... no checking for pstat_getprocessor... no checking for raise... yes checking for read_real_time... no checking for sigaction... yes checking for sigaltstack... yes checking for sigstack... yes checking for syssgi... no checking for strchr... yes checking for strerror... yes checking for strnlen... yes checking for strtol... yes checking for strtoul... yes checking for sysconf... yes checking for sysctl... no checking for sysctlbyname... no checking for times... yes checking for library containing clock_gettime... none required checking for vsnprintf... yes checking whether vsnprintf works... yes checking whether sscanf needs writable input... no checking for struct pst_processor.psp_iticksperclktick... no checking for suitable m4... + TARGET=x86_64-pc-linux-gnu + shift + CC=gcc + shift + CFLAGS=-O2 -fno-strict-aliasing -fwrapv -pthread -fPIC + cd src/ + ac_cv_func_obstack_vprintf=no ac_cv_func_localeconv=no ./configure --host=x86_64-pc-linux-gnu --enable-fat --disable-shared --with-pic CC=gcc CPPFLAGS=-O2 -fno-strict-aliasing -fwrapv -pthread -fPIC ./configure: line 14535: /usr/bin/file: No such file or directory configure: error: No usable m4 in $PATH or /usr/5bin (see config.log for reasons). "/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1 2024-06-19 16:16.19: Job failed: Failed: Build failed