D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/cjet-0.8.9-18.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RsvEhi + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf cjet089 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/cjet089.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd cjet089 + rm -rf /home/pterjan/rpmbuild/BUILD/cjet089-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/cjet089-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.ABV49K + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd cjet089 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + make 'OPT=-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 -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' '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' 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 -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o main.o main.c main.c: In function 'parse_args': main.c:90:7: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 90 | strcpy(prog_name,"CJet"); | ^~~~~~ main.c:28:1: note: include '' or provide a declaration of 'strcpy' 27 | #include "cjet.h" +++ |+#include 28 | main.c:90:7: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 90 | strcpy(prog_name,"CJet"); | ^~~~~~ main.c:90:7: note: include '' or provide a declaration of 'strcpy' make: *** [: main.o] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ABV49K (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ABV49K (%build) I: [iurt_root_command] ERROR: chroot