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-streamdev-0.6.0-10.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.waukzB + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf streamdev-0.6.0 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/vdr-streamdev-0.6.0.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd streamdev-0.6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/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".' ']' + grep -q '^#' + echo '# Credentials for HTTP authentication, in format "LOGIN:PASSWORD".' + '[' -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=""' ++ echo --auth=AUTH ++ sed 's/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=' + grep -q '^param=' + echo param=--remux=REMUXER + eval gotparam=--remux=REMUXER ++ gotparam=--remux=REMUXER + continue + read INPUT + vdr_plugin_params_handle + grep -q REMUXER + echo --remux=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/iurt/rpmbuild/tmp/rpm-tmp.8wXRz1 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd streamdev-0.6.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j4 V=1 VERBOSE=1 all 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags ' 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags ' 'LDFLAGS= -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' PLUGINLIBDIR=/usr/lib64/vdr VIDEODIR=/var/lib/vdr/video LIBDIR=. LOCALEDIR=locale 'VDRLOCALE=""' DVBDIR=/usr VDRDIR=/usr/include/vdr VDRVERSION=2.4.6-3.mga9 VDRVERSNUM=20406 APIVERSION=2.4.6.1 APIVERSNUM=20406 /usr/bin/make -C ./tools /usr/bin/make -C ./tools make[1]: Entering directory '/home/iurt/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 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -I/usr/include/vdr/include -I.. -o tools.o tools.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/streamdev-0.6.0/tools' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/streamdev-0.6.0/tools' ar -rcs sockettools.a select.o socket.o source.o tools.o make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/streamdev-0.6.0/tools' /usr/bin/make -C ./client make[1]: Entering directory '/home/iurt/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 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -I/usr/include/vdr/include -I.. -o select.o select.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/streamdev-0.6.0/tools' make[1]: Entering directory '/home/iurt/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 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -I/usr/include/vdr/include -I.. -o tools.o tools.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/streamdev-0.6.0/tools' make[1]: Entering directory '/home/iurt/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 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -I/usr/include/vdr/include -I.. -o socket.o socket.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/streamdev-0.6.0/tools' make[1]: Entering directory '/home/iurt/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 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -I/usr/include/vdr/include -I.. -o source.o source.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/streamdev-0.6.0/tools' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/streamdev-0.6.0/tools' ar -rcs sockettools.a select.o socket.o source.o tools.o make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/streamdev-0.6.0/tools' /usr/bin/make -C ./libdvbmpeg make[1]: Entering directory '/home/iurt/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 -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(); } | ^~~~ In file included 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/tools.h:543:8: note: 'bool cListBase::Lock(cStateKey&, bool, int) const' 543 | bool Lock(cStateKey &StateKey, bool Write = false, int TimeoutMs = 0) const; | ^~~~ make[1]: *** [Makefile:31: filter.o] Error 1 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/streamdev-0.6.0/client' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/iurt/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 -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/iurt/rpmbuild/BUILD/streamdev-0.6.0/client' make[1]: Entering directory '/home/iurt/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 -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/iurt/rpmbuild/BUILD/streamdev-0.6.0/libdvbmpeg' make[1]: Entering directory '/home/iurt/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 -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/iurt/rpmbuild/BUILD/streamdev-0.6.0/client' make: *** [Makefile:85: client] Error 2 make: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/iurt/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 -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/iurt/rpmbuild/BUILD/streamdev-0.6.0/libdvbmpeg' make[1]: Entering directory '/home/iurt/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 -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/iurt/rpmbuild/BUILD/streamdev-0.6.0/libdvbmpeg' make[1]: Entering directory '/home/iurt/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 -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/iurt/rpmbuild/BUILD/streamdev-0.6.0/libdvbmpeg' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/streamdev-0.6.0/libdvbmpeg' ar -rcs libdvbmpegtools.a ctools.o remux.o ringbuffy.o transform.o make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/streamdev-0.6.0/libdvbmpeg' /usr/bin/make -C ./remux make[1]: Entering directory '/home/iurt/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 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -I/usr/include/vdr/include -I.. -o tsremux.o tsremux.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/streamdev-0.6.0/remux' make[1]: Entering directory '/home/iurt/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 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -I/usr/include/vdr/include -I.. -o ts2ps.o ts2ps.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/streamdev-0.6.0/remux' make[1]: Entering directory '/home/iurt/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 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -I/usr/include/vdr/include -I.. -o ts2es.o ts2es.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/streamdev-0.6.0/remux' make[1]: Entering directory '/home/iurt/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 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -I/usr/include/vdr/include -I.. -o ts2pes.o ts2pes.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/streamdev-0.6.0/remux' make[1]: Entering directory '/home/iurt/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 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -I/usr/include/vdr/include -I.. -o extern.o extern.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/streamdev-0.6.0/remux' make[1]: Entering directory '/home/iurt/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/iurt/rpmbuild/BUILD/streamdev-0.6.0/remux' /usr/bin/make -C ./server make[1]: Entering directory '/home/iurt/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 -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/iurt/rpmbuild/BUILD/streamdev-0.6.0/server' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/iurt/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 -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/iurt/rpmbuild/BUILD/streamdev-0.6.0/server' make[1]: Entering directory '/home/iurt/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 -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/iurt/rpmbuild/BUILD/streamdev-0.6.0/server' make[1]: Entering directory '/home/iurt/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 -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/iurt/rpmbuild/BUILD/streamdev-0.6.0/server' make: *** [Makefile:92: server] Error 2 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.8wXRz1 (%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.8wXRz1 (%build) I: [iurt_root_command] ERROR: chroot