Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/xmbdfed.spec'], chrootPath='/var/lib/mock/f38-build-716129-95711/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/xmbdfed.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674259200 Wrote: /builddir/build/SRPMS/xmbdfed-4.7-34.fc38.src.rpm RPM build warnings: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/xmbdfed.spec'], chrootPath='/var/lib/mock/f38-build-716129-95711/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/xmbdfed.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674259200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pq98s6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xmbdfed-4.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/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 . + echo 'Patch #0 (xmbdfed-4.7-patch1):' Patch #0 (xmbdfed-4.7-patch1): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .patch1 --fuzz=0 patching file FGrid.c Patch #1 (xmbdfed-4.7-linux.patch): + echo 'Patch #1 (xmbdfed-4.7-linux.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .linux --fuzz=0 patching file Makefile Patch #2 (xmbdfed-4.7-staticfix.patch): + echo 'Patch #2 (xmbdfed-4.7-staticfix.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .staticfix --fuzz=0 patching file setup.c Patch #3 (xmbdfed-4.7-getline.patch): + echo 'Patch #3 (xmbdfed-4.7-getline.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .getline --fuzz=0 patching file bdfgname.c Patch #4 (xmbdfed-4.7-format-security.patch): + echo 'Patch #4 (xmbdfed-4.7-format-security.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .format-security --fuzz=0 patching file bdf.c Patch #5 (xmbdfed-4.7-gcc10.patch): + echo 'Patch #5 (xmbdfed-4.7-gcc10.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gcc10 --fuzz=0 patching file setup.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6tlEU1 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 + make -j4 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c FGrid.c -o FGrid.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c GEdit.c -o GEdit.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c GEditTB.c -o GEditTB.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c GTest.c -o GTest.o GEditTB.c: In function '_XmuttGEditTBoxMakeBitmaps': GEditTB.c:347:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] 347 | XCreateBitmapFromData(XtDisplay(w), XtWindow(w), draw_bits, | ^~~~~~~~~ | | | unsigned char * In file included from /usr/include/X11/Xlib.h:47, from /usr/include/X11/Intrinsic.h:53, from /usr/include/Xm/Xm.h:59, from /usr/include/Xm/XmP.h:45, from GEditTBP.h:30, from GEditTB.c:31: /usr/include/X11/Xlib.h:1607:5: note: expected 'const char *' but argument is of type 'unsigned char *' 1607 | _Xconst char* /* data */, | ^ GEditTB.c:350:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] 350 | XCreateBitmapFromData(XtDisplay(w), XtWindow(w), move_bits, | ^~~~~~~~~ | | | unsigned char * /usr/include/X11/Xlib.h:1607:5: note: expected 'const char *' but argument is of type 'unsigned char *' 1607 | _Xconst char* /* data */, | ^ GEditTB.c:353:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] 353 | XCreateBitmapFromData(XtDisplay(w), XtWindow(w), copy_bits, | ^~~~~~~~~ | | | unsigned char * /usr/include/X11/Xlib.h:1607:5: note: expected 'const char *' but argument is of type 'unsigned char *' 1607 | _Xconst char* /* data */, | ^ GEditTB.c:356:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] 356 | XCreateBitmapFromData(XtDisplay(w), XtWindow(w), fliph_bits, | ^~~~~~~~~~ | | | unsigned char * /usr/include/X11/Xlib.h:1607:5: note: expected 'const char *' but argument is of type 'unsigned char *' 1607 | _Xconst char* /* data */, | ^ GEditTB.c:359:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] 359 | XCreateBitmapFromData(XtDisplay(w), XtWindow(w), flipv_bits, | ^~~~~~~~~~ | | | unsigned char * /usr/include/X11/Xlib.h:1607:5: note: expected 'const char *' but argument is of type 'unsigned char *' 1607 | _Xconst char* /* data */, | ^ GEditTB.c:362:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] 362 | XCreateBitmapFromData(XtDisplay(w), XtWindow(w), shear_bits, | ^~~~~~~~~~ | | | unsigned char * GEdit.c: In function '_XmuttGlyphEditSetCursor': GEdit.c:776:63: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] 776 | bm = XCreateBitmapFromData(XtDisplay(w), XtWindow(w), cursor_bits, | ^~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/X11/Xlib.h:47, from /usr/include/X11/Intrinsic.h:53, from /usr/include/Xm/Xm.h:59, from /usr/include/Xm/XmP.h:45, from GEditP.h:30, from GEdit.c:31: /usr/include/X11/Xlib.h:1607:5: note: expected 'const char *' but argument is of type 'unsigned char *' 1607 | _Xconst char* /* data */, | ^ /usr/include/X11/Xlib.h:1607:5: note: expected 'const char *' but argument is of type 'unsigned char *' 1607 | _Xconst char* /* data */, | ^ GEditTB.c:365:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] 365 | XCreateBitmapFromData(XtDisplay(w), XtWindow(w), rleft_bits, | ^~~~~~~~~~ | | | unsigned char * /usr/include/X11/Xlib.h:1607:5: note: expected 'const char *' but argument is of type 'unsigned char *' 1607 | _Xconst char* /* data */, | ^ GEditTB.c:368:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] 368 | XCreateBitmapFromData(XtDisplay(w), XtWindow(w), rright_bits, | ^~~~~~~~~~~ | | | unsigned char * /usr/include/X11/Xlib.h:1607:5: note: expected 'const char *' but argument is of type 'unsigned char *' 1607 | _Xconst char* /* data */, | ^ GEditTB.c:371:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] 371 | XCreateBitmapFromData(XtDisplay(w), XtWindow(w), rotate_bits, | ^~~~~~~~~~~ | | | unsigned char * /usr/include/X11/Xlib.h:1607:5: note: expected 'const char *' but argument is of type 'unsigned char *' 1607 | _Xconst char* /* data */, | ^ GEditTB.c:374:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] 374 | XCreateBitmapFromData(XtDisplay(w), XtWindow(w), uleft_bits, | ^~~~~~~~~~ | | | unsigned char * /usr/include/X11/Xlib.h:1607:5: note: expected 'const char *' but argument is of type 'unsigned char *' 1607 | _Xconst char* /* data */, | ^ GEditTB.c:377:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] 377 | XCreateBitmapFromData(XtDisplay(w), XtWindow(w), up_bits, | ^~~~~~~ | | | unsigned char * /usr/include/X11/Xlib.h:1607:5: note: expected 'const char *' but argument is of type 'unsigned char *' 1607 | _Xconst char* /* data */, | ^ GEditTB.c:380:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] 380 | XCreateBitmapFromData(XtDisplay(w), XtWindow(w), uright_bits, | ^~~~~~~~~~~ | | | unsigned char * /usr/include/X11/Xlib.h:1607:5: note: expected 'const char *' but argument is of type 'unsigned char *' 1607 | _Xconst char* /* data */, | ^ GEditTB.c:383:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] 383 | XCreateBitmapFromData(XtDisplay(w), XtWindow(w), left_bits, | ^~~~~~~~~ | | | unsigned char * /usr/include/X11/Xlib.h:1607:5: note: expected 'const char *' but argument is of type 'unsigned char *' 1607 | _Xconst char* /* data */, | ^ GEditTB.c:386:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] 386 | XCreateBitmapFromData(XtDisplay(w), XtWindow(w), right_bits, | ^~~~~~~~~~ | | | unsigned char * /usr/include/X11/Xlib.h:1607:5: note: expected 'const char *' but argument is of type 'unsigned char *' 1607 | _Xconst char* /* data */, | ^ GEditTB.c:389:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] 389 | XCreateBitmapFromData(XtDisplay(w), XtWindow(w), dleft_bits, | ^~~~~~~~~~ | | | unsigned char * /usr/include/X11/Xlib.h:1607:5: note: expected 'const char *' but argument is of type 'unsigned char *' 1607 | _Xconst char* /* data */, | ^ GEditTB.c:392:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] 392 | XCreateBitmapFromData(XtDisplay(w), XtWindow(w), down_bits, | ^~~~~~~~~ | | | unsigned char * /usr/include/X11/Xlib.h:1607:5: note: expected 'const char *' but argument is of type 'unsigned char *' 1607 | _Xconst char* /* data */, | ^ GEditTB.c:395:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] 395 | XCreateBitmapFromData(XtDisplay(w), XtWindow(w), dright_bits, | ^~~~~~~~~~~ | | | unsigned char * /usr/include/X11/Xlib.h:1607:5: note: expected 'const char *' but argument is of type 'unsigned char *' 1607 | _Xconst char* /* data */, | ^ GEdit.c: In function 'XmuttGlyphEditImage': GEdit.c:1440:23: warning: variable 'grid' set but not used [-Wunused-but-set-variable] 1440 | bdf_glyph_grid_t *grid; | ^~~~ GEdit.c: In function 'XmuttGlyphEditChangeOperation': GEdit.c:1751:13: warning: variable 'call_modify' set but not used [-Wunused-but-set-variable] 1751 | Boolean call_modify; | ^~~~~~~~~~~ GEdit.c: In function 'XmuttGlyphEditImportXBM': FGrid.c: In function 'XmuttFontGridNextPage': GEditTB.c: In function '_XmuttGEditTBoxPosition': FGrid.c:3019:17: warning: variable 'font' set but not used [-Wunused-but-set-variable] 3019 | bdf_font_t *font; | ^~~~ GEditTB.c:928:38: warning: variable 'gwc' set but not used [-Wunused-but-set-variable] 928 | XmuttGlyphEditToolboxWidgetClass gwc; | ^~~ GEdit.c:2008:42: warning: pointer targets in passing argument 5 of 'XmuReadBitmapDataFromFile' differ in signedness [-Wpointer-sign] 2008 | &xh, &yh)) != BitmapSuccess) | ^~~ | | | unsigned int * In file included from GEdit.c:32: /usr/include/X11/Xmu/Drawing.h:152:26: note: expected 'int *' but argument is of type 'unsigned int *' 152 | int *xhot_return, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ FGrid.c: In function 'XmuttFontGridPreviousPage': GEdit.c:2008:47: warning: pointer targets in passing argument 6 of 'XmuReadBitmapDataFromFile' differ in signedness [-Wpointer-sign] 2008 | &xh, &yh)) != BitmapSuccess) | ^~~ | | | unsigned int * /usr/include/X11/Xmu/Drawing.h:153:26: note: expected 'int *' but argument is of type 'unsigned int *' 153 | int *yhot_return | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ FGrid.c:3092:17: warning: variable 'font' set but not used [-Wunused-but-set-variable] 3092 | bdf_font_t *font; | ^~~~ FGrid.c: In function 'MoveCursor': FGrid.c:5156:31: warning: variable 'opi' set but not used [-Wunused-but-set-variable] 5156 | _XmuttFGridPageInfo *pi, *opi; | ^~~ FGrid.c: In function 'ExtendCursor': FGrid.c:5319:31: warning: variable 'opi' set but not used [-Wunused-but-set-variable] 5319 | _XmuttFGridPageInfo *pi, *opi; | ^~~ FGrid.c: In function 'PageExtendCursor': FGrid.c:5472:31: warning: variable 'opi' set but not used [-Wunused-but-set-variable] 5472 | _XmuttFGridPageInfo *pi, *opi; | ^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c ProgBar.c -o ProgBar.o GEditTB.c: In function 'ContextHelp': GEditTB.c:2071:36: warning: '__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:906, from GEditTBP.h:29: In function 'sprintf', inlined from 'ContextHelp' at GEditTB.c:2071:13: /usr/include/bits/stdio2.h:30:10: note: '__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 ()); | ~~~~~~~~~~~~~~~~~ ProgBar.c: In function '_XmuttProgressBarPreferredGeometry': ProgBar.c:204:23: warning: variable 'pmargin' set but not used [-Wunused-but-set-variable] 204 | Dimension wd, ht, pmargin, lheight, lwidth; | ^~~~~~~ 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:906, 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: '__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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c bdf.c -o bdf.o GEdit.c: In function 'XmuttGlyphEditExportXBM': GEdit.c:2115:26: warning: 'masks' may be used uninitialized [-Wmaybe-uninitialized] 2115 | masks[(sx & 7) / grid->bpp]) | ^ GEdit.c:2048:20: note: 'masks' was declared here 2048 | unsigned char *masks; | ^~~~~ bdf.c: In function '_bdf_parse_glyphs': bdf.c:1378:23: warning: variable 'next' set but not used [-Wunused-but-set-variable] 1378 | _bdf_line_func_t *next; | ^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c bdfcons.c -o bdfcons.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 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c bdfgname.c -o bdfgname.o 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c bdfgrab.c -o bdfgrab.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c bdfgrid.c -o bdfgrid.o bdfgrab.c: In function 'bdf_load_server_font': bdfgrab.c:174:36: warning: '%ld' directive writing between 1 and 13 bytes into a region of size 12 [-Wformat-overflow=] 174 | sprintf(name, "char%ld", gp->encoding); | ^~~ In function '_bdf_get_glyphs', inlined from 'bdf_load_server_font' at bdfgrab.c:495:5: bdfgrab.c:174:31: note: directive argument in the range [0, 1099511627775] 174 | sprintf(name, "char%ld", gp->encoding); | ^~~~~~~~~ In file included from /usr/include/stdio.h:906, from bdfgrab.c:40: In function 'sprintf', inlined from '_bdf_get_glyphs' at bdfgrab.c:174:17, inlined from 'bdf_load_server_font' at bdfgrab.c:495:5: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 6 and 18 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 ()); | ~~~~~~~~~~~~~~~~~ bdfgrid.c: In function 'bdf_grid_shear': bdfgrid.c:1944:15: warning: variable 'cy' set but not used [-Wunused-but-set-variable] 1944 | short cx, cy, wd, ht, gx, gy, x, y; | ^~ bdfgrid.c:1944:11: warning: variable 'cx' set but not used [-Wunused-but-set-variable] 1944 | short cx, cy, wd, ht, gx, gy, x, y; | ^~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c bdfotf.c -o bdfotf.o bdfotf.c: In function 'bdfotf_get_english_string': bdfotf.c:199:18: warning: pointer targets in assignment from 'FT_Byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 199 | s = sfntName.string; | ^ bdfotf.c:235:15: warning: pointer targets in assignment from 'FT_Byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 235 | s = sfntName.string; | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c bdfpkgf.c -o bdfpkgf.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c bdfpsf.c -o bdfpsf.o bdfpkgf.c: In function '_bdf_pk_specials': bdfpkgf.c:266:30: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 266 | if (!strncmp(comment, "title ", 6)) | ^~~~~~~ | | | unsigned char * In file included from bdfpkgf.c:50: /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ bdfpkgf.c:272:45: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 272 | strcpy(glyphname, comment + 6); | ~~~~~~~~^~~ | | | unsigned char * In file included from /usr/include/features.h:491, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from bdfpkgf.c:47: /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ bdfpkgf.c:301:51: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 301 | printscaled(num, comment + strlen(comment)); | ^~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ bdfpkgf.c: In function '_bdf_load_pk_font': bdfpkgf.c:526:49: warning: pointer targets in passing argument 4 of '_bdf_pk_specials' differ in signedness [-Wpointer-sign] 526 | while ((res = _bdf_pk_specials(in, f, opts, glyphname)) != PK_post && | ^~~~~~~~~ | | | unsigned char * bdfpkgf.c:207:23: note: expected 'char *' but argument is of type 'unsigned char *' 207 | char glyphname[]) | ~~~~~^~~~~~~~~~~ bdfpkgf.c:529:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 529 | if (strlen(glyphname)) { | ^~~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ bdfpkgf.c:530:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 530 | g.name = malloc(strlen(glyphname)+1); | ^~~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ bdfpkgf.c:531:28: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 531 | strcpy(g.name, glyphname); | ^~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ bdfpkgf.c:414:21: warning: variable 'pend' set but not used [-Wunused-but-set-variable] 414 | long num, plen, pend, row_size, awidth; | ^~~~ bdfpkgf.c: In function '_bdf_gf_specials': bdfpkgf.c:1031:30: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 1031 | if (!strncmp(comment, "title ", 6)) | ^~~~~~~ | | | unsigned char * /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ bdfpkgf.c:1037:45: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 1037 | strcpy(glyphname, comment + 6); | ~~~~~~~~^~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ bdfpkgf.c:1067:51: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1067 | printscaled(num, comment + strlen(comment)); | ^~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ bdfpkgf.c: In function '_bdf_load_gf_font': bdfpkgf.c:1180:49: warning: pointer targets in passing argument 4 of '_bdf_gf_specials' differ in signedness [-Wpointer-sign] 1180 | while ((res = _bdf_gf_specials(in, f, opts, glyphname)) != GF_post) { | ^~~~~~~~~ | | | unsigned char * bdfpkgf.c:978:23: note: expected 'char *' but argument is of type 'unsigned char *' 978 | char glyphname[]) | ~~~~~^~~~~~~~~~~ bdfpkgf.c:1182:61: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1182 | if (((res == GF_boc) || (res == GF_boc1)) && strlen(glyphname)) { | ^~~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ bdfpkgf.c:1183:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1183 | g.name = malloc(strlen(glyphname)+1); | ^~~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ bdfpkgf.c:1184:28: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 1184 | strcpy(g.name, glyphname); | ^~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from bdfpsf.c:30: In function 'sprintf', inlined from '_bdf_psf_unpack_mapping' at bdfpsf.c:458:9: /usr/include/bits/stdio2.h:30:10: warning: 'code' may be used uninitialized [-Wmaybe-uninitialized] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ bdfpsf.c: In function '_bdf_psf_unpack_mapping': bdfpsf.c:334:10: note: 'code' was declared here 334 | long code; | ^~~~ In function 'fprintf', inlined from '_bdf_psf_dump_map' at bdfpsf.c:289:13, inlined from 'bdf_export_psf' at bdfpsf.c:827:14: /usr/include/bits/stdio2.h:79:10: warning: 'code' may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ bdfpsf.c: In function 'bdf_export_psf': bdfpsf.c:219:10: note: 'code' was declared here 219 | long code; | ^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c color.c -o color.o In function '_bdf_pk_specials', inlined from '_bdf_load_pk_font' at bdfpkgf.c:526:19: bdfpkgf.c:297:27: warning: 'comment' may be used uninitialized [-Wmaybe-uninitialized] 297 | realloc((char *) comment, 64); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bdfpkgf.c: In function '_bdf_load_pk_font': bdfpkgf.c:219:20: note: 'comment' was declared here 219 | unsigned char *comment, bytes[4]; | ^~~~~~~ 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c comment.c -o comment.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c finfo.c -o finfo.o finfo.c: In function 'BuildFontInfo': finfo.c:172:29: warning: variable 'label' set but not used [-Wunused-but-set-variable] 172 | Widget pb, frame, form, label, rc; | ^~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c fntin.c -o fntin.o fntin.c: In function 'SelectAction': fntin.c:67:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 67 | select_action = (int) client_data; | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c glyphed.c -o glyphed.o glyphed.c: In function 'ImportExportXBM': glyphed.c:266:16: warning: variable 'ed' set but not used [-Wunused-but-set-variable] 266 | MXFEditor *ed; | ^~ glyphed.c: In function 'DoImportXBM': glyphed.c:341:16: warning: variable 'ed' set but not used [-Wunused-but-set-variable] 341 | MXFEditor *ed; | ^~ glyphed.c: In function 'DoExportXBM': glyphed.c:381:16: warning: variable 'ed' set but not used [-Wunused-but-set-variable] 381 | MXFEditor *ed; | ^~ glyphed.c: In function 'CreatePSFMapEdit': glyphed.c:1258:33: warning: variable 'label' set but not used [-Wunused-but-set-variable] 1258 | Widget frame, form, cancel, label; | ^~~~~ glyphed.c: In function 'EditPSFUnicodeMap': glyphed.c:1740:17: warning: variable 'font' set but not used [-Wunused-but-set-variable] 1740 | bdf_font_t *font; | ^~~~ glyphed.c: In function 'DoPointerUpdate': glyphed.c:1798:5: warning: missing sentinel in function call [-Wformat=] 1798 | XtVaSetValues(ge->pointer, XmNlabelString, s, 0); | ^~~~~~~~~~~~~ glyphed.c: In function 'MakeMenuBar': glyphed.c:2193:29: warning: variable 'sep' set but not used [-Wunused-but-set-variable] 2193 | Widget pdown, casc, pb, sep; | ^~~ glyphed.c:2193:19: warning: variable 'casc' set but not used [-Wunused-but-set-variable] 2193 | Widget pdown, casc, pb, sep; | ^~~~ glyphed.c: In function 'GlyphEditCreatePixmaps': glyphed.c:3057:41: warning: pointer targets in passing argument 3 of 'XCreatePixmapFromBitmapData' differ in signedness [-Wpointer-sign] 3057 | lbearing_bits, lbearing_width, | ^~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/X11/Intrinsic.h:53, from /usr/include/X11/IntrinsicP.h:51, from glyphed.c:33: /usr/include/X11/Xlib.h:1614:5: note: expected 'char *' but argument is of type 'unsigned char *' 1614 | char* /* data */, | ^~~~~ glyphed.c:3062:41: warning: pointer targets in passing argument 3 of 'XCreatePixmapFromBitmapData' differ in signedness [-Wpointer-sign] 3062 | rbearing_bits, rbearing_width, | ^~~~~~~~~~~~~ | | | unsigned char * /usr/include/X11/Xlib.h:1614:5: note: expected 'char *' but argument is of type 'unsigned char *' 1614 | char* /* data */, | ^~~~~ glyphed.c:3067:41: warning: pointer targets in passing argument 3 of 'XCreatePixmapFromBitmapData' differ in signedness [-Wpointer-sign] 3067 | ascent_bits, ascent_width, | ^~~~~~~~~~~ | | | unsigned char * /usr/include/X11/Xlib.h:1614:5: note: expected 'char *' but argument is of type 'unsigned char *' 1614 | char* /* data */, | ^~~~~ glyphed.c:3072:41: warning: pointer targets in passing argument 3 of 'XCreatePixmapFromBitmapData' differ in signedness [-Wpointer-sign] 3072 | descent_bits, descent_width, | ^~~~~~~~~~~~ | | | unsigned char * /usr/include/X11/Xlib.h:1614:5: note: expected 'char *' but argument is of type 'unsigned char *' 1614 | char* /* data */, | ^~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c grab.c -o grab.o grab.c: In function 'BuildFontGrabber': grab.c:347:29: warning: variable 'label' set but not used [-Wunused-but-set-variable] 347 | Widget form, frame, pb, label; | ^~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c help.c -o help.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c ops.c -o ops.o ops.c: In function 'BuildEmboldenDialog': ops.c:477:12: warning: variable 'label' set but not used [-Wunused-but-set-variable] 477 | Widget label, frame, form, rc, pb; | ^~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c otfin.c -o otfin.o otfin.c: In function 'SelectFont': otfin.c:180:16: warning: variable 'eid' set but not used [-Wunused-but-set-variable] 180 | short pid, eid, lastpid, i; | ^~~ otfin.c: In function 'BuildOTFDialog': otfin.c:258:45: warning: variable 'label' set but not used [-Wunused-but-set-variable] 258 | Widget pb, form, frame, framel, framer, label; | ^~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c prog.c -o prog.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c props.c -o props.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c setup.c -o setup.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c test.c -o test.o setup.c: In function 'SetProgBar': setup.c:373:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 373 | which = (int) client_data; | ^ setup.c: In function 'SetPixelSize': setup.c:397:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 397 | setup.pixsize = (int) client_data; | ^ setup.c: In function 'SetBitsPerPixel': setup.c:410:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 410 | if ((setup.bpp = (int) client_data) > 1) { | ^ setup.c:411:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 411 | xmbdfedAllocateColors(top, (int) client_data); | ^ setup.c: In function 'SetEOLType': setup.c:427:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 427 | setup.eol = (int) client_data; | ^ setup.c: In function 'SetGlyphFileName': setup.c:445:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 445 | adobe = (int) client_data; | ^ setup.c: In function 'ShowFileBrowser': setup.c:500:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 500 | adobe = (int) client_data; | ^ setup.c: In function 'DoOtherOptions': setup.c:736:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 736 | (XtPointer) i); | ^ setup.c:565:32: warning: variable 'label' set but not used [-Wunused-but-set-variable] 565 | Widget frame, opts, pdown, label, pb, form; | ^~~~~ setup.c: In function 'BuildSetupDialog': setup.c:904:23: warning: variable 'label' set but not used [-Wunused-but-set-variable] 904 | Widget frame, rc, label, pb, form, opts, pdown; | ^~~~~ test.c: In function 'BuildTestDialog': test.c:148:29: warning: variable 'label' set but not used [-Wunused-but-set-variable] 148 | Widget pb, form, frame, label, rc; | ^~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c xmbdfed.c -o xmbdfed.o xmbdfed.c: In function 'ReallySaveAs': xmbdfed.c:509:5: warning: missing sentinel in function call [-Wformat=] 509 | XtVaSetValues(ed->shell, XmNtitle, title, 0); | ^~~~~~~~~~~~~ xmbdfed.c: In function 'DoSave': xmbdfed.c:899:5: warning: missing sentinel in function call [-Wformat=] 899 | XtVaSetValues(ed->shell, XmNtitle, title, 0); | ^~~~~~~~~~~~~ xmbdfed.c: In function 'SetPSFOptions': xmbdfed.c:922:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 922 | int flags = (int) client_data; | ^ xmbdfed.c: In function 'ToggleEncodedView': xmbdfed.c:2902:5: warning: missing sentinel in function call [-Wformat=] 2902 | XtVaSetValues(ed->viewmenu.unencoded, XmNlabelString, s, 0); | ^~~~~~~~~~~~~ xmbdfed.c:2885:12: warning: variable 'pb' set but not used [-Wunused-but-set-variable] 2885 | Widget pb; | ^~ xmbdfed.c: In function 'MakeMenuBar': xmbdfed.c:3721:37: warning: variable 'sep' set but not used [-Wunused-but-set-variable] 3721 | Widget pdown, cpdown, casc, pb, sep; | ^~~ xmbdfed.c: In function '_XmBDFEditorSetup': xmbdfed.c:5306:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 5306 | (XtPointer) xmbdfed_opts.font_opts.correct_metrics; | ^ xmbdfed.c:5308:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 5308 | (XtPointer) xmbdfed_opts.font_opts.keep_unencoded; | ^ xmbdfed.c:5310:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 5310 | (XtPointer) xmbdfed_opts.font_opts.keep_comments; | ^ xmbdfed.c:5312:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 5312 | cmdres[3].default_addr = (XtPointer) xmbdfed_opts.font_opts.pad_cells; | ^ xmbdfed.c:5316:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 5316 | cmdres[7].default_addr = (XtPointer) xmbdfed_opts.font_opts.font_spacing; | ^ xmbdfed.c:5317:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 5317 | cmdres[8].default_addr = (XtPointer) xmbdfed_opts.font_opts.bits_per_pixel; | ^ xmbdfed.c:5318:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 5318 | cmdres[9].default_addr = (XtPointer) xmbdfed_opts.font_opts.eol; | ^ xmbdfed.c:5320:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 5320 | cmdres[11].default_addr = (XtPointer) xmbdfed_opts.no_blanks; | ^ xmbdfed.c:5321:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 5321 | cmdres[12].default_addr = (XtPointer) xmbdfed_opts.really_exit; | ^ xmbdfed.c:5322:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 5322 | cmdres[13].default_addr = (XtPointer) xmbdfed_opts.overwrite_mode; | ^ xmbdfed.c:5323:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 5323 | cmdres[14].default_addr = (XtPointer) xmbdfed_opts.initial_glyph; | ^ xmbdfed.c:5324:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 5324 | cmdres[15].default_addr = (XtPointer) xmbdfed_opts.progbar; | ^ xmbdfed.c:5325:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 5325 | cmdres[16].default_addr = (XtPointer) xmbdfed_opts.code_base; | ^ xmbdfed.c: In function 'DoSaveAs': xmbdfed.c:789:26: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 789 | sprintf(title, "%s/%s", dir, name); | ^ In file included from /usr/include/stdio.h:906, from xmbdfed.c:30: In function 'sprintf', inlined from 'DoSaveAs' at xmbdfed.c:789:5: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 2 or more bytes (assuming 8193) into a destination of size 8192 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:535, from xmbdfed.c:31: In function 'strcat', inlined from 'AddFilename' at xmbdfed.c:558:22: /usr/include/bits/string_fortified.h:130:10: warning: argument 1 null where non-null expected [-Wnonnull] 130 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:130:10: note: in a call to built-in function 'strcat' xmbdfed.c: In function 'DoSave': xmbdfed.c:840:26: warning: '.BAK' directive writing 4 bytes into a region of size between 1 and 8192 [-Wformat-overflow=] 840 | sprintf(name, "%s.BAK", path); | ^~~~ In function 'sprintf', inlined from 'DoSave' at xmbdfed.c:840:9: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 5 and 8196 bytes into a destination of size 8192 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ xmbdfed.c: In function 'DoSave': xmbdfed.c:843:65: warning: '%s' directive writing up to 8191 bytes into a region of size 8150 [-Wformat-overflow=] 843 | "A problem occured making the backup file:\n%s.BAK", | ^~ 844 | path); | ~~~~ In function 'sprintf', inlined from 'DoSave' at xmbdfed.c:842:13: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 47 and 8238 bytes into a destination of size 8192 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -o xmbdfed FGrid.o GEdit.o GEditTB.o GTest.o ProgBar.o bdf.o bdfcons.o bdffnt.o bdfgname.o bdfgrab.o bdfgrid.o bdfotf.o bdfpkgf.o bdfpsf.o color.o comment.o finfo.o fntin.o glyphed.o grab.o help.o ops.o otfin.o prog.o props.o setup.o test.o xmbdfed.o -lXm -lXpm -lXmu -lXt -lXext -lX11 -lSM -lICE -lfreetype + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.I8UXt4 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xmbdfed-4.7-34.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xmbdfed-4.7-34.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/xmbdfed-4.7-34.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xmbdfed-4.7-34.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 + rm -rf /builddir/build/BUILDROOT/xmbdfed-4.7-34.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT/xmbdfed-4.7-34.fc38.riscv64/usr/bin + install -p -m0755 xmbdfed /builddir/build/BUILDROOT/xmbdfed-4.7-34.fc38.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/xmbdfed-4.7-34.fc38.riscv64/usr/share/man/man1 + install -p -m0644 xmbdfed.man /builddir/build/BUILDROOT/xmbdfed-4.7-34.fc38.riscv64/usr/share/man/man1 + mkdir -p /builddir/build/BUILDROOT/xmbdfed-4.7-34.fc38.riscv64/usr/share/applications + mkdir -p /builddir/build/BUILDROOT/xmbdfed-4.7-34.fc38.riscv64/usr/share/pixmaps + install -p -m0644 /builddir/build/SOURCES/xmbdfed.png /builddir/build/BUILDROOT/xmbdfed-4.7-34.fc38.riscv64/usr/share/pixmaps + desktop-file-install --dir /builddir/build/BUILDROOT/xmbdfed-4.7-34.fc38.riscv64/usr/share/applications /builddir/build/SOURCES/xmbdfed.desktop /builddir/build/BUILDROOT/xmbdfed-4.7-34.fc38.riscv64/usr/share/applications/xmbdfed.desktop: warning: value "Bitmap Font Editor" for key "Comment" in group "Desktop Entry" looks the same as that of key "GenericName" + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 4.7-34.fc38 --unique-debug-suffix -4.7-34.fc38.riscv64 --unique-debug-src-base xmbdfed-4.7-34.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/xmbdfed-4.7 extracting debug info from /builddir/build/BUILDROOT/xmbdfed-4.7-34.fc38.riscv64/usr/bin/xmbdfed original debug info size: 5048kB, size after compression: 4788kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 2970 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: xmbdfed-4.7-34.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.qGnwrW + umask 022 + cd /builddir/build/BUILD + cd xmbdfed-4.7 + DOCDIR=/builddir/build/BUILDROOT/xmbdfed-4.7-34.fc38.riscv64/usr/share/doc/xmbdfed + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xmbdfed-4.7-34.fc38.riscv64/usr/share/doc/xmbdfed + cp -pr README /builddir/build/BUILDROOT/xmbdfed-4.7-34.fc38.riscv64/usr/share/doc/xmbdfed + cp -pr COPYRIGHTS /builddir/build/BUILDROOT/xmbdfed-4.7-34.fc38.riscv64/usr/share/doc/xmbdfed + cp -pr xmbdfedrc /builddir/build/BUILDROOT/xmbdfed-4.7-34.fc38.riscv64/usr/share/doc/xmbdfed + cp -pr CHANGES /builddir/build/BUILDROOT/xmbdfed-4.7-34.fc38.riscv64/usr/share/doc/xmbdfed + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(xmbdfed.desktop) xmbdfed = 4.7-34.fc38 xmbdfed(riscv-64) = 4.7-34.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libICE.so.6()(64bit) libSM.so.6()(64bit) libX11.so.6()(64bit) libXext.so.6()(64bit) libXm.so.4()(64bit) libXmu.so.6()(64bit) libXpm.so.4()(64bit) libXt.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libfreetype.so.6()(64bit) rtld(GNU_HASH) Processing files: xmbdfed-debugsource-4.7-34.fc38.riscv64 Provides: xmbdfed-debugsource = 4.7-34.fc38 xmbdfed-debugsource(riscv-64) = 4.7-34.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xmbdfed-debuginfo-4.7-34.fc38.riscv64 Provides: debuginfo(build-id) = 72af14298c458e2d56a8a827d598589cf793019e xmbdfed-debuginfo = 4.7-34.fc38 xmbdfed-debuginfo(riscv-64) = 4.7-34.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xmbdfed-debugsource(riscv-64) = 4.7-34.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xmbdfed-4.7-34.fc38.riscv64 Wrote: /builddir/build/RPMS/xmbdfed-4.7-34.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/xmbdfed-debuginfo-4.7-34.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/xmbdfed-debugsource-4.7-34.fc38.riscv64.rpm RPM build warnings: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) Child return code was: 0