D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/vdr-plugin-wapd-0.9-19.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.s8z4vt + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf wapd-0.9 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/vdr-wapd-0.9.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd wapd-0.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (02_gettext-i18n.dpatch):' Patch #0 (02_gettext-i18n.dpatch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile patching file po/ca_ES.po patching file po/cs_CZ.po patching file po/da_DK.po patching file po/de_DE.po patching file po/el_GR.po patching file po/es_ES.po patching file po/et_EE.po patching file po/fi_FI.po patching file po/fr_FR.po patching file po/hr_HR.po patching file po/hu_HU.po patching file po/it_IT.po patching file po/nl_NL.po patching file po/nn_NO.po patching file po/pl_PL.po patching file po/pt_PT.po patching file po/ro_RO.po patching file po/ru_RU.po patching file po/sl_SI.po patching file po/sv_SE.po patching file po/tr_TR.po patching file server.c patching file wapd.c + echo 'Patch #1 (03_gcc-4.1.x.dpatch):' Patch #1 (03_gcc-4.1.x.dpatch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file server.c Hunk #1 succeeded at 134 (offset -1 lines). Hunk #2 succeeded at 159 (offset -1 lines). patching file server.h patching file wappasswd.c + echo 'Patch #2 (wapd-linking-order.patch):' Patch #2 (wapd-linking-order.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile Hunk #1 succeeded at 105 (offset 25 lines). + for file in po/*.po + grep -Eq 'msgstr ".+"' po/ca_ES.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/cs_CZ.po + rm -f po/cs_CZ.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/da_DK.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/de_DE.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/el_GR.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/es_ES.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/et_EE.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/fi_FI.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/fr_FR.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/hr_HR.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/hu_HU.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/it_IT.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/nl_NL.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/nn_NO.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/pl_PL.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/pt_PT.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/ro_RO.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/ru_RU.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/sl_SI.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/sv_SE.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/tr_TR.po + rm -f po/tr_TR.po + set +x Silent renaming of locales + touch vdr_plugin_prep.done + vdr_plugin_params_do + local gotvar= + local gotparam= + local gotdefault= + echo '# Do not modify this file, use /etc/sysconfig/vdr-wapd instead' + echo '# Do not modify this file, use /etc/sysconfig/vdr-wapd instead' + echo '# VDR plugin wapd 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_wapd in the main VDR sysconfig file will' + echo '# override this file completely.' + echo '# VDR_PLUGIN_ARGS=""' + echo + read INPUT + '[' -z '' ']' + continue + read INPUT + '[' -z '# use PORT for WAP (default: 8888)' ']' + echo '# use PORT for WAP (default: 8888)' + grep -q '^#' + '[' -n '' ']' + echo '# use PORT for WAP (default: 8888)' + continue + read INPUT + '[' -z var=PORT ']' + grep -q '^#' + echo var=PORT + echo var=PORT + grep -q '^var=' + gotvar=PORT + continue + read INPUT + '[' -z 'param="-p PORT"' ']' + grep -q '^#' + echo 'param="-p PORT"' + grep -q '^var=' + echo 'param="-p PORT"' + grep -q '^param=' + echo 'param="-p PORT"' + eval 'gotparam="-p PORT"' ++ gotparam='-p PORT' + continue + read INPUT + vdr_plugin_params_handle + echo '-p PORT' + grep -q PORT + echo 'local PORT=""' + echo '# PORT=""' ++ sed 's/PORT/'\''$PORT'\''/' ++ echo '-p PORT' + gotparam='-p '\''$PORT'\''' + echo '[ -n "$PORT" ] && echo "-p '\''$PORT'\''"' + echo + gotvar= + gotparam= + gotdefault= + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.kLglKA + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd wapd-0.9 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j16 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-2.mga9 VDRVERSNUM=20601 APIVERSION=2.6.1.1 APIVERSNUM=20601 xgettext -C -cTRANSLATORS --no-wrap --no-location -k -kwmltr -ktr -ktrNOOP --msgid-bugs-address='' -o po/wapd.pot access.c i18n.c server.c tools.c wapd.c wappasswd.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=sha1 -Wl,--enable-new-dtags -o wappasswd wappasswd.c -lcrypt msgmerge -U --no-wrap --no-location --backup=none -q po/ca.po po/wapd.pot msgmerge -U --no-wrap --no-location --backup=none -q po/da.po po/wapd.pot msgmerge -U --no-wrap --no-location --backup=none -q po/de.po po/wapd.pot 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='"wapd"' -I/usr/include/vdr/include tools.c msgmerge -U --no-wrap --no-location --backup=none -q po/el.po po/wapd.pot msgmerge -U --no-wrap --no-location --backup=none -q po/es.po po/wapd.pot msgmerge -U --no-wrap --no-location --backup=none -q po/et.po po/wapd.pot msgmerge -U --no-wrap --no-location --backup=none -q po/fi.po po/wapd.pot msgmerge -U --no-wrap --no-location --backup=none -q po/fr.po po/wapd.pot msgmerge -U --no-wrap --no-location --backup=none -q po/hr.po po/wapd.pot msgmerge -U --no-wrap --no-location --backup=none -q po/hu.po po/wapd.pot msgmerge -U --no-wrap --no-location --backup=none -q po/it.po po/wapd.pot msgmerge -U --no-wrap --no-location --backup=none -q po/nn.po po/wapd.pot msgmerge -U --no-wrap --no-location --backup=none -q po/nl.po po/wapd.pot msgmerge -U --no-wrap --no-location --backup=none -q po/pl.po po/wapd.pot msgmerge -U --no-wrap --no-location --backup=none -q po/pt.po po/wapd.pot msgmerge -U --no-wrap --no-location --backup=none -q po/ro.po po/wapd.pot msgmerge -U --no-wrap --no-location --backup=none -q po/ru.po po/wapd.pot msgmerge -U --no-wrap --no-location --backup=none -q po/sl.po po/wapd.pot msgfmt -c -o po/ca.mo po/ca.po po/ca.po:9: warning: header field 'Language' still has the initial default value msgfmt -c -o po/da.mo po/da.po po/da.po:7: warning: header field 'Language' still has the initial default value msgfmt -c -o po/de.mo po/de.po po/de.po:7: warning: header field 'Language' still has the initial default value msgfmt -c -o po/el.mo po/el.po po/el.po:7: warning: header field 'Language' still has the initial default value msgfmt -c -o po/es.mo po/es.po po/es.po:7: warning: header field 'Language' still has the initial default value 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='"wapd"' -I/usr/include/vdr/include wapd.c msgmerge -U --no-wrap --no-location --backup=none -q po/sv.po po/wapd.pot msgfmt -c -o po/et.mo po/et.po po/et.po:7: warning: header field 'Language' still has the initial default value msgfmt -c -o po/fi.mo po/fi.po po/fi.po:10: warning: header field 'Language' still has the initial default value msgfmt -c -o po/fr.mo po/fr.po po/fr.po:10: warning: header field 'Language' still has the initial default value msgfmt -c -o po/hr.mo po/hr.po po/hr.po:8: warning: header field 'Language' still has the initial default value msgfmt -c -o po/hu.mo po/hu.po po/hu.po:8: warning: header field 'Language' still has the initial default value msgfmt -c -o po/it.mo po/it.po po/it.po:9: warning: header field 'Language' still has the initial default value 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='"wapd"' -I/usr/include/vdr/include server.c server.c: In member function 'void cWapServer::SwitchChannel()': server.c:178:28: error: 'Channels' was not declared in this scope; did you mean 'cChannels'? 178 | if (o >= 1 && o <= Channels.MaxNumber()) | ^~~~~~~~ | cChannels server.c:181:26: error: 'Channels' was not declared in this scope; did you mean 'cChannels'? 181 | cChannel *channel = Channels.GetByNumber(n); | ^~~~~~~~ | cChannels server.c: In member function 'void cWapServer::DeleteChannel()': server.c:193:29: error: 'Channels' was not declared in this scope; did you mean 'cChannels'? 193 | cChannel *channel = Channels.GetByNumber(strtol(getopt, NULL, 10)); | ^~~~~~~~ | cChannels server.c:195:33: error: 'Timers' was not declared in this scope; did you mean 'cTimers'? 195 | for (cTimer *timer = Timers.First(); timer; timer = Timers.Next(timer)) { | ^~~~~~ | cTimers server.c: In member function 'void cWapServer::UpdateChannel()': server.c:228:32: error: 'Channels' was not declared in this scope; did you mean 'cChannels'? 228 | cChannel *channel = Channels.GetByNumber(nr); | ^~~~~~~~ | cChannels server.c:235:16: error: 'Channels' was not declared in this scope; did you mean 'cChannels'? 235 | if (Channels.HasUniqueChannelID(&ch)) { | ^~~~~~~~ | cChannels server.c: In member function 'void cWapServer::OnOffTimer()': server.c:252:25: error: 'Timers' was not declared in this scope; did you mean 'cTimers'? 252 | cTimer *timer = Timers.Get(strtol(getopt, NULL, 10) - 1); | ^~~~~~ | cTimers server.c: In member function 'void cWapServer::DeleteTimer()': server.c:265:25: error: 'Timers' was not declared in this scope; did you mean 'cTimers'? 265 | cTimer *timer = Timers.Get(strtol(getopt, NULL, 10) - 1); | ^~~~~~ | cTimers server.c: In member function 'void cWapServer::UpdateTimer()': server.c:299:16: error: 'Timers' was not declared in this scope; did you mean 'cTimers'? 299 | t = Timers.Get(id - 1); | ^~~~~~ | cTimers server.c:301:16: error: 'Timers' was not declared in this scope; did you mean 'cTimers'? 301 | t = Timers.GetTimer(timer); | ^~~~~~ | cTimers server.c:307:12: error: 'Timers' was not declared in this scope; did you mean 'cTimers'? 307 | Timers.Add(timer); | ^~~~~~ | cTimers server.c:308:9: error: 'Timers' was not declared in this scope; did you mean 'cTimers'? 308 | Timers.Save(); | ^~~~~~ | cTimers server.c: In member function 'void cWapServer::EditChannel()': server.c:367:19: error: 'Channels' was not declared in this scope; did you mean 'cChannels'? 367 | channel = Channels.GetByNumber(channel_nr); | ^~~~~~~~ | cChannels server.c: In member function 'void cWapServer::EditTimer()': server.c:460:17: error: 'Timers' was not declared in this scope; did you mean 'cTimers'? 460 | timer = Timers.Get(strtol(getopt, NULL, 10) - 1); | ^~~~~~ | cTimers server.c: In member function 'void cWapServer::ScheduleNowNext(cChannel*, const cSchedules*)': server.c:621:18: error: 'Channels' was not declared in this scope; did you mean 'cChannels'? 621 | for (channel = Channels.First(); channel; channel = Channels.Next(channel)) { | ^~~~~~~~ | cChannels server.c: In member function 'void cWapServer::PageSchedule()': server.c:725:23: error: 'Channels' was not declared in this scope; did you mean 'cChannels'? 725 | cChannel* Channel = Channels.GetByNumber(ChannelNr); | ^~~~~~~~ | cChannels server.c:729:3: error: 'cSchedulesLock' was not declared in this scope; did you mean 'cSchedules_Lock'? 729 | cSchedulesLock schedulesLock; | ^~~~~~~~~~~~~~ | cSchedules_Lock server.c:730:45: error: 'Schedules' is not a member of 'cSchedules' 730 | const cSchedules *Schedules = cSchedules::Schedules(schedulesLock); | ^~~~~~~~~ server.c:730:55: error: 'schedulesLock' was not declared in this scope; did you mean 'cSchedules_Lock'? 730 | const cSchedules *Schedules = cSchedules::Schedules(schedulesLock); | ^~~~~~~~~~~~~ | cSchedules_Lock server.c: In member function 'void cWapServer::PageChannels()': server.c:757:7: error: 'Channels' was not declared in this scope; did you mean 'cChannels'? 757 | if (Channels.MaxNumber() >= 1) { | ^~~~~~~~ | cChannels server.c: In member function 'void cWapServer::PageTimers()': server.c:800:7: error: 'Timers' was not declared in this scope; did you mean 'cTimers'? 800 | if (Timers.Count()) { | ^~~~~~ | cTimers server.c: In member function 'void cWapServer::PageRecordings()': server.c:864:32: error: 'class cRecordings' has no member named 'Load' 864 | bool recordings = Recordings.Load(); | ^~~~ server.c: In member function 'void cWapServer::Reply(const char*, ...)': server.c:111:15: warning: ignoring return value of 'int vasprintf(char**, const char*, __va_list_tag*)' declared with attribute 'warn_unused_result' [-Wunused-result] 111 | vasprintf(&buf, fmt, ap); | ~~~~~~~~~^~~~~~~~~~~~~~~ server.c: In member function 'void cWapServer::ReplyBuffer(const char*, ...)': server.c:123:12: warning: ignoring return value of 'int vasprintf(char**, const char*, __va_list_tag*)' declared with attribute 'warn_unused_result' [-Wunused-result] 123 | vasprintf(&buf, fmt, ap); | ~~~~~~~~~^~~~~~~~~~~~~~~ server.c: In member function 'void cWapServer::EditTimer()': server.c:455:11: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 455 | asprintf(&day, "%d", lt.tm_mday); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ server.c:456:11: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 456 | asprintf(&file, "%s%02d%02d%02d", wmltr("Button$New"), lt.tm_hour, lt.tm_min, lt.tm_sec); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:63: server.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=sha1 -Wl,--enable-new-dtags -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"wapd"' -I/usr/include/vdr/include access.c access.c: In member function 'int cWapSocket::Accept()': access.c:216:17: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 216 | write(newsock, s, strlen(s)); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ msgfmt -c -o po/nl.mo po/nl.po po/nl.po:9: warning: header field 'Language' still has the initial default value msgfmt -c -o po/nn.mo po/nn.po po/nn.po:8: warning: header field 'Language' still has the initial default value error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.kLglKA (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.kLglKA (%build) I: [iurt_root_command] ERROR: chroot