>>> Building on exopi-4 under telephony/asterisk-g729 BDEPENDS = [devel/dwz;devel/metaauto;devel/autoconf/2.69;devel/automake/1.16;devel/libdispatch;archivers/bzip2;devel/libtool;telephony/asterisk/20;telephony/bcg729] DIST = [telephony/asterisk-g729:asterisk-g72x-1.4.4.tar.bz2] FULLPKGNAME = asterisk-g729-1.4.4p2 RDEPENDS = [telephony/asterisk/20;telephony/bcg729;devel/libdispatch] (Junk lock obtained for exopi-4 at 1764512754.90) >>> Running depends in telephony/asterisk-g729 at 1764512754.94 last junk was in net/krill /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 dwz-0.16 libdispatch-6.0.3p1 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 dwz-0.16 libdispatch-6.0.3p1 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 dwz-0.16 libdispatch-6.0.3p1 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 1764512763.12 ===> telephony/asterisk-g729 ===> Building from scratch asterisk-g729-1.4.4p2 ===> asterisk-g729-1.4.4p2 depends on: asterisk->=20.0,<21.0 -> asterisk-20.17.0p0 ===> asterisk-g729-1.4.4p2 depends on: metaauto-* -> metaauto-1.0p4 ===> asterisk-g729-1.4.4p2 depends on: autoconf-2.69 -> autoconf-2.69p3 ===> asterisk-g729-1.4.4p2 depends on: automake->=1.16,<1.17 -> automake-1.16.5p0 ===> asterisk-g729-1.4.4p2 depends on: libtool-* -> libtool-2.4.2p3 ===> asterisk-g729-1.4.4p2 depends on: dwz-* -> dwz-0.16 ===> asterisk-g729-1.4.4p2 depends on: bzip2-* -> bzip2-1.0.8p0 ===> asterisk-g729-1.4.4p2 depends on: bcg729-* -> bcg729-1.1.1p0 ===> asterisk-g729-1.4.4p2 depends on: libdispatch-* -> libdispatch-6.0.3p1 ===> Verifying specs: bcg729 c m BlocksRuntime ===> found bcg729.0.2 c.102.2 m.10.1 BlocksRuntime.0.0 asterisk-20.17.0p0 autoconf-2.69p3 automake-1.16.5p0 bcg729-1.1.1p0 bzip2-1.0.8p0 dwz-0.16 libdispatch-6.0.3p1 libtool-2.4.2p3 metaauto-1.0p4 Don't run junk because nojunk in graphics/yacreader (Junk lock released for exopi-4 at 1764512764.61) distfiles size=126735 >>> Running extract in telephony/asterisk-g729 at 1764512764.65 ===> telephony/asterisk-g729 ===> Checking files for asterisk-g729-1.4.4p2 `/exopi-cvs/ports/distfiles/asterisk-g72x-1.4.4.tar.bz2' is up to date. >> (SHA256) all files: OK ===> Extracting for asterisk-g729-1.4.4p2 >>> Running patch in telephony/asterisk-g729 at 1764512764.98 ===> telephony/asterisk-g729 ===> Patching for asterisk-g729-1.4.4p2 ===> 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 ===> Applying OpenBSD patch patch-codec_g72x_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |From 19103066c460de6cb2d8257c558401607a9d7208 Mon Sep 17 00:00:00 2001 |From: =?UTF-8?q?Jos=C3=A9=20Miguel=20Gon=C3=A7alves?= | |Date: Sat, 12 Oct 2024 09:52:25 +0100 |Subject: [PATCH] Call proper Bcg729 functions to release memory (#3) | |From 5024cb422cf58dbf0ae6e00f18092680e33391de Mon Sep 17 00:00:00 2001 |From: InterLinked1 <24227567+InterLinked1@users.noreply.github.com> |Date: Mon, 25 Aug 2025 14:35:42 -0400 |Subject: [PATCH] codec_g72x.c: Convert lingering verbose to ast_debug. | | |Index: codec_g72x.c |--- codec_g72x.c.orig |+++ codec_g72x.c -------------------------- Patching file codec_g72x.c using Plan A... Hunk #1 succeeded at 476. Hunk #2 succeeded at 490. Hunk #3 succeeded at 528. Hunk #4 succeeded at 555. Hunk #5 succeeded at 589. 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 telephony/asterisk-g729 at 1764512765.23 ===> telephony/asterisk-g729 ===> Generating configure for asterisk-g729-1.4.4p2 Running autoreconf-2.69 in /exopi-obj/pobj/asterisk-g729-1.4.4/asterisk-g72x-1.4.4 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.4p2 Using /exopi-obj/pobj/asterisk-g729-1.4.4/config.site (generated) configure: WARNING: unrecognized options: --disable-gtk-doc configure: loading site script /exopi-obj/pobj/asterisk-g729-1.4.4/config.site checking build system type... x86_64-unknown-openbsd7.8 checking host system type... x86_64-unknown-openbsd7.8 checking for a BSD-compatible install... /exopi-obj/pobj/asterisk-g729-1.4.4/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 x86_64-unknown-openbsd7.8 file names to x86_64-unknown-openbsd7.8 format... func_convert_file_noop checking how to convert x86_64-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... 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... 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 (/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... no 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... yes checking whether C compiler accepts -mavx... yes checking whether C compiler accepts -march=core2... yes checking whether C compiler accepts -march=atom... yes checking whether C compiler accepts -march=k8-sse3... yes checking whether C compiler accepts -march=barcelona... yes checking whether C compiler accepts -march=geode... no checking whether C compiler accepts -flto... yes 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: x86_64 CPU -march: native CFLAGS: -O2 -pipe -g -fblocks -I"/usr/local/include" LDFLAGS: configure: WARNING: unrecognized options: --disable-gtk-doc Codecs impl: Bcg729 >>> Running build in telephony/asterisk-g729 at 1764512779.60 ===> telephony/asterisk-g729 ===> Building for asterisk-g729-1.4.4p2 /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 -g -fblocks -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 -g -fblocks -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 codec_g72x.c:734:133: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] 734 | AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, G72X_DESC, .load = load_module, .unload = unload_module, .buildopt_sum = ""); | ^~ /usr/local/include/asterisk/module.h:565:3: note: expanded from macro 'AST_MODULE_INFO' 565 | fields \ | ^~~~~~ codec_g72x.c:734:5: note: previous initialization is here 734 | AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, G72X_DESC, .load = load_module, .unload = unload_module, .buildopt_sum = ""); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/asterisk/module.h:564:19: note: expanded from macro 'AST_MODULE_INFO' 564 | .buildopt_sum = AST_BUILDOPT_SUM, \ | ^~~~~~~~~~~~~~~~ /usr/local/include/asterisk/buildopts.h:7:26: note: expanded from macro 'AST_BUILDOPT_SUM' 7 | #define AST_BUILDOPT_SUM "35365abbc28501b3015f9b6b95e47745" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. 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 -g -fblocks -avoid-version -module -g -lBlocksRuntime -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 -g -fblocks -g .libs/codec_g729_la-codec_g72x.o -L.libs -lBlocksRuntime -lbcg729 -Wl,-soname,codec_g729.so cd /exopi-obj/pobj/asterisk-g729-1.4.4/asterisk-g72x-1.4.4; /usr/bin/make astconv CPPFLAGS=-I/usr/local/include CFLAGS="-O2 -pipe -g -fblocks -D_GNU_SOURCE -Wall -rdynamic" LDFLAGS=-lm cc -O2 -pipe -g -fblocks -D_GNU_SOURCE -Wall -rdynamic -I/usr/local/include -lm -o astconv astconv.c >>> Running package in telephony/asterisk-g729 at 1764512781.10 ===> telephony/asterisk-g729 ===> Faking installation for asterisk-g729-1.4.4p2 mkdir -p '/exopi-obj/pobj/asterisk-g729-1.4.4/fake-amd64/usr/local/lib/asterisk/modules' /usr/bin/libtool --tag=disable-static --mode=install /exopi-obj/pobj/asterisk-g729-1.4.4/bin/install -c codec_g729.la '/exopi-obj/pobj/asterisk-g729-1.4.4/fake-amd64/usr/local/lib/asterisk/modules' libtool: install: /exopi-obj/pobj/asterisk-g729-1.4.4/bin/install -c -m 644 ./.libs/codec_g729.so /exopi-obj/pobj/asterisk-g729-1.4.4/fake-amd64/usr/local/lib/asterisk/modules/codec_g729.so libtool: install: /exopi-obj/pobj/asterisk-g729-1.4.4/bin/install -c -m 644 ./.libs/codec_g729.lai /exopi-obj/pobj/asterisk-g729-1.4.4/fake-amd64/usr/local/lib/asterisk/modules/codec_g729.la /usr/bin/make install-data-hook rm -f "/exopi-obj/pobj/asterisk-g729-1.4.4/fake-amd64/usr/local/lib/asterisk/modules"/codec_g72[39]*.la; /exopi-obj/pobj/asterisk-g729-1.4.4/bin/install -c -m 755 /exopi-obj/pobj/asterisk-g729-1.4.4/asterisk-g72x-1.4.4/astconv /exopi-obj/pobj/asterisk-g729-1.4.4/fake-amd64/usr/local/bin/astconv Reading existing plist for asterisk-g729-1.4.4p2 Writing /exopi-obj/pobj/asterisk-g729-1.4.4/fake-amd64/debug-pkg/Makefile.new Writing /exopi-obj/pobj/asterisk-g729-1.4.4/fake-amd64/debug-pkg/PLIST Renaming /exopi-obj/pobj/asterisk-g729-1.4.4/fake-amd64/debug-pkg/Makefile.new to Makefile > Extracting debug info from /exopi-obj/pobj/asterisk-g729-1.4.4/fake-amd64/usr/local/bin/astconv > Extracting debug info from /exopi-obj/pobj/asterisk-g729-1.4.4/fake-amd64/usr/local/lib/asterisk/modules/codec_g729.so Installing /exopi-cvs/ports/telephony/asterisk-g729/pkg/README as /exopi-obj/pobj/asterisk-g729-1.4.4/fake-amd64/usr/local/share/doc/pkg-readmes/asterisk-g729 ===> Building package for asterisk-g729-1.4.4p2 Create /exopi-cvs/ports/packages/amd64/all/asterisk-g729-1.4.4p2.tgz Creating package asterisk-g729-1.4.4p2 reading plist| checking dependencies| checking dependencies|devel/libdispatch checking dependencies|telephony/asterisk/20,-main checking dependencies|telephony/bcg729 checksumming| checksumming| | 0% checksumming|**** | 6% checksumming|******* | 12% checksumming|*********** | 18% checksumming|************** | 24% checksumming|****************** | 29% checksumming|********************** | 35% checksumming|************************* | 41% checksumming|***************************** | 47% checksumming|******************************** | 53% checksumming|************************************ | 59% checksumming|*************************************** | 65% checksumming|******************************************* | 71% checksumming|*********************************************** | 76% checksumming|************************************************** | 82% checksumming|****************************************************** | 88% checksumming|********************************************************* | 94% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving| | 1% archiving|***************************** | 45% archiving|*************************************************************** | 98% archiving|****************************************************************|100% Creating package debug-asterisk-g729-1.4.4p2 reading plist| checking dependencies| checking dependencies|devel/libdispatch checking dependencies|telephony/asterisk-g729 checking dependencies|telephony/asterisk/20,-main checking dependencies|telephony/bcg729 checksumming| checksumming| | 0% checksumming|*** | 5% checksumming|****** | 11% checksumming|********** | 16% checksumming|************* | 21% checksumming|**************** | 26% checksumming|******************* | 32% checksumming|********************** | 37% checksumming|************************** | 42% checksumming|***************************** | 47% checksumming|******************************** | 53% checksumming|*********************************** | 58% checksumming|*************************************** | 63% checksumming|****************************************** | 68% checksumming|********************************************* | 74% checksumming|************************************************ | 79% checksumming|*************************************************** | 84% checksumming|******************************************************* | 89% checksumming|********************************************************** | 95% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|******************************* | 49% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/asterisk-g729-1.4.4p2.tgz Link to /exopi-cvs/ports/packages/amd64/ftp/debug-asterisk-g729-1.4.4p2.tgz >>> Running clean in telephony/asterisk-g729 at 1764512791.64 ===> telephony/asterisk-g729 ===> Cleaning for asterisk-g729-1.4.4p2 >>> Ended at 1764512791.83 max_stuck=0.36/depends=8.19/show-prepare-results=1.52/extract=0.34/patch=0.24/configure=14.36/build=1.50/package=10.55/clean=0.22