+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/xmbdfed.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ywISOe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xmbdfed-4.7 + /usr/bin/tar -xof - + /usr/bin/bzip2 -dc /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 -p0 -b --suffix .patch1 --fuzz=0 patching file FGrid.c + echo 'Patch #1 (xmbdfed-4.7-linux.patch):' Patch #1 (xmbdfed-4.7-linux.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .linux --fuzz=0 patching file Makefile + echo 'Patch #2 (xmbdfed-4.7-staticfix.patch):' Patch #2 (xmbdfed-4.7-staticfix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .staticfix --fuzz=0 patching file setup.c + echo 'Patch #3 (xmbdfed-4.7-getline.patch):' Patch #3 (xmbdfed-4.7-getline.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .getline --fuzz=0 patching file bdfgname.c + echo 'Patch #4 (xmbdfed-4.7-format-security.patch):' Patch #4 (xmbdfed-4.7-format-security.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .format-security --fuzz=0 patching file bdf.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pcKARC + umask 022 + cd /builddir/build/BUILD + cd xmbdfed-4.7 + make -j4 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c FGrid.c -o FGrid.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c GEdit.c -o GEdit.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c GEditTB.c -o GEditTB.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] XCreateBitmapFromData(XtDisplay(w), XtWindow(w), draw_bits, ^~~~~~~~~ In file included from /usr/include/X11/Intrinsic.h:53:0, 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:1604:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern Pixmap XCreateBitmapFromData( ^~~~~~~~~~~~~~~~~~~~~ GEditTB.c:350:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] XCreateBitmapFromData(XtDisplay(w), XtWindow(w), move_bits, ^~~~~~~~~ In file included from /usr/include/X11/Intrinsic.h:53:0, 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:1604:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern Pixmap XCreateBitmapFromData( ^~~~~~~~~~~~~~~~~~~~~ GEditTB.c:353:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] XCreateBitmapFromData(XtDisplay(w), XtWindow(w), copy_bits, ^~~~~~~~~ GEdit.c: In function '_XmuttGlyphEditSetCursor': GEdit.c:776:63: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] bm = XCreateBitmapFromData(XtDisplay(w), XtWindow(w), cursor_bits, ^~~~~~~~~~~ In file included from /usr/include/X11/Intrinsic.h:53:0, 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:1604:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern Pixmap XCreateBitmapFromData( ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/X11/Intrinsic.h:53:0, 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:1604:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern Pixmap XCreateBitmapFromData( ^~~~~~~~~~~~~~~~~~~~~ GEditTB.c:356:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] XCreateBitmapFromData(XtDisplay(w), XtWindow(w), fliph_bits, ^~~~~~~~~~ In file included from /usr/include/X11/Intrinsic.h:53:0, 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:1604:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern Pixmap XCreateBitmapFromData( ^~~~~~~~~~~~~~~~~~~~~ GEditTB.c:359:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] XCreateBitmapFromData(XtDisplay(w), XtWindow(w), flipv_bits, ^~~~~~~~~~ In file included from /usr/include/X11/Intrinsic.h:53:0, 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:1604:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern Pixmap XCreateBitmapFromData( ^~~~~~~~~~~~~~~~~~~~~ GEditTB.c:362:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] XCreateBitmapFromData(XtDisplay(w), XtWindow(w), shear_bits, ^~~~~~~~~~ In file included from /usr/include/X11/Intrinsic.h:53:0, 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:1604:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern Pixmap XCreateBitmapFromData( ^~~~~~~~~~~~~~~~~~~~~ GEditTB.c:365:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] XCreateBitmapFromData(XtDisplay(w), XtWindow(w), rleft_bits, ^~~~~~~~~~ In file included from /usr/include/X11/Intrinsic.h:53:0, 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:1604:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern Pixmap XCreateBitmapFromData( ^~~~~~~~~~~~~~~~~~~~~ GEditTB.c:368:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] XCreateBitmapFromData(XtDisplay(w), XtWindow(w), rright_bits, ^~~~~~~~~~~ In file included from /usr/include/X11/Intrinsic.h:53:0, 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:1604:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern Pixmap XCreateBitmapFromData( ^~~~~~~~~~~~~~~~~~~~~ GEditTB.c:371:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] XCreateBitmapFromData(XtDisplay(w), XtWindow(w), rotate_bits, ^~~~~~~~~~~ In file included from /usr/include/X11/Intrinsic.h:53:0, 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:1604:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern Pixmap XCreateBitmapFromData( ^~~~~~~~~~~~~~~~~~~~~ GEditTB.c:374:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] XCreateBitmapFromData(XtDisplay(w), XtWindow(w), uleft_bits, ^~~~~~~~~~ In file included from /usr/include/X11/Intrinsic.h:53:0, 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:1604:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern Pixmap XCreateBitmapFromData( ^~~~~~~~~~~~~~~~~~~~~ GEditTB.c:377:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] XCreateBitmapFromData(XtDisplay(w), XtWindow(w), up_bits, ^~~~~~~ In file included from /usr/include/X11/Intrinsic.h:53:0, 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:1604:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern Pixmap XCreateBitmapFromData( ^~~~~~~~~~~~~~~~~~~~~ GEditTB.c:380:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] XCreateBitmapFromData(XtDisplay(w), XtWindow(w), uright_bits, ^~~~~~~~~~~ In file included from /usr/include/X11/Intrinsic.h:53:0, 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:1604:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern Pixmap XCreateBitmapFromData( ^~~~~~~~~~~~~~~~~~~~~ GEditTB.c:383:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] XCreateBitmapFromData(XtDisplay(w), XtWindow(w), left_bits, ^~~~~~~~~ In file included from /usr/include/X11/Intrinsic.h:53:0, 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:1604:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern Pixmap XCreateBitmapFromData( ^~~~~~~~~~~~~~~~~~~~~ GEditTB.c:386:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] XCreateBitmapFromData(XtDisplay(w), XtWindow(w), right_bits, ^~~~~~~~~~ In file included from /usr/include/X11/Intrinsic.h:53:0, 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:1604:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern Pixmap XCreateBitmapFromData( ^~~~~~~~~~~~~~~~~~~~~ GEditTB.c:389:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] XCreateBitmapFromData(XtDisplay(w), XtWindow(w), dleft_bits, ^~~~~~~~~~ In file included from /usr/include/X11/Intrinsic.h:53:0, 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:1604:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern Pixmap XCreateBitmapFromData( ^~~~~~~~~~~~~~~~~~~~~ GEditTB.c:392:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] XCreateBitmapFromData(XtDisplay(w), XtWindow(w), down_bits, ^~~~~~~~~ In file included from /usr/include/X11/Intrinsic.h:53:0, 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:1604:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern Pixmap XCreateBitmapFromData( ^~~~~~~~~~~~~~~~~~~~~ GEditTB.c:395:58: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness [-Wpointer-sign] XCreateBitmapFromData(XtDisplay(w), XtWindow(w), dright_bits, ^~~~~~~~~~~ In file included from /usr/include/X11/Intrinsic.h:53:0, 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:1604:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern Pixmap XCreateBitmapFromData( ^~~~~~~~~~~~~~~~~~~~~ GEdit.c: In function 'XmuttGlyphEditImage': GEdit.c:1440:23: warning: variable 'grid' set but not used [-Wunused-but-set-variable] 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] Boolean call_modify; ^~~~~~~~~~~ GEditTB.c: In function '_XmuttGEditTBoxPosition': GEditTB.c:928:38: warning: variable 'gwc' set but not used [-Wunused-but-set-variable] XmuttGlyphEditToolboxWidgetClass gwc; ^~~ GEdit.c: In function 'XmuttGlyphEditImportXBM': GEdit.c:2008:42: warning: pointer targets in passing argument 5 of 'XmuReadBitmapDataFromFile' differ in signedness [-Wpointer-sign] &xh, &yh)) != BitmapSuccess) ^ In file included from GEdit.c:32:0: /usr/include/X11/Xmu/Drawing.h:146:5: note: expected 'int *' but argument is of type 'unsigned int *' int XmuReadBitmapDataFromFile ^~~~~~~~~~~~~~~~~~~~~~~~~ GEdit.c:2008:47: warning: pointer targets in passing argument 6 of 'XmuReadBitmapDataFromFile' differ in signedness [-Wpointer-sign] &xh, &yh)) != BitmapSuccess) ^ In file included from GEdit.c:32:0: /usr/include/X11/Xmu/Drawing.h:146:5: note: expected 'int *' but argument is of type 'unsigned int *' int XmuReadBitmapDataFromFile ^~~~~~~~~~~~~~~~~~~~~~~~~ FGrid.c: In function 'XmuttFontGridNextPage': FGrid.c:3019:17: warning: variable 'font' set but not used [-Wunused-but-set-variable] bdf_font_t *font; ^~~~ FGrid.c: In function 'XmuttFontGridPreviousPage': FGrid.c:3092:17: warning: variable 'font' set but not used [-Wunused-but-set-variable] bdf_font_t *font; ^~~~ FGrid.c: In function 'MoveCursor': FGrid.c:5156:31: warning: variable 'opi' set but not used [-Wunused-but-set-variable] _XmuttFGridPageInfo *pi, *opi; ^~~ FGrid.c: In function 'ExtendCursor': FGrid.c:5319:31: warning: variable 'opi' set but not used [-Wunused-but-set-variable] _XmuttFGridPageInfo *pi, *opi; ^~~ FGrid.c: In function 'PageExtendCursor': FGrid.c:5472:31: warning: variable 'opi' set but not used [-Wunused-but-set-variable] _XmuttFGridPageInfo *pi, *opi; ^~~ 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=] sprintf(cbuf, "Color %d", b - _GETB_GLYPH_IMAGE); ^ In file included from /usr/include/stdio.h:861:0, from GEditTBP.h:29, from GEditTB.c:31: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 8 and 17 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c ProgBar.c -o ProgBar.o ProgBar.c: In function '_XmuttProgressBarPreferredGeometry': ProgBar.c:204:23: warning: variable 'pmargin' set but not used [-Wunused-but-set-variable] Dimension wd, ht, pmargin, lheight, lwidth; ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 in this function [-Wmaybe-uninitialized] masks[(sx & 7) / grid->bpp]) ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c bdfcons.c -o bdfcons.o bdf.c: In function '_bdf_parse_glyphs': bdf.c:1378:23: warning: variable 'next' set but not used [-Wunused-but-set-variable] _bdf_line_func_t *next; ^~~~ 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=] fprintf(out, "COMMENT %.*s%s", ep - sp, sp, eol); ~~^~ ~~~~~~~ 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] fread((char *) hdr, sizeof(unsigned char), 4, in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bdfcons.c:567:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (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] 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] 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] fread((char *) gp->bitmap, height, 1, in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] 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] fread((char *) &version, sizeof(unsigned short), 1, in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] 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] 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] 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] fread((char *) gp->bitmap, gp->bytes, 1, font->in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c bdfgrab.c -o bdfgrab.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=] sprintf(name, "char%ld", gp->encoding); ^~~ bdfgrab.c:174:31: note: directive argument in the range [0, 1099511627775] sprintf(name, "char%ld", gp->encoding); ^~~~~~~~~ In file included from /usr/include/stdio.h:861:0, from bdfgrab.c:40: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 18 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __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] short cx, cy, wd, ht, gx, gy, x, y; ^~ bdfgrid.c:1944:11: warning: variable 'cx' set but not used [-Wunused-but-set-variable] short cx, cy, wd, ht, gx, gy, x, y; ^~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c bdfotf.c -o bdfotf.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c bdfpkgf.c -o bdfpkgf.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] if (!strncmp(comment, "title ", 6)) ^~~~~~~ In file included from bdfpkgf.c:50:0: /usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ bdfotf.c: In function 'bdfotf_get_english_string': bdfpkgf.c:272:37: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(glyphname, comment + 6); ^~~~~~~ bdfotf.c:199:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = sfntName.string; ^ In file included from /usr/include/features.h:428:0, 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:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __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] printscaled(num, comment + strlen(comment)); ^~~~~~~ In file included from bdfpkgf.c:50:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ bdfotf.c:235:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = sfntName.string; ^ 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] while ((res = _bdf_pk_specials(in, f, opts, glyphname)) != PK_post && ^~~~~~~~~ bdfpkgf.c:206:1: note: expected 'char *' but argument is of type 'unsigned char *' _bdf_pk_specials(FILE *in, bdf_font_t *font, bdf_options_t *opts, ^~~~~~~~~~~~~~~~ bdfpkgf.c:529:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(glyphname)) { ^~~~~~~~~ In file included from bdfpkgf.c:50:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' 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] g.name = malloc(strlen(glyphname)+1); ^~~~~~~~~ In file included from bdfpkgf.c:50:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ bdfpkgf.c:531:21: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(g.name, glyphname); ^~~~~~~~~ In file included from /usr/include/features.h:428:0, 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:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ bdfpkgf.c:414:21: warning: variable 'pend' set but not used [-Wunused-but-set-variable] 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] if (!strncmp(comment, "title ", 6)) ^~~~~~~ In file included from bdfpkgf.c:50:0: /usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ bdfpkgf.c:1037:37: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(glyphname, comment + 6); ^~~~~~~ In file included from /usr/include/features.h:428:0, 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:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __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] printscaled(num, comment + strlen(comment)); ^~~~~~~ In file included from bdfpkgf.c:50:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' 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] while ((res = _bdf_gf_specials(in, f, opts, glyphname)) != GF_post) { ^~~~~~~~~ bdfpkgf.c:977:1: note: expected 'char *' but argument is of type 'unsigned char *' _bdf_gf_specials(FILE *in, bdf_font_t *font, bdf_options_t *opts, ^~~~~~~~~~~~~~~~ bdfpkgf.c:1182:61: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (((res == GF_boc) || (res == GF_boc1)) && strlen(glyphname)) { ^~~~~~~~~ In file included from bdfpkgf.c:50:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' 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] g.name = malloc(strlen(glyphname)+1); ^~~~~~~~~ In file included from bdfpkgf.c:50:0: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ bdfpkgf.c:1184:21: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(g.name, glyphname); ^~~~~~~~~ In file included from /usr/include/features.h:428:0, 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:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __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] 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] fread((char *) bytes, 1, 1, in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bdfpkgf.c:467:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(bytes, n, 1, in); ^~~~~~~~~~~~~~~~~~~~~~ bdfpkgf.c:485:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(bytes, 4, 1, in); ^~~~~~~~~~~~~~~~~~~~~~ bdfpkgf.c:589:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(bytes, 2, 1, in); ^~~~~~~~~~~~~~~~~~~~~~ bdfpkgf.c:630:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(bytes, 10, 1, in); ^~~~~~~~~~~~~~~~~~~~~~~ bdfpkgf.c:718:15: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 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] fread((char *) bytes, n, 1, in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bdfpkgf.c:264:17: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 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] fread((char *) bytes, 1, 1, in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bdfpkgf.c:1153:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 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] fread((char *) bytes, n, 1, in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bdfpkgf.c:1029:17: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread((char *) comment, num, 1, in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bdfpkgf.c: In function '_bdf_load_pk_font': bdfpkgf.c:296:31: warning: 'comment' may be used uninitialized in this function [-Wmaybe-uninitialized] comment = (unsigned char *) ~~~~~~~~^~~~~~~~~~~~~~~~~~~ realloc((char *) comment, 64); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bdfpkgf.c:219:20: note: 'comment' was declared here unsigned char *comment, bytes[4]; ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c bdfpsf.c -o bdfpsf.o 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] 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] fread((char *) gp->bitmap, hdr.bpc, 1, in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] 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] (XtPointer) i); ^ color.c:435:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtPointer) i); ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c comment.c -o comment.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c finfo.c -o finfo.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c fntin.c -o fntin.o finfo.c: In function 'BuildFontInfo': finfo.c:172:29: warning: variable 'label' set but not used [-Wunused-but-set-variable] Widget pb, frame, form, label, rc; ^~~~~ fntin.c: In function 'SelectAction': fntin.c:67:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] select_action = (int) client_data; ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c glyphed.c -o glyphed.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c grab.c -o grab.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c help.c -o help.o glyphed.c: In function 'ImportExportXBM': glyphed.c:266:16: warning: variable 'ed' set but not used [-Wunused-but-set-variable] MXFEditor *ed; ^~ glyphed.c: In function 'DoImportXBM': glyphed.c:341:16: warning: variable 'ed' set but not used [-Wunused-but-set-variable] MXFEditor *ed; ^~ glyphed.c: In function 'DoExportXBM': glyphed.c:381:16: warning: variable 'ed' set but not used [-Wunused-but-set-variable] MXFEditor *ed; ^~ grab.c: In function 'BuildFontGrabber': grab.c:347:29: warning: variable 'label' set but not used [-Wunused-but-set-variable] Widget form, frame, pb, label; ^~~~~ glyphed.c: In function 'CreatePSFMapEdit': glyphed.c:1258:33: warning: variable 'label' set but not used [-Wunused-but-set-variable] 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] bdf_font_t *font; ^~~~ glyphed.c: In function 'DoPointerUpdate': glyphed.c:1798:5: warning: missing sentinel in function call [-Wformat=] 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] Widget pdown, casc, pb, sep; ^~~ glyphed.c:2193:19: warning: variable 'casc' set but not used [-Wunused-but-set-variable] 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] lbearing_bits, lbearing_width, ^~~~~~~~~~~~~ In file included from /usr/include/X11/Intrinsic.h:53:0, from /usr/include/X11/IntrinsicP.h:51, from glyphed.c:33: /usr/include/X11/Xlib.h:1611:15: note: expected 'char *' but argument is of type 'unsigned char *' extern Pixmap XCreatePixmapFromBitmapData( ^~~~~~~~~~~~~~~~~~~~~~~~~~~ glyphed.c:3062:41: warning: pointer targets in passing argument 3 of 'XCreatePixmapFromBitmapData' differ in signedness [-Wpointer-sign] rbearing_bits, rbearing_width, ^~~~~~~~~~~~~ In file included from /usr/include/X11/Intrinsic.h:53:0, from /usr/include/X11/IntrinsicP.h:51, from glyphed.c:33: /usr/include/X11/Xlib.h:1611:15: note: expected 'char *' but argument is of type 'unsigned char *' extern Pixmap XCreatePixmapFromBitmapData( ^~~~~~~~~~~~~~~~~~~~~~~~~~~ glyphed.c:3067:41: warning: pointer targets in passing argument 3 of 'XCreatePixmapFromBitmapData' differ in signedness [-Wpointer-sign] ascent_bits, ascent_width, ^~~~~~~~~~~ In file included from /usr/include/X11/Intrinsic.h:53:0, from /usr/include/X11/IntrinsicP.h:51, from glyphed.c:33: /usr/include/X11/Xlib.h:1611:15: note: expected 'char *' but argument is of type 'unsigned char *' extern Pixmap XCreatePixmapFromBitmapData( ^~~~~~~~~~~~~~~~~~~~~~~~~~~ glyphed.c:3072:41: warning: pointer targets in passing argument 3 of 'XCreatePixmapFromBitmapData' differ in signedness [-Wpointer-sign] descent_bits, descent_width, ^~~~~~~~~~~~ In file included from /usr/include/X11/Intrinsic.h:53:0, from /usr/include/X11/IntrinsicP.h:51, from glyphed.c:33: /usr/include/X11/Xlib.h:1611:15: note: expected 'char *' but argument is of type 'unsigned char *' extern Pixmap XCreatePixmapFromBitmapData( ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c ops.c -o ops.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c otfin.c -o otfin.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c prog.c -o prog.o ops.c: In function 'BuildEmboldenDialog': ops.c:477:12: warning: variable 'label' set but not used [-Wunused-but-set-variable] Widget label, frame, form, rc, pb; ^~~~~ otfin.c: In function 'SelectFont': otfin.c:180:16: warning: variable 'eid' set but not used [-Wunused-but-set-variable] 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] Widget pb, form, frame, framel, framer, label; ^~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c props.c -o props.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c setup.c -o setup.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c test.c -o test.o setup.c: In function 'SetProgBar': setup.c:374:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] which = (int) client_data; ^ setup.c: In function 'SetPixelSize': setup.c:398:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] setup.pixsize = (int) client_data; ^ setup.c: In function 'SetBitsPerPixel': setup.c:411:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((setup.bpp = (int) client_data) > 1) { ^ setup.c:412:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] xmbdfedAllocateColors(top, (int) client_data); ^ setup.c: In function 'SetEOLType': setup.c:428:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] setup.eol = (int) client_data; ^ setup.c: In function 'SetGlyphFileName': setup.c:446:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] adobe = (int) client_data; ^ setup.c: In function 'ShowFileBrowser': setup.c:501:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] adobe = (int) client_data; ^ setup.c: In function 'DoOtherOptions': setup.c:737:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtPointer) i); ^ setup.c:566:32: warning: variable 'label' set but not used [-Wunused-but-set-variable] Widget frame, opts, pdown, label, pb, form; ^~~~~ setup.c: In function 'BuildSetupDialog': setup.c:905:23: warning: variable 'label' set but not used [-Wunused-but-set-variable] 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] Widget pb, form, frame, label, rc; ^~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=] XtVaSetValues(ed->shell, XmNtitle, title, 0); ^~~~~~~~~~~~~ xmbdfed.c: In function 'DoSave': xmbdfed.c:899:5: warning: missing sentinel in function call [-Wformat=] 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] int flags = (int) client_data; ^ xmbdfed.c: In function 'ToggleEncodedView': xmbdfed.c:2902:5: warning: missing sentinel in function call [-Wformat=] XtVaSetValues(ed->viewmenu.unencoded, XmNlabelString, s, 0); ^~~~~~~~~~~~~ xmbdfed.c:2885:12: warning: variable 'pb' set but not used [-Wunused-but-set-variable] Widget pb; ^~ xmbdfed.c: In function 'MakeMenuBar': xmbdfed.c:3721:37: warning: variable 'sep' set but not used [-Wunused-but-set-variable] 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] (XtPointer) xmbdfed_opts.font_opts.correct_metrics; ^ xmbdfed.c:5308:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtPointer) xmbdfed_opts.font_opts.keep_unencoded; ^ xmbdfed.c:5310:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (XtPointer) xmbdfed_opts.font_opts.keep_comments; ^ xmbdfed.c:5312:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 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] 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] 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] 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] 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] 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] 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] 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] 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] cmdres[16].default_addr = (XtPointer) xmbdfed_opts.code_base; ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YkdVui + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xmbdfed-4.7-22.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xmbdfed-4.7-22.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/xmbdfed-4.7-22.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xmbdfed-4.7-22.fc28.riscv64 + cd xmbdfed-4.7 + rm -rf /builddir/build/BUILDROOT/xmbdfed-4.7-22.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT/xmbdfed-4.7-22.fc28.riscv64/usr/bin + install -p -m0755 xmbdfed /builddir/build/BUILDROOT/xmbdfed-4.7-22.fc28.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/xmbdfed-4.7-22.fc28.riscv64/usr/share/man/man1 + install -p -m0644 xmbdfed.man /builddir/build/BUILDROOT/xmbdfed-4.7-22.fc28.riscv64/usr/share/man/man1 + mkdir -p /builddir/build/BUILDROOT/xmbdfed-4.7-22.fc28.riscv64/usr/share/applications + mkdir -p /builddir/build/BUILDROOT/xmbdfed-4.7-22.fc28.riscv64/usr/share/pixmaps + install -p -m0644 /builddir/build/SOURCES/xmbdfed.png /builddir/build/BUILDROOT/xmbdfed-4.7-22.fc28.riscv64/usr/share/pixmaps + desktop-file-install --dir /builddir/build/BUILDROOT/xmbdfed-4.7-22.fc28.riscv64/usr/share/applications /builddir/build/SOURCES/xmbdfed.desktop /builddir/build/BUILDROOT/xmbdfed-4.7-22.fc28.riscv64/usr/share/applications/xmbdfed.desktop: warning: value "Bitmap Font Editor" for key "Comment" in group "Desktop Entry" looks redundant with value "Bitmap Font Editor" of key "GenericName" + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: xmbdfed-4.7-22.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.S6y3YB + umask 022 + cd /builddir/build/BUILD + cd xmbdfed-4.7 + DOCDIR=/builddir/build/BUILDROOT/xmbdfed-4.7-22.fc28.riscv64/usr/share/doc/xmbdfed + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xmbdfed-4.7-22.fc28.riscv64/usr/share/doc/xmbdfed + cp -pr README /builddir/build/BUILDROOT/xmbdfed-4.7-22.fc28.riscv64/usr/share/doc/xmbdfed + cp -pr COPYRIGHTS /builddir/build/BUILDROOT/xmbdfed-4.7-22.fc28.riscv64/usr/share/doc/xmbdfed + cp -pr xmbdfedrc /builddir/build/BUILDROOT/xmbdfed-4.7-22.fc28.riscv64/usr/share/doc/xmbdfed + cp -pr CHANGES /builddir/build/BUILDROOT/xmbdfed-4.7-22.fc28.riscv64/usr/share/doc/xmbdfed + exit 0 Provides: application() application(xmbdfed.desktop) xmbdfed = 4.7-22.fc28 xmbdfed(riscv-64) = 4.7-22.fc28 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) libfreetype.so.6()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xmbdfed-4.7-22.fc28.riscv64 Wrote: /builddir/build/SRPMS/xmbdfed-4.7-22.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/xmbdfed-4.7-22.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.g7fqC3 + umask 022 + cd /builddir/build/BUILD + cd xmbdfed-4.7 + rm -rf /builddir/build/BUILDROOT/xmbdfed-4.7-22.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff