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-skinsoppalusikka-2.0.1-10.mga9.src.rpm
Building target platforms: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.C0mhQa
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf skinsoppalusikka-2.0.1
+ /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/vdr-skinsoppalusikka-2.0.1.tgz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd skinsoppalusikka-2.0.1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ 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/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/hu_HU.po
+ for file in po/*.po
+ grep -Eq 'msgstr ".+"' po/it_IT.po
+ for file in po/*.po
+ grep -Eq 'msgstr ".+"' po/pl_PL.po
+ for file in po/*.po
+ grep -Eq 'msgstr ".+"' po/ru_RU.po
+ for file in po/*.po
+ grep -Eq 'msgstr ".+"' po/sv_SE.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-skinsoppalusikka instead'
+ echo '# Do not modify this file, use /etc/sysconfig/vdr-skinsoppalusikka instead'
+ echo '# VDR plugin skinsoppalusikka 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_skinsoppalusikka in the main VDR sysconfig file will'
+ echo '# override this file completely.'
+ echo '# VDR_PLUGIN_ARGS=""'
+ echo
+ read INPUT
+ '[' -z '' ']'
+ continue
+ read INPUT
+ '[' -z '# Channel logo directory' ']'
+ echo '# Channel logo directory'
+ grep -q '^#'
+ '[' -n '' ']'
+ echo '# Channel logo directory'
+ continue
+ read INPUT
+ '[' -z var=LOGO_DIR ']'
+ echo var=LOGO_DIR
+ grep -q '^#'
+ echo var=LOGO_DIR
+ grep -q '^var='
+ gotvar=LOGO_DIR
+ continue
+ read INPUT
+ '[' -z param=--logodir=LOGO_DIR ']'
+ echo param=--logodir=LOGO_DIR
+ grep -q '^#'
+ echo param=--logodir=LOGO_DIR
+ grep -q '^var='
+ echo param=--logodir=LOGO_DIR
+ grep -q '^param='
+ eval gotparam=--logodir=LOGO_DIR
++ gotparam=--logodir=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 --logodir=LOGO_DIR
+ grep -q LOGO_DIR
+ echo 'local LOGO_DIR="/usr/share/vdr/chanlogos"'
+ echo '# LOGO_DIR="/usr/share/vdr/chanlogos"'
++ echo --logodir=LOGO_DIR
++ sed 's/LOGO_DIR/'\''$LOGO_DIR'\''/'
+ gotparam='--logodir='\''$LOGO_DIR'\'''
+ echo '[ -n "$LOGO_DIR" ] && echo "--logodir='\''$LOGO_DIR'\''"'
+ echo
+ gotvar=
+ gotparam=
+ gotdefault=
+ cat
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.iNE6DV
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd skinsoppalusikka-2.0.1
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ /usr/bin/make -O -j8 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 STRIP=/bin/true
xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name=vdr-skinsoppalusikka --package-version=2.0.1 --msgid-bugs-address='<see README>' -o po/skinsoppalusikka.pot `ls config.c logo.c skinsoppalusikka.c soppalusikka.c symbol.c tools.c`
msgmerge -U --no-wrap --no-location --backup=none -q -N po/es.po po/skinsoppalusikka.pot
msgmerge -U --no-wrap --no-location --backup=none -q -N po/de.po po/skinsoppalusikka.pot
msgmerge -U --no-wrap --no-location --backup=none -q -N po/et.po po/skinsoppalusikka.pot
msgmerge -U --no-wrap --no-location --backup=none -q -N po/fi.po po/skinsoppalusikka.pot
msgmerge -U --no-wrap --no-location --backup=none -q -N po/fr.po po/skinsoppalusikka.pot
msgmerge -U --no-wrap --no-location --backup=none -q -N po/hu.po po/skinsoppalusikka.pot
msgmerge -U --no-wrap --no-location --backup=none -q -N po/it.po po/skinsoppalusikka.pot
msgmerge -U --no-wrap --no-location --backup=none -q -N po/ru.po po/skinsoppalusikka.pot
msgmerge -U --no-wrap --no-location --backup=none -q -N po/pl.po po/skinsoppalusikka.pot
msgfmt -c -o po/de.mo po/de.po
msgfmt -c -o po/es.mo po/es.po
msgmerge -U --no-wrap --no-location --backup=none -q -N po/sv.po po/skinsoppalusikka.pot
msgfmt -c -o po/et.mo po/et.po
msgfmt -c -o po/fi.mo po/fi.po
msgfmt -c -o po/fr.mo po/fr.po
msgfmt -c -o po/hu.mo po/hu.po
msgfmt -c -o po/it.mo po/it.po
msgfmt -c -o po/pl.mo po/pl.po
msgfmt -c -o po/ru.mo po/ru.po
msgfmt -c -o po/sv.mo po/sv.po
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='"skinsoppalusikka"'  -o config.o 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='"skinsoppalusikka"'  -o tools.o tools.c
tools.c: In function 'char* strncatrealloc(char*, const char*, size_t)':
tools.c:29:32: error: 'min' was not declared in this scope; did you mean 'std::min'?
   29 |      size_t l = strlen(dest) + min(strlen(src), len) + 1;
      |                                ^~~
      |                                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 common.h:11,
                 from tools.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:85: tools.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='"skinsoppalusikka"'  -o symbol.o symbol.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='"skinsoppalusikka"'  -o soppalusikka.o soppalusikka.c
soppalusikka.c: In member function 'bool cSkinSoppalusikkaDisplayChannel::HasChannelTimerRecording(const cChannel*)':
soppalusikka.c:223:20: error: 'Timers' was not declared in this scope; did you mean 'kTimers'?
  223 |   for (cTimer *t = Timers.First(); t; t = Timers.Next(t)) {
      |                    ^~~~~~
      |                    kTimers
soppalusikka.c: In member function 'virtual void cSkinSoppalusikkaDisplayChannel::SetChannel(const cChannel*, int)':
soppalusikka.c:360:9: error: 'cSchedulesLock' was not declared in this scope; did you mean 'cSchedules_Lock'?
  360 |         cSchedulesLock SchedulesLock;
      |         ^~~~~~~~~~~~~~
      |         cSchedules_Lock
soppalusikka.c:361:51: error: 'Schedules' is not a member of 'cSchedules'
  361 |         const cSchedules *Schedules = cSchedules::Schedules(SchedulesLock);
      |                                                   ^~~~~~~~~
soppalusikka.c:361:61: error: 'SchedulesLock' was not declared in this scope; did you mean 'cSchedules_Lock'?
  361 |         const cSchedules *Schedules = cSchedules::Schedules(SchedulesLock);
      |                                                             ^~~~~~~~~~~~~
      |                                                             cSchedules_Lock
soppalusikka.c: In member function 'virtual void cSkinSoppalusikkaDisplayChannel::SetEvents(const cEvent*, const cEvent*)':
soppalusikka.c:466:11: error: 'min' was not declared in this scope; did you mean 'std::min'?
  466 |      yc = min(yc, yb5);
      |           ^~~
      |           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 common.h:11,
                 from soppalusikka.c:7:
/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)
      |     ^~~
soppalusikka.c: In constructor 'cSkinSoppalusikkaDisplayMenu::cSkinSoppalusikkaDisplayMenu()':
soppalusikka.c:619:23: error: 'cBitmap* cOsd::GetBitmap(int)' is protected within this context
  619 |         osd->GetBitmap(1)->Reset();
      |         ~~~~~~~~~~~~~~^~~
In file included from logo.h:13,
                 from soppalusikka.c:10:
/usr/include/vdr/osd.h:799:12: note: declared protected here
  799 |   cBitmap *GetBitmap(int Area);
      |            ^~~~~~~~~
soppalusikka.c:620:23: error: 'cBitmap* cOsd::GetBitmap(int)' is protected within this context
  620 |         osd->GetBitmap(1)->SetColor(0, Theme.Color(clrBackground));
      |         ~~~~~~~~~~~~~~^~~
In file included from logo.h:13,
                 from soppalusikka.c:10:
/usr/include/vdr/osd.h:799:12: note: declared protected here
  799 |   cBitmap *GetBitmap(int Area);
      |            ^~~~~~~~~
soppalusikka.c:621:23: error: 'cBitmap* cOsd::GetBitmap(int)' is protected within this context
  621 |         osd->GetBitmap(1)->SetColor(1, Theme.Color(clrMenuItemSelectable));
      |         ~~~~~~~~~~~~~~^~~
In file included from logo.h:13,
                 from soppalusikka.c:10:
/usr/include/vdr/osd.h:799:12: note: declared protected here
  799 |   cBitmap *GetBitmap(int Area);
      |            ^~~~~~~~~
soppalusikka.c:622:23: error: 'cBitmap* cOsd::GetBitmap(int)' is protected within this context
  622 |         osd->GetBitmap(1)->SetColor(2, Theme.Color(clrMenuItemCurrentBg));
      |         ~~~~~~~~~~~~~~^~~
In file included from logo.h:13,
                 from soppalusikka.c:10:
/usr/include/vdr/osd.h:799:12: note: declared protected here
  799 |   cBitmap *GetBitmap(int Area);
      |            ^~~~~~~~~
soppalusikka.c:623:23: error: 'cBitmap* cOsd::GetBitmap(int)' is protected within this context
  623 |         osd->GetBitmap(1)->SetColor(3, Theme.Color(clrMenuItemCurrentFg));
      |         ~~~~~~~~~~~~~~^~~
In file included from logo.h:13,
                 from soppalusikka.c:10:
/usr/include/vdr/osd.h:799:12: note: declared protected here
  799 |   cBitmap *GetBitmap(int Area);
      |            ^~~~~~~~~
soppalusikka.c: In member function 'void cSkinSoppalusikkaDisplayMenu::DrawScrollbar(int, int, int, int, int, bool, bool)':
soppalusikka.c:658:15: error: 'max' was not declared in this scope; did you mean 'std::max'?
  658 |      int th = max(int((sb - st) * double(Shown) / Total + 0.5), Gap);
      |               ^~~
      |               std::max
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 common.h:11,
                 from soppalusikka.c:7:
/usr/include/c++/11/bits/stl_algobase.h:300:5: note: 'std::max' declared here
  300 |     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
soppalusikka.c:659:15: error: 'min' was not declared in this scope; did you mean 'std::min'?
  659 |      int tt = min(int(st + (sb - st) * double(Offset) / Total + 0.5), sb - th);
      |               ^~~
      |               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 common.h:11,
                 from soppalusikka.c:7:
/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)
      |     ^~~
soppalusikka.c: In constructor 'cSkinSoppalusikkaDisplayTracks::cSkinSoppalusikkaDisplayTracks(const char*, int, const char* const*)':
soppalusikka.c:1625:20: error: 'max' was not declared in this scope; did you mean 'std::max'?
 1625 |       ItemsWidth = max(ItemsWidth, font->Width(Tracks[i]));
      |                    ^~~
      |                    std::max
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 common.h:11,
                 from soppalusikka.c:7:
/usr/include/c++/11/bits/stl_algobase.h:300:5: note: 'std::max' declared here
  300 |     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
soppalusikka.c:1626:16: error: 'max' was not declared in this scope; did you mean 'std::max'?
 1626 |   ItemsWidth = max(ItemsWidth, font->Width(tr("Stereo")));
      |                ^~~
      |                std::max
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 common.h:11,
                 from soppalusikka.c:7:
/usr/include/c++/11/bits/stl_algobase.h:300:5: note: 'std::max' declared here
  300 |     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
make: *** [Makefile:85: soppalusikka.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='"skinsoppalusikka"'  -o skinsoppalusikka.o skinsoppalusikka.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='"skinsoppalusikka"'  -o logo.o logo.c
error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.iNE6DV (%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.iNE6DV (%build)
I: [iurt_root_command] ERROR: chroot