D: [iurt_root_command] chroot RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument Building target platforms: i686 Building for target i686 Installing /home/iurt/rpmbuild/SRPMS/@2247943:lrmi-0.10-20.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.mwkBri Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.lkU8Ku + umask 022 + cd /home/iurt/rpmbuild/BUILD/lrmi-0.10-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD/lrmi-0.10-build + rm -rf lrmi-0.10 + /usr/lib/rpm/rpmuncompress -x /home/iurt/rpmbuild/SOURCES/lrmi-0.10.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd lrmi-0.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (lrmi-0.10-makefile.patch):' Patch #0 (lrmi-0.10-makefile.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile + echo 'Patch #1 (lrmi-no_strip.diff):' Patch #1 (lrmi-no_strip.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file Makefile + echo 'Patch #2 (lrmi-build_fix.diff):' Patch #2 (lrmi-build_fix.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file lrmi.c + echo 'Patch #3 (lrmi-shared_vbetest_fix.diff):' Patch #3 (lrmi-shared_vbetest_fix.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.NsJVOc + umask 022 + cd /home/iurt/rpmbuild/BUILD/lrmi-0.10-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd lrmi-0.10 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + make 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -o lrmi.o lrmi.c In file included from /usr/include/features.h:524, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from lrmi.c:29: In function 'read', inlined from 'read_file' at lrmi.c:98:6, inlined from 'LRMI_init' at lrmi.c:344:7: /usr/include/bits/unistd.h:32:10: warning: argument 2 is null but the corresponding size argument 3 value is 1282 [-Wnonnull] 32 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^~~~~~~~~~~~~~~ /usr/include/bits/unistd-decl.h: In function 'LRMI_init': /usr/include/bits/unistd-decl.h:29:16: note: in a call to function '__read_alias' declared with attribute 'access (write_only, 2, 3)' 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^~~~~~~~~~~~~~~~~~ In function 'read', inlined from 'read_file' at lrmi.c:98:6, inlined from 'LRMI_init' at lrmi.c:344:7: /usr/include/bits/unistd.h:32:10: warning: argument 2 is null but the corresponding size argument 3 value is 1282 [-Wnonnull] 32 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^~~~~~~~~~~~~~~ In file included from /usr/include/bits/unistd.h:23, from /usr/include/unistd.h:1217, from lrmi.c:66: /usr/include/bits/unistd-decl.h: In function 'LRMI_init': /usr/include/bits/unistd-decl.h:26:16: note: in a call to function '__read_chk' declared with attribute 'access (write_only, 2, 3)' 26 | extern ssize_t __read_chk (int __fd, void *__buf, size_t __nbytes, | ^~~~~~~~~~ ar -rs liblrmi.a lrmi.o ar: creating liblrmi.a gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -o lrmi.lo lrmi.c In file included from /usr/include/features.h:524, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from lrmi.c:29: In function 'read', inlined from 'read_file' at lrmi.c:98:6, inlined from 'LRMI_init' at lrmi.c:344:7: /usr/include/bits/unistd.h:32:10: warning: argument 2 is null but the corresponding size argument 3 value is 1282 [-Wnonnull] 32 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^~~~~~~~~~~~~~~ /usr/include/bits/unistd-decl.h: In function 'LRMI_init': /usr/include/bits/unistd-decl.h:29:16: note: in a call to function '__read_alias' declared with attribute 'access (write_only, 2, 3)' 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^~~~~~~~~~~~~~~~~~ In function 'read', inlined from 'read_file' at lrmi.c:98:6, inlined from 'LRMI_init' at lrmi.c:344:7: /usr/include/bits/unistd.h:32:10: warning: argument 2 is null but the corresponding size argument 3 value is 1282 [-Wnonnull] 32 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^~~~~~~~~~~~~~~ In file included from /usr/include/bits/unistd.h:23, from /usr/include/unistd.h:1217, from lrmi.c:66: /usr/include/bits/unistd-decl.h: In function 'LRMI_init': /usr/include/bits/unistd-decl.h:26:16: note: in a call to function '__read_chk' declared with attribute 'access (write_only, 2, 3)' 26 | extern ssize_t __read_chk (int __fd, void *__buf, size_t __nbytes, | ^~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,-soname,liblrmi.so.0 -fPIC -shared -o liblrmi.so.0.10 lrmi.lo ln -sf liblrmi.so.0.10 liblrmi.so.0 ln -sf liblrmi.so.0 liblrmi.so gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -o vbetest vbetest.c -L. -llrmi vbetest.c: In function 'interactive_set_mode': vbetest.c:297:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 297 | system(run_command); | ^~~~~~~~~~~~~~~~~~~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Z6lWOS + umask 022 + cd /home/iurt/rpmbuild/BUILD/lrmi-0.10-build + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILD/lrmi-0.10-build/BUILDROOT '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILD/lrmi-0.10-build/BUILDROOT ++ dirname /home/iurt/rpmbuild/BUILD/lrmi-0.10-build/BUILDROOT + mkdir -p /home/iurt/rpmbuild/BUILD/lrmi-0.10-build + mkdir /home/iurt/rpmbuild/BUILD/lrmi-0.10-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fomit-frame-pointer -m32 -march=i686 -msse2 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd lrmi-0.10 + '[' 1 -eq 1 ']' + mkdir -p /home/iurt/rpmbuild/BUILD/lrmi-0.10-build/BUILDROOT/usr/lib /home/iurt/rpmbuild/BUILD/lrmi-0.10-build/BUILDROOT/usr/include + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILD/lrmi-0.10-build/BUILDROOT 'INSTALL=/usr/bin/install -p' LIBDIR=/usr/lib INCDIR=/usr/include mkdir -p /usr/lib install -m 755 -p liblrmi.so.0.10 /usr/lib/liblrmi.so.0.10 install: cannot create regular file '/usr/lib/liblrmi.so.0.10': Permission denied make: *** [Makefile:38: install] Error 1 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.Z6lWOS (%install) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.Z6lWOS (%install) I: [iurt_root_command] ERROR: chroot