D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/vdr-plugin-epgsearch-1.0.1-0.beta5.7.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wsKlC0 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf epgsearch-1.0.1.beta5 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/vdr-epgsearch-1.0.1.beta5.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd epgsearch-1.0.1.beta5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'warning: %apply_patches is deprecated, try %autopatch -p[01] instead' warning: %apply_patches is deprecated, try %autopatch -p[01] instead + /usr/bin/patch -U -s -p1 -b --suffix .0000 --fuzz=0 -i /home/pterjan/rpmbuild/SOURCES/0001-fix-summary-comparison-when-checking-for-repeats-was.patch + /usr/bin/patch -U -s -p1 -b --suffix .0001 --fuzz=0 -i /home/pterjan/rpmbuild/SOURCES/0002-label-favorites-menu-for-graphtft-with-MenuEpgsFavor.patch + /usr/bin/patch -U -s -p1 -b --suffix .0002 --fuzz=0 -i /home/pterjan/rpmbuild/SOURCES/0003-detect-grapftft-ng-in-autoconf.patch + /usr/bin/patch -U -s -p1 -b --suffix .0003 --fuzz=0 -i /home/pterjan/rpmbuild/SOURCES/0004-fix-for-pin-patch.patch + for file in po/*.po + grep -Eq 'msgstr ".+"' po/ca_ES.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/cs_CZ.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/da_DK.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/de_DE.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/el_GR.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/es_ES.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/et_EE.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/fi_FI.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/fr_FR.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/hr_HR.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/hu_HU.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/it_IT.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/lt_LT.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/nl_NL.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/nn_NO.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/pl_PL.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/pt_PT.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/ro_RO.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/ru_RU.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/sk_SK.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/sl_SI.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/sv_SE.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/tr_TR.po + rm -f po/tr_TR.po + set +x Silent renaming of locales + touch vdr_plugin_prep.done + chmod -x scripts/epgsearchcmds-fin.conf scripts/epgsearchcmds-french.conf scripts/epgsearchcmds.conf + vdr_plugin_params_do + local gotvar= + local gotparam= + local gotdefault= + echo '# Do not modify this file, use /etc/sysconfig/vdr-epgsearch instead' + echo '# Do not modify this file, use /etc/sysconfig/vdr-epgsearch instead' + echo '# VDR plugin epgsearch configuration' + echo + echo '# You can also define the plugin arguments manually by using the' + echo '# VDR_PLUGIN_ARGS variable below. Note that setting VDR_PLUGIN_ARGS will' + echo '# override all the other settings in this file and that setting' + echo '# VDR_PLUGIN_ARGS_epgsearch in the main VDR sysconfig file will' + echo '# override this file completely.' + echo '# VDR_PLUGIN_ARGS=""' + echo + read INPUT + '[' -z '' ']' + continue + read INPUT + '[' -z '# the path to svdrpsend.pl for external' ']' + echo '# the path to svdrpsend.pl for external' + grep -q '^#' + '[' -n '' ']' + echo '# the path to svdrpsend.pl for external' + continue + read INPUT + '[' -z '# SVDRP communitcation (default is internal' ']' + grep -q '^#' + echo '# SVDRP communitcation (default is internal' + '[' -n '' ']' + echo '# SVDRP communitcation (default is internal' + continue + read INPUT + '[' -z '# communication)' ']' + echo '# communication)' + grep -q '^#' + '[' -n '' ']' + echo '# communication)' + continue + read INPUT + '[' -z var=SVDRPSENDCMD ']' + echo var=SVDRPSENDCMD + grep -q '^#' + echo var=SVDRPSENDCMD + grep -q '^var=' + gotvar=SVDRPSENDCMD + continue + read INPUT + '[' -z param=--svdrpsendcmd=SVDRPSENDCMD ']' + echo param=--svdrpsendcmd=SVDRPSENDCMD + grep -q '^#' + echo param=--svdrpsendcmd=SVDRPSENDCMD + grep -q '^var=' + echo param=--svdrpsendcmd=SVDRPSENDCMD + grep -q '^param=' + eval gotparam=--svdrpsendcmd=SVDRPSENDCMD ++ gotparam=--svdrpsendcmd=SVDRPSENDCMD + continue + read INPUT + '[' -z '# config dir for epgsearch' ']' + echo '# config dir for epgsearch' + grep -q '^#' + '[' -n SVDRPSENDCMD ']' + '[' -n --svdrpsendcmd=SVDRPSENDCMD ']' + vdr_plugin_params_handle + echo --svdrpsendcmd=SVDRPSENDCMD + grep -q SVDRPSENDCMD + echo 'local SVDRPSENDCMD=""' + echo '# SVDRPSENDCMD=""' ++ sed 's/SVDRPSENDCMD/'\''$SVDRPSENDCMD'\''/' ++ echo --svdrpsendcmd=SVDRPSENDCMD + gotparam='--svdrpsendcmd='\''$SVDRPSENDCMD'\''' + echo '[ -n "$SVDRPSENDCMD" ] && echo "--svdrpsendcmd='\''$SVDRPSENDCMD'\''"' + echo + gotvar= + gotparam= + gotdefault= + echo '# config dir for epgsearch' + continue + read INPUT + '[' -z var=CONFIGDIR ']' + echo var=CONFIGDIR + grep -q '^#' + grep -q '^var=' + echo var=CONFIGDIR + gotvar=CONFIGDIR + continue + read INPUT + '[' -z param=--config=CONFIGDIR ']' + echo param=--config=CONFIGDIR + grep -q '^#' + echo param=--config=CONFIGDIR + grep -q '^var=' + echo param=--config=CONFIGDIR + grep -q '^param=' + eval gotparam=--config=CONFIGDIR ++ gotparam=--config=CONFIGDIR + continue + read INPUT + '[' -z '# logfile for epgsearch' ']' + echo '# logfile for epgsearch' + grep -q '^#' + '[' -n CONFIGDIR ']' + '[' -n --config=CONFIGDIR ']' + vdr_plugin_params_handle + echo --config=CONFIGDIR + grep -q CONFIGDIR + echo 'local CONFIGDIR=""' + echo '# CONFIGDIR=""' ++ sed 's/CONFIGDIR/'\''$CONFIGDIR'\''/' ++ echo --config=CONFIGDIR + gotparam='--config='\''$CONFIGDIR'\''' + echo '[ -n "$CONFIGDIR" ] && echo "--config='\''$CONFIGDIR'\''"' + echo + gotvar= + gotparam= + gotdefault= + echo '# logfile for epgsearch' + continue + read INPUT + '[' -z var=LOGFILE ']' + echo var=LOGFILE + grep -q '^#' + grep -q '^var=' + echo var=LOGFILE + gotvar=LOGFILE + continue + read INPUT + '[' -z param=--logfile=LOGFILE ']' + echo param=--logfile=LOGFILE + grep -q '^#' + echo param=--logfile=LOGFILE + grep -q '^var=' + echo param=--logfile=LOGFILE + grep -q '^param=' + eval gotparam=--logfile=LOGFILE ++ gotparam=--logfile=LOGFILE + continue + read INPUT + '[' -z '# logfile verbosity' ']' + echo '# logfile verbosity' + grep -q '^#' + '[' -n LOGFILE ']' + '[' -n --logfile=LOGFILE ']' + vdr_plugin_params_handle + echo --logfile=LOGFILE + grep -q LOGFILE + echo 'local LOGFILE=""' + echo '# LOGFILE=""' ++ echo --logfile=LOGFILE ++ sed 's/LOGFILE/'\''$LOGFILE'\''/' + gotparam='--logfile='\''$LOGFILE'\''' + echo '[ -n "$LOGFILE" ] && echo "--logfile='\''$LOGFILE'\''"' + echo + gotvar= + gotparam= + gotdefault= + echo '# logfile verbosity' + continue + read INPUT + '[' -z var=LOGLEVEL ']' + echo var=LOGLEVEL + grep -q '^#' + grep -q '^var=' + echo var=LOGLEVEL + gotvar=LOGLEVEL + continue + read INPUT + '[' -z param=--verbose=LOGLEVEL ']' + echo param=--verbose=LOGLEVEL + grep -q '^#' + grep -q '^var=' + echo param=--verbose=LOGLEVEL + grep -q '^param=' + echo param=--verbose=LOGLEVEL + eval gotparam=--verbose=LOGLEVEL ++ gotparam=--verbose=LOGLEVEL + continue + read INPUT + '[' -z '# reload epgsearchmenu.conf with plugin call' ']' + grep -q '^#' + echo '# reload epgsearchmenu.conf with plugin call' + '[' -n LOGLEVEL ']' + '[' -n --verbose=LOGLEVEL ']' + vdr_plugin_params_handle + echo --verbose=LOGLEVEL + grep -q LOGLEVEL + echo 'local LOGLEVEL=""' + echo '# LOGLEVEL=""' ++ echo --verbose=LOGLEVEL ++ sed 's/LOGLEVEL/'\''$LOGLEVEL'\''/' + gotparam='--verbose='\''$LOGLEVEL'\''' + echo '[ -n "$LOGLEVEL" ] && echo "--verbose='\''$LOGLEVEL'\''"' + echo + gotvar= + gotparam= + gotdefault= + echo '# reload epgsearchmenu.conf with plugin call' + continue + read INPUT + '[' -z var=RELOADMENUCONF ']' + echo var=RELOADMENUCONF + grep -q '^#' + echo var=RELOADMENUCONF + grep -q '^var=' + gotvar=RELOADMENUCONF + continue + read INPUT + '[' -z param=--reloadmenuconf ']' + echo param=--reloadmenuconf + grep -q '^#' + echo param=--reloadmenuconf + grep -q '^var=' + echo param=--reloadmenuconf + grep -q '^param=' + eval gotparam=--reloadmenuconf ++ gotparam=--reloadmenuconf + continue + read INPUT + '[' -z '# path to an alternative mail script for mail notification' ']' + echo '# path to an alternative mail script for mail notification' + grep -q '^#' + '[' -n RELOADMENUCONF ']' + '[' -n --reloadmenuconf ']' + vdr_plugin_params_handle + grep -q RELOADMENUCONF + echo --reloadmenuconf + echo --reloadmenuconf + grep -q MULTIPLE_PARAMS + '[' -z '' ']' + gotdefault=no + echo 'local RELOADMENUCONF="no"' + echo '# RELOADMENUCONF="no"' + echo '[ "$RELOADMENUCONF" = "yes" ] && echo "--reloadmenuconf"' + echo + gotvar= + gotparam= + gotdefault= + echo '# path to an alternative mail script for mail notification' + continue + read INPUT + '[' -z var=MAILCMD ']' + echo var=MAILCMD + grep -q '^#' + echo var=MAILCMD + grep -q '^var=' + gotvar=MAILCMD + continue + read INPUT + '[' -z param=--mailcmd=MAILCMD ']' + echo param=--mailcmd=MAILCMD + grep -q '^#' + echo param=--mailcmd=MAILCMD + grep -q '^var=' + echo param=--mailcmd=MAILCMD + grep -q '^param=' + eval gotparam=--mailcmd=MAILCMD ++ gotparam=--mailcmd=MAILCMD + continue + read INPUT + vdr_plugin_params_handle + echo --mailcmd=MAILCMD + grep -q MAILCMD + echo 'local MAILCMD=""' + echo '# MAILCMD=""' ++ echo --mailcmd=MAILCMD ++ sed 's/MAILCMD/'\''$MAILCMD'\''/' + gotparam='--mailcmd='\''$MAILCMD'\''' + echo '[ -n "$MAILCMD" ] && echo "--mailcmd='\''$MAILCMD'\''"' + echo + gotvar= + gotparam= + gotdefault= + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.FqpG4J + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd epgsearch-1.0.1.beta5 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + VDR_PLUGIN_EXTRA_FLAGS=-DUSE_GRAPHTFT + echo 'warning: %make is deprecated, try %make_build instead' warning: %make is deprecated, try %make_build instead + /usr/bin/make -O -j4 all 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -DUSE_GRAPHTFT' 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -DUSE_GRAPHTFT' 'LDFLAGS= -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' PLUGINLIBDIR=/usr/lib64/vdr VIDEODIR=/var/lib/vdr/video LIBDIR=. LOCALEDIR=locale 'VDRLOCALE=""' DVBDIR=/usr VDRDIR=/usr/include/vdr VDRVERSION=2.0.7-5.mga7 VDRVERSNUM=20007 APIVERSION=2.0.6.1 APIVERSNUM=20006 g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o afuzzy.o afuzzy.c g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o changrp.o changrp.c changrp.c: In member function 'bool cChannelGroup::Parse(const char*)': changrp.c:81:59: warning: format '%a' expects argument of type 'float*', but argument 3 has type 'char**' [-Wformat=] int numChannels = sscanf(value, "%a[^|]", &channelbuffer); ~~~~~~~~~~~~~~^ g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o blacklist.o blacklist.c blacklist.c: In member function 'bool cBlacklist::Parse(const char*)': blacklist.c:332:86: warning: format '%a' expects argument of type 'float*', but argument 3 has type 'char**' [-Wformat=] int channels = sscanf(value, "%a[^|]|%a[^|]", &channelMinbuffer, &channelMaxbuffer); ~~~~~~~~~~~~~~~~~ ^ blacklist.c:332:86: warning: format '%a' expects argument of type 'float*', but argument 4 has type 'char**' [-Wformat=] g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o distance.o distance.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o confdloader.o confdloader.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o conflictcheck_thread.o conflictcheck_thread.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o epgsearchcats.o epgsearchcats.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o epgsearchcfg.o epgsearchcfg.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o conflictcheck.o conflictcheck.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o epgsearchsetup.o epgsearchsetup.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o epgsearchext.o epgsearchext.c epgsearchext.c: In member function 'bool cSearchExt::Parse(const char*)': epgsearchext.c:481:107: warning: format '%a' expects argument of type 'float*', but argument 3 has type 'char**' [-Wformat=] int channels = sscanf(value, "%a[^|]|%a[^|]", &channelMinbuffer, &channelMaxbuffer); ~~~~~~~~~~~~~~~~~ ^ epgsearchext.c:481:107: warning: format '%a' expects argument of type 'float*', but argument 4 has type 'char**' [-Wformat=] g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o epgsearchsvdrp.o epgsearchsvdrp.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o epgsearch.o epgsearch.c In file included from epgsearchservices.h:27:0, from epgsearch.c:66: services.h:167:12: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr handler; ^~~~~~~~ In file included from /usr/include/c++/7.3.0/memory:80:0, from services.h:29, from epgsearchservices.h:27, from epgsearch.c:66: /usr/include/c++/7.3.0/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from epgsearchservices.h:27:0, from epgsearch.c:66: services.h:183:12: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr handler; ^~~~~~~~ In file included from /usr/include/c++/7.3.0/memory:80:0, from services.h:29, from epgsearchservices.h:27, from epgsearch.c:66: /usr/include/c++/7.3.0/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from epgsearchservices.h:27:0, from epgsearch.c:66: services.h:199:12: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr handler; ^~~~~~~~ In file included from /usr/include/c++/7.3.0/memory:80:0, from services.h:29, from epgsearchservices.h:27, from epgsearch.c:66: /usr/include/c++/7.3.0/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ epgsearch.c: In member function 'virtual bool cPluginEpgsearch::Service(const char*, void*)': epgsearch.c:421:12: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr autoHandler(new cEpgsearchServiceHandler); ^~~~~~~~ In file included from /usr/include/c++/7.3.0/memory:80:0, from services.h:29, from epgsearchservices.h:27, from epgsearch.c:66: /usr/include/c++/7.3.0/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ epgsearch.c:429:12: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr autoHandler(new cEpgsearchServiceHandler); ^~~~~~~~ In file included from /usr/include/c++/7.3.0/memory:80:0, from services.h:29, from epgsearchservices.h:27, from epgsearch.c:66: /usr/include/c++/7.3.0/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o md5.o md5.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o menu_announcelist.o menu_announcelist.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o epgsearchtools.o epgsearchtools.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o menu_blacklistedit.o menu_blacklistedit.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o menu_blacklists.o menu_blacklists.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o menu_conflictcheck.o menu_conflictcheck.c menu_conflictcheck.c: In member function 'bool cMenuConflictCheckDetailsItem::Update(bool)': menu_conflictcheck.c:172:6: warning: '%d' directive writing between 1 and 10 bytes into a region of size 2 [-Wformat-overflow=] bool cMenuConflictCheckDetailsItem::Update(bool Force) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menu_conflictcheck.c:172:6: note: directive argument in the range [1, 2147483647] In file included from /usr/include/stdio.h:862:0, from /usr/include/c++/7.3.0/cstdio:42, from /usr/include/c++/7.3.0/ext/string_conversions.h:43, from /usr/include/c++/7.3.0/bits/basic_string.h:6349, from /usr/include/c++/7.3.0/string:52, from menu_conflictcheck.c:25: /usr/include/bits/stdio2.h:34:43: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 2 __bos (__s), __fmt, __va_arg_pack ()); ^ g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o menu_commands.o menu_commands.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o menu_deftimercheckmethod.o menu_deftimercheckmethod.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o menu_event.o menu_event.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o menu_dirselect.o menu_dirselect.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o menu_favorites.o menu_favorites.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o mail.o mail.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o menu_main.o menu_main.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o menu_recsdone.o menu_recsdone.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o menu_quicksearch.o menu_quicksearch.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o menu_myedittimer.o menu_myedittimer.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o menu_search.o menu_search.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o menu_searchactions.o menu_searchactions.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o menu_switchtimers.o menu_switchtimers.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o menu_searchtemplate.o menu_searchtemplate.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o menu_templateedit.o menu_templateedit.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o menu_searchedit.o menu_searchedit.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o menu_timersdone.o menu_timersdone.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o menu_searchresults.o menu_searchresults.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o noannounce.o noannounce.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o rcfile.o rcfile.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o pending_notifications.o pending_notifications.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o recstatus.o recstatus.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o menu_whatson.o menu_whatson.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o recdone.o recdone.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o switchtimer.o switchtimer.c switchtimer.c: In member function 'cSwitchTimer* cSwitchTimers::InSwitchList(const cEvent*)': switchtimer.c:160:24: error: cannot convert 'bool' to 'cSwitchTimer*' in return if (!event) return false; ^~~~~ make: *** [Makefile:188: switchtimer.o] Error 1 make: *** Waiting for unfinished jobs.... g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o switchtimer_thread.o switchtimer_thread.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 -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o searchtimer_thread.o searchtimer_thread.c In file included from searchtimer_thread.c:37:0: services.h:167:12: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr handler; ^~~~~~~~ In file included from /usr/include/c++/7.3.0/memory:80:0, from services.h:29, from searchtimer_thread.c:37: /usr/include/c++/7.3.0/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from searchtimer_thread.c:37:0: services.h:183:12: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr handler; ^~~~~~~~ In file included from /usr/include/c++/7.3.0/memory:80:0, from services.h:29, from searchtimer_thread.c:37: /usr/include/c++/7.3.0/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from searchtimer_thread.c:37:0: services.h:199:12: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr handler; ^~~~~~~~ In file included from /usr/include/c++/7.3.0/memory:80:0, from services.h:29, from searchtimer_thread.c:37: /usr/include/c++/7.3.0/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -DUSE_GRAPHTFT -c -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_PCREPOSIX -DPLUGIN_NAME_I18N='"epgsearch"' -o services.o services.c In file included from epgsearchservices.h:27:0, from services.c:28: services.h:167:12: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr handler; ^~~~~~~~ In file included from /usr/include/c++/7.3.0/memory:80:0, from services.h:29, from epgsearchservices.h:27, from services.c:28: /usr/include/c++/7.3.0/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from epgsearchservices.h:27:0, from services.c:28: services.h:183:12: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr handler; ^~~~~~~~ In file included from /usr/include/c++/7.3.0/memory:80:0, from services.h:29, from epgsearchservices.h:27, from services.c:28: /usr/include/c++/7.3.0/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ In file included from epgsearchservices.h:27:0, from services.c:28: services.h:199:12: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr handler; ^~~~~~~~ In file included from /usr/include/c++/7.3.0/memory:80:0, from services.h:29, from epgsearchservices.h:27, from services.c:28: /usr/include/c++/7.3.0/bits/unique_ptr.h:51:28: note: declared here template class auto_ptr; ^~~~~~~~ error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.FqpG4J (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.FqpG4J (%build) I: [iurt_root_command] ERROR: chroot