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-wirbelscan-0.0.7-14.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.LVjj7z + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf wirbelscan-0.0.7 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/vdr-wirbelscan-0.0.7.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd wirbelscan-0.0.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/wirbelscan-0.0.7-deb-vdr-1.7.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/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/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 + 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-wirbelscan instead' + echo '# Do not modify this file, use /etc/sysconfig/vdr-wirbelscan instead' + echo '# VDR plugin wirbelscan 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_wirbelscan in the main VDR sysconfig file will' + echo '# override this file completely.' + echo '# VDR_PLUGIN_ARGS=""' + echo + read INPUT + '[' -z '' ']' + continue + read INPUT + '[' -z '# enable pvrinput device support' ']' + grep -q '^#' + echo '# enable pvrinput device support' + '[' -n '' ']' + echo '# enable pvrinput device support' + continue + read INPUT + '[' -z var=USE_PVRINPUT ']' + grep -q '^#' + echo var=USE_PVRINPUT + grep -q '^var=' + echo var=USE_PVRINPUT + gotvar=USE_PVRINPUT + continue + read INPUT + '[' -z 'param="--use-pvrinput"' ']' + grep -q '^#' + echo 'param="--use-pvrinput"' + grep -q '^var=' + echo 'param="--use-pvrinput"' + grep -q '^param=' + echo 'param="--use-pvrinput"' + eval 'gotparam="--use-pvrinput"' ++ gotparam=--use-pvrinput + continue + read INPUT + vdr_plugin_params_handle + grep -q USE_PVRINPUT + echo --use-pvrinput + grep -q MULTIPLE_PARAMS + echo --use-pvrinput + '[' -z '' ']' + gotdefault=no + echo 'local USE_PVRINPUT="no"' + echo '# USE_PVRINPUT="no"' + echo '[ "$USE_PVRINPUT" = "yes" ] && echo "--use-pvrinput"' + echo + gotvar= + gotparam= + gotdefault= + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.J4X8Io + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd wirbelscan-0.0.7 + '[' 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 -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"wirbelscan"' -I/usr/include/vdr/include -I/usr/include wirbelscan.c In file included from scanner.h:21, from menusetup.h:15, from wirbelscan.c:14: scanfilter.h:80:18: error: 'MAXNETWORKNAME' was not declared in this scope 80 | char name[MAXNETWORKNAME]; | ^~~~~~~~~~~~~~ wirbelscan.c: In member function 'virtual bool cPluginWirbelscan::Service(const char*, void*)': wirbelscan.c:217:23: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 217 | s->numChannels = Channels.Count(); | ^~~~~~~~ | kChannels make: *** [Makefile:82: wirbelscan.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='"wirbelscan"' -I/usr/include/vdr/include -I/usr/include common.c In file included from scanner.h:21, from menusetup.h:15, from common.c:21: scanfilter.h:80:18: error: 'MAXNETWORKNAME' was not declared in this scope 80 | char name[MAXNETWORKNAME]; | ^~~~~~~~~~~~~~ make: *** [Makefile:82: common.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='"wirbelscan"' -I/usr/include/vdr/include -I/usr/include frequencies.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='"wirbelscan"' -I/usr/include/vdr/include -I/usr/include menusetup.c In file included from scanner.h:21, from menusetup.h:15, from menusetup.c:15: scanfilter.h:80:18: error: 'MAXNETWORKNAME' was not declared in this scope 80 | char name[MAXNETWORKNAME]; | ^~~~~~~~~~~~~~ menusetup.c: In function 'bool DoScan(int)': menusetup.c:221:18: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 221 | channelcount = Channels.Count(); | ^~~~~~~~ | kChannels menusetup.c: In constructor 'cMenuScanning::cMenuScanning()': menusetup.c:318:46: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 318 | if (0 > asprintf(&buf, "all Channels: %d", Channels.Count())) | ^~~~~~~~ | kChannels menusetup.c: In member function 'void cMenuScanning::SetChan(int)': menusetup.c:435:47: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 435 | if (0 > asprintf(&buf, "new Channels: %d", (Channels.Count() - channelcount)>0?Channels.Count() - channelcount:0)) | ^~~~~~~~ | kChannels menusetup.c:440:46: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 440 | if (0 > asprintf(&buf, "all Channels: %d", Channels.Count())) | ^~~~~~~~ | kChannels make: *** [Makefile:82: menusetup.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='"wirbelscan"' -I/usr/include/vdr/include -I/usr/include dvb_wrapper.c dvb_wrapper.c: In function 'bool ActiveTimers(scantype_t)': dvb_wrapper.c:927:22: error: 'Timers' was not declared in this scope; did you mean 'cTimers'? 927 | for (cTimer * ti = Timers.First(); ti; ti = Timers.Next(ti)) | ^~~~~~ | cTimers dvb_wrapper.c: In function 'bool PendingTimers(scantype_t, int)': dvb_wrapper.c:937:22: error: 'Timers' was not declared in this scope; did you mean 'cTimers'? 937 | for (cTimer * ti = Timers.First(); ti; ti = Timers.Next(ti)) { | ^~~~~~ | cTimers make: *** [Makefile:82: dvb_wrapper.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='"wirbelscan"' -I/usr/include/vdr/include -I/usr/include satellites.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='"wirbelscan"' -I/usr/include/vdr/include -I/usr/include scanfilter.c In file included from scanfilter.c:24: scanfilter.h:80:18: error: 'MAXNETWORKNAME' was not declared in this scope 80 | char name[MAXNETWORKNAME]; | ^~~~~~~~~~~~~~ scanfilter.c: In member function 'virtual void cNitScanner::Process(u_short, u_char, const u_char*, int)': scanfilter.c:418:56: error: invalid conversion from 'int' to 'cChannels*' [-fpermissive] 418 | transponder->SetId(ts.getOriginalNetworkId(), ts.getTransportStreamId(), 0, 0); | ~~~~~~~~~~~~~~~~~~~~~~~^~ | | | int In file included from /usr/include/vdr/device.h:13, from scanfilter.c:19: /usr/include/vdr/channels.h:194:25: note: initializing argument 1 of 'bool cChannel::SetId(cChannels*, int, int, int, int)' 194 | bool SetId(cChannels *Channels, int Nid, int Tid, int Sid, int Rid = 0); | ~~~~~~~~~~~^~~~~~~~ scanfilter.c:441:71: error: invalid conversion from 'int' to 'cChannels*' [-fpermissive] 441 | update_transponder->SetId(ts.getOriginalNetworkId(), ts.getTransportStreamId(), 0, 0); | ~~~~~~~~~~~~~~~~~~~~~~~^~ | | | int In file included from /usr/include/vdr/device.h:13, from scanfilter.c:19: /usr/include/vdr/channels.h:194:25: note: initializing argument 1 of 'bool cChannel::SetId(cChannels*, int, int, int, int)' 194 | bool SetId(cChannels *Channels, int Nid, int Tid, int Sid, int Rid = 0); | ~~~~~~~~~~~^~~~~~~~ scanfilter.c:474:66: error: 'min' was not declared in this scope; did you mean 'std::min'? 474 | int Modulation = CableModulations((eCableModulations) min(sd->getModulation(), 6)); | ^~~ | 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/filter.h:14, from scanfilter.c:18: /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) | ^~~ scanfilter.c:478:56: error: invalid conversion from 'int' to 'cChannels*' [-fpermissive] 478 | transponder->SetId(ts.getOriginalNetworkId(), ts.getTransportStreamId(), 0, 0); | ~~~~~~~~~~~~~~~~~~~~~~~^~ | | | int In file included from /usr/include/vdr/device.h:13, from scanfilter.c:19: /usr/include/vdr/channels.h:194:25: note: initializing argument 1 of 'bool cChannel::SetId(cChannels*, int, int, int, int)' 194 | bool SetId(cChannels *Channels, int Nid, int Tid, int Sid, int Rid = 0); | ~~~~~~~~~~~^~~~~~~~ scanfilter.c:496:71: error: invalid conversion from 'int' to 'cChannels*' [-fpermissive] 496 | update_transponder->SetId(ts.getOriginalNetworkId(), ts.getTransportStreamId(), 0, 0); | ~~~~~~~~~~~~~~~~~~~~~~~^~ | | | int In file included from /usr/include/vdr/device.h:13, from scanfilter.c:19: /usr/include/vdr/channels.h:194:25: note: initializing argument 1 of 'bool cChannel::SetId(cChannels*, int, int, int, int)' 194 | bool SetId(cChannels *Channels, int Nid, int Tid, int Sid, int Rid = 0); | ~~~~~~~~~~~^~~~~~~~ scanfilter.c:519:56: error: invalid conversion from 'int' to 'cChannels*' [-fpermissive] 519 | transponder->SetId(ts.getOriginalNetworkId(), ts.getTransportStreamId(), 0, 0); | ~~~~~~~~~~~~~~~~~~~~~~~^~ | | | int In file included from /usr/include/vdr/device.h:13, from scanfilter.c:19: /usr/include/vdr/channels.h:194:25: note: initializing argument 1 of 'bool cChannel::SetId(cChannels*, int, int, int, int)' 194 | bool SetId(cChannels *Channels, int Nid, int Tid, int Sid, int Rid = 0); | ~~~~~~~~~~~^~~~~~~~ scanfilter.c:537:71: error: invalid conversion from 'int' to 'cChannels*' [-fpermissive] 537 | update_transponder->SetId(ts.getOriginalNetworkId(), ts.getTransportStreamId(), 0, 0); | ~~~~~~~~~~~~~~~~~~~~~~~^~ | | | int In file included from /usr/include/vdr/device.h:13, from scanfilter.c:19: /usr/include/vdr/channels.h:194:25: note: initializing argument 1 of 'bool cChannel::SetId(cChannels*, int, int, int, int)' 194 | bool SetId(cChannels *Channels, int Nid, int Tid, int Sid, int Rid = 0); | ~~~~~~~~~~~^~~~~~~~ scanfilter.c:587:35: error: invalid conversion from 'int' to 'cChannels*' [-fpermissive] 587 | ch->SetId(ch->Nid(), ch->Tid(), ch->Sid(), INVALID_CHANNEL); | ~~~~~~~^~ | | | int In file included from /usr/include/vdr/device.h:13, from scanfilter.c:19: /usr/include/vdr/channels.h:194:25: note: initializing argument 1 of 'bool cChannel::SetId(cChannels*, int, int, int, int)' 194 | bool SetId(cChannels *Channels, int Nid, int Tid, int Sid, int Rid = 0); | ~~~~~~~~~~~^~~~~~~~ scanfilter.c: In member function 'virtual void cPatScanner::Process(u_short, u_char, const u_char*, int)': scanfilter.c:683:16: error: no matching function for call to 'cChannel::SetId(int, int, int)' 683 | ch->SetId(scanned->Nid(), tsPAT.getTransportStreamId(), assoc.getServiceId()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/vdr/device.h:13, from scanfilter.c:19: /usr/include/vdr/channels.h:194:8: note: candidate: 'bool cChannel::SetId(cChannels*, int, int, int, int)' 194 | bool SetId(cChannels *Channels, int Nid, int Tid, int Sid, int Rid = 0); | ^~~~~ /usr/include/vdr/channels.h:194:8: note: candidate expects 5 arguments, 3 provided scanfilter.c:688:16: error: no matching function for call to 'cChannel::SetId(int, int, int)' 688 | ch->SetId(0, tsPAT.getTransportStreamId(), assoc.getServiceId()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/vdr/device.h:13, from scanfilter.c:19: /usr/include/vdr/channels.h:194:8: note: candidate: 'bool cChannel::SetId(cChannels*, int, int, int, int)' 194 | bool SetId(cChannels *Channels, int Nid, int Tid, int Sid, int Rid = 0); | ^~~~~ /usr/include/vdr/channels.h:194:8: note: candidate expects 5 arguments, 3 provided scanfilter.c:692:24: error: cannot bind non-const lvalue reference of type 'cStateKey&' to an rvalue of type 'cStateKey' 692 | NewChannels.Lock(true, 100); | ^~~~ In file included from /usr/include/vdr/tools.h:29, from /usr/include/vdr/filter.h:14, from scanfilter.c:18: /usr/include/vdr/thread.h:241:3: note: after user-defined conversion: 'cStateKey::cStateKey(bool)' 241 | cStateKey(bool IgnoreFirst = false); | ^~~~~~~~~ In file included from /usr/include/vdr/filter.h:14, from scanfilter.c:18: /usr/include/vdr/tools.h:543:24: note: initializing argument 1 of 'bool cListBase::Lock(cStateKey&, bool, int) const' 543 | bool Lock(cStateKey &StateKey, bool Write = false, int TimeoutMs = 0) const; | ~~~~~~~~~~~^~~~~~~~ scanfilter.c:694:19: error: 'class cChannels' has no member named 'Unlock'; did you mean 'Lock'? 694 | NewChannels.Unlock(); | ^~~~~~ | Lock scanfilter.c: In member function 'virtual void cPmtScanner::Process(u_short, u_char, const u_char*, int)': scanfilter.c:923:32: error: invalid conversion from 'int' to 'cChannels*' [-fpermissive] 923 | Channel->SetId(Channel->Nid(), Channel->Tid(), Channel->Sid(), INVALID_CHANNEL); | ~~~~~~~~~~~~^~ | | | int In file included from /usr/include/vdr/device.h:13, from scanfilter.c:19: /usr/include/vdr/channels.h:194:25: note: initializing argument 1 of 'bool cChannel::SetId(cChannels*, int, int, int, int)' 194 | bool SetId(cChannels *Channels, int Nid, int Tid, int Sid, int Rid = 0); | ~~~~~~~~~~~^~~~~~~~ scanfilter.c: In member function 'virtual void cSdtScanner::Process(u_short, u_char, const u_char*, int)': scanfilter.c:978:21: error: no matching function for call to 'cChannel::SetId(int, int, int)' 978 | channel->SetId(sdt.getOriginalNetworkId(), sdt.getTransportStreamId(), SiSdtService.getServiceId()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/vdr/device.h:13, from scanfilter.c:19: /usr/include/vdr/channels.h:194:8: note: candidate: 'bool cChannel::SetId(cChannels*, int, int, int, int)' 194 | bool SetId(cChannels *Channels, int Nid, int Tid, int Sid, int Rid = 0); | ^~~~~ /usr/include/vdr/channels.h:194:8: note: candidate expects 5 arguments, 3 provided scanfilter.c:985:21: error: no matching function for call to 'cChannel::SetId(int, int, int)' 985 | channel->SetId(sdt.getOriginalNetworkId(), sdt.getTransportStreamId(), SiSdtService.getServiceId()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/vdr/device.h:13, from scanfilter.c:19: /usr/include/vdr/channels.h:194:8: note: candidate: 'bool cChannel::SetId(cChannels*, int, int, int, int)' 194 | bool SetId(cChannels *Channels, int Nid, int Tid, int Sid, int Rid = 0); | ^~~~~ /usr/include/vdr/channels.h:194:8: note: candidate expects 5 arguments, 3 provided scanfilter.c: In function 'int AddChannels()': scanfilter.c:1099:3: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 1099 | Channels.IncBeingEdited(); | ^~~~~~~~ | kChannels scanfilter.c:1121:52: error: 'min' was not declared in this scope; did you mean 'std::min'? 1121 | strncpy (ALangs[i], Channel->Alang(i), min(len,MAXLANGCODE2)); | ^~~ | 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/filter.h:14, from scanfilter.c:18: /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) | ^~~ scanfilter.c:1126:52: error: 'min' was not declared in this scope; did you mean 'std::min'? 1126 | strncpy (DLangs[i], Channel->Dlang(i), min(len,MAXLANGCODE2)); | ^~~ | 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/filter.h:14, from scanfilter.c:18: /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) | ^~~ scanfilter.c:1131:52: error: 'min' was not declared in this scope; did you mean 'std::min'? 1131 | strncpy (SLangs[i], Channel->Slang(i), min(len,MAXLANGCODE2)); | ^~~ | 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/filter.h:14, from scanfilter.c:18: /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) | ^~~ scanfilter.c: In constructor 'cEitParser::cEitParser(int, u_char, const u_char*)': scanfilter.c:1211:23: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 1211 | cChannel *channel = Channels.GetByChannelID(channelID, true); | ^~~~~~~~ | kChannels make: *** [Makefile:82: scanfilter.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='"wirbelscan"' -I/usr/include/vdr/include -I/usr/include scanner.c In file included from scanner.h:21, from scanner.c:19: scanfilter.h:80:18: error: 'MAXNETWORKNAME' was not declared in this scope 80 | char name[MAXNETWORKNAME]; | ^~~~~~~~~~~~~~ scanner.c: In member function 'virtual void cScanner::Action()': scanner.c:602:45: error: invalid new-expression of abstract class type 'cSwReceiver' 602 | SwReceiver = new cSwReceiver(aChannel); | ^ In file included from scanner.c:29: ttext.h:16:7: note: because the following virtual functions are pure within 'cSwReceiver': 16 | class cSwReceiver : public cReceiver, public cThread { | ^~~~~~~~~~~ In file included from scanfilter.h:5, from scanner.h:21, from scanner.c:19: /usr/include/vdr/receiver.h:39:16: note: 'virtual void cReceiver::Receive(const uchar*, int)' 39 | virtual void Receive(const uchar *Data, int Length) = 0; | ^~~~~~~ scanner.c:860:69: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 860 | if (is_known_initial_transponder(aChannel, false, &Channels)) { | ^~~~~~~~ | kChannels scanner.c:881:48: error: invalid new-expression of abstract class type 'cSwReceiver' 881 | SwReceiver = new cSwReceiver(aChannel); | ^ scanner.c:946:18: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 946 | Channels.IncBeingEdited(); | ^~~~~~~~ | kChannels scanner.c:1019:20: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 1019 | Channels.IncBeingEdited(); | ^~~~~~~~ | kChannels scanner.c:1102:69: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 1102 | if (is_known_initial_transponder(aChannel, true, &Channels)) { | ^~~~~~~~ | kChannels scanner.c:1109:22: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 1109 | Channels.IncBeingEdited(); | ^~~~~~~~ | kChannels scanner.c:1124:3: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 1124 | Channels.ReNumber(); | ^~~~~~~~ | kChannels make: *** [Makefile:82: scanner.o] Error 1 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.J4X8Io (%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.J4X8Io (%build) I: [iurt_root_command] ERROR: chroot