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-epgsearch-1.0.1-0.beta5.11.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.HAiHlm + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf epgsearch-1.0.1.beta5 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/vdr-epgsearch-1.0.1.beta5.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd epgsearch-1.0.1.beta5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0001-fix-summary-comparison-when-checking-for-repeats-was.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0002-label-favorites-menu-for-graphtft-with-MenuEpgsFavor.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0003-detect-grapftft-ng-in-autoconf.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0004-fix-for-pin-patch.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/0001-fix-for-bug-2214.patch + /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/cs_CZ.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/da_DK.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/et_EE.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/hr_HR.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/lt_LT.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/ru_RU.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/sk_SK.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 + for file in po/*.po + grep -Eq 'msgstr ".+"' po/tr_TR.po + rm -f po/tr_TR.po + set +x Silent renaming of locales + touch vdr_plugin_prep.done + chmod -x scripts/epgsearchcmds-fin.conf scripts/epgsearchcmds-french.conf scripts/epgsearchcmds.conf + vdr_plugin_params_do + local gotvar= + local gotparam= + local gotdefault= + echo '# Do not modify this file, use /etc/sysconfig/vdr-epgsearch instead' + echo '# Do not modify this file, use /etc/sysconfig/vdr-epgsearch instead' + echo '# VDR plugin epgsearch 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_epgsearch in the main VDR sysconfig file will' + echo '# override this file completely.' + echo '# VDR_PLUGIN_ARGS=""' + echo + read INPUT + '[' -z '' ']' + continue + read INPUT + '[' -z '# the path to svdrpsend.pl for external' ']' + echo '# the path to svdrpsend.pl for external' + grep -q '^#' + '[' -n '' ']' + echo '# the path to svdrpsend.pl for external' + continue + read INPUT + '[' -z '# SVDRP communitcation (default is internal' ']' + echo '# SVDRP communitcation (default is internal' + grep -q '^#' + '[' -n '' ']' + echo '# SVDRP communitcation (default is internal' + continue + read INPUT + '[' -z '# communication)' ']' + echo '# communication)' + grep -q '^#' + '[' -n '' ']' + echo '# communication)' + continue + read INPUT + '[' -z var=SVDRPSENDCMD ']' + echo var=SVDRPSENDCMD + grep -q '^#' + echo var=SVDRPSENDCMD + grep -q '^var=' + gotvar=SVDRPSENDCMD + continue + read INPUT + '[' -z param=--svdrpsendcmd=SVDRPSENDCMD ']' + echo param=--svdrpsendcmd=SVDRPSENDCMD + grep -q '^#' + echo param=--svdrpsendcmd=SVDRPSENDCMD + grep -q '^var=' + echo param=--svdrpsendcmd=SVDRPSENDCMD + grep -q '^param=' + eval gotparam=--svdrpsendcmd=SVDRPSENDCMD ++ gotparam=--svdrpsendcmd=SVDRPSENDCMD + continue + read INPUT + '[' -z '# config dir for epgsearch' ']' + echo '# config dir for epgsearch' + grep -q '^#' + '[' -n SVDRPSENDCMD ']' + '[' -n --svdrpsendcmd=SVDRPSENDCMD ']' + vdr_plugin_params_handle + echo --svdrpsendcmd=SVDRPSENDCMD + grep -q SVDRPSENDCMD + echo 'local SVDRPSENDCMD=""' + echo '# SVDRPSENDCMD=""' ++ echo --svdrpsendcmd=SVDRPSENDCMD ++ sed 's/SVDRPSENDCMD/'\''$SVDRPSENDCMD'\''/' + gotparam='--svdrpsendcmd='\''$SVDRPSENDCMD'\''' + echo '[ -n "$SVDRPSENDCMD" ] && echo "--svdrpsendcmd='\''$SVDRPSENDCMD'\''"' + echo + gotvar= + gotparam= + gotdefault= + echo '# config dir for epgsearch' + continue + read INPUT + '[' -z var=CONFIGDIR ']' + echo var=CONFIGDIR + grep -q '^#' + echo var=CONFIGDIR + grep -q '^var=' + gotvar=CONFIGDIR + continue + read INPUT + '[' -z param=--config=CONFIGDIR ']' + echo param=--config=CONFIGDIR + grep -q '^#' + echo param=--config=CONFIGDIR + grep -q '^var=' + echo param=--config=CONFIGDIR + grep -q '^param=' + eval gotparam=--config=CONFIGDIR ++ gotparam=--config=CONFIGDIR + continue + read INPUT + '[' -z '# logfile for epgsearch' ']' + echo '# logfile for epgsearch' + grep -q '^#' + '[' -n CONFIGDIR ']' + '[' -n --config=CONFIGDIR ']' + vdr_plugin_params_handle + echo --config=CONFIGDIR + grep -q CONFIGDIR + echo 'local CONFIGDIR=""' + echo '# CONFIGDIR=""' ++ echo --config=CONFIGDIR ++ sed 's/CONFIGDIR/'\''$CONFIGDIR'\''/' + gotparam='--config='\''$CONFIGDIR'\''' + echo '[ -n "$CONFIGDIR" ] && echo "--config='\''$CONFIGDIR'\''"' + echo + gotvar= + gotparam= + gotdefault= + echo '# logfile for epgsearch' + continue + read INPUT + '[' -z var=LOGFILE ']' + echo var=LOGFILE + grep -q '^#' + echo var=LOGFILE + grep -q '^var=' + gotvar=LOGFILE + continue + read INPUT + '[' -z param=--logfile=LOGFILE ']' + echo param=--logfile=LOGFILE + grep -q '^#' + echo param=--logfile=LOGFILE + grep -q '^var=' + echo param=--logfile=LOGFILE + grep -q '^param=' + eval gotparam=--logfile=LOGFILE ++ gotparam=--logfile=LOGFILE + continue + read INPUT + '[' -z '# logfile verbosity' ']' + echo '# logfile verbosity' + grep -q '^#' + '[' -n LOGFILE ']' + '[' -n --logfile=LOGFILE ']' + vdr_plugin_params_handle + echo --logfile=LOGFILE + grep -q LOGFILE + echo 'local LOGFILE=""' + echo '# LOGFILE=""' ++ echo --logfile=LOGFILE ++ sed 's/LOGFILE/'\''$LOGFILE'\''/' + gotparam='--logfile='\''$LOGFILE'\''' + echo '[ -n "$LOGFILE" ] && echo "--logfile='\''$LOGFILE'\''"' + echo + gotvar= + gotparam= + gotdefault= + echo '# logfile verbosity' + continue + read INPUT + '[' -z var=LOGLEVEL ']' + echo var=LOGLEVEL + grep -q '^#' + echo var=LOGLEVEL + grep -q '^var=' + gotvar=LOGLEVEL + continue + read INPUT + '[' -z param=--verbose=LOGLEVEL ']' + echo param=--verbose=LOGLEVEL + grep -q '^#' + echo param=--verbose=LOGLEVEL + grep -q '^var=' + echo param=--verbose=LOGLEVEL + grep -q '^param=' + eval gotparam=--verbose=LOGLEVEL ++ gotparam=--verbose=LOGLEVEL + continue + read INPUT + '[' -z '# reload epgsearchmenu.conf with plugin call' ']' + echo '# reload epgsearchmenu.conf with plugin call' + grep -q '^#' + '[' -n LOGLEVEL ']' + '[' -n --verbose=LOGLEVEL ']' + vdr_plugin_params_handle + echo --verbose=LOGLEVEL + grep -q LOGLEVEL + echo 'local LOGLEVEL=""' + echo '# LOGLEVEL=""' ++ echo --verbose=LOGLEVEL ++ sed 's/LOGLEVEL/'\''$LOGLEVEL'\''/' + gotparam='--verbose='\''$LOGLEVEL'\''' + echo '[ -n "$LOGLEVEL" ] && echo "--verbose='\''$LOGLEVEL'\''"' + echo + gotvar= + gotparam= + gotdefault= + echo '# reload epgsearchmenu.conf with plugin call' + continue + read INPUT + '[' -z var=RELOADMENUCONF ']' + echo var=RELOADMENUCONF + grep -q '^#' + echo var=RELOADMENUCONF + grep -q '^var=' + gotvar=RELOADMENUCONF + continue + read INPUT + '[' -z param=--reloadmenuconf ']' + echo param=--reloadmenuconf + grep -q '^#' + echo param=--reloadmenuconf + grep -q '^var=' + echo param=--reloadmenuconf + grep -q '^param=' + eval gotparam=--reloadmenuconf ++ gotparam=--reloadmenuconf + continue + read INPUT + '[' -z '# path to an alternative mail script for mail notification' ']' + echo '# path to an alternative mail script for mail notification' + grep -q '^#' + '[' -n RELOADMENUCONF ']' + '[' -n --reloadmenuconf ']' + vdr_plugin_params_handle + echo --reloadmenuconf + grep -q RELOADMENUCONF + echo --reloadmenuconf + grep -q MULTIPLE_PARAMS + '[' -z '' ']' + gotdefault=no + echo 'local RELOADMENUCONF="no"' + echo '# RELOADMENUCONF="no"' + echo '[ "$RELOADMENUCONF" = "yes" ] && echo "--reloadmenuconf"' + echo + gotvar= + gotparam= + gotdefault= + echo '# path to an alternative mail script for mail notification' + continue + read INPUT + '[' -z var=MAILCMD ']' + echo var=MAILCMD + grep -q '^#' + echo var=MAILCMD + grep -q '^var=' + gotvar=MAILCMD + continue + read INPUT + '[' -z param=--mailcmd=MAILCMD ']' + echo param=--mailcmd=MAILCMD + grep -q '^#' + echo param=--mailcmd=MAILCMD + grep -q '^var=' + echo param=--mailcmd=MAILCMD + grep -q '^param=' + eval gotparam=--mailcmd=MAILCMD ++ gotparam=--mailcmd=MAILCMD + continue + read INPUT + vdr_plugin_params_handle + echo --mailcmd=MAILCMD + grep -q MAILCMD + echo 'local MAILCMD=""' + echo '# MAILCMD=""' ++ echo --mailcmd=MAILCMD ++ sed 's/MAILCMD/'\''$MAILCMD'\''/' + gotparam='--mailcmd='\''$MAILCMD'\''' + echo '[ -n "$MAILCMD" ] && echo "--mailcmd='\''$MAILCMD'\''"' + echo + gotvar= + gotparam= + gotdefault= + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.XqXzkV + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd epgsearch-1.0.1.beta5 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + VDR_PLUGIN_EXTRA_FLAGS=-DUSE_GRAPHTFT + /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 -DUSE_GRAPHTFT' '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 -DUSE_GRAPHTFT' '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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o afuzzy.o afuzzy.c afuzzy.c: In function 'int afuzzy_checkSUB(const char*, AFUZZY*)': afuzzy.c:209:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 209 | register char c; | ^ afuzzy.c:210:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 210 | register int j, d; | ^ afuzzy.c:210:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 210 | register int j, d; | ^ afuzzy.c: In function 'int afuzzy_checkFLT(const char*, AFUZZY*)': afuzzy.c:255:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 255 | register Uint FilterR = 0; | ^~~~~~~ afuzzy.c:256:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 256 | register Uint FilterR1; | ^~~~~~~~ afuzzy.c:257:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 257 | register int j; | ^ 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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o changrp.o changrp.c changrp.c: In member function 'bool cChannelGroup::Parse(const char*)': changrp.c:81:51: warning: format '%a' expects argument of type 'float*', but argument 3 has type 'char**' [-Wformat=] 81 | int numChannels = sscanf(value, "%a[^|]", &channelbuffer); | ~^ ~~~~~~~~~~~~~~ | | | | float* char** changrp.c:85:41: error: 'Channels' was not declared in this scope; did you mean 'channels'? 85 | cChannel* channel = Channels.GetByChannelID(tChannelID::FromString(channelbuffer), true, true); | ^~~~~~~~ | channels changrp.c: In member function 'int* cChannelGroup::CreateChannelSel()': changrp.c:132:37: error: 'Channels' was not declared in this scope; did you mean 'channels'? 132 | int* channelSel = (int*) malloc(Channels.Count() * sizeof(int)); | ^~~~~~~~ | channels changrp.c: In member function 'void cChannelGroup::CreateChannelList(int*)': changrp.c:162:25: error: 'Channels' was not declared in this scope; did you mean 'channels'? 162 | cChannel* channel = Channels.First(); | ^~~~~~~~ | channels changrp.c: In member function 'void cMenuEditChannelGroup::Set()': changrp.c:435:25: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 435 | cChannel* channel = Channels.First(); | ^~~~~~~~ | kChannels changrp.c: In member function 'virtual eOSState cMenuEditChannelGroup::ProcessKey(eKeys)': changrp.c:510:35: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 510 | cChannel* channel = Channels.First(); | ^~~~~~~~ | kChannels make: *** [Makefile:188: changrp.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o blacklist.o blacklist.c blacklist.c: In constructor 'cBlacklist::cBlacklist()': blacklist.c:50:18: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 50 | channelMin = Channels.GetByNumber(cDevice::CurrentChannel()); | ^~~~~~~~ | kChannels blacklist.c: In member function 'bool cBlacklist::Parse(const char*)': blacklist.c:332:56: warning: format '%a' expects argument of type 'float*', but argument 3 has type 'char**' [-Wformat=] 332 | int channels = sscanf(value, "%a[^|]|%a[^|]", &channelMinbuffer, &channelMaxbuffer); | ~^ ~~~~~~~~~~~~~~~~~ | | | | float* char** blacklist.c:332:63: warning: format '%a' expects argument of type 'float*', but argument 4 has type 'char**' [-Wformat=] 332 | int channels = sscanf(value, "%a[^|]|%a[^|]", &channelMinbuffer, &channelMaxbuffer); | ~^ ~~~~~~~~~~~~~~~~~ | | | | float* char** blacklist.c:334:38: error: 'Channels' was not declared in this scope; did you mean 'channels'? 334 | channelMin = Channels.GetByChannelID(tChannelID::FromString(channelMinbuffer), true, true); | ^~~~~~~~ | channels blacklist.c: In member function 'cEvent* cBlacklist::GetEventByBlacklist(const cSchedule*, const cEvent*, int)': blacklist.c:521:37: error: invalid conversion from 'const cEvent*' to 'cEvent*' [-fpermissive] 521 | p1 = schedules->Events()->Next(Start); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | | | const cEvent* blacklist.c:523:38: error: invalid conversion from 'const cEvent*' to 'cEvent*' [-fpermissive] 523 | p1 = schedules->Events()->First(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ | | | const cEvent* blacklist.c:548:56: error: invalid conversion from 'const cEvent*' to 'cEvent*' [-fpermissive] 548 | for (cEvent *p = p1; p; p = schedules->Events()->Next(p)) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ | | | const cEvent* blacklist.c: In member function 'cSearchResults* cBlacklist::Run(cSearchResults*, int)': blacklist.c:636:5: error: 'cSchedulesLock' was not declared in this scope; did you mean 'cSchedules_Lock'? 636 | cSchedulesLock schedulesLock; | ^~~~~~~~~~~~~~ | cSchedules_Lock blacklist.c:638:29: error: 'Schedules' is not a member of 'cSchedules' 638 | schedules = cSchedules::Schedules(schedulesLock); | ^~~~~~~~~ blacklist.c:638:39: error: 'schedulesLock' was not declared in this scope; did you mean 'cSchedules_Lock'? 638 | schedules = cSchedules::Schedules(schedulesLock); | ^~~~~~~~~~~~~ | cSchedules_Lock blacklist.c:647:29: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 647 | cChannel* channel = Channels.GetByChannelID(Schedule->ChannelID(),true,true); | ^~~~~~~~ | kChannels blacklist.c: In member function 'int cBlacklists::GetNewID()': blacklist.c:740:17: error: 'max' was not declared in this scope; did you mean 'std::max'? 740 | newID = max(newID, l->ID); | ^~~ | std::max In file included from /usr/include/c++/11/vector:60, from blacklist.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) | ^~~ make: *** [Makefile:188: blacklist.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o confdloader.o confdloader.c In file included from confdloader.c:28: uservars.h: In member function 'virtual std::string cLiveEventIDVar::Evaluate(const cEvent*, bool)': uservars.h:179:33: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 179 | cChannel *channel = Channels.GetByChannelID(e->ChannelID(), true); | ^~~~~~~~ | kChannels uservars.h: In member function 'virtual std::string cChannelShortVar::Evaluate(const cEvent*, bool)': uservars.h:418:33: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 418 | cChannel *channel = Channels.GetByChannelID(e->ChannelID(), true); | ^~~~~~~~ | kChannels uservars.h: In member function 'virtual std::string cChannelLongVar::Evaluate(const cEvent*, bool)': uservars.h:430:33: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 430 | cChannel *channel = Channels.GetByChannelID(e->ChannelID(), true); | ^~~~~~~~ | kChannels uservars.h: In member function 'virtual std::string cChannelDataVar::Evaluate(const cEvent*, bool)': uservars.h:442:33: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 442 | cChannel *channel = Channels.GetByChannelID(e->ChannelID(), true); | ^~~~~~~~ | kChannels uservars.h: In member function 'virtual std::string cChannelGroupVar::Evaluate(const cEvent*, bool)': uservars.h:454:33: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 454 | cChannel *channel = Channels.GetByChannelID(e->ChannelID(), true); | ^~~~~~~~ | kChannels uservars.h: In member function 'virtual std::string cVideodirVar::Evaluate(const cEvent*, bool)': uservars.h:541:20: error: 'VideoDirectory' was not declared in this scope; did you mean 'cVideoDirectory'? 541 | return VideoDirectory; | ^~~~~~~~~~~~~~ | cVideoDirectory make: *** [Makefile:188: confdloader.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o conflictcheck.o conflictcheck.c In file included from conflictcheck.c:26: conflictcheck.h: In member function 'cTimer* cConflictCheckTimerObj::OrigTimer()': conflictcheck.h:62:33: error: 'Timers' was not declared in this scope; did you mean 'kTimers'? 62 | cTimer* OrigTimer() {return Timers.GetTimer(timer); } | ^~~~~~ | kTimers conflictcheck.h: In member function 'int cConflictCheckDevice::Priority() const': conflictcheck.h:110:24: error: 'max' was not declared in this scope; did you mean 'std::max'? 110 | prio = max(prio, (*it)->timer->Priority()); | ^~~ | std::max In file included from /usr/include/c++/11/algorithm:62, from conflictcheck.c:25: /usr/include/c++/11/bits/stl_algo.h:3467:5: note: 'std::max' declared here 3467 | max(initializer_list<_Tp> __l, _Compare __comp) | ^~~ In file included from conflictcheck.c:32: uservars.h: In member function 'virtual std::string cLiveEventIDVar::Evaluate(const cEvent*, bool)': uservars.h:179:33: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 179 | cChannel *channel = Channels.GetByChannelID(e->ChannelID(), true); | ^~~~~~~~ | kChannels uservars.h: In member function 'virtual std::string cChannelShortVar::Evaluate(const cEvent*, bool)': uservars.h:418:33: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 418 | cChannel *channel = Channels.GetByChannelID(e->ChannelID(), true); | ^~~~~~~~ | kChannels uservars.h: In member function 'virtual std::string cChannelLongVar::Evaluate(const cEvent*, bool)': uservars.h:430:33: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 430 | cChannel *channel = Channels.GetByChannelID(e->ChannelID(), true); | ^~~~~~~~ | kChannels uservars.h: In member function 'virtual std::string cChannelDataVar::Evaluate(const cEvent*, bool)': uservars.h:442:33: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 442 | cChannel *channel = Channels.GetByChannelID(e->ChannelID(), true); | ^~~~~~~~ | kChannels uservars.h: In member function 'virtual std::string cChannelGroupVar::Evaluate(const cEvent*, bool)': uservars.h:454:33: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 454 | cChannel *channel = Channels.GetByChannelID(e->ChannelID(), true); | ^~~~~~~~ | kChannels uservars.h: In member function 'virtual std::string cVideodirVar::Evaluate(const cEvent*, bool)': uservars.h:541:20: error: 'VideoDirectory' was not declared in this scope; did you mean 'cVideoDirectory'? 541 | return VideoDirectory; | ^~~~~~~~~~~~~~ | cVideoDirectory conflictcheck.c: In member function 'const cEvent* cConflictCheckTimerObj::SetEventFromSchedule()': conflictcheck.c:76:5: error: 'cSchedulesLock' was not declared in this scope; did you mean 'cSchedules_Lock'? 76 | cSchedulesLock SchedulesLock; | ^~~~~~~~~~~~~~ | cSchedules_Lock conflictcheck.c:78:35: error: 'Schedules' is not a member of 'cSchedules' 78 | if (!(Schedules = cSchedules::Schedules(SchedulesLock))) | ^~~~~~~~~ conflictcheck.c:78:45: error: 'SchedulesLock' was not declared in this scope; did you mean 'cSchedules_Lock'? 78 | if (!(Schedules = cSchedules::Schedules(SchedulesLock))) | ^~~~~~~~~~~~~ | cSchedules_Lock conflictcheck.c: In member function 'int cConflictCheckTimerObj::Matches(const cEvent*, int*) const': conflictcheck.c:150:23: error: 'min' was not declared in this scope; did you mean 'std::min'? 150 | overlap = (min(stop, Event->EndTime()) - max(start, Event->StartTime())) * FULLMATCH / max(Event->Duration(), 1); | ^~~ | std::min In file included from /usr/include/c++/11/algorithm:62, from conflictcheck.c:25: /usr/include/c++/11/bits/stl_algo.h:3455:5: note: 'std::min' declared here 3455 | min(initializer_list<_Tp> __l, _Compare __comp) | ^~~ conflictcheck.c:150:53: error: 'max' was not declared in this scope; did you mean 'std::max'? 150 | overlap = (min(stop, Event->EndTime()) - max(start, Event->StartTime())) * FULLMATCH / max(Event->Duration(), 1); | ^~~ | std::max In file included from /usr/include/c++/11/algorithm:62, from conflictcheck.c:25: /usr/include/c++/11/bits/stl_algo.h:3467:5: note: 'std::max' declared here 3467 | max(initializer_list<_Tp> __l, _Compare __comp) | ^~~ conflictcheck.c: In member function 'cList* cConflictCheck::CreateCurrentTimerList()': conflictcheck.c:266:15: error: 'Timers' was not declared in this scope; did you mean 'kTimers'? 266 | for (ti = Timers.First(); ti; ti = Timers.Next(ti)) | ^~~~~~ | kTimers conflictcheck.c:268:16: error: 'max' was not declared in this scope; did you mean 'std::max'? 268 | tMax = max(tMax, ti->StartTime()); | ^~~ | std::max In file included from /usr/include/c++/11/algorithm:62, from conflictcheck.c:25: /usr/include/c++/11/bits/stl_algo.h:3467:5: note: 'std::max' declared here 3467 | max(initializer_list<_Tp> __l, _Compare __comp) | ^~~ conflictcheck.c:292:36: error: 'min' was not declared in this scope; did you mean 'std::min'? 292 | time_t maxCheck = time(NULL) + min(14,EPGSearchConfig.checkMaxDays) * SECSINDAY; | ^~~ | std::min In file included from /usr/include/c++/11/algorithm:62, from conflictcheck.c:25: /usr/include/c++/11/bits/stl_algo.h:3455:5: note: 'std::min' declared here 3455 | min(initializer_list<_Tp> __l, _Compare __comp) | ^~~ conflictcheck.c:293:12: error: 'max' was not declared in this scope; did you mean 'std::max'? 293 | tMax = max(tMax, maxCheck); | ^~~ | std::max In file included from /usr/include/c++/11/algorithm:62, from conflictcheck.c:25: /usr/include/c++/11/bits/stl_algo.h:3467:5: note: 'std::max' declared here 3467 | max(initializer_list<_Tp> __l, _Compare __comp) | ^~~ conflictcheck.c:294:15: error: 'Timers' was not declared in this scope; did you mean 'kTimers'? 294 | for (ti = Timers.First(); ti; ti = Timers.Next(ti)) | ^~~~~~ | kTimers conflictcheck.c: In member function 'cList* cConflictCheck::CreateConflictList(cList*, cList*)': conflictcheck.c:409:29: error: 'min' was not declared in this scope; did you mean 'std::min'? 409 | maxCheck = time(NULL) + min(14, EPGSearchConfig.checkMaxDays) * SECSINDAY; | ^~~ | std::min In file included from /usr/include/c++/11/algorithm:62, from conflictcheck.c:25: /usr/include/c++/11/bits/stl_algo.h:3455:5: note: 'std::min' declared here 3455 | min(initializer_list<_Tp> __l, _Compare __comp) | ^~~ conflictcheck.c: In member function 'int cConflictCheck::GetDevice(cConflictCheckTimerObj*, bool*)': conflictcheck.c:612:36: error: 'max' was not declared in this scope; did you mean 'std::max'? 612 | imp <<= 8; imp |= min(max(devices[i].Priority() + MAXPRIORITY, 0), 0xFF); | ^~~ | std::max In file included from /usr/include/c++/11/algorithm:62, from conflictcheck.c:25: /usr/include/c++/11/bits/stl_algo.h:3467:5: note: 'std::max' declared here 3467 | max(initializer_list<_Tp> __l, _Compare __comp) | ^~~ conflictcheck.c:612:32: error: 'min' was not declared in this scope; did you mean 'std::min'? 612 | imp <<= 8; imp |= min(max(devices[i].Priority() + MAXPRIORITY, 0), 0xFF); | ^~~ | std::min In file included from /usr/include/c++/11/algorithm:62, from conflictcheck.c:25: /usr/include/c++/11/bits/stl_algo.h:3455:5: note: 'std::min' declared here 3455 | min(initializer_list<_Tp> __l, _Compare __comp) | ^~~ In file included from /usr/include/c++/11/set:60, from conflictcheck.h:30, from conflictcheck.c:26: /usr/include/c++/11/bits/stl_tree.h: In instantiation of 'static const _Key& std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_S_key(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type) [with _Key = cConflictCheckTimerObj*; _Val = cConflictCheckTimerObj*; _KeyOfValue = std::_Identity; _Compare = TimerObjSort; _Alloc = std::allocator; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type = const std::_Rb_tree_node*]': /usr/include/c++/11/bits/stl_tree.h:2069:47: required from 'std::pair std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_unique_pos(const key_type&) [with _Key = cConflictCheckTimerObj*; _Val = cConflictCheckTimerObj*; _KeyOfValue = std::_Identity; _Compare = TimerObjSort; _Alloc = std::allocator; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::key_type = cConflictCheckTimerObj*]' /usr/include/c++/11/bits/stl_tree.h:2122:4: required from 'std::pair, bool> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_insert_unique(_Arg&&) [with _Arg = cConflictCheckTimerObj* const&; _Key = cConflictCheckTimerObj*; _Val = cConflictCheckTimerObj*; _KeyOfValue = std::_Identity; _Compare = TimerObjSort; _Alloc = std::allocator]' /usr/include/c++/11/bits/stl_set.h:512:25: required from 'std::pair, _Compare, typename __gnu_cxx::__alloc_traits<_Allocator>::rebind<_Key>::other>::const_iterator, bool> std::set<_Key, _Compare, _Alloc>::insert(const value_type&) [with _Key = cConflictCheckTimerObj*; _Compare = TimerObjSort; _Alloc = std::allocator; typename std::_Rb_tree<_Key, _Key, std::_Identity<_Tp>, _Compare, typename __gnu_cxx::__alloc_traits<_Allocator>::rebind<_Key>::other>::const_iterator = std::_Rb_tree, TimerObjSort, std::allocator >::const_iterator; typename __gnu_cxx::__alloc_traits<_Allocator>::rebind<_Key>::other = std::allocator; typename __gnu_cxx::__alloc_traits<_Allocator>::rebind<_Key> = __gnu_cxx::__alloc_traits, cConflictCheckTimerObj*>::rebind; typename _Allocator::value_type = cConflictCheckTimerObj*; std::set<_Key, _Compare, _Alloc>::value_type = cConflictCheckTimerObj*]' conflictcheck.c:280:40: required from here /usr/include/c++/11/bits/stl_tree.h:770:15: error: static assertion failed: comparison object must be invocable as const 770 | is_invocable_v, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/11/bits/stl_tree.h:770:15: note: 'std::is_invocable_v' evaluates to false make: *** [Makefile:188: conflictcheck.o] Error 1 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.XqXzkV (%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.XqXzkV (%build) I: [iurt_root_command] ERROR: chroot