D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/vdr-plugin-streamdev-0.6.0-10.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.kNKsBt + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf streamdev-0.6.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/vdr-streamdev-0.6.0.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd streamdev-0.6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/streamdev-buffers-size.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + cd server + for file in po/*.po + grep -Eq 'msgstr ".+"' po/de_DE.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/it_IT.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/lt_LT.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 + set +x Silent renaming of locales + touch vdr_plugin_prep.done + cd ../client + for file in po/*.po + grep -Eq 'msgstr ".+"' po/de_DE.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/it_IT.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/lt_LT.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 + set +x Silent renaming of locales + touch vdr_plugin_prep.done + cd .. + perl -pi -e 's/^CFLAGS =/MOREFLAGS =/' libdvbmpeg/Makefile + sed -i 's/$(CFLAGS)/$(MOREFLAGS) $(CFLAGS)/' libdvbmpeg/Makefile + cd server + vdr_plugin_params_do + local gotvar= + local gotparam= + local gotdefault= + echo '# Do not modify this file, use /etc/sysconfig/vdr-streamdev-server instead' + echo '# Do not modify this file, use /etc/sysconfig/vdr-streamdev-server instead' + echo '# VDR plugin streamdev-server 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_streamdev-server in the main VDR sysconfig file will' + echo '# override this file completely.' + echo '# VDR_PLUGIN_ARGS=""' + echo + read INPUT + '[' -z '' ']' + continue + read INPUT + '[' -z '# Credentials for HTTP authentication, in format "LOGIN:PASSWORD".' ']' + echo '# Credentials for HTTP authentication, in format "LOGIN:PASSWORD".' + grep -q '^#' + '[' -n '' ']' + echo '# Credentials for HTTP authentication, in format "LOGIN:PASSWORD".' + continue + read INPUT + '[' -z '# Credentials are required when connecting from a host not listed in' ']' + echo '# Credentials are required when connecting from a host not listed in' + grep -q '^#' + '[' -n '' ']' + echo '# Credentials are required when connecting from a host not listed in' + continue + read INPUT + '[' -z '# streamdevhosts.conf. The default (i.e. no credentials set below) is to' ']' + echo '# streamdevhosts.conf. The default (i.e. no credentials set below) is to' + grep -q '^#' + '[' -n '' ']' + echo '# streamdevhosts.conf. The default (i.e. no credentials set below) is to' + continue + read INPUT + '[' -z '# not allow connection from such hosts at all.' ']' + echo '# not allow connection from such hosts at all.' + grep -q '^#' + '[' -n '' ']' + echo '# not allow connection from such hosts at all.' + continue + read INPUT + '[' -z var=AUTH ']' + echo var=AUTH + grep -q '^#' + echo var=AUTH + grep -q '^var=' + gotvar=AUTH + continue + read INPUT + '[' -z param=--auth=AUTH ']' + echo param=--auth=AUTH + grep -q '^#' + echo param=--auth=AUTH + grep -q '^var=' + echo param=--auth=AUTH + grep -q '^param=' + eval gotparam=--auth=AUTH ++ gotparam=--auth=AUTH + continue + read INPUT + '[' -z '# Define an external command for remuxing' ']' + echo '# Define an external command for remuxing' + grep -q '^#' + '[' -n AUTH ']' + '[' -n --auth=AUTH ']' + vdr_plugin_params_handle + echo --auth=AUTH + grep -q AUTH + echo 'local AUTH=""' + echo '# AUTH=""' ++ sed 's/AUTH/'\''$AUTH'\''/' ++ echo --auth=AUTH + gotparam='--auth='\''$AUTH'\''' + echo '[ -n "$AUTH" ] && echo "--auth='\''$AUTH'\''"' + echo + gotvar= + gotparam= + gotdefault= + echo '# Define an external command for remuxing' + continue + read INPUT + '[' -z var=REMUXER ']' + echo var=REMUXER + grep -q '^#' + echo var=REMUXER + grep -q '^var=' + gotvar=REMUXER + continue + read INPUT + '[' -z param=--remux=REMUXER ']' + echo param=--remux=REMUXER + grep -q '^#' + echo param=--remux=REMUXER + grep -q '^var=' + echo param=--remux=REMUXER + grep -q '^param=' + eval gotparam=--remux=REMUXER ++ gotparam=--remux=REMUXER + continue + read INPUT + vdr_plugin_params_handle + echo --remux=REMUXER + grep -q REMUXER + echo 'local REMUXER=""' + echo '# REMUXER=""' ++ echo --remux=REMUXER ++ sed 's/REMUXER/'\''$REMUXER'\''/' + gotparam='--remux='\''$REMUXER'\''' + echo '[ -n "$REMUXER" ] && echo "--remux='\''$REMUXER'\''"' + echo + gotvar= + gotparam= + gotdefault= + cd .. + cat + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YMv9AF + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd streamdev-0.6.0 + '[' 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=sha1 -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=sha1 -Wl,--enable-new-dtags ' 'LDFLAGS= -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' PLUGINLIBDIR=/usr/lib64/vdr VIDEODIR=/var/lib/vdr/video LIBDIR=/usr/lib64/vdr LOCALEDIR=locale 'VDRLOCALE=""' DVBDIR=/usr VDRDIR=/usr/include/vdr VDRVERSION=2.6.1-1.mga9 VDRVERSNUM=20601 APIVERSION=2.6.1.1 APIVERSNUM=20601 /usr/bin/make -C ./tools /usr/bin/make -C ./tools make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/tools' 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=sha1 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -I/usr/include/vdr/include -I.. -o tools.o tools.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/tools' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/tools' ar -rcs sockettools.a select.o socket.o source.o tools.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/tools' /usr/bin/make -C ./client make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/tools' 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=sha1 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -I/usr/include/vdr/include -I.. -o select.o select.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/tools' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/tools' 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=sha1 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -I/usr/include/vdr/include -I.. -o socket.o socket.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/tools' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/client' xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --msgid-bugs-address='' -o po/streamdev-client.pot streamdev-client.c device.c filter.c setup.c socket.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/client' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/client' msgmerge -U --no-wrap --no-location --backup=none -q po/de.po po/streamdev-client.pot make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/client' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/tools' 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=sha1 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -I/usr/include/vdr/include -I.. -o source.o source.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/tools' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/tools' ar -rcs sockettools.a select.o socket.o source.o tools.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/tools' /usr/bin/make -C ./libdvbmpeg make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/client' msgmerge -U --no-wrap --no-location --backup=none -q po/es.po po/streamdev-client.pot make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/client' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/client' msgmerge -U --no-wrap --no-location --backup=none -q po/fi.po po/streamdev-client.pot make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/client' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/client' msgmerge -U --no-wrap --no-location --backup=none -q po/fr.po po/streamdev-client.pot make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/client' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/client' msgmerge -U --no-wrap --no-location --backup=none -q po/it.po po/streamdev-client.pot make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/client' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/client' msgmerge -U --no-wrap --no-location --backup=none -q po/lt.po po/streamdev-client.pot make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/client' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/client' 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=sha1 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"streamdev-client"' -I/usr/include/vdr/include -I.. -o filter.o filter.c filter.c: In member function 'int cStreamdevFilters::OpenFilter(u_short, u_char, u_char)': filter.c:162:9: error: reference to 'Lock' is ambiguous 162 | Lock(); | ^~~~ In file included from /usr/include/vdr/tools.h:29, from /usr/include/vdr/i18n.h:14, from /usr/include/vdr/config.h:19, from ../client/filter.h:8, from filter.c:5: /usr/include/vdr/thread.h:94:8: note: candidates are: 'void cThread::Lock()' 94 | void Lock(void) { mutex.Lock(); } | ^~~~ /usr/include/vdr/tools.h:584:8: note: 'bool cListBase::Lock(cStateKey&, bool, int) const' 584 | bool Lock(cStateKey &StateKey, bool Write = false, int TimeoutMs = 0) const; | ^~~~ make[1]: *** [Makefile:31: filter.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/client' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/client' msgmerge -U --no-wrap --no-location --backup=none -q po/ru.po po/streamdev-client.pot make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/client' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/client' 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=sha1 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"streamdev-client"' -I/usr/include/vdr/include -I.. -o streamdev-client.o streamdev-client.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/client' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/client' 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=sha1 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"streamdev-client"' -I/usr/include/vdr/include -I.. -o setup.o setup.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/client' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/libdvbmpeg' cc -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=sha1 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -U_FORTIFY_SOURCE -I/usr/include/vdr/include -I.. -o ringbuffy.o ringbuffy.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/libdvbmpeg' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/client' 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=sha1 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"streamdev-client"' -I/usr/include/vdr/include -I.. -o ../common.o ../common.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/client' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/client' 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=sha1 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"streamdev-client"' -I/usr/include/vdr/include -I.. -o device.o device.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/client' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/libdvbmpeg' cc -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=sha1 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -U_FORTIFY_SOURCE -I/usr/include/vdr/include -I.. -o remux.o remux.c remux.c: In function 'remux': remux.c:920:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 920 | write( fout, buf, pos); | ^~~~~~~~~~~~~~~~~~~~~~ remux.c:964:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 964 | write( fout, buf, pos); | ^~~~~~~~~~~~~~~~~~~~~~ remux.c:973:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 973 | write( fout, buf, pos); | ^~~~~~~~~~~~~~~~~~~~~~ remux.c:982:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 982 | write( fout, buf, pos); | ^~~~~~~~~~~~~~~~~~~~~~ remux.c:991:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 991 | write( fout, buf, pos); | ^~~~~~~~~~~~~~~~~~~~~~ remux.c:1003:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1003 | write( fout, buf, pos); | ^~~~~~~~~~~~~~~~~~~~~~ remux.c:1034:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1034 | write( fout, buf, pos); | ^~~~~~~~~~~~~~~~~~~~~~ remux.c:1036:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1036 | write( fout, mpeg_end, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/libdvbmpeg' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/libdvbmpeg' cc -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=sha1 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -U_FORTIFY_SOURCE -I/usr/include/vdr/include -I.. -o ctools.o ctools.c ctools.c: In function 'write_pes': ctools.c:296:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 296 | write(fd,buf,length); | ^~~~~~~~~~~~~~~~~~~~ ctools.c: In function 'write_ts': ctools.c:725:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 725 | write(fd,buf,length); | ^~~~~~~~~~~~~~~~~~~~ ctools.c: In function 'write_ps': ctools.c:1037:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1037 | write(fd,buf,length); | ^~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/libdvbmpeg' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/client' 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=sha1 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"streamdev-client"' -I/usr/include/vdr/include -I.. -o socket.o socket.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/client' make: *** [Makefile:85: client] Error 2 make: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/libdvbmpeg' cc -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=sha1 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -U_FORTIFY_SOURCE -I/usr/include/vdr/include -I.. -o transform.o transform.c transform.c: In function 'filter_pes': transform.c:476:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 476 | write(p->fd1,buf+c,1); | ^~~~~~~~~~~~~~~~~~~~~ transform.c:487:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 487 | write(p->fd1,buf+c,1); | ^~~~~~~~~~~~~~~~~~~~~ transform.c:504:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 504 | write(p->fd1,buf+c,1); | ^~~~~~~~~~~~~~~~~~~~~ transform.c:515:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 515 | write(p->fd1,buf+c,1); | ^~~~~~~~~~~~~~~~~~~~~ transform.c:721:49: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 721 | write(p->fd1,p->buf, | ^~~~~~~~~~~~~~~~~~~~ 722 | p->plength+6); | ~~~~~~~~~~~~~ transform.c: In function 'filter_audio_from_pes': transform.c:797:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 797 | write(fdout,buf,2048); | ^~~~~~~~~~~~~~~~~~~~~ transform.c: In function 'pes_filt': transform.c:808:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 808 | write(p->fd1,p->buf+p->hlength+6+3*factor, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 809 | p->plength-p->hlength-3*factor); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ transform.c:811:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 811 | write(p->fd1,p->buf,p->plength+6); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ transform.c: In function 'pes_dfilt': transform.c:879:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 879 | write(fd, p->buf+c, p->plength+6-c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ transform.c:900:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 900 | write(fd, p->buf+c, p->plength+6-c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ transform.c:913:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 913 | write(fd, p->buf+c, p->plength+6-c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ transform.c:921:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 921 | write(fd,p->buf+p->hlength+6+3*factor+head, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 922 | p->plength-p->hlength-3*factor-head); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ transform.c:924:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 924 | write(fd,p->buf,p->plength+6); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ transform.c: In function 'write_out': transform.c:1030:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1030 | write(STDOUT_FILENO, buf, count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ transform.c: In function 'insert_pat_pmt': transform.c:1289:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1289 | write(fdout,tspid0,188); | ^~~~~~~~~~~~~~~~~~~~~~~ transform.c:1290:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1290 | write(fdout,tspid1,188); | ^~~~~~~~~~~~~~~~~~~~~~~ transform.c: In function 'write_out_es': transform.c:2393:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2393 | write(p->fd, buf+payl, count-payl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ transform.c: In function 'write_out_pes': transform.c:2400:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2400 | write(p->fd, buf, count); | ^~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/libdvbmpeg' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/libdvbmpeg' ar -rcs libdvbmpegtools.a ctools.o remux.o ringbuffy.o transform.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/libdvbmpeg' /usr/bin/make -C ./remux make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/remux' 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=sha1 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -I/usr/include/vdr/include -I.. -o tsremux.o tsremux.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/remux' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/remux' 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=sha1 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -I/usr/include/vdr/include -I.. -o ts2ps.o ts2ps.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/remux' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/remux' 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=sha1 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -I/usr/include/vdr/include -I.. -o ts2es.o ts2es.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/remux' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/remux' 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=sha1 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -I/usr/include/vdr/include -I.. -o ts2pes.o ts2pes.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/remux' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/remux' 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=sha1 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -I/usr/include/vdr/include -I.. -o extern.o extern.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/remux' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/remux' ar -rcs remux.a tsremux.o ts2es.o ts2pes.o ts2ps.o extern.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/remux' /usr/bin/make -C ./server make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/server' 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=sha1 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"streamdev-server"' -I/usr/include/vdr/include -I.. -o streamdev-server.o streamdev-server.c streamdev-server.c: In member function 'virtual void cPluginStreamdevServer::MainThreadHook()': streamdev-server.c:134:50: error: invalid conversion from 'const cServerConnection*' to 'cServerConnection*' [-fpermissive] 134 | for (cServerConnection *s = clients.First(); s; s = clients.Next(s)) | ~~~~~~~~~~~~~^~ | | | const cServerConnection* streamdev-server.c:134:73: error: invalid conversion from 'const cServerConnection*' to 'cServerConnection*' [-fpermissive] 134 | for (cServerConnection *s = clients.First(); s; s = clients.Next(s)) | ~~~~~~~~~~~~^~~ | | | const cServerConnection* make[1]: *** [Makefile:36: streamdev-server.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/server' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/server' 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=sha1 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"streamdev-server"' -I/usr/include/vdr/include -I.. -o connection.o connection.c connection.c: In static member function 'static const cChannel* cServerConnection::ChannelFromString(const char*, int*, int*)': connection.c:50:42: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 50 | if (temp >= 1 && temp <= Channels.MaxNumber()) | ^~~~~~~~ | kChannels connection.c:53:27: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 53 | channel = Channels.GetByChannelID(tChannelID::FromString(string)); | ^~~~~~~~ | kChannels connection.c: In member function 'void cServerConnection::MainThreadHook()': connection.c:238:22: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 238 | if (!Channels.SwitchTo(cDevice::CurrentChannel())) { | ^~~~~~~~ | kChannels make[1]: *** [Makefile:36: connection.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/server' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/server' 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=sha1 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"streamdev-server"' -I/usr/include/vdr/include -I.. -o componentVTP.o componentVTP.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/server' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/server' 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=sha1 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"streamdev-server"' -I/usr/include/vdr/include -I.. -o componentHTTP.o componentHTTP.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/server' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/server' 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=sha1 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"streamdev-server"' -I/usr/include/vdr/include -I.. -o component.o component.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/server' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/server' 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=sha1 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"streamdev-server"' -I/usr/include/vdr/include -I.. -o connectionHTTP.o connectionHTTP.c In file included from connectionHTTP.c:8: ../server/menuHTTP.h: In static member function 'static const cChannel* cChannelIterator::SkipFakeGroups(const cChannel*)': ../server/menuHTTP.h:149:25: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 149 | Group = Channels.Next(Group); | ^~~~~~~~ | kChannels make[1]: *** [Makefile:36: connectionHTTP.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/server' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/server' 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=sha1 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"streamdev-server"' -I/usr/include/vdr/include -I.. -o server.o server.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/server' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/server' 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=sha1 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"streamdev-server"' -I/usr/include/vdr/include -I.. -o connectionVTP.o connectionVTP.c connectionVTP.c:43:9: error: 'cSchedulesLock' does not name a type; did you mean 'cSchedules_Lock'? 43 | cSchedulesLock *m_SchedulesLock; | ^~~~~~~~~~~~~~ | cSchedules_Lock connectionVTP.c: In constructor 'cLSTEHandler::cLSTEHandler(cConnectionVTP*, const char*)': connectionVTP.c:60:17: error: class 'cLSTEHandler' does not have any field named 'm_SchedulesLock' 60 | m_SchedulesLock(new cSchedulesLock(false, 500)), | ^~~~~~~~~~~~~~~ connectionVTP.c:60:37: error: expected type-specifier before 'cSchedulesLock' 60 | m_SchedulesLock(new cSchedulesLock(false, 500)), | ^~~~~~~~~~~~~~ connectionVTP.c:61:41: error: 'Schedules' is not a member of 'cSchedules' 61 | m_Schedules(cSchedules::Schedules(*m_SchedulesLock)), | ^~~~~~~~~ connectionVTP.c:61:52: error: 'm_SchedulesLock' was not declared in this scope; did you mean 'cSchedules_Lock'? 61 | m_Schedules(cSchedules::Schedules(*m_SchedulesLock)), | ^~~~~~~~~~~~~~~ | cSchedules_Lock connectionVTP.c:135:51: error: 'Channels' was not declared in this scope; did you mean 'Channel'? 135 | Channel = Channels.GetByNumber(strtol(Option, NULL, 10)); | ^~~~~~~~ | Channel connectionVTP.c:137:51: error: 'Channels' was not declared in this scope; did you mean 'Channel'? 137 | Channel = Channels.GetByChannelID(tChannelID::FromString( | ^~~~~~~~ | Channel connectionVTP.c: In destructor 'cLSTEHandler::~cLSTEHandler()': connectionVTP.c:201:16: error: 'm_SchedulesLock' was not declared in this scope; did you mean 'cSchedules_Lock'? 201 | delete m_SchedulesLock; | ^~~~~~~~~~~~~~~ | cSchedules_Lock connectionVTP.c: In member function 'bool cLSTEHandler::Next(bool&)': connectionVTP.c:217:45: error: 'Channels' was not declared in this scope; did you mean 'Channel'? 217 | cChannel *channel = Channels.GetByChannelID(m_Schedule->ChannelID(), | ^~~~~~~~ | Channel connectionVTP.c: In constructor 'cLSTCHandler::cLSTCHandler(cConnectionVTP*, const char*)': connectionVTP.c:373:14: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 373 | if (!Channels.Lock(false, 500)) { | ^~~~~~~~ | kChannels connectionVTP.c: In destructor 'cLSTCHandler::~cLSTCHandler()': connectionVTP.c:412:9: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 412 | Channels.Unlock(); | ^~~~~~~~ | kChannels connectionVTP.c: In member function 'bool cLSTCHandler::Next(bool&)': connectionVTP.c:437:29: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 437 | while (i <= Channels.MaxNumber()) { | ^~~~~~~~ | kChannels connectionVTP.c:450:25: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 450 | if (i < Channels.MaxNumber() + 1) | ^~~~~~~~ | kChannels connectionVTP.c: In constructor 'cLSTTHandler::cLSTTHandler(cConnectionVTP*, const char*)': connectionVTP.c:483:35: error: 'Timers' was not declared in this scope; did you mean 'kTimers'? 483 | m_Timer = Timers.Get(strtol(Option, NULL, 10) - 1); | ^~~~~~ | kTimers connectionVTP.c:492:20: error: 'Timers' was not declared in this scope; did you mean 'kTimers'? 492 | } else if (Timers.Count()) { | ^~~~~~ | kTimers connectionVTP.c: In member function 'bool cLSTTHandler::Next(bool&)': connectionVTP.c:521:42: error: 'Timers' was not declared in this scope; did you mean 'kTimers'? 521 | Last = !m_Traverse || m_Index >= Timers.Count() - 1; | ^~~~~~ | kTimers connectionVTP.c: In constructor 'cLSTRHandler::cLSTRHandler(cConnectionVTP*, const char*)': connectionVTP.c:574:39: error: 'Recordings' was not declared in this scope; did you mean 'Recording'? 574 | m_Recording = Recordings.Get(strtol(Option, NULL, 10) - 1); | ^~~~~~~~~~ | Recording connectionVTP.c:587:18: error: 'Recordings' was not declared in this scope; did you mean 'Recording'? 587 | else if (Recordings.Count()) { | ^~~~~~~~~~ | Recording connectionVTP.c: In member function 'bool cLSTRHandler::Next(bool&)': connectionVTP.c:693:50: error: 'Recordings' was not declared in this scope; did you mean 'Recording'? 693 | Last = !m_Traverse || m_Index >= Recordings.Count() - 1; | ^~~~~~~~~~ | Recording connectionVTP.c: In member function 'bool cConnectionVTP::CmdPLAY(char*)': connectionVTP.c:1148:49: error: 'Recordings' was not declared in this scope; did you mean 'kRecordings'? 1148 | cRecording *recording = Recordings.Get(strtol(Opts, NULL, 10) - 1); | ^~~~~~~~~~ | kRecordings connectionVTP.c: In member function 'bool cConnectionVTP::CmdSTAT(const char*)': connectionVTP.c:1380:39: error: 'VideoDiskSpace' was not declared in this scope; did you mean 'cVideoDiskUsage'? 1380 | int Percent = VideoDiskSpace(&FreeMB, &UsedMB); | ^~~~~~~~~~~~~~ | cVideoDiskUsage connectionVTP.c:1390:43: error: 'Recordings' was not declared in this scope; did you mean 'recordings'? 1390 | bool recordings = Recordings.Load(); | ^~~~~~~~~~ | recordings connectionVTP.c:1401:42: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 1401 | Reply(250, "%d", Channels.MaxNumber()); | ^~~~~~~~ connectionVTP.c:1371:40: note: in definition of macro 'Reply' 1371 | #define Reply(c,m...) _res = Respond(c,m) | ^ connectionVTP.c:1404:42: error: 'Timers' was not declared in this scope; did you mean 'kTimers'? 1404 | Reply(250, "%d", Timers.Count()); | ^~~~~~ connectionVTP.c:1371:40: note: in definition of macro 'Reply' 1371 | #define Reply(c,m...) _res = Respond(c,m) | ^ connectionVTP.c: In member function 'bool cConnectionVTP::CmdMODT(const char*)': connectionVTP.c:1432:41: error: 'Timers' was not declared in this scope; did you mean 'kTimers'? 1432 | cTimer *timer = Timers.Get(n - 1); | ^~~~~~ | kTimers connectionVTP.c: In member function 'bool cConnectionVTP::CmdNEWT(const char*)': connectionVTP.c:1463:37: error: 'Timers' was not declared in this scope; did you mean 'kTimers'? 1463 | cTimer *t = Timers.GetTimer(timer); | ^~~~~~ | kTimers connectionVTP.c: In member function 'bool cConnectionVTP::CmdDELT(const char*)': connectionVTP.c:1511:33: error: 'Timers' was not declared in this scope; did you mean 'kTimers'? 1511 | cTimer *timer = Timers.Get(number); | ^~~~~~ | kTimers connectionVTP.c:1516:65: error: no matching function for call to 'cRecordControls::Process(time_t)' 1516 | cRecordControls::Process(time(NULL)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from connectionVTP.c:12: /usr/include/vdr/menu.h:273:15: note: candidate: 'static bool cRecordControls::Process(cTimers*, time_t)' 273 | static bool Process(cTimers *Timers, time_t t); | ^~~~~~~ /usr/include/vdr/menu.h:273:15: note: candidate expects 2 arguments, 1 provided connectionVTP.c: In member function 'bool cConnectionVTP::CmdNEXT(const char*)': connectionVTP.c:1537:21: error: 'Timers' was not declared in this scope; did you mean 'kTimers'? 1537 | cTimer *t = Timers.GetNextActiveTimer(); | ^~~~~~ | kTimers connectionVTP.c: In member function 'bool cConnectionVTP::CmdNEWC(const char*)': connectionVTP.c:1561:29: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 1561 | if (Channels.HasUniqueChannelID(&ch)) { | ^~~~~~~~ | kChannels connectionVTP.c: In member function 'bool cConnectionVTP::CmdMODC(const char*)': connectionVTP.c:1592:30: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 1592 | if (!Channels.BeingEdited()) { | ^~~~~~~~ | kChannels connectionVTP.c: In member function 'bool cConnectionVTP::CmdMOVC(const char*)': connectionVTP.c:1634:22: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 1634 | if (!Channels.BeingEdited() && !Timers.BeingEdited()) { | ^~~~~~~~ | kChannels connectionVTP.c:1634:49: error: 'Timers' was not declared in this scope; did you mean 'kTimers'? 1634 | if (!Channels.BeingEdited() && !Timers.BeingEdited()) { | ^~~~~~ | kTimers connectionVTP.c:1658:108: error: invalid conversion from 'cChannel*' to 'int' [-fpermissive] 1658 | cDevice::SetCurrentChannel(CurrentChannel); | ^~~~~~~~~~~~~~ | | | cChannel* In file included from /usr/include/vdr/dvbdevice.h:15, from /usr/include/vdr/menuitems.h:14, from /usr/include/vdr/plugin.h:14, from ../common.h:15, from ../server/connection.h:9, from ../server/connectionVTP.h:4, from connectionVTP.c:5: /usr/include/vdr/device.h:366:37: note: initializing argument 1 of 'static void cDevice::SetCurrentChannel(int)' 366 | static void SetCurrentChannel(int ChannelNumber) { currentChannel = ChannelNumber; } | ~~~~^~~~~~~~~~~~~ connectionVTP.c: In member function 'bool cConnectionVTP::CmdDELC(const char*)': connectionVTP.c:1699:30: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 1699 | if (!Channels.BeingEdited()) { | ^~~~~~~~ | kChannels connectionVTP.c:1702:62: error: 'Timers' was not declared in this scope; did you mean 'kTimers'? 1702 | for (cTimer *timer = Timers.First(); timer; timer = Timers.Next(timer)) { | ^~~~~~ | kTimers connectionVTP.c:1725:84: error: invalid conversion from 'cChannel*' to 'int' [-fpermissive] 1725 | cDevice::SetCurrentChannel(CurrentChannel); | ^~~~~~~~~~~~~~ | | | cChannel* /usr/include/vdr/device.h:366:37: note: initializing argument 1 of 'static void cDevice::SetCurrentChannel(int)' 366 | static void SetCurrentChannel(int ChannelNumber) { currentChannel = ChannelNumber; } | ~~~~^~~~~~~~~~~~~ connectionVTP.c: In member function 'bool cConnectionVTP::CmdDELR(const char*)': connectionVTP.c:1749:49: error: 'Recordings' was not declared in this scope; did you mean 'kRecordings'? 1749 | cRecording *recording = Recordings.Get(strtol(Option, NULL, 10) - 1); | ^~~~~~~~~~ | kRecordings connectionVTP.c:1755:51: error: '::Recordings' has not been declared; did you mean 'kRecordings'? 1755 | ::Recordings.DelByName(recording->FileName()); | ^~~~~~~~~~ | kRecordings make[1]: *** [Makefile:36: connectionVTP.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/streamdev-0.6.0/server' make: *** [Makefile:92: server] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.YMv9AF (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.YMv9AF (%build) I: [iurt_root_command] ERROR: chroot