D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/pbzip2-1.1.13-5.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Xg2kwY + umask 022 + cd /home/pterjan/rpmbuild/BUILD/pbzip2-1.1.13-build + test -d /home/pterjan/rpmbuild/BUILD/pbzip2-1.1.13-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/pbzip2-1.1.13-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/pbzip2-1.1.13-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/pbzip2-1.1.13-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/pbzip2-1.1.13-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.jWz6r2 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/pbzip2-1.1.13-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/pbzip2-1.1.13-build + rm -rf pbzip2-1.1.13 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/pbzip2-1.1.13.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pbzip2-1.1.13 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e 's| -O2| -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 |' Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.F3k571 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/pbzip2-1.1.13-build + cd pbzip2-1.1.13 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j16 V=1 VERBOSE=1 Session terminated, killing shell...g++ -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 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_STACKSIZE_CUSTOMIZATION -pthread -D_POSIX_PTHREAD_SEMANTICS pbzip2.cpp BZ2StreamScanner.cpp ErrorContext.cpp -o pbzip2 -lbz2 -lpthread pbzip2.cpp:1223:49: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1223 | fprintf(stderr, "pbzip2: *WARNING: Compressed block size is large [%"PRIuMAX" bytes].\n", | ^ pbzip2.cpp:1832:33: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 1832 | fprintf(stderr, " Output Size: %"PRIuMAX" bytes\n", (uintmax_t)CompressedSize); | ^ pbzip2.cpp:2075:33: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 2075 | fprintf(stderr, " Output Size: %"PRIuMAX" bytes\n", (uintmax_t)CompressedSize); | ^ pbzip2.cpp:2797:33: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 2797 | fprintf(stderr, "pbzip2: *ERROR: Could not initialize (OutputBuffer); size=%"PRIuMAX"! Aborting...\n", (uintmax_t)size); | ^ pbzip2.cpp:4105:49: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 4105 | fprintf(stderr, " Input Size: %"PRIuMAX" bytes\n", (uintmax_t)InFileSize); | ^ pbzip2.cpp:4227:57: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 4227 | fprintf(stderr, "*Warning* Max memory limit increased to %"PRIuMAX" MB to support %d CPUs\n", (uintmax_t)((NumBufferedBlocksMax + (numCPU * 2)) * blockSize)/1000000, numCPU); | ^ pbzip2.cpp: In function 'int main(int, char**)': pbzip2.cpp:3602:137: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 3602 | fprintf(stderr,"pbzip2: *WARNING: Stack size %d bytes less than minumum - adjusting to %d bytes.\n", | ~^ | | | int | %ld + RPM_EC=0 ++ jobs -p + exit 0 ...killed. I: [iurt_root_command] ERROR: chroot