D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/shared-mime-info-2.1-2.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ud2kKx + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf shared-mime-info-2.1 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/shared-mime-info-2.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd shared-mime-info-2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-Remove-sub-classing-from-OO.o-mime-types.patch):' Patch #0 (0001-Remove-sub-classing-from-OO.o-mime-types.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file data/freedesktop.org.xml.in Hunk #1 succeeded at 882 (offset 5 lines). Hunk #2 succeeded at 894 (offset 5 lines). Hunk #3 succeeded at 906 (offset 5 lines). Hunk #4 succeeded at 918 (offset 5 lines). Hunk #5 succeeded at 930 (offset 5 lines). Hunk #6 succeeded at 942 (offset 5 lines). Hunk #7 succeeded at 954 (offset 5 lines). Hunk #8 succeeded at 966 (offset 5 lines). Hunk #9 succeeded at 978 (offset 5 lines). Hunk #10 succeeded at 990 (offset 5 lines). Hunk #11 succeeded at 1004 (offset 5 lines). Hunk #12 succeeded at 1018 (offset 5 lines). Hunk #13 succeeded at 1025 (offset 5 lines). Hunk #14 succeeded at 1039 (offset 5 lines). Hunk #15 succeeded at 1053 (offset 5 lines). Hunk #16 succeeded at 1067 (offset 5 lines). Hunk #17 succeeded at 1081 (offset 5 lines). Hunk #18 succeeded at 1088 (offset 5 lines). Hunk #19 succeeded at 1102 (offset 5 lines). Hunk #20 succeeded at 1116 (offset 5 lines). Hunk #21 succeeded at 1123 (offset 5 lines). Hunk #22 succeeded at 1137 (offset 5 lines). Hunk #23 succeeded at 1151 (offset 5 lines). Hunk #24 succeeded at 1158 (offset 5 lines). Hunk #25 succeeded at 1172 (offset 5 lines). Hunk #26 succeeded at 1186 (offset 5 lines). Hunk #27 succeeded at 1200 (offset 5 lines). Hunk #28 succeeded at 1214 (offset 5 lines). Hunk #29 succeeded at 1228 (offset 5 lines). Hunk #30 succeeded at 1243 (offset 5 lines). Hunk #31 succeeded at 1255 (offset 5 lines). + echo 'Patch #100 (shared-mime-info-xz.patch):' Patch #100 (shared-mime-info-xz.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file data/freedesktop.org.xml.in Hunk #1 succeeded at 3931 (offset 323 lines). + tar -xzf /home/pterjan/rpmbuild/SOURCES/xdgmime-master.tar.gz + mv xdgmime-master/ xdgmime/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.WtKFgX + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd shared-mime-info-2.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j8 V=1 VERBOSE=1 -C xdgmime make: Entering directory '/home/pterjan/rpmbuild/BUILD/shared-mime-info-2.1/xdgmime' target=`echo all-recursive | sed s/-recursive//`; \ for subdir in src; do \ (cd $subdir && make "$target") \ done; make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shared-mime-info-2.1/xdgmime/src' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shared-mime-info-2.1/xdgmime/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/shared-mime-info-2.1/xdgmime/src' cc -Wall -Wmissing-prototypes -Wno-sign-compare -g -DXDG_PREFIX=xdg_test -DHAVE_MMAP -c -o xdgmime.o xdgmime.c cc -Wall -Wmissing-prototypes -Wno-sign-compare -g -DXDG_PREFIX=xdg_test -DHAVE_MMAP -c -o xdgmimeglob.o xdgmimeglob.c cc -Wall -Wmissing-prototypes -Wno-sign-compare -g -DXDG_PREFIX=xdg_test -DHAVE_MMAP -c -o xdgmimeint.o xdgmimeint.c cc -Wall -Wmissing-prototypes -Wno-sign-compare -g -DXDG_PREFIX=xdg_test -DHAVE_MMAP -c -o xdgmimemagic.o xdgmimemagic.c cc -Wall -Wmissing-prototypes -Wno-sign-compare -g -DXDG_PREFIX=xdg_test -DHAVE_MMAP -c -o xdgmimealias.o xdgmimealias.c cc -Wall -Wmissing-prototypes -Wno-sign-compare -g -DXDG_PREFIX=xdg_test -DHAVE_MMAP -c -o xdgmimeparent.o xdgmimeparent.c cc -Wall -Wmissing-prototypes -Wno-sign-compare -g -DXDG_PREFIX=xdg_test -DHAVE_MMAP -c -o xdgmimecache.o xdgmimecache.c cc -Wall -Wmissing-prototypes -Wno-sign-compare -g -DXDG_PREFIX=xdg_test -DHAVE_MMAP -c -o xdgmimeicon.o xdgmimeicon.c cc -Wall -Wmissing-prototypes -Wno-sign-compare -g -DXDG_PREFIX=xdg_test -DHAVE_MMAP test-mime.c xdgmime.o xdgmimeglob.o xdgmimeint.o xdgmimemagic.o xdgmimealias.o xdgmimeparent.o xdgmimecache.o xdgmimeicon.o -o test-mime cc -Wall -Wmissing-prototypes -Wno-sign-compare -g -DXDG_PREFIX=xdg_test -DHAVE_MMAP test-mime-data.c xdgmime.o xdgmimeglob.o xdgmimeint.o xdgmimemagic.o xdgmimealias.o xdgmimeparent.o xdgmimecache.o xdgmimeicon.o -o test-mime-data cc -Wall -Wmissing-prototypes -Wno-sign-compare -g -DXDG_PREFIX=xdg_test -DHAVE_MMAP print-mime-data.c xdgmime.o xdgmimeglob.o xdgmimeint.o xdgmimemagic.o xdgmimealias.o xdgmimeparent.o xdgmimecache.o xdgmimeicon.o -o print-mime-data print-mime-data.c: In function 'read_from_dir': print-mime-data.c:158:23: warning: the comparison will always evaluate as 'false' for the address of 'd_name' will never be NULL [-Waddress] 158 | if (entry->d_name == NULL) | ^~ In file included from /usr/include/dirent.h:61, from print-mime-data.c:33: /usr/include/bits/dirent.h:33:10: note: 'd_name' declared here 33 | char d_name[256]; /* We must not include limits.h! */ | ^~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/shared-mime-info-2.1/xdgmime/src' make: Leaving directory '/home/pterjan/rpmbuild/BUILD/shared-mime-info-2.1/xdgmime' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + /usr/bin/meson --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . build -Dupdate-mimedb=true -Dxdg-mime-path=./xdgmime/ The Meson build system Version: 0.62.1 Source dir: /home/pterjan/rpmbuild/BUILD/shared-mime-info-2.1 Build dir: /home/pterjan/rpmbuild/BUILD/shared-mime-info-2.1/build Build type: native build meson.build:2:0: ERROR: Unknown options: "xdg-mime-path" A full log can be found at /home/pterjan/rpmbuild/BUILD/shared-mime-info-2.1/build/meson-logs/meson-log.txt error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.WtKFgX (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.WtKFgX (%build) I: [iurt_root_command] ERROR: chroot