D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/p0f-3.09b-4.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.qC1Cv1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf p0f-3.09b + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/p0f-3.09b.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd p0f-3.09b + rm -rf /home/pterjan/rpmbuild/BUILD/p0f-3.09b-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/p0f-3.09b-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.6AahgP + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd p0f-3.09b + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j16 V=1 VERBOSE=1 '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 -DFP_FILE="/etc/p0f/p0f.fp"' Welcome to the build script for p0f 3.09b! Copyright (C) 2012 by Michal Zalewski [+] Configuring production build. [*] Checking for a sane build environment... OK [*] Checking for working GCC... OK [*] Checking for *modern* GCC... OK [*] Checking if memory alignment is required... FAIL Well, something went horribly wrong, sorry. Here's the output from GCC: .build-2103010.c: In function 'main': .build-2103010.c:2:34: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration] 2 | volatile u8 tmp[6]; int main() { printf("%d\n", *(u32*)(tmp+1)); return 0; } | ^~~~~~ .build-2103010.c:2:1: note: include '' or provide a declaration of 'printf' 1 | #include "types.h" +++ |+#include 2 | volatile u8 tmp[6]; int main() { printf("%d\n", *(u32*)(tmp+1)); return 0; } .build-2103010.c:2:34: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch] 2 | volatile u8 tmp[6]; int main() { printf("%d\n", *(u32*)(tmp+1)); return 0; } | ^~~~~~ .build-2103010.c:2:34: note: include '' or provide a declaration of 'printf' Sorry! You may want to ping about this. make: *** [Makefile:11: all] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.6AahgP (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.6AahgP (%build) I: [iurt_root_command] ERROR: chroot