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-suspendoutput-1.0.1-17.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.0qXevv + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf suspendoutput-1.0.1 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/vdr-suspendoutput-1.0.1.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd suspendoutput-1.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/vdr-suspendoutput-1.0.1-mga-fix-build.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + for file in po/*.po + grep -Eq 'msgstr ".+"' po/fi_FI.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/it_IT.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-suspendoutput instead' + echo '# Do not modify this file, use /etc/sysconfig/vdr-suspendoutput instead' + echo '# VDR plugin suspendoutput 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_suspendoutput in the main VDR sysconfig file will' + echo '# override this file completely.' + echo '# VDR_PLUGIN_ARGS=""' + echo + read INPUT + '[' -z '' ']' + continue + read INPUT + '[' -z '# Show suspend/resume entry in main menu (default)' ']' + echo '# Show suspend/resume entry in main menu (default)' + grep -q '^#' + '[' -n '' ']' + echo '# Show suspend/resume entry in main menu (default)' + continue + read INPUT + '[' -z var=MENU ']' + echo var=MENU + grep -q '^#' + echo var=MENU + grep -q '^var=' + gotvar=MENU + continue + read INPUT + '[' -z param=-m ']' + echo param=-m + grep -q '^#' + echo param=-m + grep -q '^var=' + echo param=-m + grep -q '^param=' + eval gotparam=-m ++ gotparam=-m + continue + read INPUT + '[' -z '# Don'\''t show entry in main menu' ']' + echo '# Don'\''t show entry in main menu' + grep -q '^#' + '[' -n MENU ']' + '[' -n -m ']' + vdr_plugin_params_handle + echo -m + grep -q MENU + echo -m + grep -q MULTIPLE_PARAMS + '[' -z '' ']' + gotdefault=no + echo 'local MENU="no"' + echo '# MENU="no"' + echo '[ "$MENU" = "yes" ] && echo "-m"' + echo + gotvar= + gotparam= + gotdefault= + echo '# Don'\''t show entry in main menu' + continue + read INPUT + '[' -z var=NOMENU ']' + echo var=NOMENU + grep -q '^#' + echo var=NOMENU + grep -q '^var=' + gotvar=NOMENU + continue + read INPUT + '[' -z param=-M ']' + echo param=-M + grep -q '^#' + echo param=-M + grep -q '^var=' + echo param=-M + grep -q '^param=' + eval gotparam=-M ++ gotparam=-M + continue + read INPUT + '[' -z '# Suspend output after MIN minutes of inactivity (default: 120 minutes)' ']' + echo '# Suspend output after MIN minutes of inactivity (default: 120 minutes)' + grep -q '^#' + '[' -n NOMENU ']' + '[' -n -M ']' + vdr_plugin_params_handle + echo -M + grep -q NOMENU + echo -M + grep -q MULTIPLE_PARAMS + '[' -z '' ']' + gotdefault=no + echo 'local NOMENU="no"' + echo '# NOMENU="no"' + echo '[ "$NOMENU" = "yes" ] && echo "-M"' + echo + gotvar= + gotparam= + gotdefault= + echo '# Suspend output after MIN minutes of inactivity (default: 120 minutes)' + continue + read INPUT + '[' -z var=TIMER_MIN ']' + echo var=TIMER_MIN + grep -q '^#' + echo var=TIMER_MIN + grep -q '^var=' + gotvar=TIMER_MIN + continue + read INPUT + '[' -z param=--timer=TIMER_MIN ']' + echo param=--timer=TIMER_MIN + grep -q '^#' + echo param=--timer=TIMER_MIN + grep -q '^var=' + echo param=--timer=TIMER_MIN + grep -q '^param=' + eval gotparam=--timer=TIMER_MIN ++ gotparam=--timer=TIMER_MIN + continue + read INPUT + '[' -z '# Disable inactivity timer' ']' + echo '# Disable inactivity timer' + grep -q '^#' + '[' -n TIMER_MIN ']' + '[' -n --timer=TIMER_MIN ']' + vdr_plugin_params_handle + echo --timer=TIMER_MIN + grep -q TIMER_MIN + echo 'local TIMER_MIN=""' + echo '# TIMER_MIN=""' ++ echo --timer=TIMER_MIN ++ sed 's/TIMER_MIN/'\''$TIMER_MIN'\''/' + gotparam='--timer='\''$TIMER_MIN'\''' + echo '[ -n "$TIMER_MIN" ] && echo "--timer='\''$TIMER_MIN'\''"' + echo + gotvar= + gotparam= + gotdefault= + echo '# Disable inactivity timer' + continue + read INPUT + '[' -z var=NOTIMER ']' + echo var=NOTIMER + grep -q '^#' + echo var=NOTIMER + grep -q '^var=' + gotvar=NOTIMER + continue + read INPUT + '[' -z param=-T ']' + echo param=-T + grep -q '^#' + echo param=-T + grep -q '^var=' + echo param=-T + grep -q '^param=' + eval gotparam=-T ++ gotparam=-T + continue + read INPUT + '[' -z '# Allow suspend when replay is paused' ']' + echo '# Allow suspend when replay is paused' + grep -q '^#' + '[' -n NOTIMER ']' + '[' -n -T ']' + vdr_plugin_params_handle + echo -T + grep -q NOTIMER + echo -T + grep -q MULTIPLE_PARAMS + '[' -z '' ']' + gotdefault=no + echo 'local NOTIMER="no"' + echo '# NOTIMER="no"' + echo '[ "$NOTIMER" = "yes" ] && echo "-T"' + echo + gotvar= + gotparam= + gotdefault= + echo '# Allow suspend when replay is paused' + continue + read INPUT + '[' -z var=PAUSED ']' + echo var=PAUSED + grep -q '^#' + echo var=PAUSED + grep -q '^var=' + gotvar=PAUSED + continue + read INPUT + '[' -z param=-p ']' + echo param=-p + grep -q '^#' + echo param=-p + grep -q '^var=' + echo param=-p + grep -q '^param=' + eval gotparam=-p ++ gotparam=-p + continue + read INPUT + '[' -z '# Show VDR logo when suspended' ']' + echo '# Show VDR logo when suspended' + grep -q '^#' + '[' -n PAUSED ']' + '[' -n -p ']' + vdr_plugin_params_handle + echo -p + grep -q PAUSED + echo -p + grep -q MULTIPLE_PARAMS + '[' -z '' ']' + gotdefault=no + echo 'local PAUSED="no"' + echo '# PAUSED="no"' + echo '[ "$PAUSED" = "yes" ] && echo "-p"' + echo + gotvar= + gotparam= + gotdefault= + echo '# Show VDR logo when suspended' + continue + read INPUT + '[' -z var=LOGO ']' + echo var=LOGO + grep -q '^#' + echo var=LOGO + grep -q '^var=' + gotvar=LOGO + continue + read INPUT + '[' -z param=-l ']' + echo param=-l + grep -q '^#' + echo param=-l + grep -q '^var=' + echo param=-l + grep -q '^param=' + eval gotparam=-l ++ gotparam=-l + continue + read INPUT + '[' -z '# Blank screen when suspended' ']' + echo '# Blank screen when suspended' + grep -q '^#' + '[' -n LOGO ']' + '[' -n -l ']' + vdr_plugin_params_handle + echo -l + grep -q LOGO + echo -l + grep -q MULTIPLE_PARAMS + '[' -z '' ']' + gotdefault=no + echo 'local LOGO="no"' + echo '# LOGO="no"' + echo '[ "$LOGO" = "yes" ] && echo "-l"' + echo + gotvar= + gotparam= + gotdefault= + echo '# Blank screen when suspended' + continue + read INPUT + '[' -z var=BLANK ']' + echo var=BLANK + grep -q '^#' + echo var=BLANK + grep -q '^var=' + gotvar=BLANK + continue + read INPUT + '[' -z param=-b ']' + echo param=-b + grep -q '^#' + echo param=-b + grep -q '^var=' + echo param=-b + grep -q '^param=' + eval gotparam=-b ++ gotparam=-b + continue + read INPUT + vdr_plugin_params_handle + echo -b + grep -q BLANK + echo -b + grep -q MULTIPLE_PARAMS + '[' -z '' ']' + gotdefault=no + echo 'local BLANK="no"' + echo '# BLANK="no"' + echo '[ "$BLANK" = "yes" ] && echo "-b"' + echo + gotvar= + gotparam= + gotdefault= + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.BumemO + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd suspendoutput-1.0.1 + '[' 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 cc mpg2c.c -o mpg2c xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --msgid-bugs-address='' -o po/suspendoutput.pot dummy_player.c mpg2c.c suspendoutput.c timer.c msgmerge -U --no-wrap --no-location --backup=none -q po/fi.po po/suspendoutput.pot msgmerge -U --no-wrap --no-location --backup=none -q po/it.po po/suspendoutput.pot 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 -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"suspendoutput"' -I/usr/include/vdr/include vdrlogo_720x576.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 -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"suspendoutput"' -I/usr/include/vdr/include black_720x576.c msgfmt -c -o po/fi.mo po/fi.po po/fi.po:6: warning: header field 'Language' still has the initial default value msgfmt -c -o po/it.mo po/it.po po/it.po:6: warning: header field 'Language' still has the initial default value cp po/fi.mo locale/fi/LC_MESSAGES/vdr-suspendoutput.mo cp po/it.mo locale/it/LC_MESSAGES/vdr-suspendoutput.mo 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 -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"suspendoutput"' -I/usr/include/vdr/include timer.c timer.c: In member function 'virtual void cTimerThread::Action()': timer.c:126:28: error: 'max' was not declared in this scope; did you mean 'std::max'? 126 | max(1, m_Events.First()->TimeToNextEvent())); | ^~~ | 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 timer.c:10: /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) | ^~~ timer.c: In static member function 'static void cTimerThread::AddEvent(cTimerCallback*, unsigned int, bool)': timer.c:209:54: error: 'max' was not declared in this scope; did you mean 'std::max'? 209 | m_Instance->Add(new cTimerThreadEvent(Handler, max(1U,TimeoutMs), | ^~~ | 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 timer.c:10: /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) | ^~~ make: *** [Makefile:61: timer.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 -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"suspendoutput"' -I/usr/include/vdr/include suspendoutput.c suspendoutput.c: In member function 'void cPluginSuspendoutput::CheckInactivityTimer()': suspendoutput.c:323:26: error: cannot call member function 'bool cCutter::Active()' without object 323 | !cCutter::Active() && | ~~~~~~~~~~~~~~~^~ suspendoutput.c:324:22: error: 'class cInterface' has no member named 'HasSVDRPConnection' 324 | !Interface->HasSVDRPConnection()) { | ^~~~~~~~~~~~~~~~~~ make: *** [Makefile:61: suspendoutput.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 -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"suspendoutput"' -I/usr/include/vdr/include dummy_player.c error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.BumemO (%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.BumemO (%build) I: [iurt_root_command] ERROR: chroot