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-skinelchi-0.2.8-13.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.7VcLkb + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf skinelchi-0.2.8 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/vdr-skinelchi-0.2.8.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd skinelchi-0.2.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/skinelchi-0.2.8-mga-separate-install.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + for file in po/*.po + grep -Eq 'msgstr ".+"' po/de_DE.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 + 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-skinelchi instead' + echo '# Do not modify this file, use /etc/sysconfig/vdr-skinelchi instead' + echo '# VDR plugin skinelchi 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_skinelchi in the main VDR sysconfig file will' + echo '# override this file completely.' + echo '# VDR_PLUGIN_ARGS=""' + echo + read INPUT + '[' -z '' ']' + continue + read INPUT + '[' -z '# optional path for epgimages (default: /var/cache/vdr/epgimages)' ']' + echo '# optional path for epgimages (default: /var/cache/vdr/epgimages)' + grep -q '^#' + '[' -n '' ']' + echo '# optional path for epgimages (default: /var/cache/vdr/epgimages)' + continue + read INPUT + '[' -z var=ICACHE ']' + echo var=ICACHE + grep -q '^#' + grep -q '^var=' + echo var=ICACHE + gotvar=ICACHE + continue + read INPUT + '[' -z param=--icache=ICACHE ']' + grep -q '^#' + echo param=--icache=ICACHE + grep -q '^var=' + echo param=--icache=ICACHE + grep -q '^param=' + echo param=--icache=ICACHE + eval gotparam=--icache=ICACHE ++ gotparam=--icache=ICACHE + continue + read INPUT + '[' -z '# path for channel logos' ']' + grep -q '^#' + echo '# path for channel logos' + '[' -n ICACHE ']' + '[' -n --icache=ICACHE ']' + vdr_plugin_params_handle + grep -q ICACHE + echo --icache=ICACHE + echo 'local ICACHE=""' + echo '# ICACHE=""' ++ echo --icache=ICACHE ++ sed 's/ICACHE/'\''$ICACHE'\''/' + gotparam='--icache='\''$ICACHE'\''' + echo '[ -n "$ICACHE" ] && echo "--icache='\''$ICACHE'\''"' + echo + gotvar= + gotparam= + gotdefault= + echo '# path for channel logos' + continue + read INPUT + '[' -z var=LOGO_DIR ']' + grep -q '^#' + echo var=LOGO_DIR + grep -q '^var=' + echo var=LOGO_DIR + gotvar=LOGO_DIR + continue + read INPUT + '[' -z param=--logos=LOGO_DIR ']' + echo param=--logos=LOGO_DIR + grep -q '^#' + echo param=--logos=LOGO_DIR + grep -q '^var=' + echo param=--logos=LOGO_DIR + grep -q '^param=' + eval gotparam=--logos=LOGO_DIR ++ gotparam=--logos=LOGO_DIR + continue + read INPUT + '[' -z default=/usr/share/vdr/chanlogos ']' + echo default=/usr/share/vdr/chanlogos + grep -q '^#' + echo default=/usr/share/vdr/chanlogos + grep -q '^var=' + echo default=/usr/share/vdr/chanlogos + grep -q '^param=' + echo default=/usr/share/vdr/chanlogos + grep -q '^default=' + eval gotdefault=/usr/share/vdr/chanlogos ++ gotdefault=/usr/share/vdr/chanlogos + continue + read INPUT + vdr_plugin_params_handle + echo --logos=LOGO_DIR + grep -q LOGO_DIR + echo 'local LOGO_DIR="/usr/share/vdr/chanlogos"' + echo '# LOGO_DIR="/usr/share/vdr/chanlogos"' ++ echo --logos=LOGO_DIR ++ sed 's/LOGO_DIR/'\''$LOGO_DIR'\''/' + gotparam='--logos='\''$LOGO_DIR'\''' + echo '[ -n "$LOGO_DIR" ] && echo "--logos='\''$LOGO_DIR'\''"' + echo + gotvar= + gotparam= + gotdefault= + cat + sed -i -e s,ImageMagick,GraphicsMagick,g Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.YTaHPX + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd skinelchi-0.2.8 + '[' 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 VDRDIR=/usr/lib64/pkgconfig SKINELCHI_HAVE_IMAGEMAGICK=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='"skinelchi"' -DSKINELCHI_HAVE_IMAGEMAGICK -I/usr/lib64/pkgconfig/include -I/usr/include/GraphicsMagick -o DisplayReplay.o DisplayReplay.c In file included from common.h:34, from DisplayReplay.c:17: services/epgsearch_services.h:160:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 160 | std::auto_ptr handler; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from services/epgsearch_services.h:29, from common.h:34, from DisplayReplay.c:17: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from common.h:34, from DisplayReplay.c:17: services/epgsearch_services.h:176:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 176 | std::auto_ptr handler; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from services/epgsearch_services.h:29, from common.h:34, from DisplayReplay.c:17: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ DisplayReplay.c: In constructor 'cSkinElchiDisplayReplay::cSkinElchiDisplayReplay(bool)': DisplayReplay.c:554:36: error: 'cBitmap* cOsd::GetBitmap(int)' is protected within this context 554 | cBitmap *bitmap = osd->GetBitmap(0); | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/vdr/dvbsubtitle.h:15, from /usr/include/vdr/device.h:15, from /usr/include/vdr/menu.h:14, from DisplayReplay.c:10: /usr/include/vdr/osd.h:799:12: note: declared protected here 799 | cBitmap *GetBitmap(int Area); | ^~~~~~~~~ DisplayReplay.c: In member function 'void cSkinElchiDisplayReplay::SetScrollTitle(const char*)': DisplayReplay.c:690:8: error: 'min' was not declared in this scope; did you mean 'std::min'? 690 | w = min(w, x4 - x0); | ^~~ | std::min In file included from /usr/include/c++/11/bits/specfun.h:45, from /usr/include/c++/11/cmath:1935, from /usr/include/c++/11/math.h:36, from /usr/include/vdr/tools.h:18, from /usr/include/vdr/i18n.h:14, from /usr/include/vdr/config.h:19, from /usr/include/vdr/channels.h:13, from /usr/include/vdr/ci.h:15, from /usr/include/vdr/menu.h:13, from DisplayReplay.c:10: /usr/include/c++/11/bits/stl_algobase.h:278:5: note: 'std::min' declared here 278 | min(const _Tp& __a, const _Tp& __b, _Compare __comp) | ^~~ make: *** [Makefile:134: DisplayReplay.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='"skinelchi"' -DSKINELCHI_HAVE_IMAGEMAGICK -I/usr/lib64/pkgconfig/include -I/usr/include/GraphicsMagick -o skinelchi.o skinelchi.c In file included from common.h:34, from skinelchi.c:45: services/epgsearch_services.h:160:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 160 | std::auto_ptr handler; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from services/epgsearch_services.h:29, from common.h:34, from skinelchi.c:45: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from common.h:34, from skinelchi.c:45: services/epgsearch_services.h:176:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 176 | std::auto_ptr handler; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from services/epgsearch_services.h:29, from common.h:34, from skinelchi.c:45: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | 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 -c -DPLUGIN_NAME_I18N='"skinelchi"' -DSKINELCHI_HAVE_IMAGEMAGICK -I/usr/lib64/pkgconfig/include -I/usr/include/GraphicsMagick -o DisplayChannel.o DisplayChannel.c In file included from common.h:34, from DisplayChannel.c:20: services/epgsearch_services.h:160:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 160 | std::auto_ptr handler; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from services/epgsearch_services.h:29, from common.h:34, from DisplayChannel.c:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from common.h:34, from DisplayChannel.c:20: services/epgsearch_services.h:176:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 176 | std::auto_ptr handler; | ^~~~~~~~ In file included from /usr/include/c++/11/memory:76, from services/epgsearch_services.h:29, from common.h:34, from DisplayChannel.c:20: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ DisplayChannel.c: In member function 'virtual void cSkinElchiDisplayChannel::SetChannel(const cChannel*, int)': DisplayChannel.c:668:32: error: 'cBitmap* cOsd::GetBitmap(int)' is protected within this context 668 | if (!osd->GetBitmap(1) && ElchiConfig.useHQlogo && OSDHeight <= 576) | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/vdr/dvbsubtitle.h:15, from /usr/include/vdr/device.h:15, from DisplayChannel.c:14: /usr/include/vdr/osd.h:799:12: note: declared protected here 799 | cBitmap *GetBitmap(int Area); | ^~~~~~~~~ DisplayChannel.c: In member function 'virtual void cSkinElchiDisplayChannel::SetEvents(const cEvent*, const cEvent*)': DisplayChannel.c:710:28: error: 'min' was not declared in this scope; did you mean 'std::min'? 710 | int seen = max(0, min(y9 - y6a - 1, int((y9 - y6a) * double(t - Present->StartTime()) / Present->Duration()))); | ^~~ | std::min In file included from /usr/include/c++/11/functional:65, from /usr/include/GraphicsMagick/Magick++/Drawable.h:22, from /usr/include/GraphicsMagick/Magick++/Image.h:16, from /usr/include/GraphicsMagick/Magick++.h:10, from bitmap.h:34, from DisplayChannel.c:26: /usr/include/c++/11/bits/stl_algo.h:3455:5: note: 'std::min' declared here 3455 | min(initializer_list<_Tp> __l, _Compare __comp) | ^~~ DisplayChannel.c:710:21: error: 'max' was not declared in this scope; did you mean 'std::max'? 710 | int seen = max(0, min(y9 - y6a - 1, int((y9 - y6a) * double(t - Present->StartTime()) / Present->Duration()))); | ^~~ | std::max In file included from /usr/include/c++/11/functional:65, from /usr/include/GraphicsMagick/Magick++/Drawable.h:22, from /usr/include/GraphicsMagick/Magick++/Image.h:16, from /usr/include/GraphicsMagick/Magick++.h:10, from bitmap.h:34, from DisplayChannel.c:26: /usr/include/c++/11/bits/stl_algo.h:3467:5: note: 'std::max' declared here 3467 | max(initializer_list<_Tp> __l, _Compare __comp) | ^~~ DisplayChannel.c:723:33: error: 'Timers' was not declared in this scope; did you mean 'kTimers'? 723 | const cTimer * Timer = Timers.GetMatch(Present, &TimerMatch); | ^~~~~~ | kTimers make: *** [Makefile:134: DisplayChannel.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='"skinelchi"' -DSKINELCHI_HAVE_IMAGEMAGICK -I/usr/lib64/pkgconfig/include -I/usr/include/GraphicsMagick -o DisplayMenu.o DisplayMenu.c In file included from common.h:34, from DisplayMenu.c:27: services/epgsearch_services.h:160:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 160 | std::auto_ptr handler; | ^~~~~~~~ In file included from /usr/include/c++/11/bits/locale_conv.h:41, from /usr/include/c++/11/locale:43, from /usr/include/c++/11/iomanip:43, from DisplayMenu.c:13: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ In file included from common.h:34, from DisplayMenu.c:27: services/epgsearch_services.h:176:12: warning: 'template class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 176 | std::auto_ptr handler; | ^~~~~~~~ In file included from /usr/include/c++/11/bits/locale_conv.h:41, from /usr/include/c++/11/locale:43, from /usr/include/c++/11/iomanip:43, from DisplayMenu.c:13: /usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ DisplayMenu.c: In member function 'void cSkinElchiDisplayMenu::Init(cSkinElchiDisplayMenu::areatype)': DisplayMenu.c:291:24: error: 'cBitmap* cOsd::GetBitmap(int)' is protected within this context 291 | osd->GetBitmap(0)->Reset(); | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/vdr/themes.h:15, from config.h:13, from bitmap.h:35, from DisplayMenu.c:18: /usr/include/vdr/osd.h:799:12: note: declared protected here 799 | cBitmap *GetBitmap(int Area); | ^~~~~~~~~ DisplayMenu.c:293:27: error: 'cBitmap* cOsd::GetBitmap(int)' is protected within this context 293 | osd->GetBitmap(0)->SetColor(i, ElchiConfig.ThemeColors[i]); | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/vdr/themes.h:15, from config.h:13, from bitmap.h:35, from DisplayMenu.c:18: /usr/include/vdr/osd.h:799:12: note: declared protected here 799 | cBitmap *GetBitmap(int Area); | ^~~~~~~~~ DisplayMenu.c: In member function 'void cSkinElchiDisplayMenu::Clear2()': DisplayMenu.c:512:27: error: 'Timers' was not declared in this scope; did you mean 'kTimers'? 512 | cTimer *nexttimer = Timers.GetNextActiveTimer(); | ^~~~~~ | kTimers DisplayMenu.c: In member function 'virtual void cSkinElchiDisplayMenu::SetRecording(const cRecording*)': DisplayMenu.c:1191:27: error: 'Channels' was not declared in this scope; did you mean 'kChannels'? 1191 | cChannel *channel = Channels.GetByChannelID(((cRecordingInfo *)Info)->ChannelID()); | ^~~~~~~~ | kChannels DisplayMenu.c: In member function 'virtual void cSkinElchiDisplayMenu::Flush()': DisplayMenu.c:1500:30: error: 'cBitmap* cOsd::GetBitmap(int)' is protected within this context 1500 | osd->GetBitmap(0)->Reset(); | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/vdr/themes.h:15, from config.h:13, from bitmap.h:35, from DisplayMenu.c:18: /usr/include/vdr/osd.h:799:12: note: declared protected here 799 | cBitmap *GetBitmap(int Area); | ^~~~~~~~~ DisplayMenu.c:1502:33: error: 'cBitmap* cOsd::GetBitmap(int)' is protected within this context 1502 | osd->GetBitmap(0)->SetColor(i, ElchiConfig.ThemeColors[i]); | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/vdr/themes.h:15, from config.h:13, from bitmap.h:35, from DisplayMenu.c:18: /usr/include/vdr/osd.h:799:12: note: declared protected here 799 | cBitmap *GetBitmap(int Area); | ^~~~~~~~~ make: *** [Makefile:134: DisplayMenu.o] Error 1 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.YTaHPX (%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.YTaHPX (%build) I: [iurt_root_command] ERROR: chroot