>>> Building on sparc64-2d under sysutils/opam BDEPENDS = [devel/automake/1.16;lang/ocaml;archivers/bzip2;devel/metaauto;lang/gcc/8,-c++;lang/gcc/8,-libs;devel/autoconf/2.69;devel/libtool;devel/gmake;lang/gcc/8] DIST = [sysutils/opam:opam-full-2.3.0.tar.gz] FULLPKGNAME = opam-2.3.0 RDEPENDS = [archivers/gtar;devel/gpatch;net/curl;archivers/unzip;devel/gmake;lang/gcc/8,-libs;archivers/bzip2] (Junk lock obtained for sparc64-2d at 1738241551.52) >>> Running depends in sysutils/opam at 1738241551.65 last junk was in multimedia/xine-lib /usr/sbin/pkg_add -aI -Drepair automake-1.16.5p0 bzip2-1.0.8p0 ocaml-4.14.2 was: /usr/sbin/pkg_add -aI -Drepair autoconf-2.69p3 automake-1.16.5p0 bzip2-1.0.8p0 g++-8.4.0p25 gcc-8.4.0p25 gcc-libs-8.4.0p25 gmake-4.4.1 libtool-2.4.2p3 metaauto-1.0p4 ocaml-4.14.2 /usr/sbin/pkg_add -aI -Drepair automake-1.16.5p0 bzip2-1.0.8p0 ocaml-4.14.2 >>> Running show-prepare-results in sysutils/opam at 1738241629.21 ===> sysutils/opam ===> Building from scratch opam-2.3.0 ===> opam-2.3.0 depends on: ocaml-=4.14.2 -> ocaml-4.14.2 ===> opam-2.3.0 depends on: bzip2-* -> bzip2-1.0.8p0 ===> opam-2.3.0 depends on: metaauto-* -> metaauto-1.0p4 ===> opam-2.3.0 depends on: autoconf-2.69 -> autoconf-2.69p3 ===> opam-2.3.0 depends on: automake->=1.16,<1.17 -> automake-1.16.5p0 ===> opam-2.3.0 depends on: libtool-* -> libtool-2.4.2p3 ===> opam-2.3.0 depends on: gcc->=8,<9 -> gcc-8.4.0p25 ===> opam-2.3.0 depends on: g++->=8,<9 -> g++-8.4.0p25 ===> opam-2.3.0 depends on: gmake-* -> gmake-4.4.1 ===> opam-2.3.0 depends on: gcc-libs->=8,<9 -> gcc-libs-8.4.0p25 ===> Verifying specs: estdc++>=19 pthread c m ===> found estdc++.19.0 pthread.27.1 c.100.3 m.10.1 autoconf-2.69p3 automake-1.16.5p0 bzip2-1.0.8p0 g++-8.4.0p25 gcc-8.4.0p25 gcc-libs-8.4.0p25 gmake-4.4.1 libtool-2.4.2p3 metaauto-1.0p4 ocaml-4.14.2 (Junk lock released for sparc64-2d at 1738241644.88) distfiles size=12860518 >>> Running extract in sysutils/opam at 1738241644.98 ===> sysutils/opam ===> Checking files for opam-2.3.0 `/usr/ports/distfiles/opam-full-2.3.0.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for opam-2.3.0 >>> Running patch in sysutils/opam at 1738241658.81 ===> sysutils/opam ===> Patching for opam-2.3.0 ===> Applying OpenBSD patch patch-Makefile_config_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |don't use system wide installed ocaml packages | |Index: Makefile.config.in |--- Makefile.config.in.orig |+++ Makefile.config.in -------------------------- Patching file Makefile.config.in using Plan A... Hunk #1 succeeded at 14. done ===> Applying OpenBSD patch patch-configure_ac Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |don't use system wide installed ocaml packages | |Index: configure.ac |--- configure.ac.orig |+++ configure.ac -------------------------- Patching file configure.ac using Plan A... Hunk #1 succeeded at 252. done ===> Applying OpenBSD patch patch-src_state_opamSysInteract_ml Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |backport https://github.com/ocaml/opam/pull/6362 | |Index: src/state/opamSysInteract.ml |--- src/state/opamSysInteract.ml.orig |+++ src/state/opamSysInteract.ml -------------------------- Patching file src/state/opamSysInteract.ml using Plan A... Hunk #1 succeeded at 972. done ===> Applying OpenBSD patch patch-tests_reftests_archive_test Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: tests/reftests/archive.test |--- tests/reftests/archive.test.orig |+++ tests/reftests/archive.test -------------------------- Patching file tests/reftests/archive.test using Plan A... Hunk #1 succeeded at 35. done ===> Applying OpenBSD patch patch-tests_reftests_extrasource_test Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: tests/reftests/extrasource.test |--- tests/reftests/extrasource.test.orig |+++ tests/reftests/extrasource.test -------------------------- Patching file tests/reftests/extrasource.test using Plan A... Hunk #1 succeeded at 34. done ===> Compiler link: gcc -> /usr/local/bin/egcc ===> Compiler link: cc -> /usr/local/bin/egcc ===> Compiler link: c++ -> /usr/local/bin/eg++ ===> Compiler link: g++ -> /usr/local/bin/eg++ >>> Running configure in sysutils/opam at 1738241669.13 ===> sysutils/opam ===> Generating configure for opam-2.3.0 Running autoreconf-2.69 in /usr/obj/ports/opam-2.3.0/opam-full-2.3.0 ===> Configuring for opam-2.3.0 Using /usr/obj/ports/opam-2.3.0/config.site (generated) configure: WARNING: unrecognized options: --disable-silent-rules, --disable-gtk-doc configure: loading site script /usr/obj/ports/opam-2.3.0/config.site checking for ocamlc... ocamlc OCaml version is 4.14.2 OCaml library path is /usr/local/lib/ocaml checking for ocamlopt... no checking for ocamlc.opt... configure: WARNING: Cannot find ocamlopt; bytecode compilation only. no checking for ocaml... ocaml checking for ocamldep... ocamldep checking for ocamldep.opt... no checking for ocamlmktop... ocamlmktop checking for ocamlmklib... ocamlmklib checking for ocamldoc... ocamldoc checking for ocamldoc.opt... no checking for ocamlbuild... no checking OCaml Sys.os_type... Unix checking for gawk... (cached) awk checking for compiler type... cc checking for compiler architecture... none checking for compiler system... unknown checking for compiler target... sparc64-unknown-openbsd7.6 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... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... none needed checking for ocamlobjinfo... ocamlobjinfo checking for ocamlfind... no checking for curl... curl checking for patch... patch checking for bunzip2... bunzip2 checking for linking method... shared checking for OCaml findlib package unix... not found checking for OCaml findlib package re 1.9.0 or later... no checking for OCaml findlib package base64 3.1.0 or later... no checking for OCaml findlib package cmdliner... not found checking for OCaml findlib package ocamlgraph... not found checking for OCaml findlib package cudf 0.7 or later... no checking for OCaml findlib package dose3.common 6.1 or later... no checking for OCaml findlib package dose3.algo 6.1 or later... no checking for OCaml findlib package opam-file-format 2.1.4 or later... no checking for OCaml findlib package spdx_licenses... not found checking for OCaml findlib package opam-0install-cudf 0.5.0 or later... no checking for OCaml findlib package jsonm... not found checking for OCaml findlib package uutf... not found checking for OCaml findlib package sha... not found checking for OCaml findlib package swhid_core... not found checking for OCaml findlib package mccs 1.1+17 or later... no checking whether we are using the GNU C++ compiler... (cached) yes checking whether c++ accepts -g... (cached) yes checking whether c++ really is a C++ compiler... yes configure: creating ./config.status config.status: creating Makefile.config config.status: creating src/ocaml-flags-configure.sexp config.status: creating src/core/c-flags.sexp configure: WARNING: unrecognized options: --disable-silent-rules, --disable-gtk-doc Opam will be built WITH its default built-in solver Executables will be installed in /usr/local/bin Manual pages will be installed in /usr/local/man Downloading vendored source dependencies... done Extracting vendored source dependencies in src_ext/... done >>> Running build in sysutils/opam at 1738241764.90 ===> sysutils/opam ===> Building for opam-2.3.0 gmake -j -C src_ext lib-ext gmake[1]: Entering directory '/usr/obj/ports/opam-2.3.0/opam-full-2.3.0/src_ext' NOTE: make lib-ext is no longer required gmake[1]: Leaving directory '/usr/obj/ports/opam-2.3.0/opam-full-2.3.0/src_ext' cd src_ext/dune-local && ocaml boot/bootstrap.ml ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml ./.duneboot.exe src_ext/dune-local/_boot/dune.exe build --profile=release --root . --promote-install-files -- opam-installer.install opam.install /bin/sh: git: not found /bin/sh: git: not found File "src/client/dune", line 15, characters 15-23: 15 | (name opamMain) ^^^^^^^^ src_ext/mccs/src/glpk/libmccs_glpk_stubs.a(stdout.o): In function `glp_printf': src_ext/mccs/src/glpk/env/stdout.c:80: warning: vsprintf() is often misused, please use vsnprintf() src_ext/mccs/src/libmccs_stubs.a(cudf_tools.o): In function `CUDFPropertyValue::CUDFPropertyValue(CUDFProperty*, char const*)': /usr/obj/ports/opam-2.3.0/opam-full-2.3.0/_build/default/src_ext/mccs/src/cudf_tools.cpp:279: warning: strcpy() is almost always misused, please use strlcpy() src_ext/mccs/src/libmccs_stubs.a(mccs_stubs.o): In function `call_solver': /usr/obj/ports/opam-2.3.0/opam-full-2.3.0/_build/default/src_ext/mccs/src/mccs_stubs.cpp:688: warning: stpcpy() is dangerous; do not use it src_ext/mccs/src/glpk/libmccs_glpk_stubs.a(glpapi09.o): In function `glp_intopt': src_ext/mccs/src/glpk/draft/glpapi09.c:613: warning: sprintf() is often misused, please use snprintf() src_ext/mccs/src/libmccs_stubs.a(mccs_stubs.o): In function `void std::__cxx11::basic_string, std::allocator >::_M_construct_aux(char const*, char const*, std::__false_type)': /usr/local/include/c++/8.4.0/bits/basic_string.h:236: undefined reference to `operator delete(void*, unsigned long)' src_ext/mccs/src/libmccs_stubs.a(mccs_stubs.o): In function `std::char_traits::compare(char const*, char const*, unsigned long)': /usr/local/include/c++/8.4.0/bits/char_traits.h:310: undefined reference to `operator delete(void*, unsigned long)' src_ext/mccs/src/libmccs_stubs.a(mccs_stubs.o): In function `finalize_problem(long)': /usr/obj/ports/opam-2.3.0/opam-full-2.3.0/_build/default/src_ext/mccs/src/mccs_stubs.cpp:185: undefined reference to `operator delete(void*, unsigned long)' src_ext/mccs/src/libmccs_stubs.a(mccs_stubs.o): In function `set_problem_request': /usr/obj/ports/opam-2.3.0/opam-full-2.3.0/_build/default/src_ext/mccs/src/mccs_stubs.cpp:565: undefined reference to `operator delete(void*, unsigned long)' /usr/obj/ports/opam-2.3.0/opam-full-2.3.0/_build/default/src_ext/mccs/src/mccs_stubs.cpp:570: undefined reference to `operator delete(void*, unsigned long)' src_ext/mccs/src/libmccs_stubs.a(mccs_stubs.o):/usr/obj/ports/opam-2.3.0/opam-full-2.3.0/_build/default/src_ext/mccs/src/mccs_stubs.cpp:572: more undefined references to `operator delete(void*, unsigned long)' follow src_ext/mccs/src/libmccs_stubs.a(mccs_stubs.o): In function `void std::__cxx11::basic_string, std::allocator >::_M_construct(char const*, char const*, std::forward_iterator_tag)': mccs_stubs.cpp:(.text._ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag[_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag]+0xac): undefined reference to `std::__cxx11::basic_string, std::allocator >::_M_create(unsigned long&, unsigned long)' src_ext/mccs/src/libmccs_stubs.a(cudf_tools.o): In function `CUDFProperty::CUDFProperty(char const*, CUDFPropertyType, int)': cudf_tools.cpp:(.text+0x4dc): undefined reference to `operator delete(void*, unsigned long)' src_ext/mccs/src/libmccs_stubs.a(cudf_tools.o): In function `CUDFProperty::CUDFProperty(char const*, CUDFPropertyType, char const*)': cudf_tools.cpp:(.text+0x58c): undefined reference to `operator delete(void*, unsigned long)' src_ext/mccs/src/libmccs_stubs.a(cudf_tools.o): In function `CUDFProperty::CUDFProperty(char const*, CUDFPropertyType, std::vector >*, char const*)': cudf_tools.cpp:(.text+0x668): undefined reference to `operator delete(void*, unsigned long)' src_ext/mccs/src/libmccs_stubs.a(cudf_tools.o): In function `CUDFProperty::CUDFProperty(char const*, CUDFPropertyType, CUDFVpkg*)': cudf_tools.cpp:(.text+0x6ec): undefined reference to `operator delete(void*, unsigned long)' src_ext/mccs/src/libmccs_stubs.a(cudf_tools.o): In function `CUDFProperty::CUDFProperty(char const*, CUDFPropertyType, std::vector >*)': cudf_tools.cpp:(.text+0x76c): undefined reference to `operator delete(void*, unsigned long)' src_ext/mccs/src/libmccs_stubs.a(cudf_tools.o):cudf_tools.cpp:(.text+0x7ec): more undefined references to `operator delete(void*, unsigned long)' follow src_ext/mccs/src/libmccs_stubs.a(cudf_reductions.o): In function `_ZNSt7__cxx114listIP18CUDFVirtualPackageSaIS2_EE9_M_insertIJRKS2_EEEvSt14_List_iteratorIS2_EDpOT_': /usr/local/include/c++/8.4.0/bits/stl_list.h:1904: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)' /usr/local/include/c++/8.4.0/bits/stl_list.h:1904: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)' /usr/local/include/c++/8.4.0/bits/stl_list.h:1904: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)' src_ext/mccs/src/libmccs_stubs.a(count_criteria.o): In function `count_criteria::~count_criteria()': /usr/obj/ports/opam-2.3.0/opam-full-2.3.0/_build/default/src_ext/mccs/src/count_criteria.h:20: undefined reference to `operator delete(void*, unsigned long)' src_ext/mccs/src/libmccs_stubs.a(changed_criteria.o): In function `changed_criteria::~changed_criteria()': /usr/obj/ports/opam-2.3.0/opam-full-2.3.0/_build/default/src_ext/mccs/src/changed_criteria.h:18: undefined reference to `operator delete(void*, unsigned long)' src_ext/mccs/src/libmccs_stubs.a(removed_criteria.o): In function `removed_criteria::~removed_criteria()': /usr/obj/ports/opam-2.3.0/opam-full-2.3.0/_build/default/src_ext/mccs/src/removed_criteria.h:17: undefined reference to `operator delete(void*, unsigned long)' src_ext/mccs/src/libmccs_stubs.a(notuptodate_criteria.o): In function `notuptodate_criteria::~notuptodate_criteria()': /usr/obj/ports/opam-2.3.0/opam-full-2.3.0/_build/default/src_ext/mccs/src/notuptodate_criteria.h:17: undefined reference to `operator delete(void*, unsigned long)' src_ext/mccs/src/libmccs_stubs.a(new_criteria.o): In function `new_criteria::~new_criteria()': /usr/obj/ports/opam-2.3.0/opam-full-2.3.0/_build/default/src_ext/mccs/src/new_criteria.h:18: undefined reference to `operator delete(void*, unsigned long)' collect2: error: ld returned 1 exit status File "_none_", line 1: Error: Error while building custom runtime system gmake: *** [Makefile:138: build-opam] Error 1 *** Error 2 in sysutils/opam (/usr/ports/infrastructure/mk/bsd.port.mk:3069 '/usr/obj/ports/opam-2.3.0/.build_done': @cd /usr/obj/ports/opam...) *** Error 2 in sysutils/opam (/usr/ports/infrastructure/mk/bsd.port.mk:2712 'build': @lock=opam-2.3.0; export _LOCKS_HELD=" opam-2.3.0"; ...) ===> Exiting sysutils/opam with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval...) >>> Ended at 1738242614.65 max_stuck=484.27/depends=77.60/show-prepare-results=15.76/extract=13.74/patch=10.32/configure=95.78/build=849.90 Error: job failed with 512 on sparc64-2d at 1738242614