2024-06-17 13:29.01: New job: test samoht/ocaml-gmp https://github.com/samoht/ocaml-gmp.git#refs/heads/master (824c367c696b14c6da1c325ba66ddb9ff68bf4b3) (macos-x86_64:macos-homebrew-5.2_opam-2.1) Base: macos-homebrew-ocaml-5.2 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 macos-homebrew-ocaml-5.2 # macos-homebrew-5.2_opam-2.1 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" RUN ln -f ~/local/bin/opam-2.1 ~/local/bin/opam RUN opam init --reinit -ni RUN uname -rs && opam exec -- ocaml -version && opam --version 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 ./src/./ RUN opam pin add -yn gmp.dev './src/./' ENV DEPS="base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base dune.3.16.0 host-arch-x86_64.1 host-system-other.1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 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 cd ./src && 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-macos-macos-homebrew-ocaml-5.2-macos-homebrew-5.2_opam-2.1-a418e52baba99da0e680db183e1fbb8a" 2024-06-17 13:29.01: Using OBuilder spec: ((from macos-homebrew-ocaml-5.2) (comment macos-homebrew-5.2_opam-2.1) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (run (shell "ln -f ~/local/bin/opam-2.1 ~/local/bin/opam")) (run (shell "opam init --reinit -ni")) (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew))) (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 ./src/./)) (run (network host) (shell "opam pin add -yn gmp.dev './src/./'")) (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base dune.3.16.0 host-arch-x86_64.1 host-system-other.1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1") (env CI true) (env OCAMLCI true) (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew))) (network host) (shell "opam update --depexts && opam install --cli=2.1 --depext-only -y gmp.dev $DEPS")) (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew))) (network host) (shell "opam install $DEPS")) (copy (src .) (dst ./src)) (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build")) ) 2024-06-17 13:29.01: Waiting for resource in pool OCluster 2024-06-17 23:13.37: Waiting for worker… 2024-06-18 01:49.38: Got resource from pool OCluster Building on i7-worker-02 All commits already cached HEAD is now at 824c367 import gmp 6.1.2 (from macos-homebrew-ocaml-5.2) 2024-06-18 01:49.40 ---> using "9b46fe3d2429f2b9195a02468cb57ac45cfa11fb4a87cb32b5e5375232223327" from cache /: (comment macos-homebrew-5.2_opam-2.1) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (run (shell "ln -f ~/local/bin/opam-2.1 ~/local/bin/opam")) 2024-06-18 01:49.41 ---> using "6315dae0772f39c88ebf2aad05a0508b7387f4993cd36bb9cd299cbcc3542ece" from cache /: (run (shell "opam init --reinit -ni")) No configuration file found, using 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. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] no changes from git+file:///Users/mac1000/opam-repository 2024-06-18 01:49.41 ---> using "3da9b05e9b357010706c9361ea401a2b6872addc078e3c650340484aca6de20f" from cache /: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Darwin 23.4.0 The OCaml toplevel, version 5.2.0 2.1.5 2024-06-18 01:49.42 ---> using "fd0a29c7228c0de59ac2483ba2205b71b99c394f444b57a045b21a2bdf7b9c5f" from cache /: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew))) (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 0dc68a8b92..e06bf2b8c3 master -> origin/master a6069b9eeb [new release] dune (15 packages) (3.16.0) <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from git+file:///Users/mac1000/opam-repository default (at git+file:///Users/mac1000/opam-repository): [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html) default (at git+file:///Users/mac1000/opam-repository): [WARNING] please ensure to have GNU patch installed as `patch`. Otherwise update may fail silently (since it can't remove files). Constructing initial basis... The following actions will be performed: - install host-arch-x86_64 1 - recompile ocaml-base-compiler 5.2.0 [upstream or system changes] - install host-system-other 1 - recompile ocaml-options-vanilla 1 [upstream or system changes] - recompile ocaml-config 3 [upstream or system changes] - recompile ocaml 5.2.0 [uses ocaml-base-compiler, ocaml-config] - recompile base-domains base [uses ocaml] - recompile base-nnp base [uses base-domains] ===== 2 to install | 6 to recompile ===== <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-config.3 (cached) -> removed ocaml-options-vanilla.1 -> installed host-arch-x86_64.1 -> installed host-system-other.1 -> installed ocaml-options-vanilla.1 -> retrieved ocaml-base-compiler.5.2.0 (cached) -> removed base-nnp.base -> removed base-domains.base -> removed ocaml.5.2.0 -> removed ocaml-config.3 -> removed ocaml-base-compiler.5.2.0 -> installed ocaml-base-compiler.5.2.0 -> installed ocaml-config.3 -> installed ocaml.5.2.0 -> installed base-domains.base -> installed base-nnp.base Done. # Run eval $(opam env) to update the current shell environment 2024-06-18 01:49.42 ---> using "3bdea3048234c3fadb547255161b518832c8e26de85ff6b550ff3f0224147673" from cache /: (copy (src gmp.opam) (dst ./src/./)) 2024-06-18 01:49.45 ---> saved as "9b55694be0e0d2fb1b43a39217a7daf54adc261a3f8054ba3e3b804e738ce875" /: (run (network host) (shell "opam pin add -yn gmp.dev './src/./'")) [gmp.dev] synchronised (file:///Users/mac1000/src) gmp is now pinned to file:///Users/mac1000/src (version dev) 2024-06-18 01:49.59 ---> saved as "c1363d9b2de509a04fa405d4befecd7f5912b8103260c6e7677914d0d962080b" /: (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base dune.3.16.0 host-arch-x86_64.1 host-system-other.1 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-config.3 ocaml-options-vanilla.1") /: (env CI true) /: (env OCAMLCI true) /: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew))) (network host) (shell "opam update --depexts && opam install --cli=2.1 --depext-only -y gmp.dev $DEPS")) + /usr/local/bin/brew "update" - ==> Updating Homebrew... - Already up-to-date. <><> 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 3). [NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0). [NOTE] Package ocaml is already installed (current version is 5.2.0). [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-nnp is already installed (current version is base). [NOTE] Package base-domains is already installed (current version is base). [NOTE] Package base-bigarray is already installed (current version is base). Constructing initial basis... Number of 0-1 knapsack inequalities = 5 Constructing conflict graph... Conflict graph has 6 + 5 = 11 vertices 2024-06-18 01:50.31 ---> saved as "2d314d063882740cb6e4349a3fbbebb5d82068889d8c74a7551fe7385e5d0d9b" /: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew))) (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 3). [NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0). [NOTE] Package ocaml is already installed (current version is 5.2.0). [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-nnp is already installed (current version is base). [NOTE] Package base-domains is already installed (current version is base). [NOTE] Package base-bigarray is already installed (current version is base). Constructing initial basis... Number of 0-1 knapsack inequalities = 5 Constructing conflict graph... Conflict graph has 6 + 5 = 11 vertices 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-18 01:51.50 ---> saved as "a9ccef8b27d6e8c99854aa347ffef1ff311700cf353c625bcf3bda9b25e55d13" /: (copy (src .) (dst ./src)) 2024-06-18 01:51.54 ---> saved as "5de49dfb2b2e2245d0dd0f647e9b42c6173eea4c4ded45cc3af51641911f147a" /: (run (shell "cd ./src && 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-apple-darwin23.4.0 cc -O2 -fno-strict-aliasing -fwrapv -pthread -pthread) checking build system type... kabylake-apple-darwin23.4.0 checking host system type... x86_64-apple-darwin23.4.0 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for x86_64-apple-darwin23.4.0-strip... no checking for strip... strip checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk 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 whether cc is gcc... yes checking compiler cc -O2 -pedantic -fomit-frame-pointer -m64 -O2 -fno-strict-aliasing -fwrapv -pthread -pthread... yes checking for x86_64-apple-darwin23.4.0-gcc... 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... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking for cc option to accept ISO C99... none needed checking for cc option to accept ISO Standard C... (cached) none needed checking how to run the C preprocessor... cc -E checking build system compiler cc... yes checking for build system preprocessor... cc -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="cc" CFLAGS="-O2 -pedantic -fomit-frame-pointer -m64" CPPFLAGS="-O2 -fno-strict-aliasing -fwrapv -pthread -pthread" MPN_PATH=" x86_64/fat x86_64 generic" checking whether assembler supports --noexecstack option... no checking for x86_64-apple-darwin23.4.0-ar... no checking for ar... ar checking for BSD- or MS-compatible name lister (nm)... no checking for x86_64-apple-darwin23.4.0-dumpbin... no checking for x86_64-apple-darwin23.4.0-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 cc... /Library/Developer/CommandLineTools/usr/bin/ld checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no checking whether ln -s works... yes checking the maximum length of command line arguments... 786432 checking how to convert kabylake-apple-darwin23.4.0 file names to x86_64-apple-darwin23.4.0 format... func_convert_file_noop checking how to convert kabylake-apple-darwin23.4.0 file names to toolchain format... func_convert_file_noop checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r checking for x86_64-apple-darwin23.4.0-objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-apple-darwin23.4.0-dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64-apple-darwin23.4.0-ar... ar checking for archiver @FILE support... no checking for x86_64-apple-darwin23.4.0-strip... strip checking for x86_64-apple-darwin23.4.0-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-apple-darwin23.4.0-mt... no checking for mt... no checking if : is a manifest tool... no checking for x86_64-apple-darwin23.4.0-dsymutil... no checking for dsymutil... dsymutil checking for x86_64-apple-darwin23.4.0-nmedit... no checking for nmedit... nmedit checking for x86_64-apple-darwin23.4.0-lipo... no checking for lipo... lipo checking for x86_64-apple-darwin23.4.0-otool... no checking for otool... otool checking for x86_64-apple-darwin23.4.0-otool64... no checking for otool64... no checking for -single_module linker flag... ld: warning: -single_module is obsolete no checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... yes 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 cc supports -fno-rtti -fno-exceptions... yes checking for cc option to produce PIC... -fno-common -DPIC checking if cc PIC flag -fno-common -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin23.4.0 dyld 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... no checking sys/sysinfo.h presence... no checking for sys/sysinfo.h... no 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... yes 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... yes checking whether sys_nerr is declared... yes 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... no checking for inline... inline 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... yes 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... no 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... yes checking for sysctlbyname... yes 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-apple-darwin23.4.0 + shift + CC=cc + shift + CFLAGS='-O2 -fno-strict-aliasing -fwrapv -pthread -pthread' + cd src/ + ac_cv_func_obstack_vprintf=no + ac_cv_func_localeconv=no + ./configure --host=x86_64-apple-darwin23.4.0 --enable-fat --disable-shared --with-pic CC=cc 'CPPFLAGS=-O2 -fno-strict-aliasing -fwrapv -pthread -pthread' configure: error: No usable m4 in $PATH or /usr/5bin (see config.log for reasons). "/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1 2024-06-18 01:52.26: Job failed: Failed: Build failed