D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/holotz-castle-1.3.14-5.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.VGPpKf + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf holotz-castle-1.3.14 + /usr/bin/xz -dc /home/iurt/rpmbuild/SOURCES/holotz-castle-1.3.14.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd holotz-castle-1.3.14 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/holotz-castle-1.3.14-deb-spelling.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/holotz-castle-1.3.14-deb-code-fixes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/holotz-castle-1.3.14-mga-makefiles.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/holotz-castle-1.3.14-linking.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.MaofqW + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd holotz-castle-1.3.14 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + make 'MGA_CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-overflow -Wno-error=uninitialized -Wno-error=format-truncation -Wno-error=stringop-truncation' 'MGA_LDFLAGS= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' make -C src make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/holotz-castle-1.3.14/src' make -C ../JLib; make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/holotz-castle-1.3.14/JLib' g++ -I. -I/usr/local/include/SDL -O3 -ffast-math -fPIC -Wall -Wshadow `sdl-config --cflags` -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-overflow -Wno-error=uninitialized -Wno-error=format-truncation -Wno-error=stringop-truncation -c -o JLib/Graphics/JControl.o JLib/Graphics/JControl.cpp g++ -I. -I/usr/local/include/SDL -O3 -ffast-math -fPIC -Wall -Wshadow `sdl-config --cflags` -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-overflow -Wno-error=uninitialized -Wno-error=format-truncation -Wno-error=stringop-truncation -c -o JLib/Graphics/JUI.o JLib/Graphics/JUI.cpp g++ -I. -I/usr/local/include/SDL -O3 -ffast-math -fPIC -Wall -Wshadow `sdl-config --cflags` -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-overflow -Wno-error=uninitialized -Wno-error=format-truncation -Wno-error=stringop-truncation -c -o JLib/Graphics/JGLAxes.o JLib/Graphics/JGLAxes.cpp g++ -I. -I/usr/local/include/SDL -O3 -ffast-math -fPIC -Wall -Wshadow `sdl-config --cflags` -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-overflow -Wno-error=uninitialized -Wno-error=format-truncation -Wno-error=stringop-truncation -c -o JLib/Graphics/JGLCamera.o JLib/Graphics/JGLCamera.cpp g++ -I. -I/usr/local/include/SDL -O3 -ffast-math -fPIC -Wall -Wshadow `sdl-config --cflags` -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-overflow -Wno-error=uninitialized -Wno-error=format-truncation -Wno-error=stringop-truncation -c -o JLib/Graphics/JGLConsole.o JLib/Graphics/JGLConsole.cpp g++ -I. -I/usr/local/include/SDL -O3 -ffast-math -fPIC -Wall -Wshadow `sdl-config --cflags` -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-overflow -Wno-error=uninitialized -Wno-error=format-truncation -Wno-error=stringop-truncation -c -o JLib/Graphics/JGLGrid.o JLib/Graphics/JGLGrid.cpp g++ -I. -I/usr/local/include/SDL -O3 -ffast-math -fPIC -Wall -Wshadow `sdl-config --cflags` -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-overflow -Wno-error=uninitialized -Wno-error=format-truncation -Wno-error=stringop-truncation -c -o JLib/Graphics/JGLLight.o JLib/Graphics/JGLLight.cpp g++ -I. -I/usr/local/include/SDL -O3 -ffast-math -fPIC -Wall -Wshadow `sdl-config --cflags` -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-overflow -Wno-error=uninitialized -Wno-error=format-truncation -Wno-error=stringop-truncation -c -o JLib/Graphics/JGLTexture.o JLib/Graphics/JGLTexture.cpp JLib/Graphics/JGLTexture.cpp: In member function 'u32 JGLTexture::Create(JImage*, bool, s32, s32, s32, s32)': JLib/Graphics/JGLTexture.cpp:148:139: warning: format '%d' expects argument of type 'int', but argument 9 has type 'u8*' {aka 'unsigned char*'} [-Wformat=] 148 | fprintf(stderr, "Invocado con internalFormat %d, width %d, height %d, border %d, format %d (GL_RGBA es %d), type %d (GL_UNSIGNED_BYTE es %d), pixels es %p\n", | ~^ | | | int | %hhn 149 | internalFormat, image->Width(), image->Height(), border, format, type, image->Pixels()); | ~~~~~~~~~~~~~~~ | | | u8* {aka unsigned char*} JLib/Graphics/JGLTexture.cpp:148:163: warning: format '%d' expects a matching 'int' argument [-Wformat=] 148 | fprintf(stderr, "Invocado con internalFormat %d, width %d, height %d, border %d, format %d (GL_RGBA es %d), type %d (GL_UNSIGNED_BYTE es %d), pixels es %p\n", | ~^ | | | int JLib/Graphics/JGLTexture.cpp:148:178: warning: format '%p' expects a matching 'void*' argument [-Wformat=] 148 | fprintf(stderr, "Invocado con internalFormat %d, width %d, height %d, border %d, format %d (GL_RGBA es %d), type %d (GL_UNSIGNED_BYTE es %d), pixels es %p\n", | ~^ | | | void* g++ -I. -I/usr/local/include/SDL -O3 -ffast-math -fPIC -Wall -Wshadow `sdl-config --cflags` -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-overflow -Wno-error=uninitialized -Wno-error=format-truncation -Wno-error=stringop-truncation -c -o JLib/Graphics/JGLVector.o JLib/Graphics/JGLVector.cpp g++ -I. -I/usr/local/include/SDL -O3 -ffast-math -fPIC -Wall -Wshadow `sdl-config --cflags` -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-overflow -Wno-error=uninitialized -Wno-error=format-truncation -Wno-error=stringop-truncation -c -o JLib/Graphics/JControlImage.o JLib/Graphics/JControlImage.cpp g++ -I. -I/usr/local/include/SDL -O3 -ffast-math -fPIC -Wall -Wshadow `sdl-config --cflags` -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-overflow -Wno-error=uninitialized -Wno-error=format-truncation -Wno-error=stringop-truncation -c -o JLib/Graphics/JImage.o JLib/Graphics/JImage.cpp g++ -I. -I/usr/local/include/SDL -O3 -ffast-math -fPIC -Wall -Wshadow `sdl-config --cflags` -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-overflow -Wno-error=uninitialized -Wno-error=format-truncation -Wno-error=stringop-truncation -c -o JLib/Graphics/JImageSprite.o JLib/Graphics/JImageSprite.cpp g++ -I. -I/usr/local/include/SDL -O3 -ffast-math -fPIC -Wall -Wshadow `sdl-config --cflags` -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-overflow -Wno-error=uninitialized -Wno-error=format-truncation -Wno-error=stringop-truncation -c -o JLib/Graphics/JSprite.o JLib/Graphics/JSprite.cpp g++ -I. -I/usr/local/include/SDL -O3 -ffast-math -fPIC -Wall -Wshadow `sdl-config --cflags` -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-overflow -Wno-error=uninitialized -Wno-error=format-truncation -Wno-error=stringop-truncation -c -o JLib/Graphics/JFont.o JLib/Graphics/JFont.cpp g++ -I. -I/usr/local/include/SDL -O3 -ffast-math -fPIC -Wall -Wshadow `sdl-config --cflags` -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-overflow -Wno-error=uninitialized -Wno-error=format-truncation -Wno-error=stringop-truncation -c -o JLib/Graphics/JTextMenu.o JLib/Graphics/JTextMenu.cpp g++ -I. -I/usr/local/include/SDL -O3 -ffast-math -fPIC -Wall -Wshadow `sdl-config --cflags` -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-overflow -Wno-error=uninitialized -Wno-error=format-truncation -Wno-error=stringop-truncation -c -o JLib/Graphics/JImageMenu.o JLib/Graphics/JImageMenu.cpp g++ -I. -I/usr/local/include/SDL -O3 -ffast-math -fPIC -Wall -Wshadow `sdl-config --cflags` -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-overflow -Wno-error=uninitialized -Wno-error=format-truncation -Wno-error=stringop-truncation -c -o JLib/Graphics/JGLMesh.o JLib/Graphics/JGLMesh.cpp JLib/Graphics/JGLMesh.cpp: In member function 'bool JGLMesh::LoadASEMaterials()': JLib/Graphics/JGLMesh.cpp:167:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class JMaterial'; use assignment or value-initialization instead [-Wclass-memaccess] 167 | memset(materials, 0, sizeof(JMaterial) * numMaterials); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from JLib/Graphics/JGLMesh.cpp:30: ./JLib/Graphics/JGLMesh.h:64:7: note: 'class JMaterial' declared here 64 | class JMaterial | ^~~~~~~~~ JLib/Graphics/JGLMesh.cpp: In member function 'bool JGLMesh::LoadASEObjects()': JLib/Graphics/JGLMesh.cpp:529:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class JVector' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 529 | memset(objs[i].vertexNormals, 0, sizeof(JVertex) * objs[i].numVertices); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./JLib/Graphics/JGLMesh.h:49, from JLib/Graphics/JGLMesh.cpp:30: ./JLib/Math/JVector.h:42:7: note: 'class JVector' declared here 42 | class JVector | ^~~~~~~ g++ -I. -I/usr/local/include/SDL -O3 -ffast-math -fPIC -Wall -Wshadow `sdl-config --cflags` -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-overflow -Wno-error=uninitialized -Wno-error=format-truncation -Wno-error=stringop-truncation -c -o JLib/Graphics/JGLImage.o JLib/Graphics/JGLImage.cpp g++ -I. -I/usr/local/include/SDL -O3 -ffast-math -fPIC -Wall -Wshadow `sdl-config --cflags` -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-overflow -Wno-error=uninitialized -Wno-error=format-truncation -Wno-error=stringop-truncation -c -o JLib/Util/JFile.o JLib/Util/JFile.cpp g++ -I. -I/usr/local/include/SDL -O3 -ffast-math -fPIC -Wall -Wshadow `sdl-config --cflags` -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-overflow -Wno-error=uninitialized -Wno-error=format-truncation -Wno-error=stringop-truncation -c -o JLib/Util/JGLApp.o JLib/Util/JGLApp.cpp g++ -I. -I/usr/local/include/SDL -O3 -ffast-math -fPIC -Wall -Wshadow `sdl-config --cflags` -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-overflow -Wno-error=uninitialized -Wno-error=format-truncation -Wno-error=stringop-truncation -c -o JLib/Util/JObject.o JLib/Util/JObject.cpp g++ -I. -I/usr/local/include/SDL -O3 -ffast-math -fPIC -Wall -Wshadow `sdl-config --cflags` -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wno-error=format-overflow -Wno-error=uninitialized -Wno-error=format-truncation -Wno-error=stringop-truncation -c -o JLib/Util/JTextFile.o JLib/Util/JTextFile.cpp JLib/Util/JTextFile.cpp: In member function 'bool JTextFile::FindNext(const s8*, bool)': JLib/Util/JTextFile.cpp:148:11: error: ordered comparison of pointer with integer zero ('s8*' {aka 'char*'} and 'int') 148 | if (tmp > 0) | ~~~~^~~ JLib/Util/JTextFile.cpp:156:15: error: ordered comparison of pointer with integer zero ('s8*' {aka 'char*'} and 'int') 156 | if (tmp > 0) | ~~~~^~~ JLib/Util/JTextFile.cpp: In member function 'bool JTextFile::ReadQuotedWord(s8*)': JLib/Util/JTextFile.cpp:236:15: error: ordered comparison of pointer with integer zero ('int' and 's8*' {aka 'char*'}) 236 | if (0 >= (end = strstr(ptr, "\""))) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:37: JLib/Util/JTextFile.o] Error 1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/holotz-castle-1.3.14/JLib' make[1]: *** [Makefile:51: JLib] Error 2 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/holotz-castle-1.3.14/src' make: *** [Makefile:7: all] Error 2 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.MaofqW (%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.MaofqW (%build) I: [iurt_root_command] ERROR: chroot