+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sox-14.4.2nb8/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sox-14.4.2nb8/work.log => Checksum BLAKE2s OK for sox-14.4.2.tar.gz => Checksum SHA512 OK for sox-14.4.2.tar.gz ===> Installing dependencies for sox-14.4.2nb8 ========================================================================== The supported build options for sox are: lame oss You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.sox (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, sox-14.4.2nb8. Their current value is shown below: * CURSES_DEFAULT = ncurses Based on these variables, the following variables have been set: * CURSES_TYPE = ncurses * TERMCAP_TYPE = curses You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/opt/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.4.3nb1 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency file>=4.17: found file-5.42 => Full dependency flac>=1.5.0: found flac-1.5.0nb1 => Full dependency gsm>=1.0.12: found gsm-1.0.22 => Full dependency libmad>=0.15.1bnb1: found libmad-0.15.1bnb3 => Full dependency libsamplerate>=0.2.2nb5: found libsamplerate-0.2.2nb5 => Full dependency libsndfile>=1.2.2nb2: found libsndfile-1.2.2nb2 => Full dependency libvorbis>=1.1.0nb1: found libvorbis-1.3.7 => Full dependency png>=1.6.0nb1: found png-1.6.50 => Full dependency zlib>=1.2.3: found zlib-1.3.1 => Full dependency lame>=3.93.1nb2: found lame-3.100nb7 => Full dependency libogg>=1.1: found libogg-1.3.6 => Full dependency libopus>=1.1: found libopus-1.5.2 => Full dependency mpg123>=1.0.0: found mpg123-1.33.0 => Full dependency ncurses>=5.3nb1: found ncurses-6.5nb1 ===> Overriding tools for sox-14.4.2nb8 ===> Extracting for sox-14.4.2nb8 ===> Patching for sox-14.4.2nb8 => Applying pkgsrc patches for sox-14.4.2nb8 => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/sox/patches/patch-ak => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/sox/patches/patch-ak Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ak,v 1.4 2015/03/14 22:56:00 tnn Exp $ | |* On DragonFly, FILE is hidden, only allowed to modify in __FILE_public. | |* Disable file-type pipe detection on 64-bit Solaris. | |--- src/formats.c.orig 2014-10-27 02:55:50.000000000 +0000 |+++ src/formats.c -------------------------- Patching file src/formats.c using Plan A... Hunk #1 succeeded at 411. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/sox/patches/patch-src_coreaudio.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/sox/patches/patch-src_coreaudio.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_coreaudio.c,v 1.1 2016/02/02 06:12:10 dbj Exp $ | |CoreAudio may return the same device multiple times as separate |input and output devices. Only try to use the appropriate direction when matching. | |--- src/coreaudio.c.orig 2014-10-06 01:59:34.000000000 +0000 |+++ src/coreaudio.c -------------------------- Patching file src/coreaudio.c using Plan A... Hunk #1 succeeded at 140. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/sox/patches/patch-src_oss.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/sox/patches/patch-src_oss.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_oss.c,v 1.1 2015/05/25 19:06:24 bsiegert Exp $ | |Fix segfault when playing (PR pkg/49929). |--- src/oss.c.orig 2015-05-25 18:58:54.000000000 +0000 |+++ src/oss.c -------------------------- Patching file src/oss.c using Plan A... Hunk #1 succeeded at 369. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/sox/patches/patch-src_sox.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/sox/patches/patch-src_sox.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_sox.c,v 1.1 2022/04/24 09:39:46 nia Exp $ | |PR pkg/56800 hitting v or V during sox's play command causes a |segfault | |https://sourceforge.net/p/sox/code/ci/4b17639fb7591153dbd3e234eea21b1a2a29fcfa/ |from more than 10 years ago changed the sun audio driver for the 14.4 release |to not use stdio (among others) while adjust_volume() in sox.c still used |fileno under the assumption that stdio was being used in the audio driver. | |output_muted is not defined on NetBSD. | |--- src/sox.c.orig 2014-10-06 02:02:30.000000000 +0000 |+++ src/sox.c -------------------------- Patching file src/sox.c using Plan A... Hunk #1 succeeded at 1313. Hunk #2 succeeded at 1322. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/sox/patches/patch-src_sunaudio.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/sox/patches/patch-src_sunaudio.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_sunaudio.c,v 1.2 2022/04/24 09:39:46 nia Exp $ | |- Make the now unused (in the audio driver's case) void *fp member of the | sox_format_t structure a pointer to the filedescriptor of the audio | device in the driver and reference it in adjust_volume() with an | additional check for NULL. (PR pkg/56800) | |- Fix segfault when playing (PR pkg/49929). | |--- src/sunaudio.c.orig 2014-10-06 01:59:34.000000000 +0000 |+++ src/sunaudio.c -------------------------- Patching file src/sunaudio.c using Plan A... Hunk #1 succeeded at 336. Hunk #2 succeeded at 350. Hunk #3 succeeded at 446. done ===> Creating toolchain wrappers for sox-14.4.2nb8 ===> Configuring for sox-14.4.2nb8 => Substituting "gsm" in configure src/gsm.c src/wav.c CMakeLists.txt => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version => Adding run-time search paths to pkg-config files. => Checking for portability problems in extracted files checking build system type... x86_64-sun-solaris2.11 checking host system type... x86_64-sun-solaris2.11 checking target system type... x86_64-sun-solaris2.11 checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... /usr/bin/nawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for x86_64-sun-solaris2.11-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 for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether ln -s works... yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep checking for egrep... (cached) /usr/xpg4/bin/grep -E checking for fgrep... /usr/xpg4/bin/grep -F checking for ld used by gcc... /bin/ld checking if the linker (/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p checking the name lister (/usr/bin/nm -p) interface... BSD nm checking the maximum length of command line arguments... 786240 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-sun-solaris2.11 file names to x86_64-sun-solaris2.11 format... func_convert_file_noop checking how to convert x86_64-sun-solaris2.11 file names to toolchain format... func_convert_file_noop checking for /bin/ld option to reload object files... -r checking for x86_64-sun-solaris2.11-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-sun-solaris2.11-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-sun-solaris2.11-ar... no checking for ar... ar checking for archiver @FILE support... no checking for x86_64-sun-solaris2.11-strip... no checking for strip... strip checking for x86_64-sun-solaris2.11-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -p output from gcc object... ok checking for sysroot... no checking for x86_64-sun-solaris2.11-mt... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... gcc -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 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... no checking if gcc supports -c -o file.o... rm: conftest*: No such file or directory yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/bin/ld -64) supports shared libraries... yes checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory no checking dynamic linker characteristics... solaris2.11 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... yes 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... yes checking pkg-config is at least version 0.9.0... yes checking whether to make a debug build... checking whether libssp exists... yes checking whether stack-smashing protection is available... yes checking whether stack-smashing protection is buggy... no checking whether gcc accepts -fstack-protector... yes checking gcc version... 14.3.0 checking whether byte ordering is bigendian... no checking for inline... inline checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking byteswap.h usability... no checking byteswap.h presence... no checking for byteswap.h... no checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking for sys/types.h... (cached) yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking fenv.h usability... yes checking fenv.h presence... yes checking for fenv.h... yes checking for strcasecmp... yes checking for strdup... yes checking for popen... yes checking for vsnprintf... yes checking for gettimeofday... yes checking for mkstemp... yes checking for fmemopen... (cached) no checking for library containing pow... -lm checking for library containing lrint... none required checking for lrint... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking whether libtool should be silenced... yes checking for gcc option to support OpenMP... -fopenmp checking for libtool version... 2.4.2, OK checking magic.h usability... yes checking magic.h presence... yes checking for magic.h... yes checking for magic_open in -lmagic... yes checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking libpng/png.h usability... no checking libpng/png.h presence... no checking for libpng/png.h... no checking for png_set_rows in -lpng... yes checking mad.h usability... yes checking mad.h presence... yes checking for mad.h... yes checking whether to dlopen mad... no checking for mad_stream_buffer in -lmad... yes checking id3tag.h usability... no checking id3tag.h presence... no checking for id3tag.h... no checking whether to dlopen lame... no checking lame/lame.h usability... yes checking lame/lame.h presence... yes checking for lame/lame.h... yes checking for lame_get_lametag_frame in -lmp3lame... yes checking for id3tag_set_fieldvalue in -lmp3lame... yes checking twolame.h usability... no checking twolame.h presence... no checking for twolame.h... no checking whether to dlopen twolame... no checking for twolame_init in -ltwolame... no checking gsm.h usability... yes checking gsm.h presence... yes checking for gsm.h... yes checking for gsm_create in -lgsm... yes checking lpc10.h usability... no checking lpc10.h presence... no checking for lpc10.h... no checking for lpc10.h... (cached) no checking for create_lpc10_encoder_state in -llpc10... no checking vorbis/codec.h usability... yes checking vorbis/codec.h presence... yes checking for vorbis/codec.h... yes checking for ogg_packet_clear in -logg... yes checking for vorbis_analysis_headerout in -lvorbis... yes checking for ov_clear in -lvorbisfile... yes checking for vorbis_encode_init_vbr in -lvorbisenc... yes checking for OPUS... no checking FLAC/all.h usability... yes checking FLAC/all.h presence... yes checking for FLAC/all.h... yes checking whether FLAC_API_VERSION_CURRENT is declared... yes checking for FLAC__stream_encoder_new in -lFLAC... yes checking opencore-amrwb/dec_if.h usability... no checking opencore-amrwb/dec_if.h presence... no checking for opencore-amrwb/dec_if.h... no checking amrwb/dec.h usability... no checking amrwb/dec.h presence... no checking for amrwb/dec.h... no checking opencore-amrnb/interf_dec.h usability... no checking opencore-amrnb/interf_dec.h presence... no checking for opencore-amrnb/interf_dec.h... no checking amrnb/sp_dec.h usability... no checking amrnb/sp_dec.h presence... no checking for amrnb/sp_dec.h... no checking wavpack/wavpack.h usability... no checking wavpack/wavpack.h presence... no checking for wavpack/wavpack.h... no checking sndio.h usability... no checking sndio.h presence... no checking for sndio.h... no checking CoreAudio/CoreAudio.h usability... no checking CoreAudio/CoreAudio.h presence... no checking for CoreAudio/CoreAudio.h... no checking alsa/asoundlib.h usability... no checking alsa/asoundlib.h presence... no checking for alsa/asoundlib.h... no checking ao/ao.h usability... no checking ao/ao.h presence... no checking for ao/ao.h... no checking pulse/simple.h usability... no checking pulse/simple.h presence... no checking for pulse/simple.h... no checking for mmsystem.h... no checking for SNDFILE... yes checking sndfile.h usability... yes checking sndfile.h presence... yes checking for sndfile.h... yes checking for sf_open_virtual... yes checking whether SF_FORMAT_OGG is declared... yes checking whether SFC_SET_SCALE_INT_FLOAT_WRITE is declared... yes checking sys/audioio.h usability... yes checking sys/audioio.h presence... yes checking for sys/audioio.h... yes checking whether to enable symlinks... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating libgsm/Makefile config.status: creating lpc10/Makefile config.status: creating msvc9/Makefile config.status: creating msvc10/Makefile config.status: creating sox.pc config.status: creating src/soxconfig.h config.status: executing depfiles commands config.status: executing libtool commands rm: libtoolT: No such file or directory BUILD OPTIONS Debugging build............no Distro name ...............not specified! Dynamic loading support....no Pkg-config location........$(libdir)/pkgconfig Play and rec symlinks......yes Symlinks enabled...........yes OPTIONAL DEVICE DRIVERS ao (Xiph)..................no alsa (Linux)...............no coreaudio (Mac OS X).......no sndio (OpenBSD)............no oss........................no pulseaudio.................no sunaudio...................yes waveaudio (MS-Windows).....no OPTIONAL FILE FORMATS amrnb......................no amrwb......................no flac.......................yes gsm........................yes (external) lpc10......................yes (in-tree) mp2/mp3....................yes id3tag....................no lame......................yes lame id3tag...............yes dlopen lame...............no mad.......................yes dlopen mad................no twolame...................no oggvorbis..................yes opus.......................no sndfile....................yes dlopen sndfile............no wavpack....................no OTHER OPTIONS ladspa effects.............no magic support..............yes png support................yes OpenMP support.............yes, -fopenmp Configure finished. Do 'make -s && make install' to compile and install SoX. => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp