D: [iurt_root_command] chroot warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Installing /home/pterjan/rpmbuild/SRPMS/sugar-paint-activity-70-3.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.BJWcNJ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf Paint-70 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Paint-70.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd Paint-70 + rm -rf /home/pterjan/rpmbuild/BUILD/Paint-70-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/Paint-70-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (sugar-paint-Fedora.patch):' Patch #0 (sugar-paint-Fedora.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file fill/Makefile + rm -fr fill/linux32_27 fill/linux64_27 fill/armv7l_27 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.dVSOGI + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd Paint-70 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j8 V=1 VERBOSE=1 -C fill LD=gcc make: Entering directory '/home/pterjan/rpmbuild/BUILD/Paint-70/fill' cc -I/usr/include/python3.12 -I/usr/include/python3.12 -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fPIC -c -o fill.o fill.c make: Leaving directory '/home/pterjan/rpmbuild/BUILD/Paint-70/fill' make: Entering directory '/home/pterjan/rpmbuild/BUILD/Paint-70/fill' cc -I/usr/include/python3.12 -I/usr/include/python3.12 -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fPIC -c -o eggfill.o eggfill.c eggfill.c: In function 'floodfill': eggfill.c:134:15: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 134 | if (color != color_start) { | ^~ eggfill.c:142:49: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 142 | if (pixels[(x + 1) + y * width] == color_start) { | ^~ eggfill.c:150:49: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 150 | if (pixels[(x - 1) + y * width] == color_start) { | ^~ eggfill.c:158:49: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 158 | if (pixels[x + (y + 1) * width] == color_start) { | ^~ eggfill.c:166:49: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 166 | if (pixels[x + (y - 1) * width] == color_start){ | ^~ make: Leaving directory '/home/pterjan/rpmbuild/BUILD/Paint-70/fill' make: Entering directory '/home/pterjan/rpmbuild/BUILD/Paint-70/fill' cc -I/usr/include/python3.12 -I/usr/include/python3.12 -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fPIC -c -o fillmodule.o fillmodule.c fillmodule.c: In function 'init_fill': fillmodule.c:98:12: error: implicit declaration of function 'Py_InitModule' [-Wimplicit-function-declaration] 98 | (void) Py_InitModule("_fill", FillMethods); | ^~~~~~~~~~~~~ make: *** [: fillmodule.o] Error 1 make: Leaving directory '/home/pterjan/rpmbuild/BUILD/Paint-70/fill' error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.dVSOGI (%build) RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.dVSOGI (%build) I: [iurt_root_command] ERROR: chroot