Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/alevt.spec'], chrootPath='/var/lib/mock/f41-build-50542958-6052554/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'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._khewnx1:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._khewnx1:/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', 'b7a8e7435af44402b18b6d736b3965a0', '-D', '/var/lib/mock/f41-build-50542958-6052554/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._khewnx1:/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 ppc64le --nodeps /builddir/build/SPECS/alevt.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 warning: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1705881600 Wrote: /builddir/build/SRPMS/alevt-1.8.1-5.fc41.src.rpm RPM build warnings: %patchN is deprecated (5 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 ppc64le --nodeps /builddir/build/SPECS/alevt.spec'], chrootPath='/var/lib/mock/f41-build-50542958-6052554/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'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._khewnx1:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._khewnx1:/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', 'e0d786947493410f8e1d170ef0082b12', '-D', '/var/lib/mock/f41-build-50542958-6052554/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._khewnx1:/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 ppc64le --nodeps /builddir/build/SPECS/alevt.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1705881600 warning: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UbCSG1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf alevt-v1.8.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/alevt-v1.8.1.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd alevt-v1.8.1 + rm -rf /builddir/build/BUILD/alevt-v1.8.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/alevt-v1.8.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (alevt-1.6.2-pixmap.patch):' Patch #0 (alevt-1.6.2-pixmap.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pixmap --fuzz=0 patching file Makefile Hunk #1 succeeded at 86 (offset 17 lines). + echo 'Patch #1 (alevt-1.6.2-manpath.patch):' Patch #1 (alevt-1.6.2-manpath.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .manpath --fuzz=0 patching file Makefile Hunk #1 succeeded at 83 (offset 17 lines). + echo 'Patch #2 (alevt-1.8.1-doublefont.patch):' Patch #2 (alevt-1.8.1-doublefont.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .double --fuzz=0 patching file alevt.1x.in patching file exp-gfx.c patching file font.c patching file font.h patching file main.c patching file Makefile patching file xio.c + echo 'Patch #3 (alevt-1.6.2-zlib.patch):' Patch #3 (alevt-1.6.2-zlib.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .zlib --fuzz=0 patching file exp-gfx.c + echo 'Patch #4 (alevt-c99.patch):' Patch #4 (alevt-c99.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file lang.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OY7OJS + 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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -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-errors -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 alevt-v1.8.1 + CC='gcc -DVERSION=\"1.8.1\"' + make -j8 -e 'OPT=-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' gcc -DVERSION=\"1.8.1\" -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o main.o main.c gcc -DVERSION=\"1.8.1\" -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ui.o ui.c gcc -DVERSION=\"1.8.1\" bdf2xbm.c -o bdf2xbm gcc -DVERSION=\"1.8.1\" -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fdset.o fdset.c gcc -DVERSION=\"1.8.1\" -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o vbi.o vbi.c gcc -DVERSION=\"1.8.1\" -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o cache.o cache.c gcc -DVERSION=\"1.8.1\" -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o help.o help.c gcc -DVERSION=\"1.8.1\" -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o edline.o edline.c gcc -DVERSION=\"1.8.1\" -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o search.o search.c main.c: In function ‘option’: main.c:183:16: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 183 | if (opts[i].arg) | ^ main.c: In function ‘main’: main.c:215:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 215 | while (opt = option(argc, argv, &ind, &arg)) | ^~~ edline.c: In function ‘ev_handler’: edline.c:90:32: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 90 | if (*p >= 0x20 && *p <= 0x7e || *p >= 0xa0 && *p <= 0xff) | ~~~~~~~~~~~^~~~~~~~~~~~~ edline.c: In function ‘edline_new’: edline.c:120:24: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 120 | if ((plen = strlen(prompt)) > 20) | ^~~~~~ | | | u8 * {aka unsigned char *} In file included from edline.c:2: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ edline.c:122:24: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 122 | if ((slen = strlen(str)) > (int)sizeof(el->buf) - 1) | ^~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ edline.c:139:14: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 139 | strcpy(el->buf, str); | ~~^~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:511, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from edline.c:1: /usr/include/bits/string_fortified.h:77:16: note: expected ‘char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ edline.c:139:21: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 139 | strcpy(el->buf, str); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~ edline.c:145:1: warning: label ‘fail2’ defined but not used [-Wunused-label] 145 | fail2: | ^~~~~ cache.c: In function ‘cache_reset’: cache.c:71:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 71 | for (cp = PTR ca->hash[i].first; cpn = PTR cp->node->next; cp = cpn) | ^~~ cache.c: In function ‘cache_foreach_pg’: cache.c:176:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 176 | if (vtp = cache_lookup(ca, pgno, subno)) | ^~~ cache.c:193:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 193 | if (vtp = cache_lookup(ca, pgno, subno)) | ^~~ cache.c: In function ‘cache_open’: cache.c:255:1: warning: label ‘fail2’ defined but not used [-Wunused-label] 255 | fail2: | ^~~~~ ui.c: In function ‘do_next_pgno’: ui.c:158:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 158 | if (vtp = w->vbi->cache->op->foreach_pg(w->vbi->cache, | ^~~ ui.c:166:12: warning: pointer targets in passing argument 2 of ‘err’ differ in signedness [-Wpointer-sign] 166 | err(w, "No page."); | ^~~~~~~~~~ | | | char * ui.c:27:38: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 27 | static void err(struct vtwin *w, u8 *str, ...); | ~~~~^~~ ui.c: In function ‘do_screen_pgno’: ui.c:266:12: warning: pointer targets in passing argument 2 of ‘err’ differ in signedness [-Wpointer-sign] 266 | err(w, "No page."); | ^~~~~~~~~~ | | | char * ui.c:27:38: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 27 | static void err(struct vtwin *w, u8 *str, ...); | ~~~~^~~ ui.c: In function ‘do_flof_pgno’: ui.c:317:12: warning: pointer targets in passing argument 2 of ‘err’ differ in signedness [-Wpointer-sign] 317 | err(w, "No page."); | ^~~~~~~~~~ | | | char * ui.c:27:38: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 27 | static void err(struct vtwin *w, u8 *str, ...); | ~~~~^~~ vbi.c: In function ‘vbi_send’: vbi.c:114:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 114 | for (cl = PTR vbi->clients->first; cln = PTR cl->node->next; cl = cln) | ^~~ vbi.c: In function ‘vbi_pll_reset’: ui.c: In function ‘do_hist_pgno’: ui.c:330:16: warning: pointer targets in passing argument 2 of ‘err’ differ in signedness [-Wpointer-sign] 330 | err(w, "Empty history."); | ^~~~~~~~~~~~~~~~ | | | char * ui.c:27:38: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 27 | static void err(struct vtwin *w, u8 *str, ...); | ~~~~^~~ ui.c: In function ‘put_head_line’: ui.c:339:32: warning: pointer targets in passing argument 3 of ‘xio_get_line’ differ in signedness [-Wpointer-sign] 339 | xio_get_line(w->xw, 0, buf); | ^~~ | | | char * In file included from ui.c:11: xio.h:72:52: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 72 | int xio_get_line(struct xio_win *xw, int line, u8 *data); | ~~~~^~~~ ui.c:356:28: warning: pointer targets in passing argument 3 of ‘xio_put_line’ differ in signedness [-Wpointer-sign] 356 | xio_put_line(w->xw, 0, buf); | ^~~ | | | char * xio.h:70:53: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 70 | void xio_put_line(struct xio_win *xw, int line, u8 *data); | ~~~~^~~~ ui.c: In function ‘put_menu_line’: ui.c:369:33: warning: pointer targets in passing argument 3 of ‘xio_put_line’ differ in signedness [-Wpointer-sign] 369 | xio_put_line(w->xw, 24, "\0 100 \4<< \6Help \4>>\0 999 "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * xio.h:70:53: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 70 | void xio_put_line(struct xio_win *xw, int line, u8 *data); | ~~~~^~~~ ui.c: In function ‘_msg’: ui.c:378:18: warning: pointer targets in passing argument 1 of ‘vsprintf’ differ in signedness [-Wpointer-sign] 378 | i = vsprintf(buf, str, args); | ^~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:511, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from ui.c:1: /usr/include/bits/stdio2.h:55:18: note: expected ‘char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 55 | __NTH (vsprintf (__fortify_clang_overload_arg (char *, __restrict, __s), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.c:378:23: warning: pointer targets in passing argument 2 of ‘vsprintf’ differ in signedness [-Wpointer-sign] 378 | i = vsprintf(buf, str, args); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:55:1: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 55 | __NTH (vsprintf (__fortify_clang_overload_arg (char *, __restrict, __s), | ^~~~~ ui.c: In function ‘next_search’: ui.c:428:20: warning: pointer targets in passing argument 2 of ‘err’ differ in signedness [-Wpointer-sign] 428 | err(w, "Pattern not found."); | ^~~~~~~~~~~~~~~~~~~~ | | | char * ui.c:400:26: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 400 | err(struct vtwin *w, u8 *str, ...) | ~~~~^~~ ui.c:431:16: warning: pointer targets in passing argument 2 of ‘err’ differ in signedness [-Wpointer-sign] 431 | err(w, "No search pattern."); | ^~~~~~~~~~~~~~~~~~~~ | | | char * ui.c:400:26: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 400 | err(struct vtwin *w, u8 *str, ...) | ~~~~^~~ ui.c: In function ‘start_search’: ui.c:450:20: warning: pointer targets in passing argument 2 of ‘err’ differ in signedness [-Wpointer-sign] 450 | err(w, "Bad search pattern."); | ^~~~~~~~~~~~~~~~~~~~~ | | | char * ui.c:400:26: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 400 | err(struct vtwin *w, u8 *str, ...) | ~~~~^~~ ui.c: In function ‘start_save2’: ui.c:462:39: warning: pointer targets in passing argument 3 of ‘export’ differ in signedness [-Wpointer-sign] 462 | if (export(w->export, w->vtp, name)) | ^~~~ | | | u8 * {aka unsigned char *} In file included from ui.c:17: export.h:60:57: note: expected ‘char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 60 | int export(struct export *e, struct vt_page *vtp, char *user_str); | ~~~~~~^~~~~~~~ ui.c:463:20: warning: pointer targets in passing argument 2 of ‘err’ differ in signedness [-Wpointer-sign] 463 | err(w, export_errstr()); | ^~~~~~~~~~~~~~~ | | | char * ui.c:400:26: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 400 | err(struct vtwin *w, u8 *str, ...) | ~~~~^~~ ui.c: In function ‘start_save1’: ui.c:478:29: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 478 | strcpy(save_format, format); // remember for next time | ^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~ ui.c:479:37: warning: pointer targets in passing argument 1 of ‘export_open’ differ in signedness [-Wpointer-sign] 479 | if (w->export = export_open(format)) | ^~~~~~ | | | u8 * {aka unsigned char *} export.h:58:34: note: expected ‘char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 58 | struct export *export_open(char *fmt); | ~~~~~~^~~ ui.c:479:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 479 | if (w->export = export_open(format)) | ^ ui.c:481:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 481 | if (name = export_mkname(w->export, "ttext-%p.%e", w->vtp, 0)) | ^~~~ ui.c:483:47: warning: pointer targets in passing argument 2 of ‘edline_new’ differ in signedness [-Wpointer-sign] 483 | w->edline = edline_new(w->xw, "Name:\2", name, start_save2, w); | ^~~~~~~~~ | | | char * In file included from edit.h:6, from ui.c:14: edline.h:24:51: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 24 | struct edline *edline_new(struct xio_win *xw, u8 *prompt, u8 *preset, | ~~~~^~~~~~ ui.c:483:58: warning: pointer targets in passing argument 3 of ‘edline_new’ differ in signedness [-Wpointer-sign] 483 | w->edline = edline_new(w->xw, "Name:\2", name, start_save2, w); | ^~~~ | | | char * edline.h:24:63: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 24 | struct edline *edline_new(struct xio_win *xw, u8 *prompt, u8 *preset, | ~~~~^~~~~~ ui.c:491:16: warning: pointer targets in passing argument 2 of ‘err’ differ in signedness [-Wpointer-sign] 491 | err(w, export_errstr()); | ^~~~~~~~~~~~~~~ | | | char * ui.c:400:26: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 400 | err(struct vtwin *w, u8 *str, ...) | ~~~~^~~ vbi.c:193:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 193 | if (debug) | ^ vbi.c: In function ‘vt_line’: vbi.c:307:39: warning: pointer targets in passing argument 3 of ‘add_enhance’ differ in signedness [-Wpointer-sign] 307 | add_enhance(rvtp->enh, d, t); | ^ | | | int * In file included from vbi.h:7, from vbi.c:14: lang.h:26:54: note: expected ‘u32 *’ {aka ‘unsigned int *’} but argument is of type ‘int *’ 26 | void add_enhance(struct enhance *eh, int dcode, u32 *data); | ~~~~~^~~~ vbi.c: In function ‘vbi_line’: vbi.c:431:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 431 | if (i = vt_line(vbi, data+1)) | ^ vbi.c:431:16: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 431 | if (i = vt_line(vbi, data+1)) | ^ ui.c: In function ‘vtwin_event’: ui.c:610:32: warning: pointer targets in passing argument 2 of ‘err’ differ in signedness [-Wpointer-sign] 610 | err(w, "Unused key."); | ^~~~~~~~~~~~~ | | | char * ui.c:400:26: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 400 | err(struct vtwin *w, u8 *str, ...) | ~~~~^~~ ui.c:614:28: warning: pointer targets in passing argument 2 of ‘msg’ differ in signedness [-Wpointer-sign] 614 | msg(w, "Error bell %sabled.", bell ? "en" : "dis"); | ^~~~~~~~~~~~~~~~~~~~~ | | | char * ui.c:390:26: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 390 | msg(struct vtwin *w, u8 *str, ...) | ~~~~^~~ ui.c:623:32: warning: pointer targets in passing argument 2 of ‘msg’ differ in signedness [-Wpointer-sign] 623 | msg(w, "Error reduction %sabled.", i ? "dis" : "en"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ui.c:390:26: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 390 | msg(struct vtwin *w, u8 *str, ...) | ~~~~^~~ ui.c:628:32: warning: pointer targets in passing argument 2 of ‘err’ differ in signedness [-Wpointer-sign] 628 | err(w, "Unable to open new window."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ui.c:400:26: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 400 | err(struct vtwin *w, u8 *str, ...) | ~~~~^~~ ui.c:666:45: warning: pointer targets in passing argument 2 of ‘err’ differ in signedness [-Wpointer-sign] 666 | if (w->edline) { err(w, "internal: w->edline != 0"); break;} | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ui.c:400:26: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 400 | err(struct vtwin *w, u8 *str, ...) | ~~~~^~~ ui.c:668:48: warning: pointer targets in passing argument 2 of ‘edline_new’ differ in signedness [-Wpointer-sign] 668 | w->edline = edline_new(xw, "/", "", start_search, w); | ^~~ | | | char * edline.h:24:51: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 24 | struct edline *edline_new(struct xio_win *xw, u8 *prompt, u8 *preset, | ~~~~^~~~~~ ui.c:668:53: warning: pointer targets in passing argument 3 of ‘edline_new’ differ in signedness [-Wpointer-sign] 668 | w->edline = edline_new(xw, "/", "", start_search, w); | ^~ | | | char * edline.h:24:63: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 24 | struct edline *edline_new(struct xio_win *xw, u8 *prompt, u8 *preset, | ~~~~^~~~~~ ui.c:671:45: warning: pointer targets in passing argument 2 of ‘err’ differ in signedness [-Wpointer-sign] 671 | if (w->edline) { err(w, "internal: w->edline != 0"); break;} | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ui.c:400:26: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 400 | err(struct vtwin *w, u8 *str, ...) | ~~~~^~~ ui.c:673:48: warning: pointer targets in passing argument 2 of ‘edline_new’ differ in signedness [-Wpointer-sign] 673 | w->edline = edline_new(xw, "?", "", start_search, w); | ^~~ | | | char * edline.h:24:51: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 24 | struct edline *edline_new(struct xio_win *xw, u8 *prompt, u8 *preset, | ~~~~^~~~~~ ui.c:673:53: warning: pointer targets in passing argument 3 of ‘edline_new’ differ in signedness [-Wpointer-sign] 673 | w->edline = edline_new(xw, "?", "", start_search, w); | ^~ | | | char * edline.h:24:63: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 24 | struct edline *edline_new(struct xio_win *xw, u8 *prompt, u8 *preset, | ~~~~^~~~~~ ui.c:676:45: warning: pointer targets in passing argument 2 of ‘err’ differ in signedness [-Wpointer-sign] 676 | if (w->edline) { err(w, "internal: w->edline != 0"); break;} | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ui.c:400:26: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 400 | err(struct vtwin *w, u8 *str, ...) | ~~~~^~~ search.c: In function ‘search_pg’: search.c:65:29: warning: pointer targets in passing argument 2 of ‘regexec’ differ in signedness [-Wpointer-sign] 65 | if (regexec(s->pattern, buf, 1, m, 0) == 0) | ^~~ | | | u8 * {aka unsigned char *} ui.c:677:48: warning: pointer targets in passing argument 2 of ‘edline_new’ differ in signedness [-Wpointer-sign] 677 | w->edline = edline_new(xw, "Format:\2", save_format, start_save1, w); | ^~~~~~~~~~~ | | | char * edline.h:24:51: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 24 | struct edline *edline_new(struct xio_win *xw, u8 *prompt, u8 *preset, | ~~~~^~~~~~ In file included from search.h:4, from search.c:6: /usr/include/regex.h:680:44: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 680 | const char *_Restrict_ __String, size_t __nmatch, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ search.c: In function ‘search_start’: ui.c:677:61: warning: pointer targets in passing argument 3 of ‘edline_new’ differ in signedness [-Wpointer-sign] 677 | w->edline = edline_new(xw, "Format:\2", save_format, start_save1, w); | ^~~~~~~~~~~ | | | char * search.c:95:29: warning: pointer targets in passing argument 2 of ‘regcomp’ differ in signedness [-Wpointer-sign] 95 | if (regcomp(s->pattern, pattern, f | REG_NEWLINE) != 0) | ^~~~~~~ | | | u8 * {aka unsigned char *} edline.h:24:63: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 24 | struct edline *edline_new(struct xio_win *xw, u8 *prompt, u8 *preset, | ~~~~^~~~~~ /usr/include/regex.h:676:44: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 676 | const char *_Restrict_ __pattern, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ui.c:690:32: warning: pointer targets in passing argument 2 of ‘msg’ differ in signedness [-Wpointer-sign] 690 | msg(w, "Finetune fixed at %d.", w->vbi->pll_adj); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * ui.c:390:26: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 390 | msg(struct vtwin *w, u8 *str, ...) | ~~~~^~~ ui.c:692:32: warning: pointer targets in passing argument 2 of ‘msg’ differ in signedness [-Wpointer-sign] 692 | msg(w, "Finetune auto adjusting."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ui.c:390:26: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 390 | msg(struct vtwin *w, u8 *str, ...) | ~~~~^~~ ui.c:695:28: warning: pointer targets in passing argument 2 of ‘err’ differ in signedness [-Wpointer-sign] 695 | err(w, "Unused key."); | ^~~~~~~~~~~~~ | | | char * vbi.c: In function ‘dvb_handler’: vbi.c:993:24: warning: unused variable ‘crccomp’ [-Wunused-variable] 993 | u_int32_t crc, crccomp; | ^~~~~~~ vbi.c:993:19: warning: unused variable ‘crc’ [-Wunused-variable] 993 | u_int32_t crc, crccomp; | ^~~ vbi.c:992:19: warning: unused variable ‘rpid’ [-Wunused-variable] 992 | u_int16_t rpid; | ^~~~ vbi.c:991:25: warning: unused variable ‘i’ [-Wunused-variable] 991 | unsigned int p, i, len; | ^ ui.c:400:26: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 400 | err(struct vtwin *w, u8 *str, ...) | ~~~~^~~ ui.c:707:20: warning: pointer targets in passing argument 2 of ‘msg’ differ in signedness [-Wpointer-sign] 707 | msg(w, "Cache cleared!");//@@@ | ^~~~~~~~~~~~~~~~ | | | char * ui.c:390:26: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 390 | msg(struct vtwin *w, u8 *str, ...) | ~~~~^~~ ui.c:816:24: warning: pointer targets in passing argument 2 of ‘err’ differ in signedness [-Wpointer-sign] 816 | err(w, errmsg); | ^~~~~~ | | | char * ui.c:400:26: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 400 | err(struct vtwin *w, u8 *str, ...) | ~~~~^~~ gcc -DVERSION=\"1.8.1\" -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o edit.o edit.c gcc -DVERSION=\"1.8.1\" -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o misc.o misc.c gcc -DVERSION=\"1.8.1\" -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o hamm.o hamm.c gcc -DVERSION=\"1.8.1\" -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o lang.o lang.c ui.c: In function ‘set_title’: ui.c:76:27: warning: ‘)’ directive writing 1 byte into a region of size between 0 and 31 [-Wformat-overflow=] 76 | sprintf(buf2, "(%s)", buf); | ^ In file included from /usr/include/stdio.h:980: In function ‘*__sprintfieee128’, inlined from ‘set_title’ at ui.c:76:2: /usr/include/bits/stdio2.h:30:10: note: ‘*__sprintf_chkieee128’ output between 3 and 34 bytes into a destination of size 32 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DVERSION=\"1.8.1\" -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o export.o export.c lang.c:68:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 68 | /* none */ { "#", | ^~~ lang.c:68:27: note: (near initialization for ‘marks[0].g0’) lang.c:69:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 69 | "�", | ^~~ lang.c:69:27: note: (near initialization for ‘marks[0].latin1’) lang.c:70:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 70 | "$" }, | ^~~ lang.c:70:27: note: (near initialization for ‘marks[0].latin2’) lang.c:71:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 71 | /* grave - ` */ { " aeiouAEIOU", | ^~~~~~~~~~~~~ lang.c:71:27: note: (near initialization for ‘marks[1].g0’) lang.c:72:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 72 | "`����������", | ^~~~~~~~~~~~~ lang.c:72:27: note: (near initialization for ‘marks[1].latin1’) lang.c:73:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 73 | "`aeiouAEIOU" }, | ^~~~~~~~~~~~~ lang.c:73:27: note: (near initialization for ‘marks[1].latin2’) lang.c:74:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 74 | /* acute - ' */ { " aceilnorsuyzACEILNORSUYZ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ lang.c:74:27: note: (near initialization for ‘marks[2].g0’) lang.c:75:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 75 | "'�c��ln�rs��z�C��LN�RS��Z", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ lang.c:75:27: note: (near initialization for ‘marks[2].latin1’) lang.c:76:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 76 | "'���������������������ݬ" }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ lang.c:76:27: note: (near initialization for ‘marks[2].latin2’) lang.c:77:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 77 | /* cirumflex - ^ */ { " aeiouAEIOU", | ^~~~~~~~~~~~~ lang.c:77:27: note: (near initialization for ‘marks[3].g0’) lang.c:78:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 78 | "^����������", | ^~~~~~~~~~~~~ lang.c:78:27: note: (near initialization for ‘marks[3].latin1’) lang.c:79:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 79 | "^�e��u�E��U" }, | ^~~~~~~~~~~~~ lang.c:79:27: note: (near initialization for ‘marks[3].latin2’) lang.c:80:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 80 | /* tilde - ~ */ { " anoANO", | ^~~~~~~~~ lang.c:80:27: note: (near initialization for ‘marks[4].g0’) lang.c:81:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 81 | "~������", | ^~~~~~~~~ lang.c:81:27: note: (near initialization for ‘marks[4].latin1’) lang.c:82:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 82 | "~anoANO" }, | ^~~~~~~~~ lang.c:82:27: note: (near initialization for ‘marks[4].latin2’) lang.c:83:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 83 | /* ??? - � */ { "", | ^~ lang.c:83:27: note: (near initialization for ‘marks[5].g0’) lang.c:84:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 84 | "", | ^~ lang.c:84:27: note: (near initialization for ‘marks[5].latin1’) lang.c:85:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 85 | "" }, | ^~ lang.c:85:27: note: (near initialization for ‘marks[5].latin2’) lang.c:86:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 86 | /* breve - u */ { "aA", | ^~~~ lang.c:86:27: note: (near initialization for ‘marks[6].g0’) lang.c:87:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 87 | "aA", | ^~~~ lang.c:87:27: note: (near initialization for ‘marks[6].latin1’) lang.c:88:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 88 | "��" }, | ^~~~ lang.c:88:27: note: (near initialization for ‘marks[6].latin2’) lang.c:89:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 89 | /* abovedot - � */ { "zZ", | ^~~~ lang.c:89:27: note: (near initialization for ‘marks[7].g0’) lang.c:90:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 90 | "zZ", | ^~~~ lang.c:90:27: note: (near initialization for ‘marks[7].latin1’) lang.c:91:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 91 | "��" }, | ^~~~ lang.c:91:27: note: (near initialization for ‘marks[7].latin2’) lang.c:92:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 92 | /* diaeresis � */ { "aeiouAEIOU", | ^~~~~~~~~~~~ lang.c:92:27: note: (near initialization for ‘marks[8].g0’) lang.c:93:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 93 | "����������", | ^~~~~~~~~~~~ lang.c:93:27: note: (near initialization for ‘marks[8].latin1’) lang.c:94:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 94 | "��i����I��" }, | ^~~~~~~~~~~~ lang.c:94:27: note: (near initialization for ‘marks[8].latin2’) lang.c:95:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 95 | /* ??? - . */ { "", | ^~ lang.c:95:27: note: (near initialization for ‘marks[9].g0’) lang.c:96:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 96 | "", | ^~ lang.c:96:27: note: (near initialization for ‘marks[9].latin1’) lang.c:97:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 97 | "" }, | ^~ lang.c:97:27: note: (near initialization for ‘marks[9].latin2’) lang.c:98:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 98 | /* ringabove - � */ { " auAU", | ^~~~~~~ lang.c:98:27: note: (near initialization for ‘marks[10].g0’) lang.c:99:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 99 | "��u�U", | ^~~~~~~ lang.c:99:27: note: (near initialization for ‘marks[10].latin1’) lang.c:100:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 100 | "�a�A�" }, | ^~~~~~~ lang.c:100:27: note: (near initialization for ‘marks[10].latin2’) lang.c:101:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 101 | /* cedilla - � */ { "cstCST", | ^~~~~~~~ lang.c:101:27: note: (near initialization for ‘marks[11].g0’) lang.c:102:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 102 | "�st�ST", | ^~~~~~~~ lang.c:102:27: note: (near initialization for ‘marks[11].latin1’) lang.c:103:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 103 | "��Ǫ�" }, | ^~~~~~~ lang.c:103:27: note: (near initialization for ‘marks[11].latin2’) lang.c:104:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 104 | /* ??? - _ */ { " ", | ^~~ lang.c:104:27: note: (near initialization for ‘marks[12].g0’) lang.c:105:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 105 | "_", | ^~~ lang.c:105:27: note: (near initialization for ‘marks[12].latin1’) lang.c:106:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 106 | "_" }, | ^~~ lang.c:106:27: note: (near initialization for ‘marks[12].latin2’) lang.c:107:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 107 | /* dbl acute - " */ { " ouOU", | ^~~~~~~ lang.c:107:27: note: (near initialization for ‘marks[13].g0’) lang.c:108:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 108 | "\"ouOU", | ^~~~~~~~ lang.c:108:27: note: (near initialization for ‘marks[13].latin1’) lang.c:109:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 109 | "\"����" }, | ^~~~~~~~ lang.c:109:27: note: (near initialization for ‘marks[13].latin2’) lang.c:110:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 110 | /* ogonek - \, */ { "aeAE", | ^~~~~~ lang.c:110:27: note: (near initialization for ‘marks[14].g0’) lang.c:111:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 111 | "aeAE", | ^~~~~~ lang.c:111:27: note: (near initialization for ‘marks[14].latin1’) lang.c:112:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 112 | "���" }, | ^~~~~~ lang.c:112:27: note: (near initialization for ‘marks[14].latin2’) lang.c:113:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 113 | /* caron - v */ { "cdelnrstzCDELNRSTZ", | ^~~~~~~~~~~~~~~~~~~~ lang.c:113:27: note: (near initialization for ‘marks[15].g0’) lang.c:114:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 114 | "cdelnrstzCDELNRSTZ", | ^~~~~~~~~~~~~~~~~~~~ lang.c:114:27: note: (near initialization for ‘marks[15].latin1’) lang.c:115:27: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 115 | "����������̥�ة��" }, | ^~~~~~~~~~~~~~~~~ lang.c:115:27: note: (near initialization for ‘marks[15].latin2’) lang.c: In function ‘enhance’: lang.c:363:28: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 363 | if (adr < W && row < H) | ^ lang.c:375:48: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 375 | if (x = strchr(mark->g0, data)) | ~~~~^~~~ | | | u8 * {aka unsigned char *} In file included from lang.c:1: /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ lang.c:375:35: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 375 | if (x = strchr(mark->g0, data)) | ^ lang.c:375:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 375 | if (x = strchr(mark->g0, data)) | ^ lang.c:375:32: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 375 | if (x = strchr(mark->g0, data)) | ^ export.c: In function ‘find_opt’: export.c:59:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 59 | if (oo = opts) | ^~ export.c:60:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 60 | while (o = *oo++) | ^ export.c:62:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 62 | if (a = strchr(o, '=')) | ^ export.c: In function ‘export_open’: export.c:87:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 87 | if (fmt = strdup(fmt)) | ^~~ export.c:89:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 89 | if (opt = strchr(fmt, ',')) | ^~~ export.c:91:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 91 | for (eem = modules; em = *eem; eem++) | ^~ export.c:96:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 96 | if (e = malloc(sizeof(*e) + em->local_size)) | ^ edit.c: In function ‘cursor’: edit.c:29:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 29 | sprintf(buf2, "%2d\3%02x \7 ", y, buf1[x]); | ^~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:511, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from edit.c:1: /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ export.c:106:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 106 | if (optend = strchr(opt, ',')) | ^~~~~~ export.c:110:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 110 | if (optarg = strchr(opt, '=')) | ^~~~~~ edit.c: In function ‘do_save’: edit.c:176:16: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign] 176 | fp = fopen(name, "w"); | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/stdio.h:264:44: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 264 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ edit.c:179:17: warning: pointer targets in passing argument 1 of ‘ioerror’ differ in signedness [-Wpointer-sign] 179 | ioerror(name); | ^~~~ | | | u8 * {aka unsigned char *} In file included from vt.h:4, from edit.c:4: misc.h:41:26: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 41 | void ioerror(const char *str); | ~~~~~~~~~~~~^~~ export.c: In function ‘adjust’: export.c:189:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 189 | while (*p = *str++) | ^ export.c: In function ‘export_mkname’: export.c:200:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 200 | while (*p = *fmt++) | ^ gcc -DVERSION=\"1.8.1\" -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o exp-txt.o exp-txt.c gcc -DVERSION=\"1.8.1\" -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o exp-html.o exp-html.c edit.c: In function ‘save’: edit.c:214:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 214 | sprintf(name, "vt%03x.out", w->pgno); | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ edit.c:216:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 216 | sprintf(name, "vt%03x-%02x.out", w->pgno, w->subno & 0xff); | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ edit.c:219:35: warning: pointer targets in passing argument 2 of ‘edline_new’ differ in signedness [-Wpointer-sign] 219 | w->edline = edline_new(w->xw, "Save as:\2", name, do_save, w); | ^~~~~~~~~~~~ | | | char * In file included from edit.h:6, from edit.c:8: edline.h:24:51: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 24 | struct edline *edline_new(struct xio_win *xw, u8 *prompt, u8 *preset, | ~~~~^~~~~~ edit.c: In function ‘edwin_new’: edit.c:250:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 250 | sprintf(buf, "Editor %03x", w->pgno); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ edit.c:252:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 252 | sprintf(buf, "Editor %03x/%x", w->pgno, w->subno); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ edit.c:253:22: warning: pointer targets in passing argument 2 of ‘xio_title’ differ in signedness [-Wpointer-sign] 253 | xio_title(w->xw, buf); | ^~~ | | | u8 * {aka unsigned char *} In file included from edit.c:6: xio.h:82:42: note: expected ‘char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 82 | void xio_title(struct xio_win *xw, char *title); | ~~~~~~^~~~~ exp-txt.c: In function ‘my_stpcpy’: exp-txt.c:65:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 65 | while (*dst = *src++) | ^ exp-txt.c: In function ‘txt_open’: exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:74:5: note: in expansion of macro ‘D’ 74 | D->gfx_chr = '#'; | ^ exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:75:5: note: in expansion of macro ‘D’ 75 | D->def_fg = -1; | ^ exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:76:5: note: in expansion of macro ‘D’ 76 | D->def_bg = -1; | ^ exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:77:5: note: in expansion of macro ‘D’ 77 | D->endline = H; | ^ exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:79:9: note: in expansion of macro ‘D’ 79 | D->color = 1; | ^ exp-txt.c: In function ‘txt_option’: exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:89:13: note: in expansion of macro ‘D’ 89 | D->color = 1; | ^ exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:92:13: note: in expansion of macro ‘D’ 92 | D->gfx_chr = *arg ?: ' '; | ^ exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:95:13: note: in expansion of macro ‘D’ 95 | D->def_fg = *arg - '0'; | ^ exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:98:13: note: in expansion of macro ‘D’ 98 | D->def_bg = *arg - '0'; | ^ exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:101:13: note: in expansion of macro ‘D’ 101 | D->endline = atoi(arg); | ^ exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:102:17: note: in expansion of macro ‘D’ 102 | if (D->endline < 1 || D->endline > H) | ^ exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:102:35: note: in expansion of macro ‘D’ 102 | if (D->endline < 1 || D->endline > H) | ^ exp-txt.c: In function ‘put_attr’: exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:120:9: note: in expansion of macro ‘D’ 120 | if (D->color) | ^ exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:122:14: note: in expansion of macro ‘D’ 122 | fg = D->curr->fg ^ new->fg; | ^ exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:123:14: note: in expansion of macro ‘D’ 123 | bg = D->curr->bg ^ new->bg; | ^ exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:124:17: note: in expansion of macro ‘D’ 124 | attr = (D->curr->attr ^ new->attr) & (EA_BLINK | EA_DOUBLE); | ^ exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:130:34: note: in expansion of macro ‘D’ 130 | if (fg && new->fg == D->def_fg) // switch to def fg -> reset all | ^ exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:132:34: note: in expansion of macro ‘D’ 132 | if (bg && new->bg == D->def_bg) // switch to def bg -> reset all | ^ exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:140:32: note: in expansion of macro ‘D’ 140 | fg = new->fg ^ D->def_fg; // set fg if != default fg | ^ exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:141:32: note: in expansion of macro ‘D’ 141 | bg = new->bg ^ D->def_bg; // set bg if != default bg | ^ exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:152:14: note: in expansion of macro ‘D’ 152 | *D->curr = *new; | ^ exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:157:16: note: in expansion of macro ‘D’ 157 | fputs(buf, D->fp); | ^ exp-txt.c: In function ‘txt_output’: exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:169:5: note: in expansion of macro ‘D’ 169 | D->fp = fopen(name, "w"); | ^ exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:170:13: note: in expansion of macro ‘D’ 170 | if (not D->fp) | ^ exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:178:17: note: in expansion of macro ‘D’ 178 | def_c->fg = D->def_fg; | ^ exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:179:17: note: in expansion of macro ‘D’ 179 | def_c->bg = D->def_bg; | ^ exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:181:6: note: in expansion of macro ‘D’ 181 | *D->curr = *def_c; | ^ exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:184:21: note: in expansion of macro ‘D’ 184 | for (y = 0; y < D->endline; y++) | ^ exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:206:36: note: in expansion of macro ‘D’ 206 | c.ch = D->gfx_chr; | ^ exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:213:17: note: in expansion of macro ‘D’ 213 | if (D->color) | ^ exp-txt.c:58:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 58 | #define D ((struct txt_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-txt.c:238:12: note: in expansion of macro ‘D’ 238 | fclose(D->fp); | ^ exp-html.c: In function ‘html_open’: exp-html.c:37:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 37 | #define D ((struct html_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-html.c:42:5: note: in expansion of macro ‘D’ 42 | D->gfx_chr = '#'; | ^ exp-html.c:37:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 37 | #define D ((struct html_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-html.c:43:5: note: in expansion of macro ‘D’ 43 | D->bare = 0; | ^ exp-html.c: In function ‘html_option’: exp-html.c:37:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 37 | #define D ((struct html_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-html.c:55:7: note: in expansion of macro ‘D’ 55 | D->gfx_chr = *arg ?: ' '; | ^ exp-html.c:37:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 37 | #define D ((struct html_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-html.c:58:7: note: in expansion of macro ‘D’ 58 | D->bare=1; | ^ exp-html.c: In function ‘html_output’: exp-html.c:37:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 37 | #define D ((struct html_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-html.c:104:6: note: in expansion of macro ‘D’ 104 | if (!D->bare) | ^ exp-html.c:37:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 37 | #define D ((struct html_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-html.c:156:33: note: in expansion of macro ‘D’ 156 | {pg->data[y][x].ch= D->gfx_chr;} | ^ exp-html.c:37:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 37 | #define D ((struct html_data *)e->data) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ exp-html.c:300:8: note: in expansion of macro ‘D’ 300 | if (!D->bare) | ^ gcc -DVERSION=\"1.8.1\" -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o alevt-date.o alevt-date.c alevt-date.c: In function ‘option’: alevt-date.c:151:16: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 151 | if (opts[i].arg) | ^ alevt-date.c: In function ‘main’: alevt-date.c:183:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 183 | while (opt = option(argc, argv, &ind, &arg)) | ^~~ gcc -DVERSION=\"1.8.1\" -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o alevt-cap.o alevt-cap.c sed s/VERSION/1.8.1/g alevt.1x sed s/VERSION/1.8.1/g alevt-date.1 sed s/VERSION/1.8.1/g alevt-cap.1 ./bdf2xbm font1 font1.xbm ./bdf2xbm font2 font2.xbm ./bdf2xbm font3 font3.xbm ./bdf2xbm font4 font4.xbm /usr/bin/convert -filter Point -resize 200% font1.xbm font1d.xbm /usr/bin/convert -filter Point -resize 200% font2.xbm font2d.xbm /usr/bin/convert -filter Point -resize 200% font3.xbm font3d.xbm alevt-cap.c: In function ‘option’: alevt-cap.c:155:16: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 155 | if (opts[i].arg) | ^ alevt-cap.c: In function ‘event’: alevt-cap.c:185:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 185 | for (req = PTR reqs->first; nxt = PTR req->node->next; req = nxt) | ^~~ alevt-cap.c: In function ‘main’: alevt-cap.c:229:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 229 | while (opt = option(argc, argv, &ind, &arg)) | ^~~ alevt-cap.c: In function ‘sig_handler’: alevt-cap.c:101:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 101 | write(2, "*BREAK*\r\n", 9); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/convert -filter Point -resize 200% font4.xbm font4d.xbm fgrep -h "#define" font1.xbm font2.xbm font3.xbm font4.xbm >fontsize.h gcc -DVERSION=\"1.8.1\" -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o font.o font.c fgrep: warning: fgrep is obsolescent; using grep -F fgrep -h "#define" font1d.xbm font2d.xbm font3d.xbm font4d.xbm >> fontsize.h fgrep: warning: fgrep is obsolescent; using grep -F gcc -DVERSION=\"1.8.1\" -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o xio.o xio.c gcc -DVERSION=\"1.8.1\" -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o exp-gfx.o exp-gfx.c xio.c: In function ‘get_fonts’: xio.c:152:42: warning: pointer targets in passing argument 3 of ‘XCreateBitmapFromData’ differ in signedness [-Wpointer-sign] 152 | font_bits, font_width, font_height); | ^~~~~~~~~ | | | unsigned char * In file included from /usr/include/X11/Xlib.h:47, from xio.c:7: /usr/include/X11/Xlib.h:1603:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 1603 | _Xconst char* /* data */, | ^ xio.c: In function ‘xio_open_dpy’: xio.c:221:41: warning: pointer targets in passing argument 3 of ‘XCreateBitmapFromData’ differ in signedness [-Wpointer-sign] 221 | icon_bits, icon_width, icon_height); | ^~~~~~~~~ | | | unsigned char * /usr/include/X11/Xlib.h:1603:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 1603 | _Xconst char* /* data */, | ^ xio.c:233:1: warning: label ‘fail4’ defined but not used [-Wunused-label] 233 | fail4: | ^~~~~ xio.c: In function ‘set_user_geometry’: xio.c:250:46: warning: pointer targets in passing argument 4 of ‘XParseGeometry’ differ in signedness [-Wpointer-sign] 250 | f = XParseGeometry(geom, &sh->x, &sh->y, &sh->width, &sh->height); | ^~~~~~~~~~ | | | int * /usr/include/X11/Xlib.h:2871:5: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 2871 | unsigned int* /* width_return */, | ^~~~~~~~~~~~~ xio.c:250:58: warning: pointer targets in passing argument 5 of ‘XParseGeometry’ differ in signedness [-Wpointer-sign] 250 | f = XParseGeometry(geom, &sh->x, &sh->y, &sh->width, &sh->height); | ^~~~~~~~~~~ | | | int * /usr/include/X11/Xlib.h:2872:5: note: expected ‘unsigned int *’ but argument is of type ‘int *’ 2872 | unsigned int* /* height_return */ | ^~~~~~~~~~~~~ xio.c: In function ‘xio_open_win’: xio.c:349:1: warning: label ‘fail2’ defined but not used [-Wunused-label] 349 | fail2: | ^~~~~ xio.c: In function ‘xio_title’: xio.c:396:18: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 396 | if (strcmp(xw->title, title) == 0) | ~~^~~~~~~ | | | u8 * {aka unsigned char *} In file included from xio.c:4: /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ xio.c:399:14: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 399 | strcpy(xw->title, title); | ~~^~~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:511, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from xio.c:1: /usr/include/bits/string_fortified.h:77:16: note: expected ‘char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ xio.c:402:43: warning: pointer targets in passing argument 3 of ‘XSetIconName’ differ in signedness [-Wpointer-sign] 402 | XSetIconName(xw->xio->dpy, xw->win, xw->title); | ~~^~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/X11/Xlib.h:3258:5: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 3258 | _Xconst char* /* icon_name */ | ^ xio.c: In function ‘xio_put_str’: xio.c:463:16: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 463 | l = strlen(str); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ xio.c: In function ‘xio_update_win’: xio.c:575:53: warning: variable ‘sep’ set but not used [-Wunused-but-set-variable] 575 | int dbl = 0, blk = 0, con = 0, gfx = 0, sep = 0, hld = 0; | ^~~ xio.c: In function ‘for_all_windows’: xio.c:686:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 686 | for (xio = PTR dpys->first; vtn = PTR xio->node->next; xio = vtn) | ^~~ xio.c:687:44: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 687 | for (xw = PTR xio->windows->first; vwn = PTR xw->node->next; xw = vwn) | ^~~ xio.c: In function ‘sel_convert2ascii’: xio.c:820:28: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 820 | if (not con) | ^ xio.c: In function ‘handle_event’: xio.c:1066:42: warning: pointer targets in passing argument 2 of ‘XLookupString’ differ in signedness [-Wpointer-sign] 1066 | if (XLookupString(&ev->xkey, &ch, 1, &k, 0)) | ^~~ | | | unsigned char * In file included from xio.c:8: /usr/include/X11/Xutil.h:536:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 536 | char* /* buffer_return */, | ^~~~~ xio.c: In function ‘xio_event_loop’: xio.c:1201:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1201 | for (xio = PTR dpys->first; vtn = PTR xio->node->next; xio = vtn) | ^~~ xio.c: In function ‘timer_init’: xio.c:67:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 67 | write(p[1], "*", 1); | ^~~~~~~~~~~~~~~~~~~ xio.c: In function ‘xio_timer’: xio.c:1182:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1182 | read(fd, buf, sizeof(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DVERSION=\"1.8.1\" -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection alevt-date.o vbi.o fdset.o misc.o hamm.o lang.o -o alevt-date -lX11 -lpng16 gcc -DVERSION=\"1.8.1\" -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection alevt-cap.o vbi.o fdset.o misc.o hamm.o lang.o export.o exp-txt.o exp-html.o exp-gfx.o font.o -o alevt-cap -lX11 -lpng16 gcc -DVERSION=\"1.8.1\" -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection main.o ui.o xio.o fdset.o vbi.o cache.o help.o edline.o search.o edit.o misc.o hamm.o lang.o export.o exp-txt.o exp-html.o exp-gfx.o font.o -o alevt -lX11 -lpng16 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.OshzFj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/alevt-1.8.1-5.fc41.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/alevt-1.8.1-5.fc41.ppc64le ++ dirname /builddir/build/BUILDROOT/alevt-1.8.1-5.fc41.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/alevt-1.8.1-5.fc41.ppc64le + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -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-errors -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 alevt-v1.8.1 + rm -rf /builddir/build/BUILDROOT/alevt-1.8.1-5.fc41.ppc64le + mkdir -p /builddir/build/BUILDROOT/alevt-1.8.1-5.fc41.ppc64le/usr/bin + mkdir -p /builddir/build/BUILDROOT/alevt-1.8.1-5.fc41.ppc64le/usr/share/man/man1 + make USR_X11R6=/usr MAN=/usr/share/man rpm-install install -m 0755 alevt /builddir/build/BUILDROOT/alevt-1.8.1-5.fc41.ppc64le/usr/bin install -m 0755 alevt-date /builddir/build/BUILDROOT/alevt-1.8.1-5.fc41.ppc64le/usr/bin install -m 0755 alevt-cap /builddir/build/BUILDROOT/alevt-1.8.1-5.fc41.ppc64le/usr/bin install -m 0644 alevt.1x /builddir/build/BUILDROOT/alevt-1.8.1-5.fc41.ppc64le/usr/share/man/man1 install -m 0644 alevt-date.1 /builddir/build/BUILDROOT/alevt-1.8.1-5.fc41.ppc64le/usr/share/man/man1 install -m 0644 alevt-cap.1 /builddir/build/BUILDROOT/alevt-1.8.1-5.fc41.ppc64le/usr/share/man/man1 install -d 0755 /builddir/build/BUILDROOT/alevt-1.8.1-5.fc41.ppc64le/usr/share/pixmaps install -m 0644 contrib/mini-alevt.xpm /builddir/build/BUILDROOT/alevt-1.8.1-5.fc41.ppc64le/usr/share/pixmaps + desktop-file-install --dir=/builddir/build/BUILDROOT/alevt-1.8.1-5.fc41.ppc64le/usr/share/applications /builddir/build/SOURCES/alevt.desktop /builddir/build/BUILDROOT/alevt-1.8.1-5.fc41.ppc64le/usr/share/applications/alevt.desktop: error: (will be fatal in the future): value item "Video" in key "Categories" in group "Desktop Entry" requires another category to be present among the following categories: AudioVideo + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.8.1-5.fc41 --unique-debug-suffix -1.8.1-5.fc41.ppc64le --unique-debug-src-base alevt-1.8.1-5.fc41.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/alevt-v1.8.1 find-debuginfo: starting Extracting debug info from 3 files DWARF-compressing 3 files sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/alevt-1.8.1-5.fc41.ppc64le 1449 blocks find-debuginfo: done + /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 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: alevt-1.8.1-5.fc41.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.B9ia8q + umask 022 + cd /builddir/build/BUILD + cd alevt-v1.8.1 + DOCDIR=/builddir/build/BUILDROOT/alevt-1.8.1-5.fc41.ppc64le/usr/share/doc/alevt + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/alevt-1.8.1-5.fc41.ppc64le/usr/share/doc/alevt + cp -pr /builddir/build/BUILD/alevt-v1.8.1/README.md /builddir/build/BUILDROOT/alevt-1.8.1-5.fc41.ppc64le/usr/share/doc/alevt + cp -pr /builddir/build/BUILD/alevt-v1.8.1/CHANGELOG /builddir/build/BUILDROOT/alevt-1.8.1-5.fc41.ppc64le/usr/share/doc/alevt + cp -pr /builddir/build/BUILD/alevt-v1.8.1/COPYRIGHT /builddir/build/BUILDROOT/alevt-1.8.1-5.fc41.ppc64le/usr/share/doc/alevt + RPM_EC=0 ++ jobs -p + exit 0 Provides: alevt = 1.8.1-5.fc41 alevt(ppc-64) = 1.8.1-5.fc41 application() application(alevt.desktop) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libpng16.so.16()(64bit) rtld(GNU_HASH) Processing files: alevt-debugsource-1.8.1-5.fc41.ppc64le Provides: alevt-debugsource = 1.8.1-5.fc41 alevt-debugsource(ppc-64) = 1.8.1-5.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: alevt-debuginfo-1.8.1-5.fc41.ppc64le Provides: alevt-debuginfo = 1.8.1-5.fc41 alevt-debuginfo(ppc-64) = 1.8.1-5.fc41 debuginfo(build-id) = 47286b61d4bebd77c6f38a08ad030f5f2c447e2f debuginfo(build-id) = d4d501c85fee47ca110191c2245cf2630e8db4bd debuginfo(build-id) = feeb791e7615a6b658393ee414ab6e94fd3b6674 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: alevt-debugsource(ppc-64) = 1.8.1-5.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/alevt-1.8.1-5.fc41.ppc64le Wrote: /builddir/build/RPMS/alevt-1.8.1-5.fc41.ppc64le.rpm Wrote: /builddir/build/RPMS/alevt-debuginfo-1.8.1-5.fc41.ppc64le.rpm Wrote: /builddir/build/RPMS/alevt-debugsource-1.8.1-5.fc41.ppc64le.rpm RPM build warnings: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Child return code was: 0