[package - main-amd64-default][audio/cava] Failed for cava-0.10.2_2 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 18 Feb 2025 17:36:43 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     vendion@gmail.com
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p7ae51b97b46d_s4152ed2b999/logs/cava-0.10.2_2.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p7ae51b97b46d_s4152ed2b999
Log:

=>> Building audio/cava
build started at Tue Feb 18 17:36:32 UTC 2025
port directory: /usr/ports/audio/cava
package name: cava-0.10.2_2
building for: FreeBSD main-amd64-default-job-07 15.0-CURRENT FreeBSD 15.0-CURRENT 1500032 amd64
maintained by: vendion@gmail.com
Makefile datestamp: -rw-r--r--  1 root wheel 2427 Jan  9 01:01 /usr/ports/audio/cava/Makefile
Ports top last git commit: 7ae51b97b46
Ports top unclean checkout: no
Port dir last git commit: 99b741b5a55
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500028
Jail OSVERSION: 1500032
Job Id: 07




!!! Jail is newer than host. (Jail: 1500032, Host: 1500028) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500032
UNAME_v=FreeBSD 15.0-CURRENT 1500032
UNAME_r=15.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-amd64-default/07/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for cava-0.10.2_2:
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
     VT=on: Build and install custom font for vt(4)
====> Options available for the group INPUT
     JACK=on: Build with JACK support
     OSS=on: Build with OSS support
     PORTAUDIO=on: Build with portaudio support
     PULSEAUDIO=on: Build with pulseaudio support
     SNDIO=on: Build with sndio support
====> Options available for the group OUTPUT
     GLSL=on: Build with GLSL support (implies SDL)
     NCURSES=on: Build with ncurses support
     SDL=on: Build with SDL support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
vendion@gmail.com
--End MAINTAINER--

--CONFIGURE_ARGS--
--disable-input-alsa  --disable-input-pipewire --enable-output-sdl-glsl --enable-input-jack --enable-output-ncurses --enable-input-oss --enable-input-portaudio --enable-input-pulse --enable-output-sdl --enable-input-sndio --enable-cava-font --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/audio/cava/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/audio/cava/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/audio/cava/work/.cache  HOME=/wrkdirs/usr/ports/audio/cava/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/audio/cava/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/audio/cava/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh DEFAULT_AUTOCONF=2.72 CMAKE_PREFIX_PATH="/usr/local" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/audio/cava/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/audio/cava/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/audio/cava/work/.cache  HOME=/wrkdirs/usr/ports/audio/cava/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/audio/cava/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/audio/cava/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DEFAULT_AUTOCONF=2.72 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-I/usr/local/include/iniparser -isystem /usr/local/include"  LDFLAGS=" -fstack-protector-strong " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasin
g   -isystem /usr/local/include " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" PORTEXAMPLES="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/cava"  EXAMPLESDIR="share/examples/cava"  DATADIR="share/cava"  WWWDIR="www/cava"  ETCDIR="etc/cava"
--End PLIST_SUB--

--SUB_LIST--
 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/cava DOCSDIR=/usr/local/share/doc/cava EXAMPLESDIR=/usr/local/share/examples/cava  WWWDIR=/usr/local/www/cava ETCDIR=/usr/local/etc/cava
--End SUB_LIST--

