D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/vdr-plugin-vcd-0.9-19.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.XEemYW + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf vcd-0.9 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/vdr-vcd-0.9.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd vcd-0.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/vcd-0.9-i18n-1.6.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/90_vcd-0.9-1.7.3.dpatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + for file in po/*.po + grep -Eq 'msgstr ".+"' po/ca_ES.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/de_DE.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/el_GR.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/es_ES.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/fi_FI.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/fr_FR.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/hu_HU.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/it_IT.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/nl_NL.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/nn_NO.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/pl_PL.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/pt_PT.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/ro_RO.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/sl_SI.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/sv_SE.po + set +x Silent renaming of locales + touch vdr_plugin_prep.done + vdr_plugin_params_do + local gotvar= + local gotparam= + local gotdefault= + echo '# Do not modify this file, use /etc/sysconfig/vdr-vcd instead' + echo '# Do not modify this file, use /etc/sysconfig/vdr-vcd instead' + echo '# VDR plugin vcd configuration' + echo + echo '# You can also define the plugin arguments manually by using the' + echo '# VDR_PLUGIN_ARGS variable below. Note that setting VDR_PLUGIN_ARGS will' + echo '# override all the other settings in this file and that setting' + echo '# VDR_PLUGIN_ARGS_vcd in the main VDR sysconfig file will' + echo '# override this file completely.' + echo '# VDR_PLUGIN_ARGS=""' + echo + read INPUT + '[' -z '' ']' + continue + read INPUT + '[' -z '# use DEV as the CD-ROM device' ']' + echo '# use DEV as the CD-ROM device' + grep -q '^#' + '[' -n '' ']' + echo '# use DEV as the CD-ROM device' + continue + read INPUT + '[' -z '# default: /dev/cdrom' ']' + echo '# default: /dev/cdrom' + grep -q '^#' + '[' -n '' ']' + echo '# default: /dev/cdrom' + continue + read INPUT + '[' -z var=VCD_DEVICE ']' + echo var=VCD_DEVICE + grep -q '^#' + echo var=VCD_DEVICE + grep -q '^var=' + gotvar=VCD_DEVICE + continue + read INPUT + '[' -z param=--vcd=VCD_DEVICE ']' + echo param=--vcd=VCD_DEVICE + grep -q '^#' + echo param=--vcd=VCD_DEVICE + grep -q '^var=' + echo param=--vcd=VCD_DEVICE + grep -q '^param=' + eval gotparam=--vcd=VCD_DEVICE ++ gotparam=--vcd=VCD_DEVICE + continue + read INPUT + vdr_plugin_params_handle + echo --vcd=VCD_DEVICE + grep -q VCD_DEVICE + echo 'local VCD_DEVICE=""' + echo '# VCD_DEVICE=""' ++ echo --vcd=VCD_DEVICE ++ sed 's/VCD_DEVICE/'\''$VCD_DEVICE'\''/' + gotparam='--vcd='\''$VCD_DEVICE'\''' + echo '[ -n "$VCD_DEVICE" ] && echo "--vcd='\''$VCD_DEVICE'\''"' + echo + gotvar= + gotparam= + gotdefault= + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.YjwCBz + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd vcd-0.9 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j4 V=1 VERBOSE=1 all 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags ' 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags ' 'LDFLAGS= -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' PLUGINLIBDIR=/usr/lib64/vdr VIDEODIR=/var/lib/vdr/video LIBDIR=. LOCALEDIR=locale 'VDRLOCALE=""' DVBDIR=/usr VDRDIR=/usr/include/vdr VDRVERSION=2.4.6-3.mga9 VDRVERSNUM=20406 APIVERSION=2.4.6.1 APIVERSNUM=20406 g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -c -DPLUGIN_NAME_I18N='"vcd"' -D_GNU_SOURCE -I -I/usr vcd.c vcd.c: In member function 'virtual cOsdMenu* cPluginVcd::MainMenuAction()': vcd.c:140:20: error: 'max' was not declared in this scope; did you mean 'std::max'? 140 | psd_size = max((int)U32_TO_LE(vcd->vcdInfo.psd_size), PSD_VCD_MAX_SIZE*CD_XA21_DATASIZE); | ^~~ | std::max In file included from /usr/include/c++/11/bits/specfun.h:45, from /usr/include/c++/11/cmath:1935, from /usr/include/c++/11/math.h:36, from /usr/include/vdr/tools.h:18, from /usr/include/vdr/i18n.h:14, from /usr/include/vdr/config.h:19, from /usr/include/vdr/interface.h:13, from vcd.c:25: /usr/include/c++/11/bits/stl_algobase.h:300:5: note: 'std::max' declared here 300 | max(const _Tp& __a, const _Tp& __b, _Compare __comp) | ^~~ vcd.c:144:20: error: 'max' was not declared in this scope; did you mean 'std::max'? 144 | psd_size = max((int)U32_TO_LE(vcd->vcdInfo.psd_size), PSD_VCD_MAX_SIZE*CD_XA21_DATASIZE); | ^~~ | std::max In file included from /usr/include/c++/11/bits/specfun.h:45, from /usr/include/c++/11/cmath:1935, from /usr/include/c++/11/math.h:36, from /usr/include/vdr/tools.h:18, from /usr/include/vdr/i18n.h:14, from /usr/include/vdr/config.h:19, from /usr/include/vdr/interface.h:13, from vcd.c:25: /usr/include/c++/11/bits/stl_algobase.h:300:5: note: 'std::max' declared here 300 | max(const _Tp& __a, const _Tp& __b, _Compare __comp) | ^~~ vcd.c: In member function 'virtual const char* cPluginVcd::Description()': vcd.c:73:14: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 73 | asprintf(&buf, "%s (%s)", DESCRIPTION, option_vcd); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vcd.c: In member function 'virtual const char* cPluginVcd::MainMenuEntry()': vcd.c:122:17: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 122 | asprintf(&buf, "%s (%s)", tr(MAINMENUENTRY), option_vcd); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:61: vcd.o] Error 1 make: *** Waiting for unfinished jobs.... g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -c -DPLUGIN_NAME_I18N='"vcd"' -D_GNU_SOURCE -I -I/usr functions.c g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -c -DPLUGIN_NAME_I18N='"vcd"' -D_GNU_SOURCE -I -I/usr player.c player.c: In member function 'void cVcdPlayer::TrickSpeed(int)': player.c:164:22: error: no matching function for call to 'cVcdPlayer::DeviceTrickSpeed(int&)' 164 | DeviceTrickSpeed(sp); | ~~~~~~~~~~~~~~~~^~~~ In file included from player.h:27, from player.c:24: /usr/include/vdr/player.h:30:8: note: candidate: 'void cPlayer::DeviceTrickSpeed(int, bool)' 30 | void DeviceTrickSpeed(int Speed, bool Forward) { if (device) device->TrickSpeed(Speed, Forward); } | ^~~~~~~~~~~~~~~~ /usr/include/vdr/player.h:30:8: note: candidate expects 2 arguments, 1 provided player.c: In member function 'virtual bool cVcdPlayer::GetIndex(int&, int&, bool)': player.c:478:13: error: 'max' was not declared in this scope; did you mean 'std::max'? 478 | Current = max((writeLba - trackOffset - CD_MSF_OFFSET) / 3, 0); | ^~~ | std::max In file included from /usr/include/c++/11/bits/specfun.h:45, from /usr/include/c++/11/cmath:1935, from /usr/include/c++/11/math.h:36, from /usr/include/vdr/tools.h:18, from /usr/include/vdr/i18n.h:14, from /usr/include/vdr/config.h:19, from /usr/include/vdr/channels.h:13, from /usr/include/vdr/device.h:13, from /usr/include/vdr/player.h:13, from player.h:27, from player.c:24: /usr/include/c++/11/bits/stl_algobase.h:300:5: note: 'std::max' declared here 300 | max(const _Tp& __a, const _Tp& __b, _Compare __comp) | ^~~ player.c: In member function 'void cVcdPlayer::StripAudioPackets(uchar*, int, uchar)': player.c:748:38: error: 'min' was not declared in this scope; did you mean 'std::min'? 748 | memset(&b[i], 0x00, min(l, Length-i)); | ^~~ | std::min In file included from /usr/include/c++/11/bits/specfun.h:45, from /usr/include/c++/11/cmath:1935, from /usr/include/c++/11/math.h:36, from /usr/include/vdr/tools.h:18, from /usr/include/vdr/i18n.h:14, from /usr/include/vdr/config.h:19, from /usr/include/vdr/channels.h:13, from /usr/include/vdr/device.h:13, from /usr/include/vdr/player.h:13, from player.h:27, from player.c:24: /usr/include/c++/11/bits/stl_algobase.h:278:5: note: 'std::min' declared here 278 | min(const _Tp& __a, const _Tp& __b, _Compare __comp) | ^~~ make: *** [Makefile:61: player.o] Error 1 g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -c -DPLUGIN_NAME_I18N='"vcd"' -D_GNU_SOURCE -I -I/usr menu.c menu.c: In constructor 'cMenu::cMenu(cVcd*)': menu.c:50:14: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 50 | asprintf(&buf, "VCD %d/%d %s", | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 51 | U16_TO_LE(vcd->vcdInfo.album_sequence), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 52 | U16_TO_LE(vcd->vcdInfo.album_volumes), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 53 | vcdTitle); | ~~~~~~~~~ menu.c:64:14: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 64 | asprintf(&buf, "noVCD"); | ~~~~~~~~^~~~~~~~~~~~~~~ menu.c: In constructor 'cMenuSpiItem::cMenuSpiItem(int, int, __u8)': menu.c:124:11: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 124 | asprintf(&buffer, "Item %04d/%d %s%s%s%s%s%s%s%s%s", Spi, Size, | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 125 | SPI_AUDIO(Contents) == SPI_1CH_AUDIO ? "Audio " : "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 126 | SPI_AUDIO(Contents) == SPI_2CH_AUDIO ? "2Ch.Audio " : "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 127 | SPI_AUDIO(Contents) == SPI_MUL_AUDIO ? "Multich.Audio " : "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 128 | SPI_VIDEO(Contents) == SPI_NTSC_STILL ? "NTSC Image " : "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 129 | SPI_VIDEO(Contents) == SPI_NTSC_STILL2 ? "NTSC Image+ " : "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 130 | SPI_VIDEO(Contents) == SPI_NTSC_VIDEO ? "NTSC Video " : "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 131 | SPI_VIDEO(Contents) == SPI_PAL_STILL ? "PAL Image " : "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 132 | SPI_VIDEO(Contents) == SPI_PAL_STILL2 ? "PAL Image+ " : "", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 133 | SPI_VIDEO(Contents) == SPI_PAL_VIDEO ? "PAL Video " : "" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 134 | ); | ~ menu.c: In constructor 'cMenuVcdItem::cMenuVcdItem(int, cdrom_msf0, cdrom_msf0, bool)': menu.c:218:11: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 218 | asprintf(&buffer, "Track %02d %02d:%02d.%02d %02d:%02d.%02d %s", Track, | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 219 | strt.minute, strt.second, strt.frame, len.minute, len.second, len.frame, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | Pal ? "PAL" : "NTSC"); | ~~~~~~~~~~~~~~~~~~~~~ menu.c: In constructor 'cMenuVcdItem::cMenuVcdItem(int, cdrom_msf0, cdrom_msf0)': menu.c:228:11: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 228 | asprintf(&buffer, "Track %02d %02d:%02d.%02d %02d:%02d.%02d", Track+1, | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 229 | strt.minute, strt.second, strt.frame, len.minute, len.second, len.frame); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.YjwCBz (%build) RPM build errors: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.YjwCBz (%build) I: [iurt_root_command] ERROR: chroot