>>> Building on sparc64-0b under audio/keyfinder-cli BDEPENDS = [graphics/ffmpeg;lang/gcc/8;lang/gcc/8,-c++;audio/libkeyfinder;lang/gcc/8,-libs] DIST = [audio/keyfinder-cli:keyfinder-cli-1.1.2.tar.gz] FULLPKGNAME = keyfinder-cli-1.1.2 RDEPENDS = [graphics/ffmpeg;audio/libkeyfinder;lang/gcc/8,-libs] (Junk lock failure for sparc64-0b at 1749907839.63875) Received IO (Junk lock obtained for sparc64-0b at 1749907871.53) Received IO Woken up audio/keyfinder-cli Woken up audio/keyfinder-cli Woken up audio/keyfinder-cli Woken up audio/keyfinder-cli Woken up audio/keyfinder-cli Woken up audio/keyfinder-cli >>> Running depends in audio/keyfinder-cli at 1749907878.74 last junk was in games/shockolate /usr/sbin/pkg_add -aI -Drepair ffmpeg-6.1.2p3v1 libkeyfinder-2.2.8 was: /usr/sbin/pkg_add -aI -Drepair ffmpeg-6.1.2p3v1 g++-8.4.0p26 gcc-8.4.0p26 gcc-libs-8.4.0p26 libkeyfinder-2.2.8 /usr/sbin/pkg_add -aI -Drepair ffmpeg-6.1.2p3v1 libkeyfinder-2.2.8 New and changed readme(s): /usr/local/share/doc/pkg-readmes/ffmpeg >>> Running show-prepare-results in audio/keyfinder-cli at 1749907954.97 ===> audio/keyfinder-cli ===> Building from scratch keyfinder-cli-1.1.2 ===> keyfinder-cli-1.1.2 depends on: gcc->=8,<9 -> gcc-8.4.0p26 ===> keyfinder-cli-1.1.2 depends on: g++->=8,<9 -> g++-8.4.0p26 ===> keyfinder-cli-1.1.2 depends on: libkeyfinder-* -> libkeyfinder-2.2.8 ===> keyfinder-cli-1.1.2 depends on: ffmpeg-* -> ffmpeg-6.1.2p3v1 ===> keyfinder-cli-1.1.2 depends on: gcc-libs->=8,<9 -> gcc-libs-8.4.0p26 ===> Verifying specs: estdc++>=19 pthread avcodec avformat avutil c fftw3 keyfinder m swresample ===> found estdc++.19.0 pthread.27.1 avcodec.26.0 avformat.23.0 avutil.16.0 c.100.3 fftw3.7.1 keyfinder.0.0 m.10.1 swresample.5.0 ffmpeg-6.1.2p3v1 g++-8.4.0p26 gcc-8.4.0p26 gcc-libs-8.4.0p26 libkeyfinder-2.2.8 (Junk lock released for sparc64-0b at 1749907964.73) distfiles size=18494 >>> Running patch in audio/keyfinder-cli at 1749907964.86 ===> audio/keyfinder-cli ===> Checking files for keyfinder-cli-1.1.2 `/usr/ports/distfiles/keyfinder-cli-1.1.2.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for keyfinder-cli-1.1.2 ===> Patching for keyfinder-cli-1.1.2 ===> Applying OpenBSD patch patch-Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Upstream commit 5728bdb139fc034cbd79ecade38ac4052cd7ee5e | |Index: Makefile |--- Makefile.orig |+++ Makefile -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 1. done ===> Compiler link: gcc -> /usr/local/bin/egcc ===> Compiler link: cc -> /usr/local/bin/egcc ===> Compiler link: c++ -> /usr/local/bin/eg++ ===> Compiler link: g++ -> /usr/local/bin/eg++ >>> Running configure in audio/keyfinder-cli at 1749907967.93 ===> audio/keyfinder-cli ===> Generating configure for keyfinder-cli-1.1.2 ===> Configuring for keyfinder-cli-1.1.2 >>> Running build in audio/keyfinder-cli at 1749907970.19 ===> audio/keyfinder-cli ===> Building for keyfinder-cli-1.1.2 c++ keyfinder_cli.cpp -std=c++11 -Wall -I/usr/local/include -L/usr/local/lib -lavformat -lavcodec -Wl,-rpath-link,/usr/local/lib -lswresample -lavutil -lkeyfinder -lfftw3 -o keyfinder-cli keyfinder_cli.cpp: In function 'void fill_audio_data(const char*, KeyFinder::AudioData&)': keyfinder_cli.cpp:153:27: warning: 'AVCodecContext::channel_layout' is deprecated [-Wdeprecated-declarations] if ( ! codec_context->channel_layout) ^~~~~~~~~~~~~~ In file included from keyfinder_cli.cpp:12: /usr/local/include/libavcodec/avcodec.h:1130:14: note: declared here uint64_t channel_layout; ^~~~~~~~~~~~~~ keyfinder_cli.cpp:153:27: warning: 'AVCodecContext::channel_layout' is deprecated [-Wdeprecated-declarations] if ( ! codec_context->channel_layout) ^~~~~~~~~~~~~~ In file included from keyfinder_cli.cpp:12: /usr/local/include/libavcodec/avcodec.h:1130:14: note: declared here uint64_t channel_layout; ^~~~~~~~~~~~~~ keyfinder_cli.cpp:153:27: warning: 'AVCodecContext::channel_layout' is deprecated [-Wdeprecated-declarations] if ( ! codec_context->channel_layout) ^~~~~~~~~~~~~~ In file included from keyfinder_cli.cpp:12: /usr/local/include/libavcodec/avcodec.h:1130:14: note: declared here uint64_t channel_layout; ^~~~~~~~~~~~~~ keyfinder_cli.cpp:155:24: warning: 'AVCodecContext::channel_layout' is deprecated [-Wdeprecated-declarations] codec_context->channel_layout = av_get_default_channel_layout(codec_context->channels); ^~~~~~~~~~~~~~ In file included from keyfinder_cli.cpp:12: /usr/local/include/libavcodec/avcodec.h:1130:14: note: declared here uint64_t channel_layout; ^~~~~~~~~~~~~~ keyfinder_cli.cpp:155:24: warning: 'AVCodecContext::channel_layout' is deprecated [-Wdeprecated-declarations] codec_context->channel_layout = av_get_default_channel_layout(codec_context->channels); ^~~~~~~~~~~~~~ In file included from keyfinder_cli.cpp:12: /usr/local/include/libavcodec/avcodec.h:1130:14: note: declared here uint64_t channel_layout; ^~~~~~~~~~~~~~ keyfinder_cli.cpp:155:24: warning: 'AVCodecContext::channel_layout' is deprecated [-Wdeprecated-declarations] codec_context->channel_layout = av_get_default_channel_layout(codec_context->channels); ^~~~~~~~~~~~~~ In file included from keyfinder_cli.cpp:12: /usr/local/include/libavcodec/avcodec.h:1130:14: note: declared here uint64_t channel_layout; ^~~~~~~~~~~~~~ keyfinder_cli.cpp:155:86: warning: 'AVCodecContext::channels' is deprecated [-Wdeprecated-declarations] codec_context->channel_layout = av_get_default_channel_layout(codec_context->channels); ^~~~~~~~ In file included from keyfinder_cli.cpp:12: /usr/local/include/libavcodec/avcodec.h:1072:9: note: declared here int channels; ^~~~~~~~ keyfinder_cli.cpp:155:86: warning: 'AVCodecContext::channels' is deprecated [-Wdeprecated-declarations] codec_context->channel_layout = av_get_default_channel_layout(codec_context->channels); ^~~~~~~~ In file included from keyfinder_cli.cpp:12: /usr/local/include/libavcodec/avcodec.h:1072:9: note: declared here int channels; ^~~~~~~~ keyfinder_cli.cpp:155:86: warning: 'AVCodecContext::channels' is deprecated [-Wdeprecated-declarations] codec_context->channel_layout = av_get_default_channel_layout(codec_context->channels); ^~~~~~~~ In file included from keyfinder_cli.cpp:12: /usr/local/include/libavcodec/avcodec.h:1072:9: note: declared here int channels; ^~~~~~~~ keyfinder_cli.cpp:155:94: warning: 'int64_t av_get_default_channel_layout(int)' is deprecated [-Wdeprecated-declarations] codec_context->channel_layout = av_get_default_channel_layout(codec_context->channels); ^ In file included from /usr/local/include/libavutil/opt.h:32, from keyfinder_cli.cpp:11: /usr/local/include/libavutil/channel_layout.h:506:9: note: declared here int64_t av_get_default_channel_layout(int nb_channels); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyfinder_cli.cpp:155:94: warning: 'int64_t av_get_default_channel_layout(int)' is deprecated [-Wdeprecated-declarations] codec_context->channel_layout = av_get_default_channel_layout(codec_context->channels); ^ In file included from /usr/local/include/libavutil/opt.h:32, from keyfinder_cli.cpp:11: /usr/local/include/libavutil/channel_layout.h:506:9: note: declared here int64_t av_get_default_channel_layout(int nb_channels); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyfinder_cli.cpp:160:75: warning: 'AVCodecContext::channel_layout' is deprecated [-Wdeprecated-declarations] av_opt_set_int(resample_ctx_ptr, "in_channel_layout", codec_context->channel_layout, 0); ^~~~~~~~~~~~~~ In file included from keyfinder_cli.cpp:12: /usr/local/include/libavcodec/avcodec.h:1130:14: note: declared here uint64_t channel_layout; ^~~~~~~~~~~~~~ keyfinder_cli.cpp:160:75: warning: 'AVCodecContext::channel_layout' is deprecated [-Wdeprecated-declarations] av_opt_set_int(resample_ctx_ptr, "in_channel_layout", codec_context->channel_layout, 0); ^~~~~~~~~~~~~~ In file included from keyfinder_cli.cpp:12: /usr/local/include/libavcodec/avcodec.h:1130:14: note: declared here uint64_t channel_layout; ^~~~~~~~~~~~~~ keyfinder_cli.cpp:160:75: warning: 'AVCodecContext::channel_layout' is deprecated [-Wdeprecated-declarations] av_opt_set_int(resample_ctx_ptr, "in_channel_layout", codec_context->channel_layout, 0); ^~~~~~~~~~~~~~ In file included from keyfinder_cli.cpp:12: /usr/local/include/libavcodec/avcodec.h:1130:14: note: declared here uint64_t channel_layout; ^~~~~~~~~~~~~~ keyfinder_cli.cpp:164:75: warning: 'AVCodecContext::channel_layout' is deprecated [-Wdeprecated-declarations] av_opt_set_int(resample_ctx_ptr, "out_channel_layout", codec_context->channel_layout, 0); ^~~~~~~~~~~~~~ In file included from keyfinder_cli.cpp:12: /usr/local/include/libavcodec/avcodec.h:1130:14: note: declared here uint64_t channel_layout; ^~~~~~~~~~~~~~ keyfinder_cli.cpp:164:75: warning: 'AVCodecContext::channel_layout' is deprecated [-Wdeprecated-declarations] av_opt_set_int(resample_ctx_ptr, "out_channel_layout", codec_context->channel_layout, 0); ^~~~~~~~~~~~~~ In file included from keyfinder_cli.cpp:12: /usr/local/include/libavcodec/avcodec.h:1130:14: note: declared here uint64_t channel_layout; ^~~~~~~~~~~~~~ keyfinder_cli.cpp:164:75: warning: 'AVCodecContext::channel_layout' is deprecated [-Wdeprecated-declarations] av_opt_set_int(resample_ctx_ptr, "out_channel_layout", codec_context->channel_layout, 0); ^~~~~~~~~~~~~~ In file included from keyfinder_cli.cpp:12: /usr/local/include/libavcodec/avcodec.h:1130:14: note: declared here uint64_t channel_layout; ^~~~~~~~~~~~~~ keyfinder_cli.cpp:176:38: warning: 'AVCodecContext::channel_layout' is deprecated [-Wdeprecated-declarations] audio.setChannels(codec_context->channel_layout); ^~~~~~~~~~~~~~ In file included from keyfinder_cli.cpp:12: /usr/local/include/libavcodec/avcodec.h:1130:14: note: declared here uint64_t channel_layout; ^~~~~~~~~~~~~~ keyfinder_cli.cpp:176:38: warning: 'AVCodecContext::channel_layout' is deprecated [-Wdeprecated-declarations] audio.setChannels(codec_context->channel_layout); ^~~~~~~~~~~~~~ In file included from keyfinder_cli.cpp:12: /usr/local/include/libavcodec/avcodec.h:1130:14: note: declared here uint64_t channel_layout; ^~~~~~~~~~~~~~ keyfinder_cli.cpp:176:38: warning: 'AVCodecContext::channel_layout' is deprecated [-Wdeprecated-declarations] audio.setChannels(codec_context->channel_layout); ^~~~~~~~~~~~~~ In file included from keyfinder_cli.cpp:12: /usr/local/include/libavcodec/avcodec.h:1130:14: note: declared here uint64_t channel_layout; ^~~~~~~~~~~~~~ keyfinder_cli.cpp:210:34: warning: 'AVFrame::channel_layout' is deprecated [-Wdeprecated-declarations] converted_frame->channel_layout = audio_frame->channel_layout; ^~~~~~~~~~~~~~ In file included from /usr/local/include/libavcodec/avcodec.h:36, from keyfinder_cli.cpp:12: /usr/local/include/libavutil/frame.h:575:14: note: declared here uint64_t channel_layout; ^~~~~~~~~~~~~~ keyfinder_cli.cpp:210:34: warning: 'AVFrame::channel_layout' is deprecated [-Wdeprecated-declarations] converted_frame->channel_layout = audio_frame->channel_layout; ^~~~~~~~~~~~~~ In file included from /usr/local/include/libavcodec/avcodec.h:36, from keyfinder_cli.cpp:12: /usr/local/include/libavutil/frame.h:575:14: note: declared here uint64_t channel_layout; ^~~~~~~~~~~~~~ keyfinder_cli.cpp:210:34: warning: 'AVFrame::channel_layout' is deprecated [-Wdeprecated-declarations] converted_frame->channel_layout = audio_frame->channel_layout; ^~~~~~~~~~~~~~ In file included from /usr/local/include/libavcodec/avcodec.h:36, from keyfinder_cli.cpp:12: /usr/local/include/libavutil/frame.h:575:14: note: declared here uint64_t channel_layout; ^~~~~~~~~~~~~~ keyfinder_cli.cpp:210:64: warning: 'AVFrame::channel_layout' is deprecated [-Wdeprecated-declarations] converted_frame->channel_layout = audio_frame->channel_layout; ^~~~~~~~~~~~~~ In file included from /usr/local/include/libavcodec/avcodec.h:36, from keyfinder_cli.cpp:12: /usr/local/include/libavutil/frame.h:575:14: note: declared here uint64_t channel_layout; ^~~~~~~~~~~~~~ keyfinder_cli.cpp:210:64: warning: 'AVFrame::channel_layout' is deprecated [-Wdeprecated-declarations] converted_frame->channel_layout = audio_frame->channel_layout; ^~~~~~~~~~~~~~ In file included from /usr/local/include/libavcodec/avcodec.h:36, from keyfinder_cli.cpp:12: /usr/local/include/libavutil/frame.h:575:14: note: declared here uint64_t channel_layout; ^~~~~~~~~~~~~~ keyfinder_cli.cpp:210:64: warning: 'AVFrame::channel_layout' is deprecated [-Wdeprecated-declarations] converted_frame->channel_layout = audio_frame->channel_layout; ^~~~~~~~~~~~~~ In file included from /usr/local/include/libavcodec/avcodec.h:36, from keyfinder_cli.cpp:12: /usr/local/include/libavutil/frame.h:575:14: note: declared here uint64_t channel_layout; ^~~~~~~~~~~~~~ /usr/local/lib/libavformat.so.23.0: warning: strcpy() is almost always misused, please use strlcpy() /usr/local/lib/libbz2.so.10.4: warning: strcat() is almost always misused, please use strlcat() /usr/local/lib/libaom.so.6.0: warning: rand() may return deterministic values, is that what you want? /usr/local/lib/libmp3lame.so.2.2: warning: sprintf() is often misused, please use snprintf() /usr/local/lib/libx264.so.25.0: warning: stpcpy() is dangerous; do not use it /usr/local/lib/libxvidcore.so.5.0: warning: vsprintf() is often misused, please use vsnprintf() /usr/bin/ld: warning: libva.so.2.22, needed by /usr/local/lib/libavcodec.so.26.0, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libva-drm.so.2.22, needed by /usr/local/lib/libavutil.so.16.0, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libva-x11.so.2.22, needed by /usr/local/lib/libavutil.so.16.0, not found (try using -rpath or -rpath-link) /usr/local/lib/libavutil.so.16.0: undefined reference to `vaSetErrorCallback' /usr/local/lib/libavcodec.so.26.0: undefined reference to `vaCreateContext' /usr/local/lib/libavutil.so.16.0: undefined reference to `vaPutImage' /usr/local/lib/libavutil.so.16.0: undefined reference to `XCloseDisplay' /usr/local/lib/libavutil.so.16.0: undefined reference to `vaCreateImage' /usr/local/lib/libavcodec.so.26.0: undefined reference to `vaMapBuffer' /usr/local/lib/libavcodec.so.26.0: undefined reference to `vaDestroyContext' /usr/local/lib/libavcodec.so.26.0: undefined reference to `vaGetConfigAttributes' /usr/local/lib/libavutil.so.16.0: undefined reference to `vaGetDisplay' /usr/local/lib/libavcodec.so.26.0: undefined reference to `vaMaxNumProfiles' /usr/local/lib/libavcodec.so.26.0: undefined reference to `vaQueryConfigEntrypoints' /usr/local/lib/libavcodec.so.26.0: undefined reference to `vaDestroyBuffer' /usr/local/lib/libavutil.so.16.0: undefined reference to `vaSetDriverName' /usr/local/lib/libavcodec.so.26.0: undefined reference to `vaEndPicture' /usr/local/lib/libavcodec.so.26.0: undefined reference to `vaQuerySurfaceAttributes' /usr/local/lib/libavutil.so.16.0: undefined reference to `vaInitialize' /usr/local/lib/libavcodec.so.26.0: undefined reference to `vaRenderPicture' /usr/local/lib/libavutil.so.16.0: undefined reference to `vaMaxNumImageFormats' /usr/local/lib/libavcodec.so.26.0: undefined reference to `vaDestroyConfig' /usr/local/lib/libavutil.so.16.0: undefined reference to `vaQueryImageFormats' /usr/local/lib/libavcodec.so.26.0: undefined reference to `vaCreateConfig' /usr/local/lib/libavutil.so.16.0: undefined reference to `vaDestroyImage' /usr/local/lib/libavcodec.so.26.0: undefined reference to `vaBeginPicture' /usr/local/lib/libavcodec.so.26.0: undefined reference to `vaEntrypointStr' /usr/local/lib/libavutil.so.16.0: undefined reference to `vaTerminate' /usr/local/lib/libavcodec.so.26.0: undefined reference to `vaQueryVendorString' /usr/local/lib/libavcodec.so.26.0: undefined reference to `vaSyncBuffer' /usr/local/lib/libavutil.so.16.0: undefined reference to `vaSetInfoCallback' /usr/local/lib/libavutil.so.16.0: undefined reference to `vaGetDisplayDRM' /usr/local/lib/libavcodec.so.26.0: undefined reference to `vaQueryConfigProfiles' /usr/local/lib/libavcodec.so.26.0: undefined reference to `vaCreateBuffer' /usr/local/lib/libavcodec.so.26.0: undefined reference to `vaUnmapBuffer' /usr/local/lib/libavutil.so.16.0: undefined reference to `vaDeriveImage' /usr/local/lib/libavcodec.so.26.0: undefined reference to `vaProfileStr' /usr/local/lib/libavcodec.so.26.0: undefined reference to `vaErrorStr' /usr/local/lib/libavutil.so.16.0: undefined reference to `vaCreateSurfaces@VA_API_0.33.0' /usr/local/lib/libavutil.so.16.0: undefined reference to `vaGetImage' /usr/local/lib/libavcodec.so.26.0: undefined reference to `vaMaxNumEntrypoints' /usr/local/lib/libavutil.so.16.0: undefined reference to `vaDestroySurfaces' /usr/local/lib/libavcodec.so.26.0: undefined reference to `vaSyncSurface' /usr/local/lib/libavutil.so.16.0: undefined reference to `XDisplayName' /usr/local/lib/libavutil.so.16.0: undefined reference to `XOpenDisplay' collect2: error: ld returned 1 exit status *** Error 1 in /usr/obj/ports/keyfinder-cli-1.1.2/keyfinder-cli-1.1.2 (Makefile:8 'keyfinder-cli') *** Error 2 in audio/keyfinder-cli (/usr/ports/infrastructure/mk/bsd.port.mk:3069 '/usr/obj/ports/keyfinder-cli-1.1.2/.build_done': @cd /usr...) *** Error 2 in audio/keyfinder-cli (/usr/ports/infrastructure/mk/bsd.port.mk:2712 'build': @lock=keyfinder-cli-1.1.2; export _LOCKS_HELD=" ...) ===> Exiting audio/keyfinder-cli with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval...) >>> Ended at 1749907990.48 max_stuck=64.35/waiting-for-lock #148=39.10/depends=76.23/show-prepare-results=9.90/patch=3.08/configure=2.22/build=20.42 Error: job failed with 512 on sparc64-0b at 1749907990