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-vdrmanager-0.12-6.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.gIPw3V + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf vdr-vdrmanager-0.12 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/vdr-vdrmanager-0.12.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd vdr-vdrmanager-0.12 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + for file in po/*.po + grep -Eq 'msgstr ".+"' 'po/*.po' grep: po/*.po: No such file or directory + rm -f 'po/*.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-vdrmanager instead' + echo '# Do not modify this file, use /etc/sysconfig/vdr-vdrmanager instead' + echo '# VDR plugin vdrmanager 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_vdrmanager in the main VDR sysconfig file will' + echo '# override this file completely.' + echo '# VDR_PLUGIN_ARGS=""' + echo + read INPUT + '[' -z '' ']' + continue + read INPUT + '[' -z '# port number to listen (VDR manager for Android prefer TCP 6420, the default)' ']' + echo '# port number to listen (VDR manager for Android prefer TCP 6420, the default)' + grep -q '^#' + '[' -n '' ']' + echo '# port number to listen (VDR manager for Android prefer TCP 6420, the default)' + continue + read INPUT + '[' -z var=PORT ']' + echo var=PORT + grep -q '^#' + echo var=PORT + grep -q '^var=' + gotvar=PORT + continue + read INPUT + '[' -z 'param="-p PORT"' ']' + echo 'param="-p PORT"' + grep -q '^#' + echo 'param="-p PORT"' + grep -q '^var=' + echo 'param="-p PORT"' + grep -q '^param=' + eval 'gotparam="-p PORT"' ++ gotparam='-p PORT' + continue + read INPUT + '[' -z '# password (none if not given). No password forces check against svdrphosts.conf.' ']' + echo '# password (none if not given). No password forces check against svdrphosts.conf.' + grep -q '^#' + '[' -n PORT ']' + '[' -n '-p PORT' ']' + vdr_plugin_params_handle + echo '-p PORT' + grep -q PORT + echo 'local PORT=""' + echo '# PORT=""' ++ echo '-p PORT' ++ sed 's/PORT/'\''$PORT'\''/' + gotparam='-p '\''$PORT'\''' + echo '[ -n "$PORT" ] && echo "-p '\''$PORT'\''"' + echo + gotvar= + gotparam= + gotdefault= + echo '# password (none if not given). No password forces check against svdrphosts.conf.' + continue + read INPUT + '[' -z var=PASSWORD ']' + echo var=PASSWORD + grep -q '^#' + echo var=PASSWORD + grep -q '^var=' + gotvar=PASSWORD + continue + read INPUT + '[' -z 'param="-P PASSWORD"' ']' + echo 'param="-P PASSWORD"' + grep -q '^#' + echo 'param="-P PASSWORD"' + grep -q '^var=' + echo 'param="-P PASSWORD"' + grep -q '^param=' + eval 'gotparam="-P PASSWORD"' ++ gotparam='-P PASSWORD' + continue + read INPUT + '[' -z '# force check against svdrphosts.conf, even if a password was given' ']' + echo '# force check against svdrphosts.conf, even if a password was given' + grep -q '^#' + '[' -n PASSWORD ']' + '[' -n '-P PASSWORD' ']' + vdr_plugin_params_handle + echo '-P PASSWORD' + grep -q PASSWORD + echo 'local PASSWORD=""' + echo '# PASSWORD=""' ++ echo '-P PASSWORD' ++ sed 's/PASSWORD/'\''$PASSWORD'\''/' + gotparam='-P '\''$PASSWORD'\''' + echo '[ -n "$PASSWORD" ] && echo "-P '\''$PASSWORD'\''"' + echo + gotvar= + gotparam= + gotdefault= + echo '# force check against svdrphosts.conf, even if a password was given' + continue + read INPUT + '[' -z var=FORCE_SVDRPHOSTS ']' + echo var=FORCE_SVDRPHOSTS + grep -q '^#' + echo var=FORCE_SVDRPHOSTS + grep -q '^var=' + gotvar=FORCE_SVDRPHOSTS + continue + read INPUT + '[' -z 'param="-s"' ']' + echo 'param="-s"' + grep -q '^#' + echo 'param="-s"' + grep -q '^var=' + echo 'param="-s"' + grep -q '^param=' + eval 'gotparam="-s"' ++ gotparam=-s + continue + read INPUT + '[' -z '# selects the compression mode to use ('\''z'\'' for zlib or '\''g'\'' for gzip and '\''n'\'' for none).' ']' + echo '# selects the compression mode to use ('\''z'\'' for zlib or '\''g'\'' for gzip and '\''n'\'' for none).' + grep -q '^#' + '[' -n FORCE_SVDRPHOSTS ']' + '[' -n -s ']' + vdr_plugin_params_handle + echo -s + grep -q FORCE_SVDRPHOSTS + echo -s + grep -q MULTIPLE_PARAMS + '[' -z '' ']' + gotdefault=no + echo 'local FORCE_SVDRPHOSTS="no"' + echo '# FORCE_SVDRPHOSTS="no"' + echo '[ "$FORCE_SVDRPHOSTS" = "yes" ] && echo "-s"' + echo + gotvar= + gotparam= + gotdefault= + echo '# selects the compression mode to use ('\''z'\'' for zlib or '\''g'\'' for gzip and '\''n'\'' for none).' + continue + read INPUT + '[' -z '# default: none' ']' + echo '# default: none' + grep -q '^#' + '[' -n '' ']' + echo '# default: none' + continue + read INPUT + '[' -z var=COMPRESSION ']' + echo var=COMPRESSION + grep -q '^#' + echo var=COMPRESSION + grep -q '^var=' + gotvar=COMPRESSION + continue + read INPUT + '[' -z 'param="-c COMPRESSION"' ']' + echo 'param="-c COMPRESSION"' + grep -q '^#' + echo 'param="-c COMPRESSION"' + grep -q '^var=' + echo 'param="-c COMPRESSION"' + grep -q '^param=' + eval 'gotparam="-c COMPRESSION"' ++ gotparam='-c COMPRESSION' + continue + read INPUT + '[' -z '# cert and key file for SSL separated by comma (,) or one file for both"' ']' + echo '# cert and key file for SSL separated by comma (,) or one file for both"' + grep -q '^#' + '[' -n COMPRESSION ']' + '[' -n '-c COMPRESSION' ']' + vdr_plugin_params_handle + echo '-c COMPRESSION' + grep -q COMPRESSION + echo 'local COMPRESSION=""' + echo '# COMPRESSION=""' ++ echo '-c COMPRESSION' ++ sed 's/COMPRESSION/'\''$COMPRESSION'\''/' + gotparam='-c '\''$COMPRESSION'\''' + echo '[ -n "$COMPRESSION" ] && echo "-c '\''$COMPRESSION'\''"' + echo + gotvar= + gotparam= + gotdefault= + echo '# cert and key file for SSL separated by comma (,) or one file for both"' + continue + read INPUT + '[' -z var=CERTFILE ']' + echo var=CERTFILE + grep -q '^#' + echo var=CERTFILE + grep -q '^var=' + gotvar=CERTFILE + continue + read INPUT + '[' -z 'param="-k CERTFILE"' ']' + echo 'param="-k CERTFILE"' + grep -q '^#' + echo 'param="-k CERTFILE"' + grep -q '^var=' + echo 'param="-k CERTFILE"' + grep -q '^param=' + eval 'gotparam="-k CERTFILE"' ++ gotparam='-k CERTFILE' + continue + read INPUT + vdr_plugin_params_handle + echo '-k CERTFILE' + grep -q CERTFILE + echo 'local CERTFILE=""' + echo '# CERTFILE=""' ++ echo '-k CERTFILE' ++ sed 's/CERTFILE/'\''$CERTFILE'\''/' + gotparam='-k '\''$CERTFILE'\''' + echo '[ -n "$CERTFILE" ] && echo "-k '\''$CERTFILE'\''"' + echo + gotvar= + gotparam= + gotdefault= + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.taYeIP + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd vdr-vdrmanager-0.12 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j8 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 -DVDRMANAGER_USE_SSL=1 -DVDRMANAGER_USE_ZLIB=1 -DVDRMANAGER_USE_GZIP=1 vdrmanager.cpp 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 -DVDRMANAGER_USE_SSL=1 -DVDRMANAGER_USE_ZLIB=1 -DVDRMANAGER_USE_GZIP=1 sock.cpp xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name=vdr-vdrmanager --package-version=0.12 --msgid-bugs-address='' -o po/vdrmanager.pot `ls clientsock.cpp compressor.cpp handler.cpp helpers.cpp select.cpp serversock.cpp sock.cpp vdrmanager.cpp vdrmanagerthread.cpp` 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 -DVDRMANAGER_USE_SSL=1 -DVDRMANAGER_USE_ZLIB=1 -DVDRMANAGER_USE_GZIP=1 compressor.cpp 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 -DVDRMANAGER_USE_SSL=1 -DVDRMANAGER_USE_ZLIB=1 -DVDRMANAGER_USE_GZIP=1 vdrmanagerthread.cpp 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 -DVDRMANAGER_USE_SSL=1 -DVDRMANAGER_USE_ZLIB=1 -DVDRMANAGER_USE_GZIP=1 serversock.cpp 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 -DVDRMANAGER_USE_SSL=1 -DVDRMANAGER_USE_ZLIB=1 -DVDRMANAGER_USE_GZIP=1 select.cpp 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 -DVDRMANAGER_USE_SSL=1 -DVDRMANAGER_USE_ZLIB=1 -DVDRMANAGER_USE_GZIP=1 clientsock.cpp 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 -DVDRMANAGER_USE_SSL=1 -DVDRMANAGER_USE_ZLIB=1 -DVDRMANAGER_USE_GZIP=1 handler.cpp 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 -DVDRMANAGER_USE_SSL=1 -DVDRMANAGER_USE_ZLIB=1 -DVDRMANAGER_USE_GZIP=1 helpers.cpp In file included from helpers.cpp:21: epgsearch/services.h:160:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 160 | std::auto_ptr handler; | ^~~~~~~~ In file included from /usr/include/c++/11/bits/locale_conv.h:41, from /usr/include/c++/11/locale:43, from /usr/include/c++/11/iomanip:43, from helpers.h:12, from helpers.cpp:15: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from helpers.cpp:21: epgsearch/services.h:176:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 176 | std::auto_ptr handler; | ^~~~~~~~ In file included from /usr/include/c++/11/bits/locale_conv.h:41, from /usr/include/c++/11/locale:43, from /usr/include/c++/11/iomanip:43, from helpers.h:12, from helpers.cpp:15: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from helpers.cpp:21: epgsearch/services.h:192:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 192 | std::auto_ptr handler; | ^~~~~~~~ In file included from /usr/include/c++/11/bits/locale_conv.h:41, from /usr/include/c++/11/locale:43, from /usr/include/c++/11/iomanip:43, from helpers.h:12, from helpers.cpp:15: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ helpers.cpp: In static member function 'static std::string cHelpers::GetTimersIntern(std::string)': helpers.cpp:106:31: error: 'Timers' was not declared in this scope; did you mean 'kTimers'? 106 | for (cTimer * timer = Timers.First(); timer; timer = Timers.Next(timer)) { | ^~~~~~ | kTimers helpers.cpp: In static member function 'static std::string cHelpers::GetRecordingsIntern()': helpers.cpp:131:29: error: 'Recordings' was not declared in this scope; did you mean 'kRecordings'? 131 | for (int i = 0; i < Recordings.Count(); i++) { | ^~~~~~~~~~ | kRecordings helpers.cpp: In static member function 'static std::string cHelpers::GetChannelsIntern(std::string)': helpers.cpp:144:35: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 144 | for (cChannel * channel = Channels.First(); channel; channel = | ^~~~~~~~ | kChannels helpers.cpp: In static member function 'static std::string cHelpers::SetChannelIntern(std::string)': helpers.cpp:201:27: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 201 | channel = Channels.GetByNumber(nr); | ^~~~~~~~ | kChannels helpers.cpp:204:27: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 204 | channel = Channels.GetByChannelID(chid); | ^~~~~~~~ | kChannels helpers.cpp: In static member function 'static std::string cHelpers::GetEventsIntern(std::string, std::string)': helpers.cpp:262:9: error: 'cSchedulesLock' was not declared in this scope; did you mean 'cSchedules_Lock'? 262 | cSchedulesLock schedulesLock; | ^~~~~~~~~~~~~~ | cSchedules_Lock helpers.cpp:263:52: error: 'Schedules' is not a member of 'cSchedules' 263 | const cSchedules * schedules = cSchedules::Schedules(schedulesLock); | ^~~~~~~~~ helpers.cpp:263:62: error: 'schedulesLock' was not declared in this scope; did you mean 'cSchedules_Lock'? 263 | const cSchedules * schedules = cSchedules::Schedules(schedulesLock); | ^~~~~~~~~~~~~ | cSchedules_Lock helpers.cpp:264:53: error: invalid conversion from 'const cSchedule*' to 'cSchedule*' [-fpermissive] 264 | for (cSchedule * schedule = schedules->First(); schedule; schedule = | ~~~~~~~~~~~~~~~~^~ | | | const cSchedule* helpers.cpp:265:40: error: invalid conversion from 'const cSchedule*' to 'cSchedule*' [-fpermissive] 265 | schedules->Next(schedule)) { | ~~~~~~~~~~~~~~~^~~~~~~~~~ | | | const cSchedule* helpers.cpp:267:38: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 267 | cChannel * channel = Channels.GetByChannelID(schedule->ChannelID()); | ^~~~~~~~ | kChannels helpers.cpp:273:52: error: invalid conversion from 'const cEvent*' to 'cEvent*' [-fpermissive] 273 | for (cEvent * event = events->First(); event; | ~~~~~~~~~~~~~^~ | | | const cEvent* helpers.cpp:274:53: error: invalid conversion from 'const cEvent*' to 'cEvent*' [-fpermissive] 274 | event = events->Next(event)) { | ~~~~~~~~~~~~^~~~~~~ | | | const cEvent* helpers.cpp:278:61: error: invalid conversion from 'const cEvent*' to 'cEvent*' [-fpermissive] 278 | match = events->Next(match); | ~~~~~~~~~~~~^~~~~~~ | | | const cEvent* helpers.cpp: In static member function 'static std::string cHelpers::DelRecording(cRecording*)': helpers.cpp:310:29: error: 'Recordings' was not declared in this scope; did you mean 'kRecordings'? 310 | recording = Recordings.GetByName(FileName); // RecordingsHandler.Del() might have deleted it if it was the edited version | ^~~~~~~~~~ | kRecordings helpers.cpp:323:17: error: 'Recordings' was not declared in this scope; did you mean 'kRecordings'? 323 | Recordings.DelByName(FileName); | ^~~~~~~~~~ | kRecordings helpers.cpp: In static member function 'static std::string cHelpers::DelRecordingIntern(std::string)': helpers.cpp:340:33: error: 'Recordings' was not declared in this scope; did you mean 'kRecordings'? 340 | cRecording *recording = Recordings.Get(index); | ^~~~~~~~~~ | kRecordings helpers.cpp:365:41: error: no matching function for call to 'cRecordControls::Process(time_t)' 365 | cRecordControls::Process(time(NULL)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from helpers.cpp:14: /usr/include/vdr/menu.h:271:15: note: candidate: 'static bool cRecordControls::Process(cTimers*, time_t)' 271 | static bool Process(cTimers *Timers, time_t t); | ^~~~~~~ /usr/include/vdr/menu.h:271:15: note: candidate expects 2 arguments, 1 provided helpers.cpp:368:25: error: 'Timers' was not declared in this scope; did you mean 'kTimers'? 368 | Timers.Del(timer); | ^~~~~~ | kTimers helpers.cpp:370:17: error: 'Timers' was not declared in this scope; did you mean 'kTimers'? 370 | Timers.SetModified(); | ^~~~~~ | kTimers helpers.cpp: In static member function 'static std::string cHelpers::SetTimerIntern(char, std::string)': helpers.cpp:395:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 395 | auto_ptr newTimer(new cTimer); | ^~~~~~~~ In file included from /usr/include/c++/11/bits/locale_conv.h:41, from /usr/include/c++/11/locale:43, from /usr/include/c++/11/iomanip:43, from helpers.h:12, from helpers.cpp:15: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ helpers.cpp:400:38: error: 'Timers' was not declared in this scope; did you mean 'kTimers'? 400 | cTimer* checkTimer = Timers.GetTimer(newTimer.get()); | ^~~~~~ | kTimers helpers.cpp:413:21: error: 'Timers' was not declared in this scope; did you mean 'kTimers'? 413 | if (Timers.BeingEdited()) { | ^~~~~~ | kTimers helpers.cpp:419:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 419 | auto_ptr timer(new cTimer); | ^~~~~~~~ In file included from /usr/include/c++/11/bits/locale_conv.h:41, from /usr/include/c++/11/locale:43, from /usr/include/c++/11/iomanip:43, from helpers.h:12, from helpers.cpp:15: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ helpers.cpp:426:30: error: 'Timers' was not declared in this scope; did you mean 'kTimers'? 426 | cTimer * t = Timers.GetTimer(timer.get()); | ^~~~~~ | kTimers helpers.cpp:440:57: error: no matching function for call to 'cRecordControls::Process(time_t)' 440 | cRecordControls::Process(time(NULL)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from helpers.cpp:14: /usr/include/vdr/menu.h:271:15: note: candidate: 'static bool cRecordControls::Process(cTimers*, time_t)' 271 | static bool Process(cTimers *Timers, time_t t); | ^~~~~~~ /usr/include/vdr/menu.h:271:15: note: candidate expects 2 arguments, 1 provided helpers.cpp:454:21: error: 'Timers' was not declared in this scope; did you mean 'kTimers'? 454 | if (Timers.BeingEdited()) { | ^~~~~~ | kTimers helpers.cpp:468:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 468 | auto_ptr otimer(new cTimer); | ^~~~~~~~ In file included from /usr/include/c++/11/bits/locale_conv.h:41, from /usr/include/c++/11/locale:43, from /usr/include/c++/11/iomanip:43, from helpers.h:12, from helpers.cpp:15: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ helpers.cpp:473:36: error: 'Timers' was not declared in this scope; did you mean 'kTimers'? 473 | cTimer* oldTimer = Timers.GetTimer(otimer.get()); | ^~~~~~ | kTimers helpers.cpp:492:21: error: 'Timers' was not declared in this scope; did you mean 'kTimers'? 492 | if (Timers.BeingEdited()) { | ^~~~~~ | kTimers helpers.cpp:496:17: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 496 | auto_ptr timer(new cTimer); | ^~~~~~~~ In file included from /usr/include/c++/11/bits/locale_conv.h:41, from /usr/include/c++/11/locale:43, from /usr/include/c++/11/iomanip:43, from helpers.h:12, from helpers.cpp:15: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ helpers.cpp:501:39: error: 'Timers' was not declared in this scope; did you mean 'kTimers'? 501 | cTimer* toggleTimer = Timers.GetTimer(timer.get()); | ^~~~~~ | kTimers helpers.cpp: In static member function 'static std::string cHelpers::SetTimerIntern(std::string)': helpers.cpp:527:13: error: 'Timers' was not declared in this scope; did you mean 'kTimers'? 527 | if (Timers.BeingEdited()) { | ^~~~~~ | kTimers helpers.cpp: In static member function 'static std::string cHelpers::SearchEventsIntern(std::string, std::string)': helpers.cpp:560:9: error: 'cSchedulesLock' was not declared in this scope; did you mean 'cSchedules_Lock'? 560 | cSchedulesLock schedulesLock; | ^~~~~~~~~~~~~~ | cSchedules_Lock helpers.cpp:561:52: error: 'Schedules' is not a member of 'cSchedules' 561 | const cSchedules * schedules = cSchedules::Schedules(schedulesLock); | ^~~~~~~~~ helpers.cpp:561:62: error: 'schedulesLock' was not declared in this scope; did you mean 'cSchedules_Lock'? 561 | const cSchedules * schedules = cSchedules::Schedules(schedulesLock); | ^~~~~~~~~~~~~ | cSchedules_Lock helpers.cpp:562:53: error: invalid conversion from 'const cSchedule*' to 'cSchedule*' [-fpermissive] 562 | for (cSchedule * schedule = schedules->First(); schedule; schedule = | ~~~~~~~~~~~~~~~~^~ | | | const cSchedule* helpers.cpp:563:40: error: invalid conversion from 'const cSchedule*' to 'cSchedule*' [-fpermissive] 563 | schedules->Next(schedule)) { | ~~~~~~~~~~~~~~~^~~~~~~~~~ | | | const cSchedule* helpers.cpp:565:38: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 565 | cChannel * channel = Channels.GetByChannelID(schedule->ChannelID()); | ^~~~~~~~ | kChannels helpers.cpp:571:52: error: invalid conversion from 'const cEvent*' to 'cEvent*' [-fpermissive] 571 | for (cEvent * event = events->First(); event; | ~~~~~~~~~~~~~^~ | | | const cEvent* helpers.cpp:572:53: error: invalid conversion from 'const cEvent*' to 'cEvent*' [-fpermissive] 572 | event = events->Next(event)) { | ~~~~~~~~~~~~^~~~~~~ | | | const cEvent* helpers.cpp: In static member function 'static std::string cHelpers::ToText(cTimer*, std::set >)': helpers.cpp:811:38: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 811 | cChannel * channel = Channels.GetByChannelID( | ^~~~~~~~ | kChannels helpers.cpp:814:25: error: 'cSchedulesLock' was not declared in this scope; did you mean 'cSchedules_Lock'? 814 | cSchedulesLock schedulesLock; | ^~~~~~~~~~~~~~ | cSchedules_Lock helpers.cpp:815:68: error: 'Schedules' is not a member of 'cSchedules' 815 | const cSchedules * schedules = cSchedules::Schedules(schedulesLock); | ^~~~~~~~~ helpers.cpp:815:78: error: 'schedulesLock' was not declared in this scope; did you mean 'cSchedules_Lock'? 815 | const cSchedules * schedules = cSchedules::Schedules(schedulesLock); | ^~~~~~~~~~~~~ | cSchedules_Lock helpers.cpp:820:65: error: invalid conversion from 'const cEvent*' to 'cEvent*' [-fpermissive] 820 | for (cEvent * ev = events->First(); event; | ~~~~~~~~~~~~~^~ | | | const cEvent* helpers.cpp:821:66: error: invalid conversion from 'const cEvent*' to 'cEvent*' [-fpermissive] 821 | ev = events->Next(ev)) { | ~~~~~~~~~~~~^~~~ | | | const cEvent* helpers.cpp: In static member function 'static std::string cHelpers::ToText(const cEvent*)': helpers.cpp:876:30: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 876 | cChannel * channel = Channels.GetByChannelID( | ^~~~~~~~ | kChannels helpers.cpp:939:31: error: 'Timers' was not declared in this scope; did you mean 'kTimers'? 939 | cTimer * eventTimer = Timers.GetMatch(event); | ^~~~~~ | kTimers make: *** [Makefile:78: helpers.o] Error 1 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.taYeIP (%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.taYeIP (%build) I: [iurt_root_command] ERROR: chroot