D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/font-tools-0.1-31.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.a9xZry + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf font-tools-0.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/font-tools-0.1.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd font-tools-0.1 + rm -rf /home/pterjan/rpmbuild/BUILD/font-tools-0.1-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/font-tools-0.1-SPECPARTS + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/ttf2pt1-3.4.4.tgz + STATUS=0 + '[' 0 -ne 0 ']' + /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.UQdQpT + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd font-tools-0.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + make clean cd pfm2afm; \ make clean; \ cd ..; \ cd ttf2pt1-3.3.5; \ make clean ; \ cd ..; make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/font-tools-0.1/pfm2afm' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/font-tools-0.1/pfm2afm' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/font-tools-0.1/ttf2pt1-3.3.5' rm -f t1asm ttf2pt1 *.o app/RPM/Makefile app/RPM/*.spec *.core core.* core ( cd other && make clean; ) make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/font-tools-0.1/ttf2pt1-3.3.5/other' rm -f bz cmpf dmpf *.o *.core core.* core make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/font-tools-0.1/ttf2pt1-3.3.5/other' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/font-tools-0.1/ttf2pt1-3.3.5' + perl -pi -e s/ttf2pt1-3.3.5/ttf2pt1-3.4.4/g Makefile + make 'CC=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' cd pfm2afm; \ make ; \ cd ..; \ cd ttf2pt1-3.4.4; \ make all ; \ cd ..; make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/font-tools-0.1/pfm2afm' 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 -o pfm2afm.o pfm2afm.c 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 -o pfm2afm pfm2afm.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/font-tools-0.1/pfm2afm' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/font-tools-0.1/ttf2pt1-3.4.4' 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 -O -o t1asm -DSTANDALONE t1asm.c -lm t1asm.c: In function 'charstring_byte': t1asm.c:374:51: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 374 | fprintf(stderr, "error: charstring_buf full (%d bytes)\n", | ~^ | | | int | %ld 375 | sizeof(charstring_buf)); | ~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int t1asm.c: In function 'charstring_end': t1asm.c:388:19: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 388 | sprintf(line, "%d ", charstring_bp - charstring_buf); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld t1asm.c: In function 'main': t1asm.c:501:15: error: implicit declaration of function 'getopt'; did you mean 'getsubopt'? [-Wimplicit-function-declaration] 501 | while ((c = getopt(argc, argv, "bl:")) != -1) | ^~~~~~ | getsubopt make[1]: *** [Makefile:182: t1asm] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/font-tools-0.1/ttf2pt1-3.4.4' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.FUr4t8 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/font-tools-0.1-31.mga10.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/font-tools-0.1-31.mga10.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/font-tools-0.1-31.mga10.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/font-tools-0.1-31.mga10.x86_64 + cd font-tools-0.1 + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILDROOT/font-tools-0.1-31.mga10.x86_64/usr/sbin /home/pterjan/rpmbuild/BUILDROOT/font-tools-0.1-31.mga10.x86_64/usr/share/man/man1 + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILDROOT/font-tools-0.1-31.mga10.x86_64 'INSTALL=/usr/bin/install -p' PREFIX=/home/pterjan/rpmbuild/BUILDROOT/font-tools-0.1-31.mga10.x86_64/usr cd binary; \ cp pfm2afm t1embed t1asm ttf2pt1 type1inst /home/pterjan/rpmbuild/BUILDROOT/font-tools-0.1-31.mga10.x86_64/usr/sbin; \ cd ..; cp: cannot stat 't1asm': No such file or directory cp: cannot stat 'ttf2pt1': No such file or directory + install ttf2pt1-3.4.4/ttf2pt1.1 /home/pterjan/rpmbuild/BUILDROOT/font-tools-0.1-31.mga10.x86_64/usr/share/man/man1 + install ttf2pt1-3.4.4/ttf2pt1 /home/pterjan/rpmbuild/BUILDROOT/font-tools-0.1-31.mga10.x86_64/usr/sbin install: cannot stat 'ttf2pt1-3.4.4/ttf2pt1': No such file or directory error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.FUr4t8 (%install) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.FUr4t8 (%install) I: [iurt_root_command] ERROR: chroot