D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/python-kaa-imlib2-0.2.3-17.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.CqUHvz + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf kaa-imlib2-0.2.3 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/kaa-imlib2-0.2.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd kaa-imlib2-0.2.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.zRWP9z + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd kaa-imlib2-0.2.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + sleep 1 + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' POSIX shared memory enabled running build running build_py creating build creating build/lib.linux-aarch64-2.7 creating build/lib.linux-aarch64-2.7/kaa creating build/lib.linux-aarch64-2.7/kaa/imlib2 copying src/version.py -> build/lib.linux-aarch64-2.7/kaa/imlib2 copying src/image.py -> build/lib.linux-aarch64-2.7/kaa/imlib2 copying src/font.py -> build/lib.linux-aarch64-2.7/kaa/imlib2 copying src/__init__.py -> build/lib.linux-aarch64-2.7/kaa/imlib2 running build_ext building 'kaa.imlib2._Imlib2module' extension creating build/temp.linux-aarch64-2.7 creating build/temp.linux-aarch64-2.7/src gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -I/usr/include/python2.7 -c src/imlib2.c -o build/temp.linux-aarch64-2.7/src/imlib2.o -Wall gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -I/usr/include/python2.7 -c src/image.c -o build/temp.linux-aarch64-2.7/src/image.o -Wall src/image.c: In function 'Image_PyObject__getattr': src/image.c:819:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 819 | value = (void *)imlib_image_get_width(); | ^ src/image.c:821:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 821 | value = (void *)imlib_image_get_height(); | ^ src/image.c:823:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 823 | value = (void *)((int)imlib_image_has_alpha()); | ^ src/image.c:825:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 825 | value = (void *)(imlib_image_get_width() * 4); | ^ gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -I/usr/include/python2.7 -c src/font.c -o build/temp.linux-aarch64-2.7/src/font.o -Wall gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -I/usr/include/python2.7 -c src/rawformats.c -o build/temp.linux-aarch64-2.7/src/rawformats.o -Wall In file included from src/rawformats.c:34: /usr/include/Imlib2.h:111:65: error: unknown type name 'size_t' 111 | typedef void *(*Imlib_Image_Data_Memory_Function)(void *, size_t size); | ^~~~~~ /usr/include/Imlib2.h:1:1: note: 'size_t' is defined in header ''; did you forget to '#include '? +++ |+#include 1 | #ifndef __IMLIB_API_H /usr/include/Imlib2.h:159:5: error: unknown type name 'Imlib_Image_Data_Memory_Function' 159 | (Imlib_Image_Data_Memory_Function memory_function); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/Imlib2.h:196:21: error: unknown type name 'Imlib_Image_Data_Memory_Function' 196 | EAPI Imlib_Image_Data_Memory_Function | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/Imlib2.h:298:5: error: unknown type name 'Imlib_Image_Data_Memory_Function' 298 | Imlib_Image_Data_Memory_Function func); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: command 'gcc' failed with exit status 1 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.zRWP9z (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.zRWP9z (%build) I: [iurt_root_command] ERROR: chroot