Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/xmbdfed.spec'], chrootPath='/var/lib/mock/f42-build-57322502-6551359/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.p668geeo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.p668geeo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e712b36330a84839b0392fa9b06c6284', '-D', '/var/lib/mock/f42-build-57322502-6551359/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.p668geeo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721433600 Wrote: /builddir/build/SRPMS/xmbdfed-4.7-37.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/xmbdfed.spec'], chrootPath='/var/lib/mock/f42-build-57322502-6551359/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.p668geeo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.p668geeo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f3b3e31464e64498b62b6ffe593b55c0', '-D', '/var/lib/mock/f42-build-57322502-6551359/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.p668geeo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721433600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.jFl1Pi + umask 022 + cd /builddir/build/BUILD/xmbdfed-4.7-build + test -d /builddir/build/BUILD/xmbdfed-4.7-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/xmbdfed-4.7-build + /usr/bin/rm -rf /builddir/build/BUILD/xmbdfed-4.7-build + /usr/bin/mkdir -p /builddir/build/BUILD/xmbdfed-4.7-build + /usr/bin/mkdir -p /builddir/build/BUILD/xmbdfed-4.7-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fuocwX + umask 022 + cd /builddir/build/BUILD/xmbdfed-4.7-build + cd /builddir/build/BUILD/xmbdfed-4.7-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 . Patch #0 (xmbdfed-4.7-patch1): + echo '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.bYASAe + umask 022 + cd /builddir/build/BUILD/xmbdfed-4.7-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 -j6 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c GTest.c -o GTest.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c ProgBar.c -o ProgBar.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c bdf.c -o bdf.o FGrid.c: In function ‘XmuttFontGridNextPage’: FGrid.c:3019:17: warning: variable ‘font’ set but not used [-Wunused-but-set-variable] 3019 | bdf_font_t *font; | ^~~~ FGrid.c: In function ‘XmuttFontGridPreviousPage’: ProgBar.c: In function ‘_XmuttProgressBarPreferredGeometry’: FGrid.c:3092:17: warning: variable ‘font’ set but not used [-Wunused-but-set-variable] 3092 | bdf_font_t *font; | ^~~~ 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 ‘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; | ^~~ 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; | ^~~~ 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:1603:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 1603 | _Xconst char* /* data */, | ^ 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 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’: 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, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ 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 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ 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:1603:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 1603 | _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:1603:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 1603 | _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:1603:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 1603 | _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:1603:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 1603 | _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:1603:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 1603 | _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 * /usr/include/X11/Xlib.h:1603:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 1603 | _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:1603:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 1603 | _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:1603:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 1603 | _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:1603:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 1603 | _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:1603:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 1603 | _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:1603:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 1603 | _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:1603:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 1603 | _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:1603:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 1603 | _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:1603:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 1603 | _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:1603:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 1603 | _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:1603:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 1603 | _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:1603:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 1603 | _Xconst char* /* data */, | ^ GEditTB.c: In function ‘_XmuttGEditTBoxPosition’: GEditTB.c:928:38: warning: variable ‘gwc’ set but not used [-Wunused-but-set-variable] 928 | XmuttGlyphEditToolboxWidgetClass gwc; | ^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c bdfcons.c -o bdfcons.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:970, 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 ()); | ~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FGrid.c: In function ‘_XmuttFGridDrawCells.part.0’: FGrid.c:1205:43: warning: ‘%ld’ directive writing between 1 and 20 bytes into a region of size 10 [-Wformat-overflow=] 1205 | case 10: sprintf(nbuf, "%ld", i); break; | ^~~ FGrid.c:1205:42: note: directive argument in the range [-9223372036854775808, 9223372036854775806] 1205 | case 10: sprintf(nbuf, "%ld", i); break; | ^~~~~ In file included from /usr/include/stdio.h:970, from FGridP.h:29, from FGrid.c:31: In function ‘sprintf’, inlined from ‘_XmuttFGridDrawCells.part.0’ at FGrid.c:1205:28: /usr/include/bits/stdio2.h:30:10: note: ‘__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 ()); | ~~~~~~~~~~~~~~~~~ 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; | ^~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c bdfgname.c -o bdfgname.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DHAVE_XLIB -DHAVE_FREETYPE -I/usr/include/freetype2 -c bdfgrab.c -o bdfgrab.o bdfgrab.c: In function ‘bdf_load_server_font’: bdfgrab.c:309:23: error: assignment to ‘int (*)(void)’ from incompatible pointer type ‘XErrorHandler’ {aka ‘int (*)(Display *, XErrorEvent *)’} [-Wincompatible-pointer-types] 309 | old_error_handler = XSetErrorHandler(error_handler); | ^ In file included from bdfgrab.c:44: /usr/include/X11/Xlib.h:1843:15: note: ‘XErrorHandler’ declared here 1843 | typedef int (*XErrorHandler) ( /* WARNING, this type not in Xlib spec */ | ^~~~~~~~~~~~~ bdfgrab.c:350:22: error: passing argument 1 of ‘XSetErrorHandler’ from incompatible pointer type [-Wincompatible-pointer-types] 350 | XSetErrorHandler(old_error_handler); | ^~~~~~~~~~~~~~~~~ | | | int (*)(void) /usr/include/X11/Xlib.h:1849:5: note: expected ‘XErrorHandler’ {aka ‘int (*)(Display *, XErrorEvent *)’} but argument is of type ‘int (*)(void)’ 1849 | XErrorHandler /* handler */ | ^~~~~~~~~~~~~ /usr/include/X11/Xlib.h:1843:15: note: ‘XErrorHandler’ declared here 1843 | typedef int (*XErrorHandler) ( /* WARNING, this type not in Xlib spec */ | ^~~~~~~~~~~~~ make: *** [Makefile:141: bdfgrab.o] Error 1 make: *** Waiting for unfinished jobs.... RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.bYASAe (%build) Bad exit status from /var/tmp/rpm-tmp.bYASAe (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M f3b3e31464e64498b62b6ffe593b55c0 -D /var/lib/mock/f42-build-57322502-6551359/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.p668geeo:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/xmbdfed.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M f3b3e31464e64498b62b6ffe593b55c0 -D /var/lib/mock/f42-build-57322502-6551359/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.p668geeo:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/xmbdfed.spec'