---Begin make.conf---
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  8192
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
pipebuf                         (-y)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   cava-0.10.2_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.0.6.pkg
[main-amd64-default-job-07] Installing pkg-2.0.6...
[main-amd64-default-job-07] Extracting pkg-2.0.6: .......... done
===>   cava-0.10.2_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of cava-0.10.2_2
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License MIT accepted by the user
===> Fetching all distfiles required by cava-0.10.2_2 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License MIT accepted by the user
===> Fetching all distfiles required by cava-0.10.2_2 for building
=> SHA256 Checksum OK for karlstav-cava-0.10.2_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License MIT accepted by the user
===> Fetching all distfiles required by cava-0.10.2_2 for building
===>  Extracting for cava-0.10.2_2
=> SHA256 Checksum OK for karlstav-cava-0.10.2_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
<snip>
[main-amd64-default-job-07] |   |   | `-- Extracting python311-3.11.11: .......... done
[main-amd64-default-job-07] |   |   `-- Extracting py311-packaging-24.2: .......... done
[main-amd64-default-job-07] |   | `-- Extracting glib-2.80.5_1,2: .......... done
[main-amd64-default-job-07] |   `-- Extracting dbus-glib-0.112_1: .......... done
[main-amd64-default-job-07] |   `-- Installing pydbus-common-1.3.2...
[main-amd64-default-job-07] |   `-- Extracting pydbus-common-1.3.2: .......... done
[main-amd64-default-job-07] `-- Extracting py311-dbus-1.3.2: .......... done
[main-amd64-default-job-07] Extracting jackit-1.9.22_2: .......... done
==> Running trigger: gio-modules.ucl
Generating GIO modules cache
==> Running trigger: glib-schemas.ucl
Compiling glib schemas
No schema files found: doing nothing.
=====
Message from python311-3.11.11:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py311-gdbm       databases/py-gdbm@py311
py311-sqlite3    databases/py-sqlite3@py311
py311-tkinter    x11-toolkits/py-tkinter@py311
=====
Message from jackit-1.9.22_2:

--
The new JACK server comes with a DBUS control interface:

$ jack_control help
$ jack_control ds oss
$ jack_control dp
$ jack_control dps rate 48000
$ jack_control dps wordlength 16
$ jack_control dps capture /dev/dsp0
$ jack_control dps playback /dev/dsp0
$ jack_control eps realtime False
$ jack_control start

To use real-time priority for JACK server and clients, load the mac_priority(4)
module and add the JACK user to the realtime group.

Memory locking has to be allowed in /etc/login.conf or ~/.login_conf. Set the
resource limit ":memorylocked=unlimited:" and don't forget to run

# cap_mkdb /etc/login.conf

It's still possible to start JACK server as an RC service for a dedicated user.
Note that only one JACK server can be run at a time. An /etc/rc.conf example:

jackd_enable="YES"
jackd_user="joe"
jackd_args="--no-realtime -doss -r48000 -p1024 -w16 \
            --capture /dev/dsp0 --playback /dev/dsp0"

Official JACK example clients and tools are available as jack-example-tools.

JACK 1.9.22 introduces a latency correction fix.
Latency correction parameters have to be measured again after an update.
===>   cava-0.10.2_2 depends on shared library: libjack.so - found (/usr/local/lib/libjack.so)
===>   Returning to build of cava-0.10.2_2
===>   cava-0.10.2_2 depends on shared library: libportaudio.so - not found
===>   Installing existing package /packages/All/portaudio-19.6.0_7,1.pkg
[main-amd64-default-job-07] Installing portaudio-19.6.0_7,1...
[main-amd64-default-job-07] Extracting portaudio-19.6.0_7,1: .......... done
=====
Message from portaudio-19.6.0_7,1:

--
#
# PortAudio test programs can be built like this:
#
# cd /usr/local/share/examples/portaudio
# cc -L/usr/local/lib -lm -lpthread -lportaudio -I/usr/local/include \
#		pa_unix*.c pa_allocation.c pa_ringbuffer.c pa_debugprint.c \
#		pa_front.c paex_ocean_shore.c
#
===>   cava-0.10.2_2 depends on shared library: libportaudio.so - found (/usr/local/lib/libportaudio.so)
===>   Returning to build of cava-0.10.2_2
===>   cava-0.10.2_2 depends on shared library: libpulse-simple.so - not found
===>   Installing existing package /packages/All/pulseaudio-17.0_2.pkg
[main-amd64-default-job-07] Installing pulseaudio-17.0_2...
[main-amd64-default-job-07] `-- Installing avahi-app-0.8_2...
[main-amd64-default-job-07] |   `-- Installing gdbm-1.24...
[main-amd64-default-job-07] |   `-- Extracting gdbm-1.24: .......... done
[main-amd64-default-job-07] |   `-- Installing gnome_subr-1.0...
[main-amd64-default-job-07] |   `-- Extracting gnome_subr-1.0: .... done
[main-amd64-default-job-07] |   `-- Installing libdaemon-0.14_1...
[main-amd64-default-job-07] |   `-- Extracting libdaemon-0.14_1: .......... done
[main-amd64-default-job-07] |   `-- Installing libevent-2.1.12...
[main-amd64-default-job-07] |   `-- Extracting libevent-2.1.12: .......... done
===> Creating groups
Creating group 'avahi' with gid '558'
===> Creating users
Creating user 'avahi' with uid '558'
[main-amd64-default-job-07] `-- Extracting avahi-app-0.8_2: .......... done
[main-amd64-default-job-07] `-- Installing consolekit2-1.2.6_3...
[main-amd64-default-job-07] |   `-- Installing libevdev-1.13.2...
[main-amd64-default-job-07] |   `-- Extracting libevdev-1.13.2: .......... done
[main-amd64-default-job-07] |   `-- Installing libudev-devd-0.6.0...
[main-amd64-default-job-07] |   `-- Extracting libudev-devd-0.6.0: ........ done
[main-amd64-default-job-07] |   `-- Installing libxslt-1.1.37_1...
[main-amd64-default-job-07] |   | `-- Installing libgcrypt-1.11.0...
[main-amd64-default-job-07] |   |   `-- Installing libgpg-error-1.51...
[main-amd64-default-job-07] |   |   `-- Extracting libgpg-error-1.51: .......... done
[main-amd64-default-job-07] |   | `-- Extracting libgcrypt-1.11.0: .......... done
[main-amd64-default-job-07] |   `-- Extracting libxslt-1.1.37_1: .......... done
[main-amd64-default-job-07] |   `-- Installing polkit-125...
[main-amd64-default-job-07] |   | `-- Installing duktape-lib-2.7.0...
[main-amd64-default-job-07] |   | `-- Extracting duktape-lib-2.7.0: ......... done
===> Creating groups
Creating group 'polkitd' with gid '565'
===> Creating users
Creating user 'polkitd' with uid '565'
[main-amd64-default-job-07] |   `-- Extracting polkit-125: ......... done
[main-amd64-default-job-07] `-- Extracting consolekit2-1.2.6_3: .......... done
[main-amd64-default-job-07] `-- Installing fftw3-float-3.3.10_5...
[main-amd64-default-job-07] `-- Extracting fftw3-float-3.3.10_5: .......... done
[main-amd64-default-job-07] `-- Installing libXtst-1.2.4...
[main-amd64-default-job-07] `-- Extracting libXtst-1.2.4: .......... done
[main-amd64-default-job-07] `-- Installing libltdl-2.5.4...
[main-amd64-default-job-07] `-- Extracting libltdl-2.5.4: .......... done
[main-amd64-default-job-07] `-- Installing libsoxr-0.1.3_3...
[main-amd64-default-job-07] `-- Extracting libsoxr-0.1.3_3: .......... done
[main-amd64-default-job-07] `-- Installing orc-0.4.40...
[main-amd64-default-job-07] `-- Extracting orc-0.4.40: .......... done
[main-amd64-default-job-07] `-- Installing speexdsp-1.2.1...
[main-amd64-default-job-07] `-- Extracting speexdsp-1.2.1: .......... done
[main-amd64-default-job-07] `-- Installing webrtc-audio-processing-1.3...
[main-amd64-default-job-07] |   `-- Installing abseil-20240722.0...
[main-amd64-default-job-07] |   `-- Extracting abseil-20240722.0: .......... done
[main-amd64-default-job-07] `-- Extracting webrtc-audio-processing-1.3: .......... done
===> Creating groups
Creating group 'pulse' with gid '563'
Creating group 'pulse-access' with gid '564'
Creating group 'pulse-rt' with gid '557'
===> Creating users
Creating user 'pulse' with uid '563'
[main-amd64-default-job-07] Extracting pulseaudio-17.0_2: .......... done
=====
Message from pulseaudio-17.0_2:

--
Pulseaudio tries to determine default values for FreeBSD OSS driver at first
start, based on /dev/sndstat output. The hw.snd.default_unit sysctl may affect
these values, but restart of the Pulseaudio might be needed to rescan it again,
e.g. `pacmd exit`.

Pulseaudio has separate input and output configure lines. You can change them
with using following commands:

To change the default sink (output):
# pacmd set-default-sink 3
To change the default source (input):
# pacmd set-default-source 3

This can also be set in /usr/local/etc/pulse/default.pa

Replace the number '3' with the new default you want to set.

The audio/freedesktop-sound-theme is needed if the default sound files
are uncommented in the /usr/local/etc/pulse/default.pa file.
===>   cava-0.10.2_2 depends on shared library: libpulse-simple.so - found (/usr/local/lib/libpulse-simple.so)
===>   Returning to build of cava-0.10.2_2
===>   cava-0.10.2_2 depends on shared library: libpulse.so - found (/usr/local/lib/libpulse.so)
===>   cava-0.10.2_2 depends on shared library: libsndio.so - not found
===>   Installing existing package /packages/All/sndio-1.10.0.pkg
[main-amd64-default-job-07] Installing sndio-1.10.0...
===> Creating groups
Creating group '_sndio' with gid '702'
===> Creating users
Creating user '_sndio' with uid '702'
[main-amd64-default-job-07] Extracting sndio-1.10.0: .......... done
===>   cava-0.10.2_2 depends on shared library: libsndio.so - found (/usr/local/lib/libsndio.so)
===>   Returning to build of cava-0.10.2_2
===>   cava-0.10.2_2 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so)
===>   cava-0.10.2_2 depends on shared library: libSDL2.so - found (/usr/local/lib/libSDL2.so)
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for cava-0.10.2_2
echo 0.10.2 > /wrkdirs/usr/ports/audio/cava/work/cava-0.10.2/version
aclocal: warning: couldn't open directory 'm4': No such file or directory
configure.ac:306: error: _AX_CHECK_GL_MANUAL_LIBS_GENERIC: argument must not be empty
lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
/usr/local/share/aclocal/ax_check_gl.m4:187: _AX_CHECK_GL_MANUAL_LIBS_GENERIC is expanded from...
lib/m4sugar/m4sh.m4:595: AS_CASE is expanded from...
/usr/local/share/aclocal/ax_check_gl.m4:253: AX_CHECK_GL is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
configure.ac:306: the top level
autom4te2.72: error: /usr/local/bin/gm4 failed with exit status: 1
aclocal: error: /usr/local/bin/autom4te2.72 failed with exit status: 1
autoreconf2.72: error: aclocal failed with exit status: 1
===>  Mk/Uses/autoreconf.mk: Error running /usr/local/bin/autoreconf2.72
*** Error code 1

Stop.
make: stopped making "configure" in /usr/ports/audio/cava