>>> Building on sparc64-2b under telephony/asterisk-g729 BDEPENDS = [devel/autoconf/2.69;telephony/bcg729;telephony/asterisk/20;devel/libtool;archivers/bzip2;devel/metaauto;devel/automake/1.16;lang/gcc/15] DIST = [telephony/asterisk-g729:asterisk-g72x-1.4.5.tar.bz2] FULLPKGNAME = asterisk-g729-1.4.5 RDEPENDS = [telephony/asterisk/20;telephony/bcg729] (Junk lock obtained for sparc64-2b at 1769009079.86) >>> Running depends in telephony/asterisk-g729 at 1769009080.03 last junk was in telephony/asterisk/18 /usr/sbin/pkg_add -aI -Drepair asterisk-20.17.0p0 autoconf-2.69p3 automake-1.16.5p0 bcg729-1.1.1p0 bzip2-1.0.8p0 gcc-15.2.0p5 libtool-2.4.2p3 metaauto-1.0p4 was: /usr/sbin/pkg_add -aI -Drepair asterisk-20.17.0p0 autoconf-2.69p3 automake-1.16.5p0 bcg729-1.1.1p0 bzip2-1.0.8p0 gcc-15.2.0p5 libtool-2.4.2p3 metaauto-1.0p4 /usr/sbin/pkg_add -aI -Drepair asterisk-20.17.0p0 autoconf-2.69p3 automake-1.16.5p0 bcg729-1.1.1p0 bzip2-1.0.8p0 gcc-15.2.0p5 libtool-2.4.2p3 metaauto-1.0p4 The following new rcscripts were installed: /etc/rc.d/asterisk See rcctl(8) for details. New and changed readme(s): /usr/local/share/doc/pkg-readmes/asterisk >>> Running show-prepare-results in telephony/asterisk-g729 at 1769009095.62 ===> telephony/asterisk-g729 ===> Building from scratch asterisk-g729-1.4.5 ===> asterisk-g729-1.4.5 depends on: asterisk->=20.0,<21.0 -> asterisk-20.17.0p0 ===> asterisk-g729-1.4.5 depends on: metaauto-* -> metaauto-1.0p4 ===> asterisk-g729-1.4.5 depends on: autoconf-2.69 -> autoconf-2.69p3 ===> asterisk-g729-1.4.5 depends on: automake->=1.16,<1.17 -> automake-1.16.5p0 ===> asterisk-g729-1.4.5 depends on: libtool-* -> libtool-2.4.2p3 ===> asterisk-g729-1.4.5 depends on: gcc->=15,<16 -> gcc-15.2.0p5 ===> asterisk-g729-1.4.5 depends on: bzip2-* -> bzip2-1.0.8p0 ===> asterisk-g729-1.4.5 depends on: bcg729-* -> bcg729-1.1.1p0 ===> Verifying specs: bcg729 c m ===> found bcg729.0.2 c.102.2 m.10.1 asterisk-20.17.0p0 autoconf-2.69p3 automake-1.16.5p0 bcg729-1.1.1p0 bzip2-1.0.8p0 gcc-15.2.0p5 libtool-2.4.2p3 metaauto-1.0p4 (Junk lock released for sparc64-2b at 1769009100.38) distfiles size=127102 >>> Running extract in telephony/asterisk-g729 at 1769009100.51 ===> telephony/asterisk-g729 ===> Checking files for asterisk-g729-1.4.5 `/usr/ports/distfiles/asterisk-g72x-1.4.5.tar.bz2' is up to date. >> (SHA256) all files: OK ===> Extracting for asterisk-g729-1.4.5 >>> Running patch in telephony/asterisk-g729 at 1769009101.50 ===> telephony/asterisk-g729 ===> Patching for asterisk-g729-1.4.5 ===> Applying OpenBSD patch patch-astconv_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |asterisk 20.16.0 (etc) moved to 64-bit flags (with some backwards compat |for little-endian archs, see 43bf8a4ded7a6) | |Index: astconv.c |--- astconv.c.orig |+++ astconv.c -------------------------- Patching file astconv.c using Plan A... Hunk #1 succeeded at 231. done ===> Compiler link: gcc -> /usr/local/bin/egcc ===> Compiler link: cc -> /usr/local/bin/egcc ===> Compiler link: c++ -> /usr/bin/c++ >>> Running configure in telephony/asterisk-g729 at 1769009102.26 ===> telephony/asterisk-g729 ===> Generating configure for asterisk-g729-1.4.5 Running autoreconf-2.69 in /usr/obj/ports/asterisk-g729-1.4.5/asterisk-g72x-1.4.5 libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' configure.ac:26: installing './compile' configure.ac:23: installing './config.guess' configure.ac:23: installing './config.sub' configure.ac:24: installing './install-sh' configure.ac:25: installing './missing' Makefile.am: installing './depcomp' ===> Configuring for asterisk-g729-1.4.5 Using /usr/obj/ports/asterisk-g729-1.4.5/config.site (generated) configure: WARNING: unrecognized options: --disable-gtk-doc configure: loading site script /usr/obj/ports/asterisk-g729-1.4.5/config.site checking build system type... sparc64-unknown-openbsd7.8 checking host system type... sparc64-unknown-openbsd7.8 checking for a BSD-compatible install... /usr/obj/ports/asterisk-g729-1.4.5/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... mkdir -p checking for gawk... (cached) awk checking whether make sets $(MAKE)... (cached) yes checking whether make supports nested variables... yes 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 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 whether cc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of cc... gcc3 checking how to print strings... print -r 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 sparc64-unknown-openbsd7.8 file names to sparc64-unknown-openbsd7.8 format... func_convert_file_noop checking how to convert sparc64-unknown-openbsd7.8 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 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 how to run the C preprocessor... cc -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.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... no 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.8 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 asterisk/asterisk.h usability... no checking asterisk/asterisk.h presence... no checking for asterisk/asterisk.h... no checking whether C compiler accepts -march=native... no checking whether C compiler accepts -mavx... no checking whether C compiler accepts -march=core2... no checking whether C compiler accepts -march=atom... no checking whether C compiler accepts -march=k8-sse3... no checking whether C compiler accepts -march=barcelona... no checking whether C compiler accepts -march=geode... no checking whether C compiler accepts -flto... no checking for initBcg729EncoderChannel in -lbcg729... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands Architecture: sparc64 CPU -march: configure: WARNING: unrecognized options: --disable-gtk-doc CFLAGS: -O2 -pipe -I"/usr/local/include" LDFLAGS: Codecs impl: Bcg729 >>> Running build in telephony/asterisk-g729 at 1769009150.76 ===> telephony/asterisk-g729 ===> Building for asterisk-g729-1.4.5 /usr/bin/make all-am /usr/bin/libtool --tag=disable-static --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include -DG72X_ASTERISK=160 -I"/usr/local/include" -DG72X_BCG729 -Wall -D_GNU_SOURCE -DG72X_9 -O2 -pipe -MT codec_g729_la-codec_g72x.lo -MD -MP -MF .deps/codec_g729_la-codec_g72x.Tpo -c -o codec_g729_la-codec_g72x.lo `test -f 'codec_g72x.c' || echo './'`codec_g72x.c cc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include -DG72X_ASTERISK=160 -I/usr/local/include -DG72X_BCG729 -Wall -D_GNU_SOURCE -DG72X_9 -O2 -pipe -MT codec_g729_la-codec_g72x.lo -MD -MP -MF .deps/codec_g729_la-codec_g72x.Tpo -c codec_g72x.c -fPIC -DPIC -o .libs/codec_g729_la-codec_g72x.o mv -f .deps/codec_g729_la-codec_g72x.Tpo .deps/codec_g729_la-codec_g72x.Plo /usr/bin/libtool --tag=disable-static --tag=CC --mode=link cc -DG72X_ASTERISK=160 -I"/usr/local/include" -DG72X_BCG729 -Wall -D_GNU_SOURCE -DG72X_9 -O2 -pipe -avoid-version -module -L/usr/local/lib -L/usr/local/lib -o codec_g729.la -rpath /usr/local/lib/asterisk/modules codec_g729_la-codec_g72x.lo -lbcg729 -lbcg729 libtool: link: cc -shared -fPIC -DPIC -o .libs/codec_g729.so -DG72X_ASTERISK=160 -I/usr/local/include -DG72X_BCG729 -Wall -D_GNU_SOURCE -DG72X_9 -O2 -pipe .libs/codec_g729_la-codec_g72x.o -L.libs -lbcg729 -Wl,-soname,codec_g729.so cd /usr/obj/ports/asterisk-g729-1.4.5/asterisk-g72x-1.4.5; /usr/bin/make astconv CPPFLAGS=-I/usr/local/include CFLAGS="-O2 -pipe -D_GNU_SOURCE -Wall -rdynamic" LDFLAGS=-lm cc -O2 -pipe -D_GNU_SOURCE -Wall -rdynamic -I/usr/local/include -lm -o astconv astconv.c In file included from /usr/local/include/asterisk/utils.h:33, from /usr/local/include/asterisk/module.h:39, from astconv.c:26: /usr/local/include/asterisk/lock.h: In function 'ast_atomic_fetchadd_int': /usr/local/include/asterisk/lock.h:761: warning: implicit declaration of function '__atomic_fetch_add' /usr/local/include/asterisk/lock.h:761: error: '__ATOMIC_RELAXED' undeclared (first use in this function) /usr/local/include/asterisk/lock.h:761: error: (Each undeclared identifier is reported only once /usr/local/include/asterisk/lock.h:761: error: for each function it appears in.) /usr/local/include/asterisk/lock.h: In function 'ast_atomic_dec_and_test': /usr/local/include/asterisk/lock.h:771: warning: implicit declaration of function '__atomic_sub_fetch' /usr/local/include/asterisk/lock.h:771: error: '__ATOMIC_RELAXED' undeclared (first use in this function) *** Error 1 in /usr/obj/ports/asterisk-g729-1.4.5/asterisk-g72x-1.4.5 (:85 'astconv') *** Error 2 in telephony/asterisk-g729 (Makefile:42 'post-build') *** Error 2 in telephony/asterisk-g729 (/usr/ports/infrastructure/mk/bsd.port.mk:3071 '/usr/obj/ports/asterisk-g729-1.4.5/.build_done': @cd ...) *** Error 2 in telephony/asterisk-g729 (/usr/ports/infrastructure/mk/bsd.port.mk:2710 'build': @lock=asterisk-g729-1.4.5; export _LOCKS_HEL...) ===> Exiting telephony/asterisk-g729 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 1769009153.43 max_stuck=0.00/depends=15.64/show-prepare-results=4.88/extract=1.03/patch=0.74/configure=48.50/build=2.77 Error: job failed with 512 on sparc64-2b at 1769009153