D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/spek-0.8.3-17.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.IUMOBm + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf spek-0.8.3 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/spek-0.8.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd spek-0.8.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/ffmpeg_2.9.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/spek-autoconf.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.u5ulDo + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd spek-0.8.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + NOCONFIGURE=1 + ./autogen.sh autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: running: intltoolize --automake --copy --force autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: intltoolize --copy --force autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:58: installing './compile' configure.ac:15: installing './config.guess' configure.ac:15: installing './config.sub' configure.ac:4: installing './install-sh' configure.ac:4: installing './missing' src/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' autoreconf: Leaving directory '.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk 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-mageia-linux-gnu-g++... no checking for x86_64-mageia-linux-gnu-c++... no checking for x86_64-mageia-linux-gnu-gpp... no checking for x86_64-mageia-linux-gnu-aCC... no checking for x86_64-mageia-linux-gnu-CC... no checking for x86_64-mageia-linux-gnu-cxx... no checking for x86_64-mageia-linux-gnu-cc++... no checking for x86_64-mageia-linux-gnu-cl.exe... no checking for x86_64-mageia-linux-gnu-FCC... no checking for x86_64-mageia-linux-gnu-KCC... no checking for x86_64-mageia-linux-gnu-RCC... no checking for x86_64-mageia-linux-gnu-xlC_r... no checking for x86_64-mageia-linux-gnu-xlC... no checking for x86_64-mageia-linux-gnu-clang++... no checking for g++... g++ 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 the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking whether NLS is requested... yes checking for intltool >= 0.40.0... 0.51.0 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.34.1 checking for XML::Parser... ok checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking the OS... UNIX checking for valgrind... no checking for log10 in -lm... yes checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for FFMPEG... yes checking for wx-config... /usr/bin/wx-config checking for wxWidgets version >= 2.8.0... yes (version 3.1.5) checking for wxWidgets static library... no checking for a sed that does not truncate output... /usr/bin/sed checking for msgfmt... (cached) /usr/bin/msgfmt checking for gmsgfmt... (cached) /usr/bin/msgfmt checking for xgettext... (cached) /usr/bin/xgettext checking for msgmerge... (cached) /usr/bin/msgmerge checking for x86_64-mageia-linux-gnu-gcc... no checking for gcc... gcc checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking 32-bit host C ABI... no checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ELF binary format... yes checking for the common suffixes of directories in the library search path... lib,lib,lib64 checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyPreferredLanguages... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating data/spek.desktop.in config.status: creating data/Makefile config.status: creating data/icons/Makefile config.status: creating data/icons/16x16/Makefile config.status: creating data/icons/22x22/Makefile config.status: creating data/icons/24x24/Makefile config.status: creating data/icons/32x32/Makefile config.status: creating data/icons/48x48/Makefile config.status: creating data/icons/scalable/Makefile config.status: creating dist/osx/Info.plist config.status: creating dist/win/spek.wxs config.status: creating man/Makefile config.status: creating man/spek.1 config.status: creating po/Makefile.in config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating web/version config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing po/stamp-it commands + /usr/bin/make -O -j12 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in data Making all in icons Making all in 16x16 make[4]: Nothing to be done for 'all'. Making all in 22x22 make[4]: Nothing to be done for 'all'. Making all in 24x24 make[4]: Nothing to be done for 'all'. Making all in 32x32 make[4]: Nothing to be done for 'all'. Making all in 48x48 make[4]: Nothing to be done for 'all'. Making all in scalable make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all-am'. make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/data' LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po spek.desktop.in spek.desktop Generating and caching the translation database Merging translations into spek.desktop. make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/data' Making all in man make[2]: Nothing to be done for 'all'. Making all in po make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' file=`echo cs | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file cs.po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' file=`echo de | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file de.po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' file=`echo da | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file da.po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' file=`echo eo | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file eo.po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' file=`echo es | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file es.po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' file=`echo fr | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file fr.po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' file=`echo ja | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file ja.po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' file=`echo nb | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file nb.po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' file=`echo it | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file it.po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' file=`echo nl | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file nl.po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' file=`echo zh_CN | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file zh_CN.po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' file=`echo ru | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file ru.po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' file=`echo tr | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file tr.po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' file=`echo pl | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file pl.po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' file=`echo vi | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file vi.po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' file=`echo sv | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file sv.po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' file=`echo pt_BR | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file pt_BR.po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' file=`echo uk | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file uk.po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' file=`echo zh_TW | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file zh_TW.po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/po' Making all in src make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/src' g++ -DHAVE_CONFIG_H -I. -I.. -include config.h -pthread -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk3-unicode-3.1 -I/usr/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk3-unicode-3.1 -I/usr/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu++11 -Wall -Wextra -c -o libspek_a-spek-palette.o `test -f 'spek-palette.cc' || echo './'`spek-palette.cc make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/src' g++ -DHAVE_CONFIG_H -I. -I.. -include config.h -pthread -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk3-unicode-3.1 -I/usr/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk3-unicode-3.1 -I/usr/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu++11 -Wall -Wextra -c -o libspek_a-spek-fft.o `test -f 'spek-fft.cc' || echo './'`spek-fft.cc make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/src' g++ -DHAVE_CONFIG_H -I. -I.. -include config.h -pthread -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk3-unicode-3.1 -I/usr/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk3-unicode-3.1 -I/usr/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu++11 -Wall -Wextra -c -o libspek_a-spek-utils.o `test -f 'spek-utils.cc' || echo './'`spek-utils.cc make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/src' g++ -DHAVE_CONFIG_H -I. -I.. -include config.h -pthread -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk3-unicode-3.1 -I/usr/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk3-unicode-3.1 -I/usr/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu++11 -Wall -Wextra -c -o libspek_a-spek-audio.o `test -f 'spek-audio.cc' || echo './'`spek-audio.cc spek-audio.cc: In constructor 'Audio::Audio()': spek-audio.cc:82:5: error: 'av_register_all' was not declared in this scope 82 | av_register_all(); | ^~~~~~~~~~~~~~~ spek-audio.cc: In member function 'std::unique_ptr Audio::open(const std::string&)': spek-audio.cc:105:45: error: 'AVStream' {aka 'struct AVStream'} has no member named 'codec' 105 | if (format_context->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO) { | ^~~~~ spek-audio.cc:120:33: error: 'AVStream' {aka 'struct AVStream'} has no member named 'codec' 120 | codec_context = stream->codec; | ^~~~~ spek-audio.cc:121:37: error: invalid conversion from 'const AVCodec*' to 'AVCodec*' [-fpermissive] 121 | codec = avcodec_find_decoder(codec_context->codec_id); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ | | | const AVCodec* spek-audio.cc: In constructor 'AudioFileImpl::AudioFileImpl(AudioError, AVFormatContext*, int, const std::string&, int, int, int, int, double, bool, int, bool)': spek-audio.cc:201:19: warning: 'void av_init_packet(AVPacket*)' is deprecated [-Wdeprecated-declarations] 201 | av_init_packet(&this->packet); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/include/libavformat/avformat.h:316, from spek-audio.cc:21: /usr/include/libavcodec/packet.h:506:6: note: declared here 506 | void av_init_packet(AVPacket *pkt); | ^~~~~~~~~~~~~~ spek-audio.cc: In destructor 'virtual AudioFileImpl::~AudioFileImpl()': spek-audio.cc:230:9: error: 'av_free_packet' was not declared in this scope; did you mean 'av_new_packet'? 230 | av_free_packet(&this->packet); | ^~~~~~~~~~~~~~ | av_new_packet spek-audio.cc:234:85: error: 'AVStream' {aka 'struct AVStream'} has no member named 'codec' 234 | auto codec_context = this->format_context->streams[this->audio_stream]->codec; | ^~~~~ spek-audio.cc: In member function 'virtual int AudioFileImpl::read()': spek-audio.cc:262:85: error: 'AVStream' {aka 'struct AVStream'} has no member named 'codec' 262 | auto codec_context = this->format_context->streams[this->audio_stream]->codec; | ^~~~~ spek-audio.cc:264:23: error: 'avcodec_decode_audio4' was not declared in this scope; did you mean 'avcodec_decode_subtitle2'? 264 | int len = avcodec_decode_audio4(codec_context, this->frame, &got_frame, &this->packet); | ^~~~~~~~~~~~~~~~~~~~~ | avcodec_decode_subtitle2 spek-audio.cc:305:13: error: 'av_free_packet' was not declared in this scope; did you mean 'av_new_packet'? 305 | av_free_packet(&this->packet); | ^~~~~~~~~~~~~~ | av_new_packet spek-audio.cc:313:13: error: 'av_free_packet' was not declared in this scope; did you mean 'av_new_packet'? 313 | av_free_packet(&this->packet); | ^~~~~~~~~~~~~~ | av_new_packet make[2]: *** [Makefile:559: libspek_a-spek-audio.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/src' g++ -DHAVE_CONFIG_H -I. -I.. -include config.h -pthread -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk3-unicode-3.1 -I/usr/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk3-unicode-3.1 -I/usr/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu++11 -Wall -Wextra -c -o spek-spek-artwork.o `test -f 'spek-artwork.cc' || echo './'`spek-artwork.cc make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/src' g++ -DHAVE_CONFIG_H -I. -I.. -include config.h -pthread -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk3-unicode-3.1 -I/usr/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk3-unicode-3.1 -I/usr/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu++11 -Wall -Wextra -c -o spek-spek-platform.o `test -f 'spek-platform.cc' || echo './'`spek-platform.cc make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/src' g++ -DHAVE_CONFIG_H -I. -I.. -include config.h -pthread -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk3-unicode-3.1 -I/usr/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk3-unicode-3.1 -I/usr/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu++11 -Wall -Wextra -c -o spek-spek-preferences.o `test -f 'spek-preferences.cc' || echo './'`spek-preferences.cc make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/src' g++ -DHAVE_CONFIG_H -I. -I.. -include config.h -pthread -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk3-unicode-3.1 -I/usr/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk3-unicode-3.1 -I/usr/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu++11 -Wall -Wextra -c -o spek-spek-ruler.o `test -f 'spek-ruler.cc' || echo './'`spek-ruler.cc make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/src' g++ -DHAVE_CONFIG_H -I. -I.. -include config.h -pthread -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk3-unicode-3.1 -I/usr/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk3-unicode-3.1 -I/usr/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu++11 -Wall -Wextra -c -o libspek_a-spek-pipeline.o `test -f 'spek-pipeline.cc' || echo './'`spek-pipeline.cc make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/src' g++ -DHAVE_CONFIG_H -I. -I.. -include config.h -pthread -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk3-unicode-3.1 -I/usr/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk3-unicode-3.1 -I/usr/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu++11 -Wall -Wextra -c -o spek-spek-events.o `test -f 'spek-events.cc' || echo './'`spek-events.cc make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/src' g++ -DHAVE_CONFIG_H -I. -I.. -include config.h -pthread -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk3-unicode-3.1 -I/usr/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk3-unicode-3.1 -I/usr/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu++11 -Wall -Wextra -c -o spek-spek.o `test -f 'spek.cc' || echo './'`spek.cc make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/src' g++ -DHAVE_CONFIG_H -I. -I.. -include config.h -pthread -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk3-unicode-3.1 -I/usr/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk3-unicode-3.1 -I/usr/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu++11 -Wall -Wextra -c -o spek-spek-preferences-dialog.o `test -f 'spek-preferences-dialog.cc' || echo './'`spek-preferences-dialog.cc make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/src' g++ -DHAVE_CONFIG_H -I. -I.. -include config.h -pthread -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk3-unicode-3.1 -I/usr/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk3-unicode-3.1 -I/usr/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu++11 -Wall -Wextra -c -o spek-spek-spectrogram.o `test -f 'spek-spectrogram.cc' || echo './'`spek-spectrogram.cc In file included from /usr/include/wx-3.1/wx/window.h:18, from /usr/include/wx-3.1/wx/dcbuffer.h:16, from spek-spectrogram.cc:21: spek-events.h:51:5: warning: cast between incompatible pointer to member types from 'void (wxEvtHandler::*)(SpekHaveSampleEvent&)' to 'wxObjectEventFunction' {aka 'void (wxEvtHandler::*)(wxEvent&)'} [-Wcast-function-type] 51 | (wxObjectEventFunction) (SpekHaveSampleEventFunction) &fn, (wxObject *) NULL ), /usr/include/wx-3.1/wx/event.h:91:73: note: in definition of macro 'wxDECLARE_EVENT_TABLE_ENTRY' 91 | wxEventTableEntry(type, winid, idLast, wxNewEventTableFunctor(type, fn), obj) | ^~ spek-events.h:50:5: note: in expansion of macro 'DECLARE_EVENT_TABLE_ENTRY' 50 | DECLARE_EVENT_TABLE_ENTRY(SPEK_HAVE_SAMPLE, -1, -1, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ spek-spectrogram.cc:37:5: note: in expansion of macro 'SPEK_EVT_HAVE_SAMPLE' 37 | SPEK_EVT_HAVE_SAMPLE(SpekSpectrogram::on_have_sample) | ^~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/src' g++ -DHAVE_CONFIG_H -I. -I.. -include config.h -pthread -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk3-unicode-3.1 -I/usr/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/lib64/wx/include/ -I/usr/lib64/wx/include/gtk3-unicode-3.1 -I/usr/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=gnu++11 -Wall -Wextra -c -o spek-spek-window.o `test -f 'spek-window.cc' || echo './'`spek-window.cc make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/spek-0.8.3/src' make[1]: *** [Makefile:455: all-recursive] Error 1 make: *** [Makefile:390: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.u5ulDo (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.u5ulDo (%build) I: [iurt_root_command] ERROR: chroot