D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/poppassd-ceti-1.8.5-14.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.idcEhk + umask 022 + cd /home/pterjan/rpmbuild/BUILD/poppassd-ceti-1.8.5-build + test -d /home/pterjan/rpmbuild/BUILD/poppassd-ceti-1.8.5-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/poppassd-ceti-1.8.5-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/poppassd-ceti-1.8.5-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/poppassd-ceti-1.8.5-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/poppassd-ceti-1.8.5-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.uVG2XX + umask 022 + cd /home/pterjan/rpmbuild/BUILD/poppassd-ceti-1.8.5-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/poppassd-ceti-1.8.5-build + rm -rf poppassd-1.8.5 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/poppassd-1.8.5.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd poppassd-1.8.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/poppassd-buildroot.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/poppassd-ceti-1.8-uid500.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/poppassd-1.8.5-cflags.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.M63Qcg + umask 022 + cd /home/pterjan/rpmbuild/BUILD/poppassd-ceti-1.8.5-build + cd poppassd-1.8.5 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export '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-all -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export '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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + 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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export 'RPM_OPT_FLAGS=-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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + RPM_OPT_FLAGS='-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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + /usr/bin/make -O -j16 V=1 VERBOSE=1 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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -O2 poppassd.c -o poppassd -lpam -ldl poppassd.c: In function 'ReadFromClient': poppassd.c:110:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 110 | fgets (line, BUFSIZE-1, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.5CdKBw + umask 022 + cd /home/pterjan/rpmbuild/BUILD/poppassd-ceti-1.8.5-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/poppassd-ceti-1.8.5-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/poppassd-ceti-1.8.5-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/poppassd-ceti-1.8.5-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/poppassd-ceti-1.8.5-build + mkdir /home/pterjan/rpmbuild/BUILD/poppassd-ceti-1.8.5-build/BUILDROOT + cd poppassd-1.8.5 + '[' 1 -eq 1 ']' + install -d /home/pterjan/rpmbuild/BUILD/poppassd-ceti-1.8.5-build/BUILDROOT/usr/sbin + install -d /home/pterjan/rpmbuild/BUILD/poppassd-ceti-1.8.5-build/BUILDROOT/etc/pam.d + install -d /home/pterjan/rpmbuild/BUILD/poppassd-ceti-1.8.5-build/BUILDROOT/etc/xinetd.d + make BINDIR=/home/pterjan/rpmbuild/BUILD/poppassd-ceti-1.8.5-build/BUILDROOT/usr/sbin install install -m 500 poppassd /home/pterjan/rpmbuild/BUILD/poppassd-ceti-1.8.5-build/BUILDROOT/usr/sbin + bzcat /home/pterjan/rpmbuild/SOURCES/poppassd.pam.bz2 + bzcat /home/pterjan/rpmbuild/SOURCES/poppassd.xinetd.bz2 + chmod 644 README + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 1.8.5-14.mga10 --unique-debug-suffix -1.8.5-14.mga10.x86_64 --unique-debug-src-base poppassd-ceti-1.8.5-14.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/poppassd-ceti-1.8.5-build/poppassd-1.8.5 find-debuginfo: starting Extracting debug info from 1 files objcopy: unable to copy file '/home/pterjan/rpmbuild/BUILD/poppassd-ceti-1.8.5-build/BUILDROOT/usr/sbin/poppassd'; reason: Permission denied *** ERROR:: GDB exited with exit status 1 during index generation error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.5CdKBw (%install) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.5CdKBw (%install) I: [iurt_root_command] ERROR: chroot