+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=27 WRKLOG=/tmp/bulklog/ardour-6.9.0nb19/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=27 WRKLOG=/tmp/bulklog/ardour-6.9.0nb19/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for ardour-6.9.0nb19
cd /home/pbulk/build/audio/ardour/work/Ardour-6.9.0 && /usr/bin/env EGDIR=/opt/pkg/share/examples/ardour6 CC=gcc CFLAGS=\ -pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ \ -I/opt/pkg/include\ -I/usr/include\ -I/opt/pkg/include/glib-2.0\ -I/opt/pkg/include/gio-unix-2.0\ -I/opt/pkg/lib/glib-2.0/include\ -I/opt/pkg/include/ncurses\ -I/opt/pkg/include/freetype2\ -I/opt/pkg/include/harfbuzz\ -I/opt/pkg/include/taglib CXX=g++ CXXFLAGS=\ -pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ \ -I/opt/pkg/include\ -I/usr/include\ -I/opt/pkg/include/glib-2.0\ -I/opt/pkg/include/gio-unix-2.0\ -I/opt/pkg/lib/glib-2.0/include\ -I/opt/pkg/include/ncurses\ -I/opt/pkg/include/freetype2\ -I/opt/pkg/include/harfbuzz\ -I/opt/pkg/include/taglib DESTDIR=/home/pbulk/build/audio/ardour/work/.destdir LINKFLAGS=\ -Wl,-R/opt/pkg/lib/ardour6\ -Wl,-R/opt/pkg/lib/ardour6/LV2\ -Wl,-R/opt/pkg/lib/ardour6/LV2/a-comp.lv2\ -Wl,-R/opt/pkg/lib/ardour6/LV2/a-delay.lv2\ -Wl,-R/opt/pkg/lib/ardour6/LV2/a-eq.lv2\ -Wl,-R/opt/pkg/lib/ardour6/LV2/a-fluidsynth.lv2\ -Wl,-R/opt/pkg/lib/ardour6/LV2/a-reverb.lv2\ -Wl,-R/opt/pkg/lib/ardour6/LV2/a-reasonablesynth.lv2\ -Wl,-R/opt/pkg/lib/ardour6/backends\ -Wl,-R/opt/pkg/lib/ardour6/engines\ -Wl,-R/opt/pkg/lib/ardour6/panners\ -Wl,-R/opt/pkg/lib/ardour6/surfaces\ -Wl,-R/opt/pkg/lib/ardour6/utils\ -Wl,-R/opt/pkg/lib/ardour6/vamp\ \ \ -L/opt/pkg/lib\ -Wl,-R/opt/pkg/lib\ -L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64\ -liconv\ -lintl PATH=/home/pbulk/build/audio/ardour/work/.cwrapper/bin:/home/pbulk/build/audio/ardour/work/.buildlink/bin:/home/pbulk/build/audio/ardour/work/.gcc/bin:/home/pbulk/build/audio/ardour/work/.tools/bin:/opt/pkg/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin PREFIX=/opt/pkg JOBS=1 ./waf --with-backends=dummy,jack --keepflags --noconfirm --dist-target=none --cxx11 --freedesktop --no-phone-home --no-vst3 --use-external-libs --nls --mandir=/opt/pkg/share/man --libdir=/opt/pkg/lib
Waf: Entering directory `/home/pbulk/build/audio/ardour/work/Ardour-6.9.0/build'
Using packaged revision
Generating po/eu.po
Generating po/de.po
Generating po/zh.po
Generating po/ja.po
Generating po/ko.po
Generating po/ru.po
Generating po/it.po
Generating po/fr.po
Generating /home/pbulk/build/audio/ardour/work/Ardour-6.9.0/gtk2_ardour/ardour.appdata.xml.in
[   1/1080] Compiling libs/pbd/pbd/signals.py
[   2/1080] Creating build/libs/clearlooks-newer/engines
[   3/1080] Compiling libs/plugins/reasonablesynth.lv2/manifest.ttl.in
[   4/1080] Compiling libs/plugins/reasonablesynth.lv2/reasonablesynth.ttl.in
[   5/1080] Compiling libs/plugins/a-comp.lv2/manifest.ttl.in
[   6/1080] Compiling libs/plugins/a-comp.lv2/a-comp.ttl.in
[   7/1080] Compiling libs/pbd/receiver.cc
[   8/1080] Compiling libs/pbd/spinlock.cc
[   9/1080] Compiling libs/pbd/stacktrace.cc
../libs/pbd/stacktrace.cc: In function 'void PBD::stacktrace(std::ostream&, int, int)':
../libs/pbd/stacktrace.cc:61:26: warning: comparison of integer expressions of different signedness: 'std::size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
   61 |         if (size && size >= start) {
      |                     ~~~~~^~~~~~~~

[  10/1080] Compiling libs/pbd/stateful_diff_command.cc
In file included from /home/pbulk/build/audio/ardour/work/.buildlink/include/glib-2.0/glib/gthread.h:34,
                 from /home/pbulk/build/audio/ardour/work/.buildlink/include/glib-2.0/glib/gasyncqueue.h:34,
                 from /home/pbulk/build/audio/ardour/work/.buildlink/include/glib-2.0/glib.h:34,
                 from /home/pbulk/build/audio/ardour/work/.buildlink/include/glibmm-2.4/glibmm/threads.h:30,
                 from ../libs/pbd/pbd/signals.h:34,
                 from ../libs/pbd/pbd/command.h:29,
                 from ../libs/pbd/pbd/stateful_diff_command.h:26,
                 from ../libs/pbd/stateful_diff_command.cc:21:
../libs/pbd/pbd/stateful.h: In member function 'bool PBD::Stateful::property_changes_suspended() const':
/home/pbulk/build/audio/ardour/work/.buildlink/include/glib-2.0/glib/gatomic.h:114:20: warning: cast from type 'const gint*' {aka 'const int*'} to type 'gint*' {aka 'int*'} casts away qualifiers [-Wcast-qual]
  114 |     __atomic_load ((gint *)(atomic), &gaig_temp, __ATOMIC_SEQ_CST);          \
      |                    ^~~~~~~~~~~~~~~~
../libs/pbd/pbd/stateful.h:108:58: note: in expansion of macro 'g_atomic_int_get'
  108 |         bool property_changes_suspended() const { return g_atomic_int_get (&_stateful_frozen) > 0; }
      |                                                          ^~~~~~~~~~~~~~~~

[  11/1080] Compiling libs/pbd/stateful.cc
In file included from /home/pbulk/build/audio/ardour/work/.buildlink/include/glib-2.0/glib/gthread.h:34,
                 from /home/pbulk/build/audio/ardour/work/.buildlink/include/glib-2.0/glib/gasyncqueue.h:34,
                 from /home/pbulk/build/audio/ardour/work/.buildlink/include/glib-2.0/glib.h:34,
                 from /home/pbulk/build/audio/ardour/work/.buildlink/include/glibmm-2.4/glibmm/unicode.h:23,
                 from /home/pbulk/build/audio/ardour/work/.buildlink/include/glibmm-2.4/glibmm/ustring.h:21,
                 from /home/pbulk/build/audio/ardour/work/.buildlink/include/glibmm-2.4/glibmm/exception.h:22,
                 from /home/pbulk/build/audio/ardour/work/.buildlink/include/glibmm-2.4/glibmm/error.h:21,
                 from /home/pbulk/build/audio/ardour/work/.buildlink/include/glibmm-2.4/glibmm/fileutils.h:27,
                 from ../libs/pbd/stateful.cc:30:
../libs/pbd/pbd/stateful.h: In member function 'bool PBD::Stateful::property_changes_suspended() const':
/home/pbulk/build/audio/ardour/work/.buildlink/include/glib-2.0/glib/gatomic.h:114:20: warning: cast from type 'const gint*' {aka 'const int*'} to type 'gint*' {aka 'int*'} casts away qualifiers [-Wcast-qual]
  114 |     __atomic_load ((gint *)(atomic), &gaig_temp, __ATOMIC_SEQ_CST);          \
      |                    ^~~~~~~~~~~~~~~~
../libs/pbd/pbd/stateful.h:108:58: note: in expansion of macro 'g_atomic_int_get'
  108 |         bool property_changes_suspended() const { return g_atomic_int_get (&_stateful_frozen) > 0; }
      |                                                          ^~~~~~~~~~~~~~~~

[  12/1080] Compiling libs/pbd/undo.cc
In file included from /home/pbulk/build/audio/ardour/work/.buildlink/include/glib-2.0/glib/gthread.h:34,
                 from /home/pbulk/build/audio/ardour/work/.buildlink/include/glib-2.0/glib/gasyncqueue.h:34,
                 from /home/pbulk/build/audio/ardour/work/.buildlink/include/glib-2.0/glib.h:34,
                 from /home/pbulk/build/audio/ardour/work/.buildlink/include/glibmm-2.4/glibmm/threads.h:30,
                 from ../libs/pbd/pbd/signals.h:34,
                 from ../libs/pbd/pbd/command.h:29,
                 from ../libs/pbd/pbd/undo.h:39,
                 from ../libs/pbd/undo.cc:28:
../libs/pbd/pbd/stateful.h: In member function 'bool PBD::Stateful::property_changes_suspended() const':
/home/pbulk/build/audio/ardour/work/.buildlink/include/glib-2.0/glib/gatomic.h:114:20: warning: cast from type 'const gint*' {aka 'const int*'} to type 'gint*' {aka 'int*'} casts away qualifiers [-Wcast-qual]
  114 |     __atomic_load ((gint *)(atomic), &gaig_temp, __ATOMIC_SEQ_CST);          \
      |                    ^~~~~~~~~~~~~~~~
../libs/pbd/pbd/stateful.h:108:58: note: in expansion of macro 'g_atomic_int_get'
  108 |         bool property_changes_suspended() const { return g_atomic_int_get (&_stateful_frozen) > 0; }
      |                                                          ^~~~~~~~~~~~~~~~

[  13/1080] Compiling libs/pbd/event_loop.cc
[  14/1080] Compiling libs/pbd/pool.cc
[  15/1080] Compiling libs/pbd/ffs.cc
[  16/1080] Compiling libs/pbd/locale_guard.cc
[  17/1080] Compiling libs/pbd/property_list.cc
[  18/1080] Compiling libs/pbd/tlsf.cc
[  19/1080] Compiling libs/pbd/whitespace.cc
[  20/1080] Compiling libs/pbd/crossthread.cc
[  21/1080] Compiling libs/pbd/microseconds.cc
[  22/1080] Compiling libs/pbd/transmitter.cc
[  23/1080] Compiling libs/pbd/xml++.cc
[  24/1080] Compiling libs/pbd/fpu.cc
[  25/1080] Compiling libs/pbd/configuration_variable.cc
[  26/1080] Compiling libs/pbd/pathexpand.cc
[  27/1080] Compiling libs/pbd/command.cc
In file included from /home/pbulk/build/audio/ardour/work/.buildlink/include/glib-2.0/glib/gthread.h:34,
                 from /home/pbulk/build/audio/ardour/work/.buildlink/include/glib-2.0/glib/gasyncqueue.h:34,
                 from /home/pbulk/build/audio/ardour/work/.buildlink/include/glib-2.0/glib.h:34,
                 from /home/pbulk/build/audio/ardour/work/.buildlink/include/glibmm-2.4/glibmm/threads.h:30,
                 from ../libs/pbd/pbd/signals.h:34,
                 from ../libs/pbd/pbd/command.h:29,
                 from ../libs/pbd/command.cc:21:
../libs/pbd/pbd/stateful.h: In member function 'bool PBD::Stateful::property_changes_suspended() const':
/home/pbulk/build/audio/ardour/work/.buildlink/include/glib-2.0/glib/gatomic.h:114:20: warning: cast from type 'const gint*' {aka 'const int*'} to type 'gint*' {aka 'int*'} casts away qualifiers [-Wcast-qual]
  114 |     __atomic_load ((gint *)(atomic), &gaig_temp, __ATOMIC_SEQ_CST);          \
      |                    ^~~~~~~~~~~~~~~~
../libs/pbd/pbd/stateful.h:108:58: note: in expansion of macro 'g_atomic_int_get'
  108 |         bool property_changes_suspended() const { return g_atomic_int_get (&_stateful_frozen) > 0; }
      |                                                          ^~~~~~~~~~~~~~~~

[  28/1080] Compiling libs/pbd/cartesian.cc
[  29/1080] Compiling libs/pbd/resource.cc
[  30/1080] Compiling libs/pbd/semutils.cc
[  31/1080] Compiling libs/pbd/signals.cc
[  32/1080] Compiling libs/pbd/timing.cc
[  33/1080] Compiling libs/pbd/base_ui.cc
[  34/1080] Compiling libs/pbd/basename.cc
[  35/1080] Compiling libs/pbd/boost_debug.cc
[  36/1080] Compiling libs/pbd/timer.cc
[  37/1080] Compiling libs/pbd/openuri.cc
[  38/1080] Compiling libs/pbd/pbd.cc
[  39/1080] Compiling libs/pbd/cpus.cc
../libs/pbd/cpus.cc: In function 'uint32_t hardware_concurrency()':
../libs/pbd/cpus.cc:66:25: error: 'sysconf' was not declared in this scope; did you mean '_sysconf'?
   66 |         int const count=sysconf(_SC_NPROCESSORS_ONLN);
      |                         ^~~~~~~
      |                         _sysconf

Waf: Leaving directory `/home/pbulk/build/audio/ardour/work/Ardour-6.9.0/build'
Build failed
 -> task in 'libpbd' failed with exit status 1 (run with -v to display more information)
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/ardour
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/ardour