D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/dlm-4.1.1-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.7S1AWK + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf dlm-4.1.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/dlm-4.1.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd dlm-4.1.1 + rm -rf /home/pterjan/rpmbuild/BUILD/dlm-4.1.1-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/dlm-4.1.1-SPECPARTS + /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/pterjan/rpmbuild/tmp/rpm-tmp.4svLgf + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd dlm-4.1.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export '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' + 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' + /usr/bin/make -O -j8 V=1 VERBOSE=1 set -e; for d in libdlm dlm_controld dlm_tool fence; do /usr/bin/make -C $d all; done make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dlm-4.1.1/libdlm' cat libdlm.pc.in | sed -e 's#@PREFIX@#/usr#g;s#@LIBDIR@#/usr//lib64#g' > libdlm.pc make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dlm-4.1.1/libdlm' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dlm-4.1.1/libdlm' cat libdlm.pc.in | sed -e 's#@PREFIX@#/usr#g;s#@LIBDIR@#/usr//lib64#g' > libdlm_lt.pc make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dlm-4.1.1/libdlm' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dlm-4.1.1/libdlm' cc libdlm.c -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 -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -fPIC -Wl,-z,now -c -o libdlm_lt.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dlm-4.1.1/libdlm' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dlm-4.1.1/libdlm' cc libdlm_lt.o -Wl,-z,defs -shared -o libdlm_lt.so.3.0 -Wl,-soname=libdlm_lt.so.3 ln -sf libdlm_lt.so.3.0 libdlm_lt.so ln -sf libdlm_lt.so.3.0 libdlm_lt.so.3 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dlm-4.1.1/libdlm' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dlm-4.1.1/libdlm' cc libdlm.c -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 -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -fPIC -Wl,-z,now -D_REENTRANT -c -o libdlm.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dlm-4.1.1/libdlm' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dlm-4.1.1/libdlm' cc libdlm.o -lpthread -Wl,-z,defs -shared -o libdlm.so.3.0 -Wl,-soname=libdlm.so.3 ln -sf libdlm.so.3.0 libdlm.so ln -sf libdlm.so.3.0 libdlm.so.3 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dlm-4.1.1/libdlm' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dlm-4.1.1/dlm_controld' cat libdlmcontrol.pc.in | sed -e 's#@PREFIX@#/usr#g;s#@LIBDIR@#/usr//lib64#g' > libdlmcontrol.pc make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dlm-4.1.1/dlm_controld' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dlm-4.1.1/dlm_controld' cc lib.c -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 -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -Wl,-z,now -fPIC -Wl,-z,relro -Wl,-z,defs -pie -shared -o libdlmcontrol.so.3.2 -Wl,-soname=libdlmcontrol.so.3 ln -sf libdlmcontrol.so.3.2 libdlmcontrol.so ln -sf libdlmcontrol.so.3.2 libdlmcontrol.so.3 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dlm-4.1.1/dlm_controld' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dlm-4.1.1/dlm_controld' cc action.c cpg.c daemon_cpg.c helper.c crc.c fence_config.c fence.c main.c plock.c config.c member.c logging.c rbtree.c node_config.c -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 -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -Wl,-z,now -fPIE -DPIE -I../include -I../libdlm -DUSE_SD_NOTIFY -Wl,-z,relro -Wl,-z,defs -pie -lpthread -lrt -lcpg -lcmap -lcfg -lquorum -luuid -lsystemd -o dlm_controld -L. main.c:15:10: fatal error: linux/dlm_netlink.h: No such file or directory 15 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:70: dlm_controld] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dlm-4.1.1/dlm_controld' make: *** [Makefile:2: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.4svLgf (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.4svLgf (%build) I: [iurt_root_command] ERROR: chroot