D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/xmbdfed-4.7-13.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.GLwnio Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Suy9pY + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xmbdfed-4.7-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/xmbdfed-4.7-build + rm -rf xmbdfed-4.7 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/xmbdfed-4.7.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd xmbdfed-4.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xmbdfed-4.7-patch1 + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xmbdfed-4.7-linux.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xmbdfed-4.7-staticfix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xmbdfed-4.7-getline.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xmbdfed-4.7-mga-format-security_bdf.c.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xmbdfed-build-flags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xmbdfed-4.7-gcc10.patch + /usr/bin/patch -p1 -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.vyA7Xt + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xmbdfed-4.7-build + CFLAGS='-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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 ' + export FFLAGS + FCFLAGS='-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 ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + 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' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xmbdfed-4.7 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 ' + export FFLAGS + FCFLAGS='-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 ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + 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' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/make -O -j16 V=1 VERBOSE=1 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 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c bdfgrab.c -o bdfgrab.o bdfgrab.c: In function 'bdf_load_server_font': bdfgrab.c:309:23: error: assignment to 'int (*)(void)' from incompatible pointer type 'XErrorHandler' {aka 'int (*)(Display *, XErrorEvent *)'} [-Wincompatible-pointer-types] 309 | old_error_handler = XSetErrorHandler(error_handler); | ^ In file included from bdfgrab.c:44: /usr/include/X11/Xlib.h:1843:15: note: 'XErrorHandler' declared here 1843 | typedef int (*XErrorHandler) ( /* WARNING, this type not in Xlib spec */ | ^~~~~~~~~~~~~ bdfgrab.c:350:22: error: passing argument 1 of 'XSetErrorHandler' from incompatible pointer type [-Wincompatible-pointer-types] 350 | XSetErrorHandler(old_error_handler); | ^~~~~~~~~~~~~~~~~ | | | int (*)(void) /usr/include/X11/Xlib.h:1849:5: note: expected 'XErrorHandler' {aka 'int (*)(Display *, XErrorEvent *)'} but argument is of type 'int (*)(void)' 1849 | XErrorHandler /* handler */ | ^~~~~~~~~~~~~ /usr/include/X11/Xlib.h:1843:15: note: 'XErrorHandler' declared here 1843 | typedef int (*XErrorHandler) ( /* WARNING, this type not in Xlib spec */ | ^~~~~~~~~~~~~ make: *** [Makefile:141: bdfgrab.o] Error 1 make: *** Waiting for unfinished jobs.... 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 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c comment.c -o comment.o 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 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c bdfgname.c -o bdfgname.o 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 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c bdfcons.c -o bdfcons.o bdfcons.c: In function 'bdf_load_console_font': bdfcons.c:547:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 547 | fread((char *) hdr, sizeof(unsigned char), 4, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bdfcons.c:567:20: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 567 | (void) fread((char *) &vhdr, sizeof(vfhdr_t), 1, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bdfcons.c: In function '_bdf_load_vfont': bdfcons.c:121:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 121 | fread((char *) metrics, sizeof(vfmetrics_t), 256, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bdfcons.c:250:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 250 | fread((char *) gp->bitmap, gp->bytes, 1, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bdfcons.c: In function '_bdf_load_simple': bdfcons.c:365:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 365 | fread((char *) gp->bitmap, height, 1, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c ProgBar.c -o ProgBar.o 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 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c color.c -o color.o color.c: In function 'AdjustColor': color.c:236:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 236 | which = (int) client_data; | ^ color.c: In function 'BuildColorDialog': color.c:433:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 433 | (XtPointer) i); | ^ color.c:435:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 435 | (XtPointer) i); | ^ 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 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c bdffnt.c -o bdffnt.o bdffnt.c: In function 'bdffnt_open_font': bdffnt.c:531:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 531 | fread((char *) &sshift, 1, sizeof(unsigned short), in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bdffnt.c:591:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 591 | fread((char *) &version, sizeof(unsigned short), 1, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bdffnt.c: In function 'bdffnt_load_font': bdffnt.c:881:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 881 | fread((char *) &tmp, sizeof(unsigned short), 1, font->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bdffnt.c:886:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 886 | fread((char *) &cp->offset, sizeof(unsigned long), 1, font->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bdffnt.c:890:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 890 | fread((char *) &tmp, sizeof(unsigned short), 1, font->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bdffnt.c:980:11: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 980 | fread((char *) gp->bitmap, gp->bytes, 1, font->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c bdfotf.c -o bdfotf.o 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 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c GTest.c -o GTest.o 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 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c bdfpsf.c -o bdfpsf.o bdfpsf.c: In function 'cmplen': bdfpsf.c:477:5: warning: old-style function definition [-Wold-style-definition] 477 | cmplen(a, b) | ^~~~~~ bdfpsf.c: In function 'bdf_load_psf': bdfpsf.c:637:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 637 | fread((char *) &hdr, sizeof(_bdf_psfhdr_t), 1, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bdfpsf.c:731:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 731 | fread((char *) gp->bitmap, hdr.bpc, 1, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c bdfpkgf.c -o bdfpkgf.o bdfpkgf.c: In function 'bdf_load_mf_font': bdfpkgf.c:1577:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1577 | fread((char *) mfmag, 2, 1, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bdfpkgf.c: In function '_bdf_load_pk_font': bdfpkgf.c:465:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 465 | fread((char *) bytes, 1, 1, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bdfpkgf.c:467:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 467 | fread(bytes, n, 1, in); | ^~~~~~~~~~~~~~~~~~~~~~ bdfpkgf.c:485:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 485 | fread(bytes, 4, 1, in); | ^~~~~~~~~~~~~~~~~~~~~~ bdfpkgf.c:589:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 589 | fread(bytes, 2, 1, in); | ^~~~~~~~~~~~~~~~~~~~~~ bdfpkgf.c:630:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 630 | fread(bytes, 10, 1, in); | ^~~~~~~~~~~~~~~~~~~~~~~ bdfpkgf.c:718:15: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 718 | fread(g.bitmap, g.bbx.height * bpr, 1, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bdfpkgf.c: In function '_bdf_pk_specials': bdfpkgf.c:245:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 245 | fread((char *) bytes, n, 1, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bdfpkgf.c:264:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 264 | fread((char *) comment, num, 1, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bdfpkgf.c: In function '_bdf_load_gf_font': bdfpkgf.c:1151:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1151 | fread((char *) bytes, 1, 1, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bdfpkgf.c:1153:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1153 | fread(bytes, n, 1, in); | ^~~~~~~~~~~~~~~~~~~~~~ bdfpkgf.c: In function '_bdf_gf_specials': bdfpkgf.c:1010:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1010 | fread((char *) bytes, n, 1, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bdfpkgf.c:1029:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1029 | fread((char *) comment, num, 1, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c GEditTB.c -o GEditTB.o GEditTB.c: In function 'ContextHelp': GEditTB.c:2071:36: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 2071 | sprintf(cbuf, "Color %d", b - _GETB_GLYPH_IMAGE); | ^ In file included from /usr/include/stdio.h:970, from GEditTBP.h:29, from GEditTB.c:31: In function 'sprintf', inlined from 'ContextHelp' at GEditTB.c:2071:13: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 8 and 17 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c GEdit.c -o GEdit.o 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 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c FGrid.c -o FGrid.o FGrid.c: In function '_XmuttFGridDrawCells.part.0': FGrid.c:1205:43: warning: '%ld' directive writing between 1 and 20 bytes into a region of size 10 [-Wformat-overflow=] 1205 | case 10: sprintf(nbuf, "%ld", i); break; | ^~~ FGrid.c:1205:42: note: directive argument in the range [-9223372036854775808, 9223372036854775806] 1205 | case 10: sprintf(nbuf, "%ld", i); break; | ^~~~~ In file included from /usr/include/stdio.h:970, from FGridP.h:29, from FGrid.c:31: In function 'sprintf', inlined from '_XmuttFGridDrawCells.part.0' at FGrid.c:1205:28: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 21 bytes into a destination of size 10 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c bdfgrid.c -o bdfgrid.o 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 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c bdf.c -o bdf.o bdf.c: In function 'bdf_save_font': bdf.c:2946:37: warning: field precision specifier '.*' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 2946 | fprintf(out, "COMMENT %.*s%s", ep - sp, sp, eol); | ~~^~ ~~~~~~~ | | | | int long int error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.vyA7Xt (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.vyA7Xt (%build) I: [iurt_root_command] ERROR: chroot