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-xvdr-0.9.9-0.git20131223.10.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.5J3sNL + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf xvdr-git20131223 + /usr/bin/xz -dc /home/iurt/rpmbuild/SOURCES/vdr-xvdr-git20131223.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xvdr-git20131223 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + for file in po/*.po + grep -Eq 'msgstr ".+"' 'po/*.po' grep: po/*.po: No such file or directory + rm -f 'po/*.po' + set +x Silent renaming of locales + touch vdr_plugin_prep.done + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/vdr-xvdr-gcc6.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ZZHYiL + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd xvdr-git20131223 + '[' 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 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 -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.9"' -I./src -o src/demuxer/demuxer_ADTS.o src/demuxer/demuxer_ADTS.c g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.9"' -I./src -o src/demuxer/demuxer_LATM.o src/demuxer/demuxer_LATM.c g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.9"' -I./src -o src/demuxer/demuxer.o src/demuxer/demuxer.c g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.9"' -I./src -o src/config/config.o src/config/config.c g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.9"' -I./src -o src/demuxer/demuxer_AC3.o src/demuxer/demuxer_AC3.c g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.9"' -I./src -o src/demuxer/demuxer_EAC3.o src/demuxer/demuxer_EAC3.c g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.9"' -I./src -o src/demuxer/demuxer_MPEGAudio.o src/demuxer/demuxer_MPEGAudio.c g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.9"' -I./src -o src/demuxer/demuxer_H264.o src/demuxer/demuxer_H264.c g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.9"' -I./src -o src/demuxer/demuxer_MPEGVideo.o src/demuxer/demuxer_MPEGVideo.c g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.9"' -I./src -o src/demuxer/demuxer_PES.o src/demuxer/demuxer_PES.c g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.9"' -I./src -o src/demuxer/demuxer_Subtitle.o src/demuxer/demuxer_Subtitle.c g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.9"' -I./src -o src/demuxer/parser.o src/demuxer/parser.c g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.9"' -I./src -o src/demuxer/streaminfo.o src/demuxer/streaminfo.c g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.9"' -I./src -o src/live/livepatfilter.o src/live/livepatfilter.c g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.9"' -I./src -o src/live/livequeue.o src/live/livequeue.c g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.9"' -I./src -o src/net/os-config.o src/net/os-config.c g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.9"' -I./src -o src/live/channelcache.o src/live/channelcache.c In file included from /usr/include/vdr/i18n.h:14, from /usr/include/vdr/config.h:19, from ./src/config/config.h:32, from src/live/channelcache.c:25: src/live/channelcache.c: In static member function 'static void cChannelCache::gc()': ./src/config/config.h:48:31: warning: format '%i' expects argument of type 'int', but argument 3 has type 'std::map::size_type' {aka 'long unsigned int'} [-Wformat=] 48 | #define INFOLOG(x...) isyslog("XVDR: " x) src/live/channelcache.c:259:3: note: in expansion of macro 'INFOLOG' 259 | INFOLOG("before: %i channels in cache", m_cache.size()); | ^~~~~~~ src/live/channelcache.c:259:21: note: format string is defined here 259 | INFOLOG("before: %i channels in cache", m_cache.size()); | ~^ | | | int | %li In file included from /usr/include/vdr/i18n.h:14, from /usr/include/vdr/config.h:19, from ./src/config/config.h:32, from src/live/channelcache.c:25: ./src/config/config.h:48:31: warning: format '%i' expects argument of type 'int', but argument 3 has type 'std::map::size_type' {aka 'long unsigned int'} [-Wformat=] 48 | #define INFOLOG(x...) isyslog("XVDR: " x) src/live/channelcache.c:290:3: note: in expansion of macro 'INFOLOG' 290 | INFOLOG("after: %i channels in cache", m_cache.size()); | ^~~~~~~ src/live/channelcache.c:290:20: note: format string is defined here 290 | INFOLOG("after: %i channels in cache", m_cache.size()); | ~^ | | | int | %li 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 -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.9"' -I./src -o src/live/livestreamer.o src/live/livestreamer.c src/live/livestreamer.c: In member function 'int cLiveStreamer::StreamChannel(const cChannel*, int, bool)': src/live/livestreamer.c:237:8: error: 'Timers' was not declared in this scope; did you mean 'cTimers'? 237 | if(Timers.GetMatch(now) != NULL) | ^~~~~~ | cTimers make: *** [Makefile:98: src/live/livestreamer.o] Error 1 make: *** Waiting for unfinished jobs.... g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.9"' -I./src -o src/recordings/recordingscache.o src/recordings/recordingscache.c src/recordings/recordingscache.c: In member function 'void cRecordingsCache::Update()': src/recordings/recordingscache.c:39:32: error: 'Recordings' was not declared in this scope; did you mean 'cRecordings'? 39 | for (cRecording *recording = Recordings.First(); recording; recording = Recordings.Next(recording)) { | ^~~~~~~~~~ | cRecordings src/recordings/recordingscache.c: In member function 'cRecording* cRecordingsCache::Lookup(uint32_t)': src/recordings/recordingscache.c:84:19: error: 'Recordings' was not declared in this scope; did you mean 'cRecordings'? 84 | cRecording* r = Recordings.GetByName(filename); | ^~~~~~~~~~ | cRecordings src/recordings/recordingscache.c: In member function 'void cRecordingsCache::LoadResumeData()': src/recordings/recordingscache.c:153:30: warning: format '%llu' expects argument of type 'long long unsigned int*', but argument 4 has type 'uint64_t*' {aka 'long unsigned int*'} [-Wformat=] 153 | while(fscanf(f, "%08x = %llu, %i", &uid, &pos, &count) != EOF) | ~~~^ ~~~~ | | | | | uint64_t* {aka long unsigned int*} | long long unsigned int* | %lu src/recordings/recordingscache.c: In member function 'void cRecordingsCache::SaveResumeData()': src/recordings/recordingscache.c:184:29: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 184 | fprintf(f, "%08x = %llu, %i\n", i->first, i->second.lastplayedposition, i->second.playcount); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu src/recordings/recordingscache.c: In member function 'void cRecordingsCache::gc()': src/recordings/recordingscache.c:208:40: error: 'Recordings' was not declared in this scope; did you mean 'cRecordings'? 208 | if(!isempty(i->second.filename) && Recordings.GetByName(i->second.filename) == NULL) { | ^~~~~~~~~~ | cRecordings make: *** [Makefile:98: src/recordings/recordingscache.o] Error 1 g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.9"' -I./src -o src/recordings/recplayer.o src/recordings/recplayer.c In file included from src/recordings/recplayer.h:35, from src/recordings/recplayer.c:30: src/recordings/recplayer.c: In member function 'void cRecPlayer::scan()': ./src/config/config.h:48:31: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 48 | #define INFOLOG(x...) isyslog("XVDR: " x) src/recordings/recplayer.c:100:5: note: in expansion of macro 'INFOLOG' 100 | INFOLOG("recording scan: %llu bytes", m_totalLength); | ^~~~~~~ src/recordings/recplayer.c:100:33: note: format string is defined here 100 | INFOLOG("recording scan: %llu bytes", m_totalLength); | ~~~^ | | | long long unsigned int | %lu In file included from src/recordings/recplayer.h:35, from src/recordings/recplayer.c:30: src/recordings/recplayer.c: In member function 'int cRecPlayer::getBlock(unsigned char*, uint64_t, int)': ./src/config/config.h:49:32: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 49 | #define ERRORLOG(x...) esyslog("XVDR-Error: " x) src/recordings/recplayer.c:206:5: note: in expansion of macro 'ERRORLOG' 206 | ERRORLOG("unable to seek to position: %llu", filePosition); | ^~~~~~~~ src/recordings/recplayer.c:206:46: note: format string is defined here 206 | ERRORLOG("unable to seek to position: %llu", filePosition); | ~~~^ | | | long long unsigned int | %lu 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 -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.9"' -I./src -o src/net/msgpacket.o src/net/msgpacket.c error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.ZZHYiL (%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.ZZHYiL (%build) I: [iurt_root_command] ERROR: chroot