D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. warning: %make is deprecated, use %make_build instead Installing /home/iurt/rpmbuild/SRPMS/vdr-plugin-sudoku-0.3.5-16.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.xMPM7b + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf sudoku-0.3.5 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/vdr-sudoku-0.3.5.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sudoku-0.3.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/sudoku-0.2.1-makefile.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/sudoku-0.2.1-include.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/es_ES.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/it_IT.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.jaAbUd + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd sudoku-0.3.5 + '[' 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='"sudoku"' -I/usr/include/vdr/include backtrack.cpp 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='"sudoku"' -I/usr/include/vdr/include generator.cpp 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='"sudoku"' -I/usr/include/vdr/include history.cpp 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='"sudoku"' -I/usr/include/vdr/include bitmap.cpp bitmap.cpp: In member function 'void SudokuPlugin::Bitmap::text(const char*, bool)': bitmap.cpp:54:11: error: 'max' was not declared in this scope; did you mean 'std::max'? 54 | int y = max((Height() - wrapper.Lines() * font->Height()) / 2, 0); | ^~~ | std::max In file included from /usr/include/c++/11/vector:60, from sudoku.h:25, from bitmap.h:24, from bitmap.cpp:21: /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:80: bitmap.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='"sudoku"' -I/usr/include/vdr/include commands.cpp 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='"sudoku"' -I/usr/include/vdr/include list.cpp list.cpp: In member function 'const char* SudokuPlugin::ListMenu::get_selected_sudoku() const': list.cpp:116:28: error: invalid conversion from 'const SudokuPlugin::ListLine*' to 'SudokuPlugin::ListLine*' [-fpermissive] 116 | ListLine* line = list.Get(selected); | ~~~~~~~~^~~~~~~~~~ | | | const SudokuPlugin::ListLine* make: *** [Makefile:80: list.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 -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"sudoku"' -I/usr/include/vdr/include menu.cpp menu.cpp: In member function 'void SudokuPlugin::Menu::paint()': menu.cpp:346:39: error: 'cBitmap* cOsd::GetBitmap(int)' is protected within this context 346 | cPalette savePalette(*osd->GetBitmap(0)); | ~~~~~~~~~~~~~~^~~ In file included from /usr/include/vdr/osdbase.h:14, from menu.h:27, from menu.cpp:21: /usr/include/vdr/osd.h:799:12: note: declared protected here 799 | cBitmap *GetBitmap(int Area); | ^~~~~~~~~ menu.cpp:373:27: warning: narrowing conversion of '(48 + ((SudokuPlugin::Menu*)this)->SudokuPlugin::Menu::puzzle->Sudoku::PuzzleGame::.Sudoku::Puzzle::.Sudoku::Numbers::get(p))' from 'unsigned int' to 'char' [-Wnarrowing] 373 | char txt[2] = { '0' + puzzle->get(p), 0 }; | ~~~~^~~~~~~~~~~~~~~~ menu.cpp:397:33: warning: narrowing conversion of '(48 + n)' from 'unsigned int' to 'char' [-Wnarrowing] 397 | char txt[2] = { '0' + n, 0 }; | ~~~~^~~ make: *** [Makefile:80: menu.o] Error 1 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.jaAbUd (%build) RPM build errors: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. %make is deprecated, use %make_build instead Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.jaAbUd (%build) I: [iurt_root_command] ERROR: chroot