D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/stb-0-0.git20240213.1.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.NgOzec + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf stb-master + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/stb-0-git20240213.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd stb-master + rm -rf /home/pterjan/rpmbuild/BUILD/stb-master-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/stb-master-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Makefile-refactor.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0002-Mask-out-rectangle-packing-replacement-in-stb_truety.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0003-stb.h-fix-pointer-detection.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0004-stb_c_lexer.h-exit-on-error.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0005-stb_sprintf.h-fix-pointer-detection.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/pterjan/rpmbuild/tmp/rpm-tmp.jMkYIJ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd stb-master + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/make -O -j8 V=1 VERBOSE=1 LIBDIR=lib64 cp deprecated/stb.h deprecated/stb.c cp stb_c_lexer.h stb_c_lexer.c cp stb_divide.h stb_divide.c cp stb_ds.h stb_ds.c cp stb_dxt.h stb_dxt.c cp stb_herringbone_wang_tile.h stb_herringbone_wang_tile.c cp stb_hexwave.h stb_hexwave.c cp stb_image.h stb_image.c cp stb_image_resize2.h stb_image_resize2.c cp stb_image_write.h stb_image_write.c cp stb_include.h stb_include.c cp stb_leakcheck.h stb_leakcheck.c cp stb_perlin.h stb_perlin.c cp stb_sprintf.h stb_sprintf.c sed 's|@prefix@|/usr|; s|@libdir@|lib64|; s|@includedir@|include/stb|' stb.pc.in > stb.pc gcc -DSTB_DEFINE -DSTB_PERFECT_HASH -DSTB_DXT_IMPLEMENTATION -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -o stb_dxt.o -c stb_dxt.c stb_dxt.c: In function 'stb_compress_dxt_block': stb_dxt.c:608:7: error: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 608 | memcpy(data, src, 4*16); | ^~~~~~ stb_dxt.c:89:1: note: include '' or provide a declaration of 'memcpy' 88 | #include +++ |+#include 89 | #endif stb_dxt.c:608:7: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 608 | memcpy(data, src, 4*16); | ^~~~~~ stb_dxt.c:608:7: note: include '' or provide a declaration of 'memcpy' make: *** [Makefile:48: stb_dxt.o] Error 1 make: *** Waiting for unfinished jobs.... gcc -DSTB_DEFINE -DSTB_PERFECT_HASH -DSTB_HERRINGBONE_WANG_TILE_IMPLEMENTATION -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -o stb_herringbone_wang_tile.o -c stb_herringbone_wang_tile.c stb_herringbone_wang_tile.c:369:41: warning: 'struct stbhw__process' declared inside parameter list will not be visible outside of this definition or declaration 369 | typedef void stbhw__process_rect(struct stbhw__process *p, int xpos, int ypos, | ^~~~~~~~~~~~~~ stb_herringbone_wang_tile.c: In function 'stbhw__process_h_row': stb_herringbone_wang_tile.c:401:43: error: passing argument 1 of 'p->process_h_rect' from incompatible pointer type [-Wincompatible-pointer-types] 401 | p->process_h_rect(p, xpos, ypos, a,b,c,d,e,f); | ^ | | | stbhw__process * stb_herringbone_wang_tile.c:401:43: note: expected 'struct stbhw__process *' but argument is of type 'stbhw__process *' stb_herringbone_wang_tile.c: In function 'stbhw__process_v_row': stb_herringbone_wang_tile.c:425:43: error: passing argument 1 of 'p->process_v_rect' from incompatible pointer type [-Wincompatible-pointer-types] 425 | p->process_v_rect(p, xpos, ypos, a,b,c,d,e,f); | ^ | | | stbhw__process * stb_herringbone_wang_tile.c:425:43: note: expected 'struct stbhw__process *' but argument is of type 'stbhw__process *' stb_herringbone_wang_tile.c: In function 'stbhw_build_tileset_from_image': stb_herringbone_wang_tile.c:929:21: error: assignment to 'void (*)(struct stbhw__process *, int, int, int, int, int, int, int, int)' from incompatible pointer type 'void (*)(stbhw__process *, int, int, int, int, int, int, int, int)' [-Wincompatible-pointer-types] 929 | p.process_h_rect = stbhw__parse_h_rect; | ^ stb_herringbone_wang_tile.c:930:21: error: assignment to 'void (*)(struct stbhw__process *, int, int, int, int, int, int, int, int)' from incompatible pointer type 'void (*)(stbhw__process *, int, int, int, int, int, int, int, int)' [-Wincompatible-pointer-types] 930 | p.process_v_rect = stbhw__parse_v_rect; | ^ stb_herringbone_wang_tile.c: In function 'stbhw_make_template': stb_herringbone_wang_tile.c:1186:24: error: assignment to 'void (*)(struct stbhw__process *, int, int, int, int, int, int, int, int)' from incompatible pointer type 'void (*)(stbhw__process *, int, int, int, int, int, int, int, int)' [-Wincompatible-pointer-types] 1186 | p.process_h_rect = stbhw__corner_process_h_rect; | ^ stb_herringbone_wang_tile.c:1187:24: error: assignment to 'void (*)(struct stbhw__process *, int, int, int, int, int, int, int, int)' from incompatible pointer type 'void (*)(stbhw__process *, int, int, int, int, int, int, int, int)' [-Wincompatible-pointer-types] 1187 | p.process_v_rect = stbhw__corner_process_v_rect; | ^ stb_herringbone_wang_tile.c:1189:24: error: assignment to 'void (*)(struct stbhw__process *, int, int, int, int, int, int, int, int)' from incompatible pointer type 'void (*)(stbhw__process *, int, int, int, int, int, int, int, int)' [-Wincompatible-pointer-types] 1189 | p.process_h_rect = stbhw__edge_process_h_rect; | ^ stb_herringbone_wang_tile.c:1190:24: error: assignment to 'void (*)(struct stbhw__process *, int, int, int, int, int, int, int, int)' from incompatible pointer type 'void (*)(stbhw__process *, int, int, int, int, int, int, int, int)' [-Wincompatible-pointer-types] 1190 | p.process_v_rect = stbhw__edge_process_v_rect; | ^ make: *** [Makefile:48: stb_herringbone_wang_tile.o] Error 1 gcc -DSTB_DEFINE -DSTB_PERFECT_HASH -DSTB_DIVIDE_IMPLEMENTATION -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -o stb_divide.o -c stb_divide.c gcc -DSTB_DEFINE -DSTB_PERFECT_HASH -DSTB_C_LEXER_IMPLEMENTATION -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -o stb_c_lexer.o -c stb_c_lexer.c gcc -DSTB_DEFINE -DSTB_PERFECT_HASH -DSTB_DS_IMPLEMENTATION -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -o stb_ds.o -c stb_ds.c gcc -DSTB_DEFINE -DSTB_PERFECT_HASH -DSTB_RECT_PACK_TRUETYPE_IMPLEMENTATION -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -o stb_rect_pack_truetype.o -c stb_rect_pack_truetype.c gcc -DSTB_DEFINE -DSTB_PERFECT_HASH -DSTB_VORBIS_IMPLEMENTATION -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -o stb_vorbis.o -c stb_vorbis.c gcc -DSTB_DEFINE -DSTB_PERFECT_HASH -DSTB_IMPLEMENTATION -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -o deprecated/stb.o -c deprecated/stb.c deprecated/stb.c: In function 'stb_fullpath': deprecated/stb.c:5484:7: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 5484 | getcwd(abs, abs_size); | ^~~~~~~~~~~~~~~~~~~~~ deprecated/stb.c: In function 'stb_fget_string': deprecated/stb.c:5958:4: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 5958 | fread(s, 1, len, f); | ^~~~~~~~~~~~~~~~~~~ deprecated/stb.c: In function 'stb_decompress_fromfile': deprecated/stb.c:10468:4: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 10468 | fread(p, 1, n, f); | ^~~~~~~~~~~~~~~~~ rm stb_leakcheck.c stb_perlin.c stb_herringbone_wang_tile.c stb_image_write.c stb_include.c stb_divide.c stb_image_resize2.c stb_c_lexer.c deprecated/stb.c stb_sprintf.c stb_image.c stb_dxt.c stb_ds.c stb_hexwave.c error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.jMkYIJ (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.jMkYIJ (%build) I: [iurt_root_command] ERROR: chroot