>>> Building on octeon-2 under math/flintlib BDEPENDS = [devel/gmp;devel/mpfr;devel/libtool;devel/automake/1.16;devel/autoconf/2.71;devel/gmake;devel/metaauto] DIST = [math/flintlib:flint-3.1.2.tar.gz] FULLPKGNAME = flintlib-3.1.2 RDEPENDS = [devel/gmp;devel/mpfr] (Junk lock obtained for octeon-2 at 1730398289.38) >>> Running depends in math/flintlib at 1730398289.46 last junk was in devel/qp/qpcpp /usr/sbin/pkg_add -aI -Drepair autoconf-2.71p0 automake-1.16.5 gmp-6.3.0 libtool-2.4.2p2 metaauto-1.0p4 mpfr-4.2.1 was: /usr/sbin/pkg_add -aI -Drepair autoconf-2.71p0 automake-1.16.5 gmake-4.4.1 gmp-6.3.0 libtool-2.4.2p2 metaauto-1.0p4 mpfr-4.2.1 /usr/sbin/pkg_add -aI -Drepair autoconf-2.71p0 automake-1.16.5 gmp-6.3.0 libtool-2.4.2p2 metaauto-1.0p4 mpfr-4.2.1 >>> Running show-prepare-results in math/flintlib at 1730398299.11 ===> math/flintlib ===> Building from scratch flintlib-3.1.2 ===> flintlib-3.1.2 depends on: metaauto-* -> metaauto-1.0p4 ===> flintlib-3.1.2 depends on: autoconf-2.71 -> autoconf-2.71p0 ===> flintlib-3.1.2 depends on: automake->=1.16,<1.17 -> automake-1.16.5 ===> flintlib-3.1.2 depends on: libtool-* -> libtool-2.4.2p2 ===> flintlib-3.1.2 depends on: gmake-* -> gmake-4.4.1 ===> flintlib-3.1.2 depends on: gmp-* -> gmp-6.3.0 ===> flintlib-3.1.2 depends on: mpfr-* -> mpfr-4.2.1 ===> Verifying specs: m pthread gmp mpfr ===> found m.10.1 pthread.27.1 gmp.11.1 mpfr.2.2 autoconf-2.71p0 automake-1.16.5 gmake-4.4.1 gmp-6.3.0 libtool-2.4.2p2 metaauto-1.0p4 mpfr-4.2.1 (Junk lock released for octeon-2 at 1730398308.06) distfiles size=8098136 >>> Running extract in math/flintlib at 1730398308.13 ===> math/flintlib ===> Checking files for flintlib-3.1.2 `/ports/distfiles/flint-3.1.2.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for flintlib-3.1.2 >>> Running patch in math/flintlib at 1730398319.50 ===> math/flintlib ===> Patching for flintlib-3.1.2 ===> Applying OpenBSD patch patch-Makefile_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: Makefile.in |--- Makefile.in.orig |+++ Makefile.in -------------------------- Patching file Makefile.in using Plan A... Hunk #1 succeeded at 104. Hunk #2 succeeded at 427. Hunk #3 succeeded at 582. Hunk #4 succeeded at 600. Hunk #5 succeeded at 617. Hunk #6 succeeded at 639. Hunk #7 succeeded at 662. Hunk #8 succeeded at 693. Hunk #9 succeeded at 946. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ >>> Running configure in math/flintlib at 1730398320.71 ===> math/flintlib ===> Generating configure for flintlib-3.1.2 Running autoreconf-2.71 in /pobj/flintlib-3.1.2/flint-3.1.2 autoreconf-2.71: export WARNINGS=all autoreconf-2.71: Entering directory '.' autoreconf-2.71: configure.ac: not using Gettext autoreconf-2.71: running: aclocal --force autoreconf-2.71: configure.ac: tracing autoreconf-2.71: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'. libtoolize: copying file `config/ltmain.sh' libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf-2.71: configure.ac: not using Intltool autoreconf-2.71: configure.ac: not using Gtkdoc autoreconf-2.71: running: aclocal --force autoreconf-2.71: running: /usr/local/bin/autoconf-2.71 --force autoreconf-2.71: running: /usr/local/bin/autoheader-2.71 --force autoreconf-2.71: configure.ac: not using Automake autoreconf-2.71: 'config/config.sub' is updated autoreconf-2.71: 'config/config.guess' is updated autoreconf-2.71: Leaving directory '.' ===> Configuring for flintlib-3.1.2 Using /pobj/flintlib-3.1.2/config.site (generated) configure: WARNING: unrecognized options: --disable-silent-rules, --disable-gtk-doc configure: loading site script /pobj/flintlib-3.1.2/config.site checking build system type... mips64-unknown-openbsd7.6 checking host system type... mips64-unknown-openbsd7.6 checking how to print strings... print -r checking for 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... (cached) o checking whether the compiler supports GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to enable C11 features... none needed checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for fgrep... (cached) /usr/bin/fgrep checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 131072 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking how to convert mips64-unknown-openbsd7.6 file names to mips64-unknown-openbsd7.6 format... func_convert_file_noop checking how to convert mips64-unknown-openbsd7.6 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$ checking for dlltool... no checking how to associate runtime and link libraries... print -r -- checking for ar... (cached) ar checking for archiver @FILE support... @ checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking for gawk... (cached) awk checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking for stdio.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for strings.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... yes checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... openbsd7.6 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... yes checking whether to build static libraries... no checking for a race-free mkdir -p... mkdir -p checking for inline... inline checking whether byte ordering is bigendian... yes checking if memory is strongly-ordered... unsure checking how to run the C preprocessor... cc -E checking for gmp.h... yes checking if version of GMP is greater than 6.2.1... yes checking if GMP defines mp_limb_t as unsigned long long int... yes checking for mpfr.h... yes checking if version of MPFR is greater than 4.1.0... yes checking for desired ABI... 64 checking for stdarg.h... (cached) yes checking for math.h... (cached) yes checking for float.h... (cached) yes checking for errno.h... (cached) yes checking for fenv.h... yes checking for alloca.h... no checking for malloc.h... (cached) no checking for sys/param.h... (cached) yes checking for windows.h... no checking for pthread_np.h... yes checking for pthread.h... (cached) yes checking for library containing atan2... -lm checking for library containing __gmpz_init... -lgmp checking for library containing __gmpn_gcd_11... none required checking for library containing __gmpn_div_q... none required checking for library containing __gmpn_mul_basecase... none required checking for library containing __gmpn_modexact_1_odd... no checking for library containing __gmpn_addmul_2... no checking for library containing mpfr_init... -lmpfr checking for library containing mpfr_round_p... none required checking for library containing mpfr_mulhigh_n... none required checking for library containing mpfr_sqrhigh_n... none required checking whether cc accepts -pthread... yes checking if cpu_set_t is supported... no checking if alloca works... yes checking for aligned_alloc... yes checking for _aligned_malloc... no checking whether cc accepts -Werror=unknown-warning-option... yes checking whether cc accepts -Wall... yes checking whether cc accepts -Wno-stringop-overread... no checking whether cc accepts -Wno-stringop-overflow... no checking whether cc accepts -Werror=implicit-function-declaration... yes checking whether cc accepts -O3... yes checking whether cc accepts -march=native... no checking whether cc accepts -std=c11... yes checking whether cc accepts -pedantic... yes checking whether cc accepts -O2 -pipe... yes checking for host architecture... mips3 checking if system can use FLINT's fft_small module... no checking if system uses System V ABI... yes checking if system can use FLINT's assembly... no configure: WARNING: FLINT currently only have assembly routines for System V-type systems for x86_64 processors with ADX instruction set. Disabling assembly... configure: creating ./config.status config.status: creating src/gmpcompat.h config.status: creating src/fft_tuning.h config.status: creating src/fmpz/fmpz.c config.status: creating Makefile config.status: creating flint.pc config.status: creating src/flint.h config.status: creating src/config.h config.status: creating src/flint-config.h config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-silent-rules, --disable-gtk-doc >>> Running build in math/flintlib at 1730398451.50 ===> math/flintlib ===> Building for flintlib-3.1.2 mkdir -p build/generic_files mkdir -p build/thread_pool mkdir -p build/thread_support mkdir -p build/ulong_extras mkdir -p build/long_extras mkdir -p build/perm mkdir -p build/double_extras mkdir -p build/d_vec mkdir -p build/d_mat mkdir -p build/mpn_extras mkdir -p build/mpfr_vec mkdir -p build/mpfr_mat mkdir -p build/nmod mkdir -p build/nmod_vec mkdir -p build/nmod_mat mkdir -p build/nmod_poly mkdir -p build/fmpz mkdir -p build/fmpz_vec mkdir -p build/fmpz_mat mkdir -p build/fmpz_poly mkdir -p build/fmpz_mod mkdir -p build/fmpz_mod_vec mkdir -p build/fmpz_mod_mat mkdir -p build/fmpz_mod_poly mkdir -p build/fmpq mkdir -p build/fmpq_vec mkdir -p build/fmpq_mat mkdir -p build/fmpq_poly mkdir -p build/fq mkdir -p build/fq_vec mkdir -p build/fq_mat mkdir -p build/fq_poly mkdir -p build/fq_nmod mkdir -p build/fq_nmod_vec mkdir -p build/fq_nmod_mat mkdir -p build/fq_nmod_poly mkdir -p build/fq_zech mkdir -p build/fq_zech_mat mkdir -p build/fq_zech_poly mkdir -p build/fq_default mkdir -p build/fq_default_mat mkdir -p build/fq_default_poly mkdir -p build/fq_embed mkdir -p build/fq_nmod_embed mkdir -p build/fq_zech_embed mkdir -p build/padic mkdir -p build/padic_mat mkdir -p build/padic_poly mkdir -p build/qadic mkdir -p build/nmod_poly_factor mkdir -p build/fmpz_factor mkdir -p build/fmpz_poly_factor mkdir -p build/fmpz_mod_poly_factor mkdir -p build/fq_poly_factor mkdir -p build/fq_nmod_poly_factor mkdir -p build/fq_zech_poly_factor mkdir -p build/fq_default_poly_factor mkdir -p build/nmod_poly_mat mkdir -p build/fmpz_poly_mat mkdir -p build/mpoly mkdir -p build/nmod_mpoly mkdir -p build/fmpz_mpoly mkdir -p build/fmpz_mod_mpoly mkdir -p build/fmpq_mpoly mkdir -p build/fq_nmod_mpoly mkdir -p build/fq_zech_mpoly mkdir -p build/nmod_mpoly_factor mkdir -p build/fmpz_mpoly_factor mkdir -p build/fmpz_mod_mpoly_factor mkdir -p build/fmpq_mpoly_factor mkdir -p build/fq_nmod_mpoly_factor mkdir -p build/fq_zech_mpoly_factor mkdir -p build/fft mkdir -p build/fmpz_poly_q mkdir -p build/fmpz_lll mkdir -p build/n_poly mkdir -p build/arith mkdir -p build/qsieve mkdir -p build/aprcl mkdir -p build/nf mkdir -p build/nf_elem mkdir -p build/qfb mkdir -p build/double_interval mkdir -p build/dlog mkdir -p build/fmpz_extras mkdir -p build/fmpzi mkdir -p build/bool_mat mkdir -p build/partitions mkdir -p build/mag mkdir -p build/arf mkdir -p build/acf mkdir -p build/arb mkdir -p build/acb mkdir -p build/arb_mat mkdir -p build/arb_poly mkdir -p build/arb_calc mkdir -p build/arb_hypgeom mkdir -p build/acb_mat mkdir -p build/acb_poly mkdir -p build/acb_calc mkdir -p build/acb_hypgeom mkdir -p build/arb_fmpz_poly mkdir -p build/arb_fpwrap mkdir -p build/acb_dft mkdir -p build/acb_elliptic mkdir -p build/acb_modular mkdir -p build/acb_dirichlet mkdir -p build/acb_theta mkdir -p build/dirichlet mkdir -p build/bernoulli mkdir -p build/hypgeom mkdir -p build/gr mkdir -p build/gr_generic mkdir -p build/gr_vec mkdir -p build/gr_mat mkdir -p build/gr_poly mkdir -p build/gr_mpoly mkdir -p build/gr_special mkdir -p build/calcium mkdir -p build/fmpz_mpoly_q mkdir -p build/fexpr mkdir -p build/fexpr_builtin mkdir -p build/qqbar mkdir -p build/ca mkdir -p build/ca_ext mkdir -p build/ca_field mkdir -p build/ca_vec mkdir -p build/ca_poly mkdir -p build/ca_mat cc -fPIC -DPIC -O2 -pipe -I./src -I/usr/local/include -I/usr/local/include -DBUILDING_FLINT -DFLINT_NOSTDIO -DFLINT_NOSTDARG -c src/generic_files/clz_tab.c -o build/generic_files/clz_tab.lo -MMD -MP -MF build/generic_files/clz_tab.lo.d cc -fPIC -DPIC -O2 -pipe -I./src -I/usr/local/include -I/usr/local/include -DBUILDING_FLINT -DFLINT_NOSTDIO -DFLINT_NOSTDARG -c src/generic_files/exception.c -o build/generic_files/exception.lo -MMD -MP -MF build/generic_files/exception.lo.d cc -fPIC -DPIC -O2 -pipe -I./src -I/usr/local/include -I/usr/local/include -DBUILDING_FLINT -DFLINT_NOSTDIO -DFLINT_NOSTDARG -c src/generic_files/fscanf.c -o build/generic_files/fscanf.lo -MMD -MP -MF build/generic_files/fscanf.lo.d cc -fPIC -DPIC -O2 -pipe -I./src -I/usr/local/include -I/usr/local/include -DBUILDING_FLINT -DFLINT_NOSTDIO -DFLINT_NOSTDARG -c src/generic_files/gettimeofday.c -o build/generic_files/gettimeofday.lo -MMD -MP -MF build/generic_files/gettimeofday.lo.d cc -fPIC -DPIC -O2 -pipe -I./src -I/usr/local/include -I/usr/local/include -DBUILDING_FLINT -DFLINT_NOSTDIO -DFLINT_NOSTDARG -c src/generic_files/inlines.c -o build/generic_files/inlines.lo -MMD -MP -MF build/generic_files/inlines.lo.d cc -fPIC -DPIC -O2 -pipe -I./src -I/usr/local/include -I/usr/local/include -DBUILDING_FLINT -DFLINT_NOSTDIO -DFLINT_NOSTDARG -c src/generic_files/io.c -o build/generic_files/io.lo -MMD -MP -MF build/generic_files/io.lo.d cc -fPIC -DPIC -O2 -pipe -I./src -I/usr/local/include -I/usr/local/include -DBUILDING_FLINT -DFLINT_NOSTDIO -DFLINT_NOSTDARG -c src/generic_files/memory_manager.c -o build/generic_files/memory_manager.lo -MMD -MP -MF build/generic_files/memory_manager.lo.d cc -fPIC -DPIC -O2 -pipe -I./src -I/usr/local/include -I/usr/local/include -DBUILDING_FLINT -DFLINT_NOSTDIO -DFLINT_NOSTDARG -c src/generic_files/profiler.c -o build/generic_files/profiler.lo -MMD -MP -MF build/generic_files/profiler.lo.d cc -fPIC -DPIC -O2 -pipe -I./src -I/usr/local/include -I/usr/local/include -DBUILDING_FLINT -DFLINT_NOSTDIO -DFLINT_NOSTDARG -c src/generic_files/scanf.c -o build/generic_files/scanf.lo -MMD -MP -MF build/generic_files/scanf.lo.d cc -fPIC -DPIC -O2 -pipe -I./src -I/usr/local/include -I/usr/local/include -DBUILDING_FLINT -DFLINT_NOSTDIO -DFLINT_NOSTDARG -c src/generic_files/sprintf.c -o build/generic_files/sprintf.lo -MMD -MP -MF build/generic_files/sprintf.lo.d cc -fPIC -DPIC -O2 -pipe -I./src -I/usr/local/include -I/usr/local/include -DBUILDING_FLINT -DFLINT_NOSTDIO -DFLINT_NOSTDARG -c src/generic_files/sscanf.c -o build/generic_files/sscanf.lo -MMD -MP -MF build/generic_files/sscanf.lo.d cc -fPIC -DPIC -O2 -pipe -I./src -I/usr/local/include -I/usr/local/include -DBUILDING_FLINT -DFLINT_NOSTDIO -DFLINT_NOSTDARG -c src/generic_files/test_helpers.c -o build/generic_files/test_helpers.lo -MMD -MP -MF build/generic_files/test_helpers.lo.d cc -fPIC -DPIC -O2 -pipe -I./src -I/usr/local/include -I/usr/local/include -DBUILDING_FLINT -DFLINT_NOSTDIO -DFLINT_NOSTDARG -c src/generic_files/version.c -o build/generic_files/version.lo -MMD -MP -MF build/generic_files/version.lo.d cc -fPIC -DPIC -O2 -pipe -I./src -I/usr/local/include -I/usr/local/include -DBUILDING_FLINT -DFLINT_NOSTDIO -DFLINT_NOSTDARG -c src/thread_pool/clear.c -o build/thread_pool/clear.lo -MMD -MP -MF build/thread_pool/clear.lo.d cc -fPIC -DPIC -O2 -pipe -I./src -I/usr/local/include -I/usr/local/include -DBUILDING_FLINT -DFLINT_NOSTDIO -DFLINT_NOSTDARG -c src/thread_pool/distribute_work.c -o build/thread_pool/distribute_work.lo -MMD -MP -MF build/thread_pool/distribute_work.lo.d In file included from src/thread_pool/clear.c:12: In file included from ./src/thread_pool.h:18: In file included from /usr/include/pthread.h:43: /usr/include/sys/types.h:59:23: error: typedef redefinition with different types ('unsigned long' vs 'unsigned long long') typedef unsigned long ulong; /* Sys V compatibility */ ^ ./src/flint.h:95:15: note: expanded from macro 'ulong' #define ulong mp_limb_t ^ /usr/local/include/gmp.h:139:32: note: previous definition is here typedef unsigned long long int mp_limb_t; ^ 1 error generated. gmake: *** [Makefile:611: build/thread_pool/clear.lo] Error 1 gmake: *** Waiting for unfinished jobs.... In file included from src/thread_pool/distribute_work.c:12: In file included from ./src/thread_pool.h:18: In file included from /usr/include/pthread.h:43: /usr/include/sys/types.h:59:23: error: typedef redefinition with different types ('unsigned long' vs 'unsigned long long') typedef unsigned long ulong; /* Sys V compatibility */ ^ ./src/flint.h:95:15: note: expanded from macro 'ulong' #define ulong mp_limb_t ^ /usr/local/include/gmp.h:139:32: note: previous definition is here typedef unsigned long long int mp_limb_t; ^ 1 error generated. gmake: *** [Makefile:611: build/thread_pool/distribute_work.lo] Error 1 *** Error 2 in math/flintlib (/ports/infrastructure/mk/bsd.port.mk:3069 '/pobj/flintlib-3.1.2/.build_done': @cd /pobj/flintlib-3.1.2/flint-3...) *** Error 2 in math/flintlib (/ports/infrastructure/mk/bsd.port.mk:2712 'build': @lock=flintlib-3.1.2; export _LOCKS_HELD=" flintlib-3.1.2"...) ===> Exiting math/flintlib with an error *** Error 1 in /ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval ${e...) >>> Ended at 1730398475.57 max_stuck=6.32/depends=9.66/show-prepare-results=9.01/extract=11.10/patch=1.48/configure=130.79/build=24.12 Error: job failed with 512 on octeon-2 at 1730398475