+ 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/oshu-2.0.2nb5/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/oshu-2.0.2nb5/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for oshu-2.0.2nb5 [ 2%] Default skin set to minimal [ 2%] Built target skins [ 4%] Building CXX object lib/CMakeFiles/liboshu.dir/audio/audio.cc.o [ 7%] Building CXX object lib/CMakeFiles/liboshu.dir/audio/library.cc.o [ 9%] Building CXX object lib/CMakeFiles/liboshu.dir/audio/sample.cc.o [ 12%] Building CXX object lib/CMakeFiles/liboshu.dir/audio/stream.cc.o /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/audio/stream.cc: In function 'int convert_frame(SwrContext*, AVFrame*, int, float*, int)': /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/audio/stream.cc:118:29: warning: 'AVFrame::channels' is deprecated (declared at /home/pbulk/build/games/oshu/work/.buildlink/include/ffmpeg5/libavutil/frame.h:643) [-Wdeprecated-declarations] const uint8_t *data[frame->channels]; ^ /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/audio/stream.cc:118:29: warning: 'AVFrame::channels' is deprecated (declared at /home/pbulk/build/games/oshu/work/.buildlink/include/ffmpeg5/libavutil/frame.h:643) [-Wdeprecated-declarations] /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/audio/stream.cc:121:30: warning: 'AVFrame::channels' is deprecated (declared at /home/pbulk/build/games/oshu/work/.buildlink/include/ffmpeg5/libavutil/frame.h:643) [-Wdeprecated-declarations] for (int c = 0; c < frame->channels; ++c) ^ /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/audio/stream.cc:121:30: warning: 'AVFrame::channels' is deprecated (declared at /home/pbulk/build/games/oshu/work/.buildlink/include/ffmpeg5/libavutil/frame.h:643) [-Wdeprecated-declarations] /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/audio/stream.cc:124:59: warning: 'AVFrame::channels' is deprecated (declared at /home/pbulk/build/games/oshu/work/.buildlink/include/ffmpeg5/libavutil/frame.h:643) [-Wdeprecated-declarations] data[0] = frame->data[0] + index * sample_size * frame->channels; ^ /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/audio/stream.cc:124:59: warning: 'AVFrame::channels' is deprecated (declared at /home/pbulk/build/games/oshu/work/.buildlink/include/ffmpeg5/libavutil/frame.h:643) [-Wdeprecated-declarations] /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/audio/stream.cc: In function 'int open_decoder(oshu::stream*)': /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/audio/stream.cc:235:24: warning: 'AVCodecContext::channel_layout' is deprecated (declared at /home/pbulk/build/games/oshu/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1060) [-Wdeprecated-declarations] if (!stream->decoder->channel_layout) ^ /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/audio/stream.cc:235:24: warning: 'AVCodecContext::channel_layout' is deprecated (declared at /home/pbulk/build/games/oshu/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1060) [-Wdeprecated-declarations] /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/audio/stream.cc:236:20: warning: 'AVCodecContext::channel_layout' is deprecated (declared at /home/pbulk/build/games/oshu/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1060) [-Wdeprecated-declarations] stream->decoder->channel_layout = av_get_default_channel_layout(stream->decoder->channels); ^ /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/audio/stream.cc:236:20: warning: 'AVCodecContext::channel_layout' is deprecated (declared at /home/pbulk/build/games/oshu/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1060) [-Wdeprecated-declarations] /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/audio/stream.cc:236:37: warning: 'int64_t av_get_default_channel_layout(int)' is deprecated (declared at /home/pbulk/build/games/oshu/work/.buildlink/include/ffmpeg5/libavutil/channel_layout.h:457) [-Wdeprecated-declarations] stream->decoder->channel_layout = av_get_default_channel_layout(stream->decoder->channels); ^ /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/audio/stream.cc:236:84: warning: 'AVCodecContext::channels' is deprecated (declared at /home/pbulk/build/games/oshu/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1006) [-Wdeprecated-declarations] stream->decoder->channel_layout = av_get_default_channel_layout(stream->decoder->channels); ^ /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/audio/stream.cc:236:84: warning: 'AVCodecContext::channels' is deprecated (declared at /home/pbulk/build/games/oshu/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1006) [-Wdeprecated-declarations] /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/audio/stream.cc:236:92: warning: 'int64_t av_get_default_channel_layout(int)' is deprecated (declared at /home/pbulk/build/games/oshu/work/.buildlink/include/ffmpeg5/libavutil/channel_layout.h:457) [-Wdeprecated-declarations] stream->decoder->channel_layout = av_get_default_channel_layout(stream->decoder->channels); ^ /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/audio/stream.cc: In function 'int open_converter(oshu::stream*)': /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/audio/stream.cc:257:22: warning: 'SwrContext* swr_alloc_set_opts(SwrContext*, int64_t, AVSampleFormat, int, int64_t, AVSampleFormat, int, int, void*)' is deprecated (declared at /home/pbulk/build/games/oshu/work/.buildlink/include/ffmpeg5/libswresample/swresample.h:260) [-Wdeprecated-declarations] stream->converter = swr_alloc_set_opts( ^ /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/audio/stream.cc:264:20: warning: 'AVCodecContext::channel_layout' is deprecated (declared at /home/pbulk/build/games/oshu/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1060) [-Wdeprecated-declarations] stream->decoder->channel_layout, ^ /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/audio/stream.cc:264:20: warning: 'AVCodecContext::channel_layout' is deprecated (declared at /home/pbulk/build/games/oshu/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1060) [-Wdeprecated-declarations] /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/audio/stream.cc:268:2: warning: 'SwrContext* swr_alloc_set_opts(SwrContext*, int64_t, AVSampleFormat, int, int64_t, AVSampleFormat, int, int, void*)' is deprecated (declared at /home/pbulk/build/games/oshu/work/.buildlink/include/ffmpeg5/libswresample/swresample.h:260) [-Wdeprecated-declarations] ); ^ [ 14%] Building CXX object lib/CMakeFiles/liboshu.dir/audio/track.cc.o [ 17%] Building CXX object lib/CMakeFiles/liboshu.dir/beatmap/helpers.cc.o [ 19%] Building CXX object lib/CMakeFiles/liboshu.dir/beatmap/parser.cc.o /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/beatmap/helpers.cc: In function 'double oshu::score(oshu::beatmap*)': /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/beatmap/helpers.cc:43:4: warning: attributes at the beginning of statement are ignored [-Wattributes] [[fallthrough]]; ^ [ 21%] Building CXX object lib/CMakeFiles/liboshu.dir/beatmap/path.cc.o /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/beatmap/path.cc: In function 'void line_bounding_box(oshu::line*, oshu::point*, oshu::point*)': /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/beatmap/path.cc:378:18: error: parameter declared 'auto' [&](auto p){ extend_box(p, top_left, bottom_right); }); ^ /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/beatmap/path.cc: In lambda function: /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/beatmap/path.cc:378:33: error: 'p' was not declared in this scope [&](auto p){ extend_box(p, top_left, bottom_right); }); ^ /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/beatmap/path.cc: In function 'void oshu::normalize_path(oshu::path*, double)': /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/beatmap/path.cc:486:3: warning: attributes at the beginning of statement are ignored [-Wattributes] [[fallthrough]]; ^ In file included from /usr/include/c++/4.8.2/algorithm:62:0, from /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/beatmap/path.cc:11: /usr/include/c++/4.8.2/bits/stl_algo.h: In instantiation of '_Funct std::for_each(_IIter, _IIter, _Funct) [with _IIter = __gnu_cxx::__normal_iterator<std::complex<double>*, std::vector<std::complex<double> > >; _Funct = line_bounding_box(oshu::line*, oshu::point*, oshu::point*)::__lambda1]': /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/beatmap/path.cc:378:62: required from here /usr/include/c++/4.8.2/bits/stl_algo.h:4417:14: error: no match for call to '(line_bounding_box(oshu::line*, oshu::point*, oshu::point*)::__lambda1) (std::complex<double>&)' __f(*__first); ^ /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/beatmap/path.cc:378:11: note: candidate is: [&](auto p){ extend_box(p, top_left, bottom_right); }); ^ /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/beatmap/path.cc:378:19: note: line_bounding_box(oshu::line*, oshu::point*, oshu::point*)::__lambda1 [&](auto p){ extend_box(p, top_left, bottom_right); }); ^ /home/pbulk/build/games/oshu/work/oshu-2.0.2/lib/beatmap/path.cc:378:19: note: candidate expects 0 arguments, 1 provided --- lib/CMakeFiles/liboshu.dir/beatmap/path.cc.o --- *** [lib/CMakeFiles/liboshu.dir/beatmap/path.cc.o] Error code 1 bmake[2]: stopped in /home/pbulk/build/games/oshu/work/oshu-2.0.2 1 error bmake[2]: stopped in /home/pbulk/build/games/oshu/work/oshu-2.0.2 --- lib/CMakeFiles/liboshu.dir/all --- *** [lib/CMakeFiles/liboshu.dir/all] Error code 2 bmake[1]: stopped in /home/pbulk/build/games/oshu/work/oshu-2.0.2 1 error bmake[1]: stopped in /home/pbulk/build/games/oshu/work/oshu-2.0.2 *** [all] Error code 2 bmake: stopped in /home/pbulk/build/games/oshu/work/oshu-2.0.2 1 error bmake: stopped in /home/pbulk/build/games/oshu/work/oshu-2.0.2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/games/oshu *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/games/oshu