Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/alevt.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-320573-15189/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658275200 Wrote: /builddir/build/SRPMS/alevt-1.6.2-40.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/alevt.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-320573-15189/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658275200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LQwvvh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf alevt-1.6.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/alevt-1.6.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd alevt-1.6.2 + /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 Patch #1 (alevt-1.6.2-manpath.patch): + echo '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 Patch #2 (alevt-1.6.2-rus-greek.patch): + echo 'Patch #2 (alevt-1.6.2-rus-greek.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rusgreek --fuzz=0 patching file alevt.1x.in patching file alevt-cap.1.in patching file alevt-cap.c patching file exp-gfx.c patching file exp-html.c patching file font.c patching file font.h patching file lang.c patching file lang.h patching file main.c patching file Makefile patching file ReadmeGR patching file vbi.c patching file vtxt-iso8859-7.bdf patching file vtxt-koi8.bdf patching file xio.c Patch #3 (alevt-1.6.2-doublefont.patch): + echo 'Patch #3 (alevt-1.6.2-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 Patch #4 (alevt-1.6.2-zlib.patch): + echo 'Patch #4 (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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fAopy4 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd alevt-1.6.2 + make -j8 -e 'OPT=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o main.o main.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ui.o ui.c gcc bdf2xbm.c -o bdf2xbm gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fdset.o fdset.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o vbi.o vbi.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o cache.o cache.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o help.o help.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o edline.o edline.c help.c:11:52: error: expected '}' before 'VERSION' 11 | "\4\35\22\177,\177j5\177.! +t>! j5 \7"VFILL VERSION" \34", \ | ^~~~~~~ vt900.out:8:1: note: in expansion of macro 'HELP_HEADER' 8 | HELP_HEADER | ^~~~~~~~~~~ help.c:21:38: note: to match this '{' 21 | { 0x900, 0, -1, 0, 0, (1<<26)-1, { | ^ help.c:11:52: error: expected '}' before 'VERSION' 11 | "\4\35\22\177,\177j5\177.! +t>! j5 \7"VFILL VERSION" \34", \ | ^~~~~~~ vt901-02.out:8:1: note: in expansion of macro 'HELP_HEADER' 8 | HELP_HEADER | ^~~~~~~~~~~ help.c:25:38: note: to match this '{' 25 | { 0x901, 2, -1, 0, 0, (1<<26)-1, { | ^ help.c:11:52: error: expected '}' before 'VERSION' 11 | "\4\35\22\177,\177j5\177.! +t>! j5 \7"VFILL VERSION" \34", \ | ^~~~~~~ vt901-01.out:8:1: note: in expansion of macro 'HELP_HEADER' 8 | HELP_HEADER | ^~~~~~~~~~~ help.c:29:38: note: to match this '{' 29 | { 0x901, 1, -1, 0, 0, (1<<26)-1, { | ^ help.c:11:52: error: expected '}' before 'VERSION' 11 | "\4\35\22\177,\177j5\177.! +t>! j5 \7"VFILL VERSION" \34", \ | ^~~~~~~ vt903.out:8:1: note: in expansion of macro 'HELP_HEADER' 8 | HELP_HEADER | ^~~~~~~~~~~ help.c:39:38: note: to match this '{' 39 | { 0x903, 0, -1, 0, 0, (1<<26)-1, { | ^ help.c:11:52: error: expected '}' before 'VERSION' 11 | "\4\35\22\177,\177j5\177.! +t>! j5 \7"VFILL VERSION" \34", \ | ^~~~~~~ vt910.out:8:1: note: in expansion of macro 'HELP_HEADER' 8 | HELP_HEADER | ^~~~~~~~~~~ help.c:43:38: note: to match this '{' 43 | { 0x910, 0, -1, 0, 0, (1<<26)-1, { | ^ help.c:11:52: error: expected '}' before 'VERSION' 11 | "\4\35\22\177,\177j5\177.! +t>! j5 \7"VFILL VERSION" \34", \ | ^~~~~~~ vt911-02.out:8:1: note: in expansion of macro 'HELP_HEADER' 8 | HELP_HEADER | ^~~~~~~~~~~ help.c:47:38: note: to match this '{' 47 | { 0x911, 2, -1, 0, 0, (1<<26)-1, { | ^ help.c:11:52: error: expected '}' before 'VERSION' 11 | "\4\35\22\177,\177j5\177.! +t>! j5 \7"VFILL VERSION" \34", \ | ^~~~~~~ vt911-01.out:8:1: note: in expansion of macro 'HELP_HEADER' 8 | HELP_HEADER | ^~~~~~~~~~~ help.c:51:38: note: to match this '{' 51 | { 0x911, 1, -1, 0, 0, (1<<26)-1, { | ^ help.c:11:52: error: expected '}' before 'VERSION' 11 | "\4\35\22\177,\177j5\177.! +t>! j5 \7"VFILL VERSION" \34", \ | ^~~~~~~ vt912-02.out:8:1: note: in expansion of macro 'HELP_HEADER' 8 | HELP_HEADER | ^~~~~~~~~~~ help.c:55:38: note: to match this '{' 55 | { 0x912, 2, -1, 0, 0, (1<<26)-1, { | ^ help.c:11:52: error: expected '}' before 'VERSION' 11 | "\4\35\22\177,\177j5\177.! +t>! j5 \7"VFILL VERSION" \34", \ | ^~~~~~~ vt912-01.out:8:1: note: in expansion of macro 'HELP_HEADER' 8 | HELP_HEADER | ^~~~~~~~~~~ help.c:59:38: note: to match this '{' 59 | { 0x912, 1, -1, 0, 0, (1<<26)-1, { | ^ help.c:11:52: error: expected '}' before 'VERSION' 11 | "\4\35\22\177,\177j5\177.! +t>! j5 \7"VFILL VERSION" \34", \ | ^~~~~~~ vt913.out:8:1: note: in expansion of macro 'HELP_HEADER' 8 | HELP_HEADER | ^~~~~~~~~~~ help.c:63:38: note: to match this '{' 63 | { 0x913, 0, -1, 0, 0, (1<<26)-1, { | ^ help.c:11:52: error: expected '}' before 'VERSION' 11 | "\4\35\22\177,\177j5\177.! +t>! j5 \7"VFILL VERSION" \34", \ | ^~~~~~~ vt914-02.out:8:1: note: in expansion of macro 'HELP_HEADER' 8 | HELP_HEADER | ^~~~~~~~~~~ help.c:67:38: note: to match this '{' 67 | { 0x914, 2, -1, 0, 0, (1<<26)-1, { | ^ help.c:11:52: error: expected '}' before 'VERSION' 11 | "\4\35\22\177,\177j5\177.! +t>! j5 \7"VFILL VERSION" \34", \ | ^~~~~~~ vt914-01.out:8:1: note: in expansion of macro 'HELP_HEADER' 8 | HELP_HEADER | ^~~~~~~~~~~ help.c:71:38: note: to match this '{' 71 | { 0x914, 1, -1, 0, 0, (1<<26)-1, { | ^ help.c:11:52: error: expected '}' before 'VERSION' 11 | "\4\35\22\177,\177j5\177.! +t>! j5 \7"VFILL VERSION" \34", \ | ^~~~~~~ vt915.out:8:1: note: in expansion of macro 'HELP_HEADER' 8 | HELP_HEADER | ^~~~~~~~~~~ help.c:75:38: note: to match this '{' 75 | { 0x915, 0, -1, 0, 0, (1<<26)-1, { | ^ help.c:11:52: error: expected '}' before 'VERSION' 11 | "\4\35\22\177,\177j5\177.! +t>! j5 \7"VFILL VERSION" \34", \ | ^~~~~~~ vt999.out:8:1: note: in expansion of macro 'HELP_HEADER' 8 | HELP_HEADER | ^~~~~~~~~~~ help.c:79:38: note: to match this '{' 79 | { 0x999, 0, -1, 0, 0, (1<<26)-1, { | ^ make: *** [: help.o] Error 1 make: *** Waiting for unfinished jobs.... 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: | ^~~~~ 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:490, 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:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ 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 * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ edline.c:145:1: warning: label 'fail2' defined but not used [-Wunused-label] 145 | fail2: | ^~~~~ vbi.c: In function 'vbi_send': vbi.c:85:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 85 | for (cl = PTR vbi->clients->first; cln = PTR cl->node->next; cl = cln) | ^~~ main.c: In function 'option': vbi.c: In function 'vbi_pll_reset': vbi.c:163:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 163 | if (debug) | ^ main.c:148:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 148 | if (opts[i].arg) | ^ main.c: In function 'main': main.c:188:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 188 | while (opt = option(argc, argv, &ind, &arg)) | ^~~ main.c:215:40: error: expected ')' before 'VERSION' 215 | printf("AleVT Version "VERSION"\n"); | ~ ^~~~~~~ | ) vbi.c: In function 'vt_line': vbi.c:266:39: warning: pointer targets in passing argument 3 of 'add_enhance' differ in signedness [-Wpointer-sign] 266 | add_enhance(rvtp->enh, d, t); | ^ | | | int * In file included from vbi.h:7, from vbi.c:10: 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': 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, | ^~~ vbi.c:389:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 389 | if (i = vt_line(vbi, data+1)) | ^ 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, ...); | ~~~~^~~ vbi.c:389:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 389 | if (i = vt_line(vbi, data+1)) | ^ 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, ...); | ~~~~^~~ 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); | ~~~~^~~~ make: *** [: main.o] Error 1 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:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ui.c:1: /usr/include/bits/stdio2.h:41:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 41 | __NTH (vsprintf (char *__restrict __s, const char *__restrict __fmt, | ^~~~~ 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:41:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 41 | __NTH (vsprintf (char *__restrict __s, const char *__restrict __fmt, | ^~~~~ 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 * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ 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, ...) | ~~~~^~~ 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, ...) | ~~~~^~~ 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, | ~~~~^~~~~~ 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 * 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: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 * 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: 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:906: In function 'sprintf', inlined from 'set_title' at ui.c:76:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' 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 ()); | ~~~~~~~~~~~~~~~~~ error: Bad exit status from /var/tmp/rpm-tmp.fAopy4 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.fAopy4 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/alevt.spec