+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/openal-soft-1.22.2nb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/openal-soft-1.22.2nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for openal-soft-1.22.2nb1 [ 1%] Building CXX object CMakeFiles/common.dir/common/alfstream.cpp.o [ 2%] Building CXX object CMakeFiles/common.dir/common/alcomplex.cpp.o [ 3%] Building CXX object CMakeFiles/common.dir/common/almalloc.cpp.o [ 4%] Building CXX object CMakeFiles/common.dir/common/alstring.cpp.o [ 4%] Building CXX object CMakeFiles/common.dir/common/dynload.cpp.o [ 5%] Building CXX object CMakeFiles/common.dir/common/polyphase_resampler.cpp.o [ 6%] Building CXX object CMakeFiles/common.dir/common/ringbuffer.cpp.o [ 7%] Building CXX object CMakeFiles/common.dir/common/strutils.cpp.o [ 8%] Building CXX object CMakeFiles/common.dir/common/threads.cpp.o [ 9%] Linking CXX static library libcommon.a [ 9%] Built target common [ 9%] Generating hrtf_default.h [ 10%] Building CXX object CMakeFiles/sofa-support.dir/utils/sofa-support.cpp.o [ 11%] Building CXX object CMakeFiles/OpenAL.dir/al/auxeffectslot.cpp.o [ 12%] Linking CXX static library libsofa-support.a [ 12%] Built target sofa-support [ 13%] Building CXX object CMakeFiles/makemhr.dir/utils/makemhr/loaddef.cpp.o [ 14%] Building CXX object CMakeFiles/OpenAL.dir/al/buffer.cpp.o [ 15%] Building CXX object CMakeFiles/makemhr.dir/utils/makemhr/loadsofa.cpp.o /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/al/buffer.cpp: In function 'void {anonymous}::DecodeMSADPCMBlock(int16_t*, const byte*, size_t, size_t)': /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/al/buffer.cpp:201:31: warning: conversion to 'al::byte {aka unsigned char}' from 'int' may alter its value [-Wconversion] nibble = *src >> 4; ~~~~~^~~~ [ 16%] Building CXX object CMakeFiles/OpenAL.dir/al/effect.cpp.o [ 17%] Building CXX object CMakeFiles/makemhr.dir/utils/makemhr/makemhr.cpp.o /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/utils/makemhr/makemhr.cpp: In function 'int main(int, char**)': /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/utils/makemhr/makemhr.cpp:1548:16: error: 'getopt' was not declared in this scope while((opt=getopt(argc, argv, "r:maj:f:e:s:l:w:d:c:e:i:o:h")) != -1) ^~~~~~ /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/utils/makemhr/makemhr.cpp:1548:16: note: suggested alternative: 'getpt' while((opt=getopt(argc, argv, "r:maj:f:e:s:l:w:d:c:e:i:o:h")) != -1) ^~~~~~ getpt /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/utils/makemhr/makemhr.cpp:1553:49: error: 'optarg' was not declared in this scope outRate = static_cast(strtoul(optarg, &end, 10)); ^~~~~~ /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/utils/makemhr/makemhr.cpp:1553:49: note: suggested alternative: 'opt' outRate = static_cast(strtoul(optarg, &end, 10)); ^~~~~~ opt [ 18%] Building CXX object CMakeFiles/OpenAL.dir/al/effects/autowah.cpp.o make[2]: *** [CMakeFiles/makemhr.dir/utils/makemhr/makemhr.cpp.o] Error 1 make[1]: *** [CMakeFiles/makemhr.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 19%] Building CXX object CMakeFiles/OpenAL.dir/al/effects/chorus.cpp.o [ 20%] Building CXX object CMakeFiles/OpenAL.dir/al/effects/compressor.cpp.o [ 21%] Building CXX object CMakeFiles/OpenAL.dir/al/effects/convolution.cpp.o [ 22%] Building CXX object CMakeFiles/OpenAL.dir/al/effects/dedicated.cpp.o [ 23%] Building CXX object CMakeFiles/OpenAL.dir/al/effects/distortion.cpp.o [ 24%] Building CXX object CMakeFiles/OpenAL.dir/al/effects/echo.cpp.o [ 25%] Building CXX object CMakeFiles/OpenAL.dir/al/effects/effects.cpp.o [ 26%] Building CXX object CMakeFiles/OpenAL.dir/al/effects/equalizer.cpp.o [ 27%] Building CXX object CMakeFiles/OpenAL.dir/al/effects/fshifter.cpp.o [ 28%] Building CXX object CMakeFiles/OpenAL.dir/al/effects/modulator.cpp.o [ 29%] Building CXX object CMakeFiles/OpenAL.dir/al/effects/null.cpp.o [ 30%] Building CXX object CMakeFiles/OpenAL.dir/al/effects/pshifter.cpp.o [ 30%] Building CXX object CMakeFiles/OpenAL.dir/al/effects/reverb.cpp.o [ 31%] Building CXX object CMakeFiles/OpenAL.dir/al/effects/vmorpher.cpp.o [ 32%] Building CXX object CMakeFiles/OpenAL.dir/al/error.cpp.o [ 33%] Building CXX object CMakeFiles/OpenAL.dir/al/event.cpp.o [ 34%] Building CXX object CMakeFiles/OpenAL.dir/al/extension.cpp.o [ 35%] Building CXX object CMakeFiles/OpenAL.dir/al/filter.cpp.o [ 36%] Building CXX object CMakeFiles/OpenAL.dir/al/listener.cpp.o [ 37%] Building CXX object CMakeFiles/OpenAL.dir/al/source.cpp.o [ 38%] Building CXX object CMakeFiles/OpenAL.dir/al/state.cpp.o [ 39%] Building CXX object CMakeFiles/OpenAL.dir/alc/alc.cpp.o [ 40%] Building CXX object CMakeFiles/OpenAL.dir/alc/alu.cpp.o [ 41%] Building CXX object CMakeFiles/OpenAL.dir/alc/alconfig.cpp.o [ 42%] Building CXX object CMakeFiles/OpenAL.dir/alc/context.cpp.o [ 43%] Building CXX object CMakeFiles/OpenAL.dir/alc/device.cpp.o [ 44%] Building CXX object CMakeFiles/OpenAL.dir/alc/effects/autowah.cpp.o [ 45%] Building CXX object CMakeFiles/OpenAL.dir/alc/effects/chorus.cpp.o [ 46%] Building CXX object CMakeFiles/OpenAL.dir/alc/effects/compressor.cpp.o [ 47%] Building CXX object CMakeFiles/OpenAL.dir/alc/effects/convolution.cpp.o [ 47%] Building CXX object CMakeFiles/OpenAL.dir/alc/effects/dedicated.cpp.o [ 48%] Building CXX object CMakeFiles/OpenAL.dir/alc/effects/distortion.cpp.o [ 50%] Building CXX object CMakeFiles/OpenAL.dir/alc/effects/echo.cpp.o [ 51%] Building CXX object CMakeFiles/OpenAL.dir/alc/effects/equalizer.cpp.o [ 52%] Building CXX object CMakeFiles/OpenAL.dir/alc/effects/fshifter.cpp.o [ 53%] Building CXX object CMakeFiles/OpenAL.dir/alc/effects/modulator.cpp.o [ 54%] Building CXX object CMakeFiles/OpenAL.dir/alc/effects/null.cpp.o [ 55%] Building CXX object CMakeFiles/OpenAL.dir/alc/effects/pshifter.cpp.o [ 56%] Building CXX object CMakeFiles/OpenAL.dir/alc/effects/reverb.cpp.o [ 57%] Building CXX object CMakeFiles/OpenAL.dir/alc/effects/vmorpher.cpp.o [ 58%] Building CXX object CMakeFiles/OpenAL.dir/alc/panning.cpp.o [ 59%] Building CXX object CMakeFiles/OpenAL.dir/alc/backends/base.cpp.o [ 60%] Building CXX object CMakeFiles/OpenAL.dir/alc/backends/loopback.cpp.o [ 61%] Building CXX object CMakeFiles/OpenAL.dir/alc/backends/null.cpp.o [ 62%] Building CXX object CMakeFiles/OpenAL.dir/alc/backends/alsa.cpp.o [ 63%] Building CXX object CMakeFiles/OpenAL.dir/alc/backends/oss.cpp.o In file included from /home/pbulk/build/audio/openal-soft/work/.buildlink/include/alsa/asoundlib.h:54:0, from /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/alc/backends/alsa.cpp:51: /home/pbulk/build/audio/openal-soft/work/.buildlink/include/alsa/pcm.h:624:20: warning: ISO C++ forbids zero-size array 'pos' [-Wpedantic] unsigned int pos[0]; /**< channel position array */ ^ /home/pbulk/build/audio/openal-soft/work/.buildlink/include/alsa/pcm.h:630:18: warning: invalid use of 'struct snd_pcm_chmap' with a zero-size array in 'struct snd_pcm_chmap_query' [-Wpedantic] snd_pcm_chmap_t map; /**< available channel map */ ^~~ /home/pbulk/build/audio/openal-soft/work/.buildlink/include/alsa/pcm.h:624:20: note: array member 'unsigned int snd_pcm_chmap::pos [0]' declared here unsigned int pos[0]; /**< channel position array */ ^ [ 64%] Building CXX object CMakeFiles/OpenAL.dir/alc/backends/wave.cpp.o /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/alc/backends/alsa.cpp: In function 'al::vector<{anonymous}::DevMap> {anonymous}::probe_devices(snd_pcm_stream_t)': /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/alc/backends/alsa.cpp:244:8: warning: inlining failed in call to '{anonymous}::DevMap::~DevMap() noexcept': call is unlikely and code size would grow [-Winline] struct DevMap { ^~~~~~ /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/alc/backends/alsa.cpp:270:26: note: called from here devlist.emplace_back(DevMap{alsaDevice, defname ? defname->c_str() : "default"}); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/alc/backends/alsa.cpp:244:8: warning: inlining failed in call to '{anonymous}::DevMap::~DevMap() noexcept': call is unlikely and code size would grow [-Winline] struct DevMap { ^~~~~~ /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/alc/backends/alsa.cpp:289:38: note: called from here devlist.emplace_back(DevMap{customdevs->substr(curpos, seppos-curpos), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ customdevs->substr(seppos+1, nextpos-seppos-1)}); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/alc/backends/alsa.cpp:244:8: warning: inlining failed in call to '{anonymous}::DevMap::~DevMap() noexcept': call is unlikely and code size would grow [-Winline] struct DevMap { ^~~~~~ /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/alc/backends/alsa.cpp:373:34: note: called from here devlist.emplace_back(DevMap{std::move(name), std::move(device)}); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 65%] Building CXX object CMakeFiles/OpenAL.dir/core/ambdec.cpp.o [ 65%] Building CXX object CMakeFiles/OpenAL.dir/core/ambidefs.cpp.o [ 66%] Building CXX object CMakeFiles/OpenAL.dir/core/bformatdec.cpp.o [ 67%] Building CXX object CMakeFiles/OpenAL.dir/core/bs2b.cpp.o [ 68%] Building CXX object CMakeFiles/OpenAL.dir/core/bsinc_tables.cpp.o [ 69%] Building CXX object CMakeFiles/OpenAL.dir/core/buffer_storage.cpp.o [ 70%] Building CXX object CMakeFiles/OpenAL.dir/core/context.cpp.o [ 71%] Building CXX object CMakeFiles/OpenAL.dir/core/converter.cpp.o [ 72%] Building CXX object CMakeFiles/OpenAL.dir/core/cpu_caps.cpp.o [ 73%] Building CXX object CMakeFiles/OpenAL.dir/core/devformat.cpp.o [ 74%] Building CXX object CMakeFiles/OpenAL.dir/core/device.cpp.o [ 75%] Building CXX object CMakeFiles/OpenAL.dir/core/effectslot.cpp.o [ 76%] Building CXX object CMakeFiles/OpenAL.dir/core/except.cpp.o [ 77%] Building CXX object CMakeFiles/OpenAL.dir/core/filters/biquad.cpp.o [ 78%] Building CXX object CMakeFiles/OpenAL.dir/core/filters/nfc.cpp.o [ 79%] Building CXX object CMakeFiles/OpenAL.dir/core/filters/splitter.cpp.o [ 80%] Building CXX object CMakeFiles/OpenAL.dir/core/fmt_traits.cpp.o [ 81%] Building CXX object CMakeFiles/OpenAL.dir/core/fpu_ctrl.cpp.o [ 81%] Building CXX object CMakeFiles/OpenAL.dir/core/helpers.cpp.o [ 82%] Building CXX object CMakeFiles/OpenAL.dir/core/hrtf.cpp.o /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp: In function 'std::unique_ptr {anonymous}::LoadHrtf00(std::istream&, const char*)': /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp:586:22: warning: conversion to 'std::array::value_type {aka unsigned char}' from 'int' may alter its value [-Wconversion] delays[i][0] <<= HrirDelayFracBits; /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp: In function 'std::unique_ptr {anonymous}::LoadHrtf01(std::istream&, const char*)': /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp:664:22: warning: conversion to 'std::array::value_type {aka unsigned char}' from 'int' may alter its value [-Wconversion] delays[i][0] <<= HrirDelayFracBits; /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp: In function 'std::unique_ptr {anonymous}::LoadHrtf02(std::istream&, const char*)': /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp:815:26: warning: conversion to 'std::array::value_type {aka unsigned char}' from 'int' may alter its value [-Wconversion] delays[i][0] <<= HrirDelayFracBits; /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp:868:26: warning: conversion to 'std::array::value_type {aka unsigned char}' from 'int' may alter its value [-Wconversion] delays[i][0] <<= HrirDelayFracBits; /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp:869:26: warning: conversion to 'std::array::value_type {aka unsigned char}' from 'int' may alter its value [-Wconversion] delays[i][1] <<= HrirDelayFracBits; [ 83%] Building CXX object CMakeFiles/OpenAL.dir/core/logging.cpp.o [ 84%] Building CXX object CMakeFiles/OpenAL.dir/core/mastering.cpp.o /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp: In function 'void {anonymous}::AddFileEntry(const string&)': /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp:42:8: warning: inlining failed in call to '{anonymous}::HrtfEntry::~HrtfEntry() noexcept': call is unlikely and code size would grow [-Winline] struct HrtfEntry { ^~~~~~~~~ /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp:1151:34: note: called from here EnumeratedHrtfs.emplace_back(HrtfEntry{newname, filename}); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp: In function 'std::unique_ptr {anonymous}::LoadHrtf02(std::istream&, const char*)': /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp:466:4: warning: inlining failed in call to 'std::enable_if_t {anonymous}::readle(std::istream&) [with T = short int; long unsigned int num_bits = 16]': call is unlikely and code size would grow [-Winline] T> readle(std::istream &data) ^~~~~~ /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp:790:45: note: called from here val[0] = readle(data) / 32768.0f; ~~~~~~~~~~~~~~~^~~~~~ /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp:466:4: warning: inlining failed in call to 'std::enable_if_t {anonymous}::readle(std::istream&) [with T = int; long unsigned int num_bits = 24]': call is unlikely and code size would grow [-Winline] T> readle(std::istream &data) ^~~~~~ /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp:798:63: note: called from here val[0] = static_cast(readle(data)) / 8388608.0f; ~~~~~~~~~~~~~~^~~~~~ /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp:466:4: warning: inlining failed in call to 'std::enable_if_t {anonymous}::readle(std::istream&) [with T = short int; long unsigned int num_bits = 16]': call is unlikely and code size would grow [-Winline] T> readle(std::istream &data) ^~~~~~ /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp:829:45: note: called from here val[0] = readle(data) / 32768.0f; ~~~~~~~~~~~~~~~^~~~~~ /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp:466:4: warning: inlining failed in call to 'std::enable_if_t {anonymous}::readle(std::istream&) [with T = short int; long unsigned int num_bits = 16]': call is unlikely and code size would grow [-Winline] T> readle(std::istream &data) ^~~~~~ /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp:830:45: note: called from here val[1] = readle(data) / 32768.0f; ~~~~~~~~~~~~~~~^~~~~~ /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp:466:4: warning: inlining failed in call to 'std::enable_if_t {anonymous}::readle(std::istream&) [with T = int; long unsigned int num_bits = 24]': call is unlikely and code size would grow [-Winline] T> readle(std::istream &data) ^~~~~~ /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp:840:63: note: called from here val[0] = static_cast(readle(data)) / 8388608.0f; ~~~~~~~~~~~~~~^~~~~~ /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp:466:4: warning: inlining failed in call to 'std::enable_if_t {anonymous}::readle(std::istream&) [with T = int; long unsigned int num_bits = 24]': call is unlikely and code size would grow [-Winline] T> readle(std::istream &data) ^~~~~~ /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp:841:63: note: called from here val[1] = static_cast(readle(data)) / 8388608.0f; ~~~~~~~~~~~~~~^~~~~~ /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp: In function 'HrtfStorePtr GetLoadedHrtf(const string&, uint)': /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp:466:4: warning: inlining failed in call to 'std::enable_if_t {anonymous}::readle(std::istream&) [with T = short int; long unsigned int num_bits = 16]': call is unlikely and code size would grow [-Winline] T> readle(std::istream &data) ^~~~~~ /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp:648:37: note: called from here val[0] = readle(data) / 32768.0f; ~~~~~~~~~~~~~~~^~~~~~ /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp:466:4: warning: inlining failed in call to 'std::enable_if_t {anonymous}::readle(std::istream&) [with T = short int; long unsigned int num_bits = 16]': call is unlikely and code size would grow [-Winline] T> readle(std::istream &data) ^~~~~~ /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp:570:37: note: called from here val[0] = readle(data) / 32768.0f; ~~~~~~~~~~~~~~~^~~~~~ [ 85%] Building CXX object CMakeFiles/OpenAL.dir/core/mixer.cpp.o /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp: In function 'al::vector > EnumerateHrtf(al::optional >)': /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp:42:8: warning: inlining failed in call to '{anonymous}::HrtfEntry::~HrtfEntry() noexcept': call is unlikely and code size would grow [-Winline] struct HrtfEntry { ^~~~~~~~~ /home/pbulk/build/audio/openal-soft/work/openal-soft-1.22.2/core/hrtf.cpp:1184:34: note: called from here EnumeratedHrtfs.emplace_back(HrtfEntry{newname, filename}); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 86%] Building CXX object CMakeFiles/OpenAL.dir/core/uhjfilter.cpp.o [ 87%] Building CXX object CMakeFiles/OpenAL.dir/core/uiddefs.cpp.o [ 88%] Building CXX object CMakeFiles/OpenAL.dir/core/voice.cpp.o [ 89%] Building CXX object CMakeFiles/OpenAL.dir/core/mixer/mixer_c.cpp.o [ 90%] Building CXX object CMakeFiles/OpenAL.dir/core/mixer/mixer_sse.cpp.o [ 91%] Building CXX object CMakeFiles/OpenAL.dir/core/mixer/mixer_sse2.cpp.o [ 92%] Building CXX object CMakeFiles/OpenAL.dir/core/mixer/mixer_sse3.cpp.o [ 93%] Building CXX object CMakeFiles/OpenAL.dir/core/mixer/mixer_sse41.cpp.o [ 94%] Linking CXX shared library libopenal.so [ 94%] Built target OpenAL make: *** [all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/audio/openal-soft *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/audio/openal-soft