>>> alsa-lib: Building user/alsa-lib 1.2.6.1-r0 (using abuild 3.4.2-r1) started Sat, 19 Feb 2022 05:24:58 +0000 >>> alsa-lib: Checking sanity of /root/adelie/user/alsa-lib/APKBUILD... >>> alsa-lib: Analyzing dependencies... (1/1) Installing .makedepends-alsa-lib (20220219.052458) OK: 576 MiB in 211 packages >>> alsa-lib: Cleaning temporary build dirs... >>> alsa-lib: Fetching http://www.alsa-project.org/files/pub/lib/alsa-lib-1.2.6.1.tar.bz2 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 169 100 169 0 0 4245 0 --:--:-- --:--:-- --:--:-- 4333 100 1054k 100 1054k 0 0 4029k 0 --:--:-- --:--:-- --:--:-- 4029k >>> alsa-lib: Fetching http://www.alsa-project.org/files/pub/lib/alsa-lib-1.2.6.1.tar.bz2 >>> alsa-lib: Checking sha512sums... alsa-lib-1.2.6.1.tar.bz2: OK remove-test.patch: OK type_compat.patch: OK >>> alsa-lib: Unpacking /var/cache/distfiles/alsa-lib-1.2.6.1.tar.bz2... >>> alsa-lib: remove-test.patch patching file test/Makefile.am patching file test/Makefile.in Hunk #3 succeeded at 219 with fuzz 1 (offset -1 lines). Hunk #4 succeeded at 437 (offset 1 line). Hunk #5 succeeded at 521 (offset 1 line). Hunk #6 succeeded at 571 (offset 1 line). >>> alsa-lib: type_compat.patch patching file src/topology/tplg_local.h Hunk #1 succeeded at 19 with fuzz 1 (offset 1 line). checking build system type... x86_64-foxkit-linux-musl checking host system type... x86_64-foxkit-linux-musl checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... (cached) yes checking for x86_64-foxkit-linux-musl-gcc... gcc 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... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether ln -s works... yes checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/x86_64-foxkit-linux-musl/bin/ld checking if the linker (/usr/x86_64-foxkit-linux-musl/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 the maximum length of command line arguments... 98304 checking how to convert x86_64-foxkit-linux-musl file names to x86_64-foxkit-linux-musl format... func_convert_file_noop checking how to convert x86_64-foxkit-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-foxkit-linux-musl/bin/ld option to reload object files... -r checking for x86_64-foxkit-linux-musl-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-foxkit-linux-musl-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-foxkit-linux-musl-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-foxkit-linux-musl-strip... no checking for strip... strip checking for x86_64-foxkit-linux-musl-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-foxkit-linux-musl-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/x86_64-foxkit-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no 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 if gcc supports -Wl,--no-undefined flag... yes checking if gcc supports -Wl,-z,defs flag... yes checking for ANSI C header files... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for uselocale... yes checking for eaccess... yes checking for library version... major 1 minor 2 subminor 6 extrastr extraver 1000000 checking for versioned symbols... no checking for symbolic-functions... no checking for custom symbol prefixes... checking for debug... yes checking for debug assert... no checking for tmpdir... /tmp checking for softfloat... no checking for libdl... checking for dlsym in -ldl... yes checking for pthread... checking for pthread_join in -lpthread... yes checking whether PTHREAD_MUTEX_RECURSIVE is declared... yes checking for __thread... yes checking for librt... checking for clock_gettime in -lrt... yes checking for use of wordexp... no checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking sys/endian.h usability... no checking sys/endian.h presence... no checking for sys/endian.h... no checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking for resmgr support... no checking for aload* support... yes checking for ALSA device file directory... /dev/snd/ checking for aload* device file directory... /dev/ checking whether GCC supports builtin atomic intrinsics... yes checking for default lockless dmix... no checking for max number of cards... 32 checking for thread-safe API functions... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating doc/pictures/Makefile config.status: creating doc/doxygen.cfg config.status: creating include/Makefile config.status: creating include/sound/Makefile config.status: creating include/sound/uapi/Makefile config.status: creating src/Versions config.status: creating src/Makefile config.status: creating src/control/Makefile config.status: creating src/mixer/Makefile config.status: creating src/pcm/Makefile config.status: creating src/pcm/scopes/Makefile config.status: creating src/rawmidi/Makefile config.status: creating src/timer/Makefile config.status: creating src/hwdep/Makefile config.status: creating src/seq/Makefile config.status: creating src/ucm/Makefile config.status: creating src/alisp/Makefile config.status: creating src/topology/Makefile config.status: creating src/conf/Makefile config.status: creating src/conf/cards/Makefile config.status: creating src/conf/ctl/Makefile config.status: creating src/conf/pcm/Makefile config.status: creating modules/Makefile config.status: creating modules/mixer/Makefile config.status: creating modules/mixer/simple/Makefile config.status: creating alsalisp/Makefile config.status: creating aserver/Makefile config.status: creating test/Makefile config.status: creating test/lsb/Makefile config.status: creating utils/Makefile config.status: creating utils/alsa-lib.spec config.status: creating utils/alsa.pc config.status: creating utils/alsa-topology.pc config.status: creating include/config.h config.status: executing depfiles commands config.status: executing libtool commands Creating asoundlib.h... Making all in doc make[1]: Entering directory '/root/adelie/user/alsa-lib/src/alsa-lib-1.2.6.1/doc' Making all in pictures make[2]: Entering directory '/root/adelie/user/alsa-lib/src/alsa-lib-1.2.6.1/doc/pictures' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/root/adelie/user/alsa-lib/src/alsa-lib-1.2.6.1/doc/pictures' make[2]: Entering directory '/root/adelie/user/alsa-lib/src/alsa-lib-1.2.6.1/doc' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/root/adelie/user/alsa-lib/src/alsa-lib-1.2.6.1/doc' make[1]: Leaving directory '/root/adelie/user/alsa-lib/src/alsa-lib-1.2.6.1/doc' Making all in include make[1]: Entering directory '/root/adelie/user/alsa-lib/src/alsa-lib-1.2.6.1/include' make all-recursive make[2]: Entering directory '/root/adelie/user/alsa-lib/src/alsa-lib-1.2.6.1/include' Making all in sound make[3]: Entering directory '/root/adelie/user/alsa-lib/src/alsa-lib-1.2.6.1/include/sound' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/root/adelie/user/alsa-lib/src/alsa-lib-1.2.6.1/include/sound' make[3]: Entering directory '/root/adelie/user/alsa-lib/src/alsa-lib-1.2.6.1/include' if ! test -r alsa/local.h; then \ ln -s ../include alsa; \ fi for f in asoundlib.h version.h; do \ if ! test -r ../include/$f; then \ ln -s /root/adelie/user/alsa-lib/src/alsa-lib-1.2.6.1/include/$f ../include/$f; \ fi; \ done make[3]: Leaving directory '/root/adelie/user/alsa-lib/src/alsa-lib-1.2.6.1/include' make[2]: Leaving directory '/root/adelie/user/alsa-lib/src/alsa-lib-1.2.6.1/include' make[1]: Leaving directory '/root/adelie/user/alsa-lib/src/alsa-lib-1.2.6.1/include' Making all in src make[1]: Entering directory '/root/adelie/user/alsa-lib/src/alsa-lib-1.2.6.1/src' Making all in control make[2]: Entering directory '/root/adelie/user/alsa-lib/src/alsa-lib-1.2.6.1/src/control' CC cards.lo CC tlv.lo CC namehint.lo CC hcontrol.lo CC control.lo CC control_hw.lo CC control_empty.lo CC setup.lo CC ctlparse.lo CC control_plugin.lo CC control_symbols.lo CC control_remap.lo CC control_shm.lo CC control_ext.lo CCLD libcontrol.la ar: `u' modifier ignored since `D' is the default (see `U') make[2]: Leaving directory '/root/adelie/user/alsa-lib/src/alsa-lib-1.2.6.1/src/control' Making all in mixer make[2]: Entering directory '/root/adelie/user/alsa-lib/src/alsa-lib-1.2.6.1/src/mixer' CC bag.lo CC mixer.lo CC simple.lo CC simple_none.lo CC simple_abst.lo CCLD libmixer.la ar: `u' modifier ignored since `D' is the default (see `U') make[2]: Leaving directory '/root/adelie/user/alsa-lib/src/alsa-lib-1.2.6.1/src/mixer' Making all in pcm make[2]: Entering directory '/root/adelie/user/alsa-lib/src/alsa-lib-1.2.6.1/src/pcm' CC mask.lo make[3]: Entering directory '/root/adelie/user/alsa-lib/src/alsa-lib-1.2.6.1/src/pcm' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/root/adelie/user/alsa-lib/src/alsa-lib-1.2.6.1/src/pcm' CC interval.lo CC pcm.lo CC pcm_params.lo CC pcm_simple.lo CC pcm_hw.lo CC pcm_misc.lo CC pcm_mmap.lo CC pcm_symbols.lo CC pcm_generic.lo CC pcm_plugin.lo CC pcm_copy.lo CC pcm_linear.lo CC pcm_route.lo CC pcm_mulaw.lo CC pcm_alaw.lo CC pcm_adpcm.lo CC pcm_rate.lo CC pcm_rate_linear.lo CC pcm_plug.lo CC pcm_multi.lo CC pcm_shm.lo CC pcm_file.lo CC pcm_null.lo CC pcm_empty.lo CC pcm_share.lo CC pcm_meter.lo CC pcm_hooks.lo CC pcm_lfloat.lo CC pcm_ladspa.lo CC pcm_dmix.lo CC pcm_dshare.lo CC pcm_dsnoop.lo CC pcm_direct.lo CC pcm_asym.lo CC pcm_iec958.lo CC pcm_softvol.lo CC pcm_extplug.lo CC pcm_ioplug.lo CC pcm_mmap_emul.lo CCLD libpcm.la ar: `u' modifier ignored since `D' is the default (see `U') make[2]: Leaving directory '/root/adelie/user/alsa-lib/src/alsa-lib-1.2.6.1/src/pcm' Making all in timer make[2]: Entering directory '/root/adelie/user/alsa-lib/src/alsa-lib-1.2.6.1/src/timer' CC timer.lo CC timer_hw.lo CC timer_query.lo CC timer_query_hw.lo CC timer_symbols.lo CCLD libtimer.la ar: `u' modifier ignored since `D' is the default (see `U') make[2]: Leaving directory '/root/adelie/user/alsa-lib/src/alsa-lib-1.2.6.1/src/timer' Making all in rawmidi make[2]: Entering directory '/root/adelie/user/alsa-lib/src/alsa-lib-1.2.6.1/src/rawmidi' CC rawmidi.lo CC rawmidi_hw.lo rawmidi.c: In function ‘snd_rawmidi_params_default’: rawmidi.c:166:8: error: ‘snd_rawmidi_params_t’ {aka ‘struct snd_rawmidi_params’} has no member named ‘mode’ params->mode = 0; ^~ rawmidi_hw.c: In function ‘snd_rawmidi_hw_params’: rawmidi_hw.c:118:18: error: ‘snd_rawmidi_params_t’ {aka ‘struct snd_rawmidi_params’} has no member named ‘mode’ tstamp = (params->mode & SNDRV_RAWMIDI_MODE_FRAMING_MASK) == SNDRV_RAWMIDI_MODE_FRAMING_TSTAMP; ^~ rawmidi.c: In function ‘snd_rawmidi_params_set_read_mode’: rawmidi.c:844:13: error: ‘SNDRV_RAWMIDI_MODE_FRAMING_NONE’ undeclared (first use in this function); did you mean ‘SNDRV_RAWMIDI_IOCTL_DRAIN’? framing = SNDRV_RAWMIDI_MODE_FRAMING_NONE; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SNDRV_RAWMIDI_IOCTL_DRAIN rawmidi.c:844:13: note: each undeclared identifier is reported only once for each function it appears in rawmidi_hw.c:118:27: error: ‘SNDRV_RAWMIDI_MODE_FRAMING_MASK’ undeclared (first use in this function); did you mean ‘SNDRV_RAWMIDI_STREAM_LAST’? tstamp = (params->mode & SNDRV_RAWMIDI_MODE_FRAMING_MASK) == SNDRV_RAWMIDI_MODE_FRAMING_TSTAMP; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SNDRV_RAWMIDI_STREAM_LAST rawmidi_hw.c:118:27: note: each undeclared identifier is reported only once for each function it appears in rawmidi.c:849:13: error: ‘SNDRV_RAWMIDI_MODE_FRAMING_TSTAMP’ undeclared (first use in this function); did you mean ‘SND_RAWMIDI_READ_TSTAMP’? framing = SNDRV_RAWMIDI_MODE_FRAMING_TSTAMP; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SND_RAWMIDI_READ_TSTAMP rawmidi.c:858:8: error: ‘snd_rawmidi_params_t’ {aka ‘struct snd_rawmidi_params’} has no member named ‘mode’ params->mode = (params->mode & ~SNDRV_RAWMIDI_MODE_FRAMING_MASK) | framing; ^~ rawmidi.c:858:24: error: ‘snd_rawmidi_params_t’ {aka ‘struct snd_rawmidi_params’} has no member named ‘mode’ params->mode = (params->mode & ~SNDRV_RAWMIDI_MODE_FRAMING_MASK) | framing; ^~ rawmidi_hw.c:118:63: error: ‘SNDRV_RAWMIDI_MODE_FRAMING_TSTAMP’ undeclared (first use in this function); did you mean ‘SND_RAWMIDI_READ_TSTAMP’? tstamp = (params->mode & SNDRV_RAWMIDI_MODE_FRAMING_MASK) == SNDRV_RAWMIDI_MODE_FRAMING_TSTAMP; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SND_RAWMIDI_READ_TSTAMP rawmidi_hw.c: In function ‘read_from_ts_buf’: rawmidi_hw.c:203:32: error: dereferencing pointer to incomplete type ‘struct snd_rawmidi_framing_tstamp’ while (hw->buf_fill >= sizeof(*f)) { ^~ rawmidi_hw.c:211:4: error: increment of pointer to an incomplete type ‘struct snd_rawmidi_framing_tstamp’ f++; ^~ rawmidi.c:858:34: error: ‘SNDRV_RAWMIDI_MODE_FRAMING_MASK’ undeclared (first use in this function); did you mean ‘SNDRV_RAWMIDI_STREAM_LAST’? params->mode = (params->mode & ~SNDRV_RAWMIDI_MODE_FRAMING_MASK) | framing; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SNDRV_RAWMIDI_STREAM_LAST rawmidi.c: In function ‘snd_rawmidi_params_get_read_mode’: rawmidi.c:872:18: error: ‘snd_rawmidi_params_t’ {aka ‘const struct snd_rawmidi_params’} has no member named ‘mode’ framing = params->mode & SNDRV_RAWMIDI_MODE_FRAMING_MASK; ^~ rawmidi_hw.c:217:37: error: ‘SNDRV_RAWMIDI_FRAMING_DATA_LENGTH’ undeclared (first use in this function); did you mean ‘SNDRV_RAWMIDI_INFO_DUPLEX’? if (f->length == 0 || f->length > SNDRV_RAWMIDI_FRAMING_DATA_LENGTH) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SNDRV_RAWMIDI_INFO_DUPLEX rawmidi_hw.c:238:4: error: increment of pointer to an incomplete type ‘struct snd_rawmidi_framing_tstamp’ f++; ^~ rawmidi_hw.c: In function ‘snd_rawmidi_hw_tread’: rawmidi_hw.c:256:30: error: invalid application of ‘sizeof’ to incomplete type ‘struct snd_rawmidi_framing_tstamp’ hw->buf_fill >= sizeof(struct snd_rawmidi_framing_tstamp)) ^~~~~~ rawmidi_hw.c:266:28: error: invalid application of ‘sizeof’ to incomplete type ‘struct snd_rawmidi_framing_tstamp’ if (ret < (ssize_t)sizeof(struct snd_rawmidi_framing_tstamp)) ^~~~~~ rawmidi.c:872:27: error: ‘SNDRV_RAWMIDI_MODE_FRAMING_MASK’ undeclared (first use in this function); did you mean ‘SNDRV_RAWMIDI_STREAM_LAST’? framing = params->mode & SNDRV_RAWMIDI_MODE_FRAMING_MASK; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SNDRV_RAWMIDI_STREAM_LAST rawmidi_hw.c: In function ‘snd_rawmidi_hw_open’: rawmidi_hw.c:371:13: error: ‘SNDRV_RAWMIDI_IOCTL_USER_PVERSION’ undeclared (first use in this function); did you mean ‘SNDRV_RAWMIDI_IOCTL_PVERSION’? ioctl(fd, SNDRV_RAWMIDI_IOCTL_USER_PVERSION, &user_ver); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SNDRV_RAWMIDI_IOCTL_PVERSION make[2]: *** [Makefile:393: rawmidi_hw.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... rawmidi.c:873:17: error: ‘SNDRV_RAWMIDI_MODE_FRAMING_TSTAMP’ undeclared (first use in this function); did you mean ‘SND_RAWMIDI_READ_TSTAMP’? if (framing == SNDRV_RAWMIDI_MODE_FRAMING_TSTAMP) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SND_RAWMIDI_READ_TSTAMP rawmidi.c: In function ‘snd_rawmidi_params_set_clock_type’: rawmidi.c:893:12: error: ‘SNDRV_RAWMIDI_MODE_CLOCK_MASK’ undeclared (first use in this function); did you mean ‘SND_RAWMIDI_CLOCK_NONE’? if (val > SNDRV_RAWMIDI_MODE_CLOCK_MASK >> SNDRV_RAWMIDI_MODE_CLOCK_SHIFT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SND_RAWMIDI_CLOCK_NONE rawmidi.c:893:45: error: ‘SNDRV_RAWMIDI_MODE_CLOCK_SHIFT’ undeclared (first use in this function); did you mean ‘SND_RAWMIDI_CLOCK_NONE’? if (val > SNDRV_RAWMIDI_MODE_CLOCK_MASK >> SNDRV_RAWMIDI_MODE_CLOCK_SHIFT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SND_RAWMIDI_CLOCK_NONE rawmidi.c:895:13: error: ‘SNDRV_RAWMIDI_MODE_CLOCK_NONE’ undeclared (first use in this function); did you mean ‘SND_RAWMIDI_CLOCK_NONE’? if (val != SNDRV_RAWMIDI_MODE_CLOCK_NONE && ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SND_RAWMIDI_CLOCK_NONE rawmidi.c:898:8: error: ‘snd_rawmidi_params_t’ {aka ‘struct snd_rawmidi_params’} has no member named ‘mode’ params->mode = (params->mode & ~SNDRV_RAWMIDI_MODE_CLOCK_MASK) + (val << SNDRV_RAWMIDI_MODE_CLOCK_SHIFT); ^~ rawmidi.c:898:24: error: ‘snd_rawmidi_params_t’ {aka ‘struct snd_rawmidi_params’} has no member named ‘mode’ params->mode = (params->mode & ~SNDRV_RAWMIDI_MODE_CLOCK_MASK) + (val << SNDRV_RAWMIDI_MODE_CLOCK_SHIFT); ^~ rawmidi.c: In function ‘snd_rawmidi_params_get_clock_type’: rawmidi.c:910:16: error: ‘snd_rawmidi_params_t’ {aka ‘const struct snd_rawmidi_params’} has no member named ‘mode’ return (params->mode & SNDRV_RAWMIDI_MODE_CLOCK_MASK) >> SNDRV_RAWMIDI_MODE_CLOCK_SHIFT; ^~ rawmidi.c:910:25: error: ‘SNDRV_RAWMIDI_MODE_CLOCK_MASK’ undeclared (first use in this function); did you mean ‘SND_RAWMIDI_CLOCK_NONE’? return (params->mode & SNDRV_RAWMIDI_MODE_CLOCK_MASK) >> SNDRV_RAWMIDI_MODE_CLOCK_SHIFT; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SND_RAWMIDI_CLOCK_NONE rawmidi.c:910:59: error: ‘SNDRV_RAWMIDI_MODE_CLOCK_SHIFT’ undeclared (first use in this function); did you mean ‘SND_RAWMIDI_CLOCK_NONE’? return (params->mode & SNDRV_RAWMIDI_MODE_CLOCK_MASK) >> SNDRV_RAWMIDI_MODE_CLOCK_SHIFT; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SND_RAWMIDI_CLOCK_NONE rawmidi.c: In function ‘snd_rawmidi_params’: rawmidi.c:931:88: error: ‘snd_rawmidi_params_t’ {aka ‘struct snd_rawmidi_params’} has no member named ‘mode’ rawmidi->params_mode = rawmidi->version < SNDRV_PROTOCOL_VERSION(2, 0, 2) ? 0 : params->mode; ^~ rawmidi.c: In function ‘snd_rawmidi_params_current’: rawmidi.c:948:8: error: ‘snd_rawmidi_params_t’ {aka ‘struct snd_rawmidi_params’} has no member named ‘mode’ params->mode = rawmidi->params_mode; ^~ rawmidi.c: In function ‘snd_rawmidi_read’: rawmidi.c:1098:30: error: ‘SNDRV_RAWMIDI_MODE_FRAMING_MASK’ undeclared (first use in this function); did you mean ‘SNDRV_RAWMIDI_STREAM_LAST’? if ((rawmidi->params_mode & SNDRV_RAWMIDI_MODE_FRAMING_MASK) == SNDRV_RAWMIDI_MODE_FRAMING_TSTAMP) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SNDRV_RAWMIDI_STREAM_LAST rawmidi.c:1098:66: error: ‘SNDRV_RAWMIDI_MODE_FRAMING_TSTAMP’ undeclared (first use in this function); did you mean ‘SND_RAWMIDI_READ_TSTAMP’? if ((rawmidi->params_mode & SNDRV_RAWMIDI_MODE_FRAMING_MASK) == SNDRV_RAWMIDI_MODE_FRAMING_TSTAMP) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SND_RAWMIDI_READ_TSTAMP rawmidi.c:1099:20: error: invalid application of ‘sizeof’ to incomplete type ‘struct snd_rawmidi_framing_tstamp’ size &= ~(sizeof(struct snd_rawmidi_framing_tstamp) - 1); ^~~~~~ rawmidi.c: In function ‘snd_rawmidi_tread’: rawmidi.c:1117:30: error: ‘SNDRV_RAWMIDI_MODE_FRAMING_MASK’ undeclared (first use in this function); did you mean ‘SNDRV_RAWMIDI_STREAM_LAST’? if ((rawmidi->params_mode & SNDRV_RAWMIDI_MODE_FRAMING_MASK) == SNDRV_RAWMIDI_MODE_FRAMING_TSTAMP) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SNDRV_RAWMIDI_STREAM_LAST rawmidi.c:1117:66: error: ‘SNDRV_RAWMIDI_MODE_FRAMING_TSTAMP’ undeclared (first use in this function); did you mean ‘SND_RAWMIDI_READ_TSTAMP’? if ((rawmidi->params_mode & SNDRV_RAWMIDI_MODE_FRAMING_MASK) == SNDRV_RAWMIDI_MODE_FRAMING_TSTAMP) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SND_RAWMIDI_READ_TSTAMP make[2]: *** [Makefile:393: rawmidi.lo] Error 1 make[2]: Leaving directory '/root/adelie/user/alsa-lib/src/alsa-lib-1.2.6.1/src/rawmidi' make[1]: *** [Makefile:555: all-recursive] Error 1 make[1]: Leaving directory '/root/adelie/user/alsa-lib/src/alsa-lib-1.2.6.1/src' make: *** [Makefile:405: all-recursive] Error 1 >>> ERROR: alsa-lib: build failed >>> alsa-lib: Uninstalling dependencies... (1/1) Purging .makedepends-alsa-lib (20220219.052458) OK: 576 MiB in 210 packages >>> ERROR: pavucontrol-qt: builddeps failed >>> pavucontrol-qt: Uninstalling dependencies... ERROR: No such package: .makedepends-pavucontrol-qt root@amaterasu ~/a/u/pavucontrol-qt (lxqt/1.0) [1]#