D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/lexmark2070-0.6-20.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.j9jfNe + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf lexmark2070-0.6 + /usr/bin/mkdir -p lexmark2070-0.6 + cd lexmark2070-0.6 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Lexmark2070.latest.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + rm -rf /home/pterjan/rpmbuild/BUILD/lexmark2070-0.6-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/lexmark2070-0.6-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/Lexmark2070-LDFLAGS.diff + /usr/bin/patch -p0 -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.CZrZ6f + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd lexmark2070-0.6 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + make -f makefile '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' 'LDFLAGS= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' gcc -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 -c Lexmark2070.c In file included from Lexmark2070.c:36: pbm.h:28:7: warning: extra tokens at end of #endif directive [-Wendif-labels] 28 | #endif; | ^ Lexmark2070.c: In function 'print_pbm': Lexmark2070.c:213:5: error: implicit declaration of function 'hilfe' [-Wimplicit-function-declaration] 213 | hilfe("No pages printed!"); | ^~~~~ Lexmark2070.c: At top level: Lexmark2070.c:226:1: error: return type defaults to 'int' [-Wimplicit-int] 226 | hilfe(char *fehler) | ^~~~~ Lexmark2070.c: In function 'print_pbm': Lexmark2070.c:204:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 204 | fgets (line, 1024, in); | ^~~~~~~~~~~~~~~~~~~~~~ make: *** [makefile:17: Lexmark2070.o] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.CZrZ6f (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.CZrZ6f (%build) I: [iurt_root_command] ERROR: chroot