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-freecell-0.0.2-34.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ZwmsGj + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf freecell-0.0.2 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/vdr-freecell-0.0.2.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd freecell-0.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (vdr-cardgames-0.0.2-to-gcc3.4.diff):' Patch #0 (vdr-cardgames-0.0.2-to-gcc3.4.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gcc34 --fuzz=0 patching file tools/list.h + echo 'Patch #1 (vdr-freecell-0.0.2-time.patch):' Patch #1 (vdr-freecell-0.0.2-time.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .time --fuzz=0 patching file cards.c + echo 'Patch #2 (93_freecell-0.0.2-1.5.4.dpatch):' Patch #2 (93_freecell-0.0.2-1.5.4.dpatch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file tools/list.h + echo 'Patch #3 (freecell-0.0.2-i18n-1.6.patch):' Patch #3 (freecell-0.0.2-i18n-1.6.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile patching file freecell.c patching file game.c patching file i18n.c patching file i18n.h patching file po/de_DE.po patching file po/fi_FI.po patching file po/freecell.pot + for file in po/*.po + grep -Eq 'msgstr ".+"' po/de_DE.po + for file in po/*.po + grep -Eq 'msgstr ".+"' po/fi_FI.po + set +x Silent renaming of locales + touch vdr_plugin_prep.done + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.gaqUkk + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd freecell-0.0.2 + '[' 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 -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"freecell"' -I/usr/include/vdr/include -I/usr/include -I. -o game.o game.c game.c: In member function 'void cFreecellGame::WriteInfo(const char*)': game.c:185:17: error: 'max' was not declared in this scope; did you mean 'std::max'? 185 | int x = max((mInfo->Width() - font->Width(Text)) / 2, 0); | ^~~ | 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 /usr/include/vdr/i18n.h:14, from /usr/include/vdr/config.h:19, from /usr/include/vdr/osdbase.h:13, from game.h:4, from game.c:1: /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) | ^~~ game.c: In member function 'void cFreecellGame::WriteMessage(const char*)': game.c:202:17: error: 'max' was not declared in this scope; did you mean 'std::max'? 202 | int x = max((mMessage->Width() - font->Width(Text)) / 2, 0); | ^~~ | 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 /usr/include/vdr/i18n.h:14, from /usr/include/vdr/config.h:19, from /usr/include/vdr/osdbase.h:13, from game.h:4, from game.c:1: /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:63: game.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 -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"freecell"' -I/usr/include/vdr/include -I/usr/include -I. -o freecell.o freecell.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 -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"freecell"' -I/usr/include/vdr/include -I/usr/include -I. -o osd.o osd.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 -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"freecell"' -I/usr/include/vdr/include -I/usr/include -I. -o cards.o cards.c cards.c: In constructor 'cCard::cCard(int, int)': cards.c:37:17: warning: ignoring return value of 'int asprintf(char**, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 37 | asprintf(&filename, "%s/%s_%s.xpm", cPlugin::ConfigDirectory("freecell"), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 38 | ShapeNames[mShape], ValueNames[mValue]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.gaqUkk (%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.gaqUkk (%build) I: [iurt_root_command] ERROR: chroot