Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/devio.spec'], chrootPath='/var/lib/mock/f33-build-126753-40104/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/devio.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580169600 Wrote: /builddir/build/SRPMS/devio-1.2-20.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/devio.spec'], chrootPath='/var/lib/mock/f33-build-126753-40104/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/devio.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580169600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TZOdeH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf devio-1.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/devio-1.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd devio-1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QMRwoF + umask 022 + cd /builddir/build/BUILD + cd devio-1.2 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking whether stat file-mode macros are broken... no checking for an ANSI C-conforming const... yes checking for off_t... yes checking for size_t... yes checking for struct stat.st_blksize... yes checking for struct stat.st_blocks... yes checking for struct stat.st_rdev... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for fdatasync... yes checking for memset... yes checking for strerror... yes checking for strtoul... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/devio-1.2' Making all in src make[2]: Entering directory '/builddir/build/BUILD/devio-1.2/src' gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c devio.c devio.c: In function 'my_strdup': devio.c:126:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 126 | size_t cb = strlen(from)+1; | ^~~~ | | | const unsigned char * In file included from devio.c:40: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const unsigned char *' 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:129:3: note: in expansion of macro 'die' 129 | die("out of memory", from); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c: In function 'size_mtd': devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] 99 | #define pdie(a,b) do_pdie((a),(b)) | ^~~ | | | char * devio.c:201:5: note: in expansion of macro 'pdie' 201 | pdie("lseek(length)", pfile->pname); | ^~~~ devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] 99 | #define pdie(a,b) do_pdie((a),(b)) | ^~~ | | | char * devio.c:203:5: note: in expansion of macro 'pdie' 203 | pdie("lseek(length reset)", pfile->pname); | ^~~~ devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:210:3: note: in expansion of macro 'die' 210 | die("cannot find size of this device", pfile->pname); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c: In function 'new_mtd': devio.c:220:27: warning: pointer targets in passing argument 1 of 'my_strdup' differ in signedness [-Wpointer-sign] 220 | pfile->pname = my_strdup(pname); | ^~~~~ | | | const char * devio.c:125:47: note: expected 'const unsigned char *' but argument is of type 'const char *' 125 | unsigned char *my_strdup(const unsigned char *from) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] 99 | #define pdie(a,b) do_pdie((a),(b)) | ^~~ | | | char * devio.c:229:3: note: in expansion of macro 'pdie' 229 | pdie("fstat", pname); | ^~~~ devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:99:31: warning: pointer targets in passing argument 2 of 'do_pdie' differ in signedness [-Wpointer-sign] 99 | #define pdie(a,b) do_pdie((a),(b)) | ^~~ | | | const char * devio.c:229:3: note: in expansion of macro 'pdie' 229 | pdie("fstat", pname); | ^~~~ devio.c:94:68: note: expected 'const unsigned char *' but argument is of type 'const char *' 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:236:3: note: in expansion of macro 'die' 236 | die("invalid device", pname); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:80:29: warning: pointer targets in passing argument 2 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | const char * devio.c:236:3: note: in expansion of macro 'die' 236 | die("invalid device", pname); | ^~~ devio.c:75:67: note: expected 'const unsigned char *' but argument is of type 'const char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ devio.c: In function 'open_mtd': devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] 99 | #define pdie(a,b) do_pdie((a),(b)) | ^~~ | | | char * devio.c:252:3: note: in expansion of macro 'pdie' 252 | pdie("open", pname); | ^~~~ devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:99:31: warning: pointer targets in passing argument 2 of 'do_pdie' differ in signedness [-Wpointer-sign] 99 | #define pdie(a,b) do_pdie((a),(b)) | ^~~ | | | const char * devio.c:252:3: note: in expansion of macro 'pdie' 252 | pdie("open", pname); | ^~~~ devio.c:94:68: note: expected 'const unsigned char *' but argument is of type 'const char *' 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:254:3: note: in expansion of macro 'die' 254 | die("no standard streams", "-"); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:80:29: warning: pointer targets in passing argument 2 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:254:3: note: in expansion of macro 'die' 254 | die("no standard streams", "-"); | ^~~ devio.c:75:67: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ devio.c: In function 'write_mtd': devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:278:5: note: in expansion of macro 'die' 278 | die("verification failed", pfile->pname); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] 99 | #define pdie(a,b) do_pdie((a),(b)) | ^~~ | | | char * devio.c:285:5: note: in expansion of macro 'pdie' 285 | pdie("lseek(write)", pfile->pname); | ^~~~ devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] 99 | #define pdie(a,b) do_pdie((a),(b)) | ^~~ | | | char * devio.c:320:6: note: in expansion of macro 'pdie' 320 | pdie("write", pfile->pname); | ^~~~ devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c: In function 'close_mtd': devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] 99 | #define pdie(a,b) do_pdie((a),(b)) | ^~~ | | | char * devio.c:392:6: note: in expansion of macro 'pdie' 392 | pdie("sync", pfile->pname); | ^~~~ devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] 99 | #define pdie(a,b) do_pdie((a),(b)) | ^~~ | | | char * devio.c:399:5: note: in expansion of macro 'pdie' 399 | pdie("close", pfile->pname); | ^~~~ devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c: In function 'buffer_mtd': devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:427:4: note: in expansion of macro 'die' 427 | die("out of memory", pfile->pname); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c: In function 'read_mtd': devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:454:3: note: in expansion of macro 'die' 454 | die("read outside file", pfile->pname); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] 99 | #define pdie(a,b) do_pdie((a),(b)) | ^~~ | | | char * devio.c:479:5: note: in expansion of macro 'pdie' 479 | pdie("lseek(read)", pfile->pname); | ^~~~ devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] 99 | #define pdie(a,b) do_pdie((a),(b)) | ^~~ | | | char * devio.c:500:5: note: in expansion of macro 'pdie' 500 | pdie("lseek(read reset)", pfile->pname); | ^~~~ devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] 99 | #define pdie(a,b) do_pdie((a),(b)) | ^~~ | | | char * devio.c:505:4: note: in expansion of macro 'pdie' 505 | pdie("read", pfile->pname); | ^~~~ devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:507:4: note: in expansion of macro 'die' 507 | die("unexpected end of file", pfile->pname); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c: In function 'mtd_putb': devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:546:3: note: in expansion of macro 'die' 546 | die("file is not writeable", pfile->pname); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c: In function 'mtd_readbytes': devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:561:3: note: in expansion of macro 'die' 561 | die("read beyond end of file", pfile->pname); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c: In function 'mtd_writebytes': devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:591:3: note: in expansion of macro 'die' 591 | die("file is not writeable", pfile->pname); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:593:3: note: in expansion of macro 'die' 593 | die("write beyond end of file", pfile->pname); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c: In function 'quit': devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] 99 | #define pdie(a,b) do_pdie((a),(b)) | ^~~ | | | char * devio.c:716:3: note: in expansion of macro 'pdie' 716 | pdie("output failed", "stdout"); | ^~~~ devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:99:31: warning: pointer targets in passing argument 2 of 'do_pdie' differ in signedness [-Wpointer-sign] 99 | #define pdie(a,b) do_pdie((a),(b)) | ^~~ | | | char * devio.c:716:3: note: in expansion of macro 'pdie' 716 | pdie("output failed", "stdout"); | ^~~~ devio.c:94:68: note: expected 'const unsigned char *' but argument is of type 'char *' 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ devio.c: In function 'inb': devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] 99 | #define pdie(a,b) do_pdie((a),(b)) | ^~~ | | | char * devio.c:728:4: note: in expansion of macro 'pdie' 728 | pdie("read error", "stdin"); | ^~~~ devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:99:31: warning: pointer targets in passing argument 2 of 'do_pdie' differ in signedness [-Wpointer-sign] 99 | #define pdie(a,b) do_pdie((a),(b)) | ^~~ | | | char * devio.c:728:4: note: in expansion of macro 'pdie' 728 | pdie("read error", "stdin"); | ^~~~ devio.c:94:68: note: expected 'const unsigned char *' but argument is of type 'char *' 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ devio.c: In function 'outb': devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] 99 | #define pdie(a,b) do_pdie((a),(b)) | ^~~ | | | char * devio.c:740:4: note: in expansion of macro 'pdie' 740 | pdie("write error", "stdout"); | ^~~~ devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:99:31: warning: pointer targets in passing argument 2 of 'do_pdie' differ in signedness [-Wpointer-sign] 99 | #define pdie(a,b) do_pdie((a),(b)) | ^~~ | | | char * devio.c:740:4: note: in expansion of macro 'pdie' 740 | pdie("write error", "stdout"); | ^~~~ devio.c:94:68: note: expected 'const unsigned char *' but argument is of type 'char *' 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ devio.c: In function 'outputbytes': devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] 99 | #define pdie(a,b) do_pdie((a),(b)) | ^~~ | | | char * devio.c:751:4: note: in expansion of macro 'pdie' 751 | pdie("write error", "stdout"); | ^~~~ devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:99:31: warning: pointer targets in passing argument 2 of 'do_pdie' differ in signedness [-Wpointer-sign] 99 | #define pdie(a,b) do_pdie((a),(b)) | ^~~ | | | char * devio.c:751:4: note: in expansion of macro 'pdie' 751 | pdie("write error", "stdout"); | ^~~~ devio.c:94:68: note: expected 'const unsigned char *' but argument is of type 'char *' 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ devio.c:753:27: warning: pointer targets in passing argument 2 of 'mtd_writebytes' differ in signedness [-Wpointer-sign] 753 | mtd_writebytes(pp->pto, pbuf, cb); | ^~~~ | | | const char * devio.c:589:66: note: expected 'const unsigned char *' but argument is of type 'const char *' 589 | static void mtd_writebytes(mtd_file *pfile, const unsigned char *pbuf, size_t cb) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ devio.c: In function 'copybytes': devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] 99 | #define pdie(a,b) do_pdie((a),(b)) | ^~~ | | | char * devio.c:781:5: note: in expansion of macro 'pdie' 781 | pdie("read error", "stdin"); | ^~~~ devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:99:31: warning: pointer targets in passing argument 2 of 'do_pdie' differ in signedness [-Wpointer-sign] 99 | #define pdie(a,b) do_pdie((a),(b)) | ^~~ | | | char * devio.c:781:5: note: in expansion of macro 'pdie' 781 | pdie("read error", "stdin"); | ^~~~ devio.c:94:68: note: expected 'const unsigned char *' but argument is of type 'char *' 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ devio.c:788:19: warning: pointer targets in passing argument 2 of 'outputbytes' differ in signedness [-Wpointer-sign] 788 | outputbytes(pp, buf, cbavail); | ^~~ | | | unsigned char * devio.c:748:52: note: expected 'const char *' but argument is of type 'unsigned char *' 748 | static void outputbytes(parse_buf *pp, const char *pbuf, size_t cb) { | ~~~~~~~~~~~~^~~~ devio.c: In function 'fillbytes': devio.c:805:19: warning: pointer targets in passing argument 2 of 'outputbytes' differ in signedness [-Wpointer-sign] 805 | outputbytes(pp, buf, cbavail); | ^~~ | | | unsigned char * devio.c:748:52: note: expected 'const char *' but argument is of type 'unsigned char *' 748 | static void outputbytes(parse_buf *pp, const char *pbuf, size_t cb) { | ~~~~~~~~~~~~^~~~ devio.c: In function 'push': devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:815:3: note: in expansion of macro 'die' 815 | die("stack overflow", str); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c: In function 'pop': devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:823:3: note: in expansion of macro 'die' 823 | die("stack underflow", str); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c: In function 'top': devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:830:3: note: in expansion of macro 'die' 830 | die("stack underflow", str); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c: In function 'parse_expression': devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:860:5: note: in expansion of macro 'die' 860 | die("() stack overflow", lp); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:956:4: note: in expansion of macro 'die' 956 | die("bad [: or [) nesting", lp); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:990:19: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 990 | num = strtoul(lp, &end, 0); | ^~ | | | const unsigned char * In file included from devio.c:38: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'const unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] 99 | #define pdie(a,b) do_pdie((a),(b)) | ^~~ | | | char * devio.c:992:6: note: in expansion of macro 'pdie' 992 | pdie("invalid number", lp); | ^~~~ devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:1056:7: note: in expansion of macro 'die' 1056 | die("size of input unknown", lp); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:1061:7: note: in expansion of macro 'die' 1061 | die("position of input unknown", lp); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:1066:7: note: in expansion of macro 'die' 1066 | die("size of output unknown", lp); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:1071:7: note: in expansion of macro 'die' 1071 | die("position of output unknown", lp); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:1076:7: note: in expansion of macro 'die' 1076 | die("input device number unknown", lp); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:1082:7: note: in expansion of macro 'die' 1082 | die("output block size unknown", lp); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:1087:7: note: in expansion of macro 'die' 1087 | die("input block size unknown", lp); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:1095:8: warning: pointer targets in passing argument 2 of 'parse_expression' differ in signedness [-Wpointer-sign] 1095 | P("@8{@+8{@+8{@+;# 4 byte big-endian read"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * devio.c:1094:47: note: in definition of macro 'P' 1094 | #define P(st) (void)parse_expression(pp, st, 0, (sizeof st)-1) | ^~ devio.c:847:65: note: expected 'const unsigned char *' but argument is of type 'char *' 847 | static int parse_expression(parse_buf *pp, const unsigned char *line, int Ac, int AcEnd) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ devio.c:1098:8: warning: pointer targets in passing argument 2 of 'parse_expression' differ in signedness [-Wpointer-sign] 1098 | P("@@@@8{+8{+8{+;# 4 byte little-endian read"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * devio.c:1094:47: note: in definition of macro 'P' 1094 | #define P(st) (void)parse_expression(pp, st, 0, (sizeof st)-1) | ^~ devio.c:847:65: note: expected 'const unsigned char *' but argument is of type 'char *' 847 | static int parse_expression(parse_buf *pp, const unsigned char *line, int Ac, int AcEnd) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:1112:6: note: in expansion of macro 'die' 1112 | die("invalid operator", lp); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:1124:3: note: in expansion of macro 'die' 1124 | die("unclosed ( )", line); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c: In function 'need': devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:1139:3: note: in expansion of macro 'die' 1139 | die("too few arguments", line+Ac); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c: In function 'string': devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:1167:4: note: in expansion of macro 'die' 1167 | die("unterminated quoted string", line+start); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:1171:4: note: in expansion of macro 'die' 1171 | die("stuff on line after quoted string", line+start); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:1181:3: note: in expansion of macro 'die' 1181 | die("string too long", line+start); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c: In function 'find_file': devio.c:1216:11: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1216 | strcmp(name, pp->files[i].pname) == 0) | ^~~~ | | | const unsigned char * In file included from devio.c:40: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ devio.c:1216:29: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 1216 | strcmp(name, pp->files[i].pname) == 0) | ~~~~~~~~~~~~^~~~~~ | | | unsigned char * In file included from devio.c:40: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ devio.c: In function 'open_file': devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:1230:3: note: in expansion of macro 'die' 1230 | die("no more files", name); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:1231:24: warning: pointer targets in passing argument 2 of 'open_mtd' differ in signedness [-Wpointer-sign] 1231 | open_mtd(pp->files+i, name, fwrite, pp->fverify, pp->fprogress); | ^~~~ | | | const unsigned char * devio.c:248:51: note: expected 'const char *' but argument is of type 'const unsigned char *' 248 | static void open_mtd(mtd_file *pfile, const char *pname, | ~~~~~~~~~~~~^~~~~ devio.c: In function 'parse': devio.c:1267:31: warning: pointer targets in initialization of 'const unsigned char *' from 'const char *' differ in signedness [-Wpointer-sign] 1267 | const unsigned char *line = prog[Al]; | ^~~~ devio.c:1268:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1268 | const int AcEnd = strlen(line); | ^~~~ | | | const unsigned char * In file included from devio.c:40: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const unsigned char *' 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:1295:6: note: in expansion of macro 'die' 1295 | die("exec stack overflow", lp); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:1347:11: warning: pointer targets in assignment from 'const char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1347 | line = prog[Al]; | ^ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:1366:5: note: in expansion of macro 'die' 1366 | die("exec stack underflow", lp); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:1392:7: note: in expansion of macro 'die' 1392 | die("attempt to open a read file for write", buffer); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:1415:7: note: in expansion of macro 'die' 1415 | die("no such file to close", buffer); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:1423:6: note: in expansion of macro 'die' 1423 | die("<> (close) requires an argument", lp); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:1429:6: note: in expansion of macro 'die' 1429 | die("no output file", lp); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:1436:6: note: in expansion of macro 'die' 1436 | die("no input file", lp); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:1449:13: note: in expansion of macro 'die' 1449 | default:die("byte count out of range", lp); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:1461:13: note: in expansion of macro 'die' 1461 | default:die("byte count out of range", lp); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:1467:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1467 | outputbytes(pp, buffer, strlen(buffer)); | ^~~~~~ | | | unsigned char * In file included from devio.c:40: /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'unsigned char *' 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ devio.c:1467:21: warning: pointer targets in passing argument 2 of 'outputbytes' differ in signedness [-Wpointer-sign] 1467 | outputbytes(pp, buffer, strlen(buffer)); | ^~~~~~ | | | unsigned char * devio.c:748:52: note: expected 'const char *' but argument is of type 'unsigned char *' 748 | static void outputbytes(parse_buf *pp, const char *pbuf, size_t cb) { | ~~~~~~~~~~~~^~~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:1477:6: note: in expansion of macro 'die' 1477 | die("fill value out of range", lp); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:1495:6: note: in expansion of macro 'die' 1495 | die("invalid byte count", lp); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] 99 | #define pdie(a,b) do_pdie((a),(b)) | ^~~ | | | char * devio.c:1505:6: note: in expansion of macro 'pdie' 1505 | pdie("write error", "stdout"); | ^~~~ devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:99:31: warning: pointer targets in passing argument 2 of 'do_pdie' differ in signedness [-Wpointer-sign] 99 | #define pdie(a,b) do_pdie((a),(b)) | ^~~ | | | char * devio.c:1505:6: note: in expansion of macro 'pdie' 1505 | pdie("write error", "stdout"); | ^~~~ devio.c:94:68: note: expected 'const unsigned char *' but argument is of type 'char *' 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ devio.c:1516:13: warning: pointer targets in passing argument 1 of 'printf' differ in signedness [-Wpointer-sign] 1516 | printf(buffer, stack[0], stack[-1], stack[-2], stack[-3], | ^~~~~~ | | | unsigned char * In file included from /usr/include/stdio.h:871, from devio.c:39: /usr/include/bits/stdio2.h:105:32: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 105 | printf (const char *__restrict __fmt, ...) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:1538:6: note: in expansion of macro 'die' 1538 | die("unknown command", lp); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:1551:3: note: in expansion of macro 'die' 1551 | die("unclosed $( $)", "eof"); | ^~~ devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~ devio.c:80:29: warning: pointer targets in passing argument 2 of 'do_die' differ in signedness [-Wpointer-sign] 80 | #define die(a,b) do_die((a),(b)) | ^~~ | | | char * devio.c:1551:3: note: in expansion of macro 'die' 1551 | die("unclosed $( $)", "eof"); | ^~~ devio.c:75:67: note: expected 'const unsigned char *' but argument is of type 'char *' 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ devio.c: In function 'main': devio.c:1587:30: warning: pointer targets in initialization of 'const unsigned char *' from 'const char *' differ in signedness [-Wpointer-sign] 1587 | const unsigned char *p = argv[i]; | ^~~~ devio.c:1590:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1590 | p = "Enter the keyword in [] contained after the command list\n" | ^ devio.c:1595:9: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1595 | p = " commands are terminated by ';', newline or the end of input:\n" | ^ devio.c:1612:9: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1612 | p = "conditional evalation\n" | ^ devio.c:1638:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1638 | p = "conditional: $( condition; do if (condition) {\n"; | ^ devio.c:1641:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1641 | p = "conditional: $( condition; } else if (condition) {\n"; | ^ devio.c:1644:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1644 | p = "conditional: $: condition; } while (condition);\n"; | ^ devio.c:1647:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1647 | p = "conditional: $: condition; if (condition) break;\n"; | ^ devio.c:1650:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1650 | p = "program termination commands:\n" | ^ devio.c:1658:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1658 | p = "exit: !? code; if (code != 0) exit(code);\n"; | ^ devio.c:1661:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1661 | p = "exit: !! code; exit(code);\n"; | ^ devio.c:1664:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1664 | p = "input/output control:\n" | ^ devio.c:1680:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1680 | p = "io: >> file; select file as the current output device\n" | ^ devio.c:1684:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1684 | p = "io: << file; select file as the current input device\n" | ^ devio.c:1688:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1688 | p = "io: <> file; close file\n"; | ^ devio.c:1691:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1691 | p = "io: >< file; close file\n"; | ^ devio.c:1694:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1694 | p = "io: >= offset; set the 'to' pointer: output device file pointer\n"; | ^ devio.c:1697:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1697 | p = "io: <= offset; set the 'from' pointer: input device file pointer\n"; | ^ devio.c:1700:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1700 | p = "writing to the output:\n" | ^ devio.c:1706:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1706 | p = "write: wb number bytes; write number in bytes big endian bytes\n"; | ^ devio.c:1709:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1709 | p = "write: wl number bytes; write number in bytes little endian bytes\n"; | ^ devio.c:1712:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1712 | p = "write: ws string; write string\n"; | ^ devio.c:1715:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1715 | p = "write: fb number byte; write number bytes of value 'byte'\n"; | ^ devio.c:1718:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1718 | p = "write: cp number; copy number bytes from input to output\n"; | ^ devio.c:1721:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1721 | p = "write: xp number bytes; byte swap number bytes from input to output\n" | ^ devio.c:1725:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1725 | p = "writing to stdout:\n" | ^ devio.c:1735:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1735 | p = "message: pr number; printf(\"%lu\\n\", number);\n"; | ^ devio.c:1738:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1738 | p = "message: pf string; printf(string, 1, 2, 3, 4, 5, 6, 7, 8)\n" | ^ devio.c:1744:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1744 | p = "message: pn; prints a newline (printf(\"\\n\");)\n"; | ^ devio.c:1747:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1747 | p = ".= [number]\n" | ^ devio.c:1750:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1750 | p = "= [number] ( is an upper case character in the range A-Z)\n" | ^ devio.c:1754:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1754 | p = "string format\n" | ^ devio.c:1762:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1762 | p = "number format\n" | ^ devio.c:1777:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1777 | p = "operators\n" | ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o devio devio.o make[2]: Leaving directory '/builddir/build/BUILD/devio-1.2/src' make[2]: Entering directory '/builddir/build/BUILD/devio-1.2' make[2]: Leaving directory '/builddir/build/BUILD/devio-1.2' make[1]: Leaving directory '/builddir/build/BUILD/devio-1.2' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rC555D + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/devio-1.2-20.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/devio-1.2-20.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/devio-1.2-20.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/devio-1.2-20.fc33.riscv64 + cd devio-1.2 + make install DESTDIR=/builddir/build/BUILDROOT/devio-1.2-20.fc33.riscv64 Making install in src make[1]: Entering directory '/builddir/build/BUILD/devio-1.2/src' make[2]: Entering directory '/builddir/build/BUILD/devio-1.2/src' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILDROOT/devio-1.2-20.fc33.riscv64/usr/bin" /usr/bin/install -c 'devio' '/builddir/build/BUILDROOT/devio-1.2-20.fc33.riscv64/usr/bin/devio' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/devio-1.2/src' make[1]: Leaving directory '/builddir/build/BUILD/devio-1.2/src' make[1]: Entering directory '/builddir/build/BUILD/devio-1.2' make[2]: Entering directory '/builddir/build/BUILD/devio-1.2' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/devio-1.2' make[1]: Leaving directory '/builddir/build/BUILD/devio-1.2' + install -Dp -m 644 /builddir/build/SOURCES/devio.man /builddir/build/BUILDROOT/devio-1.2-20.fc33.riscv64/usr/share/man/man1/devio.1 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.2-20.fc33 --unique-debug-suffix -1.2-20.fc33.riscv64 --unique-debug-src-base devio-1.2-20.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/devio-1.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/devio-1.2-20.fc33.riscv64/usr/bin/devio extracting debug info from /builddir/build/BUILDROOT/devio-1.2-20.fc33.riscv64/usr/bin/devio original debug info size: 112kB, size after compression: 112kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 116 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: devio-1.2-20.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pHBTPE + umask 022 + cd /builddir/build/BUILD + cd devio-1.2 + DOCDIR=/builddir/build/BUILDROOT/devio-1.2-20.fc33.riscv64/usr/share/doc/devio + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/devio-1.2-20.fc33.riscv64/usr/share/doc/devio + cp -pr AUTHORS /builddir/build/BUILDROOT/devio-1.2-20.fc33.riscv64/usr/share/doc/devio + cp -pr COPYING /builddir/build/BUILDROOT/devio-1.2-20.fc33.riscv64/usr/share/doc/devio + cp -pr ChangeLog /builddir/build/BUILDROOT/devio-1.2-20.fc33.riscv64/usr/share/doc/devio + cp -pr NEWS /builddir/build/BUILDROOT/devio-1.2-20.fc33.riscv64/usr/share/doc/devio + cp -pr README /builddir/build/BUILDROOT/devio-1.2-20.fc33.riscv64/usr/share/doc/devio + RPM_EC=0 ++ jobs -p + exit 0 Provides: devio = 1.2-20.fc33 devio(riscv-64) = 1.2-20.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: devio-debugsource-1.2-20.fc33.riscv64 Provides: devio-debugsource = 1.2-20.fc33 devio-debugsource(riscv-64) = 1.2-20.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: devio-debuginfo-1.2-20.fc33.riscv64 Provides: debuginfo(build-id) = d7953eebf890f1f771c9f683d7c81e8013866dbb devio-debuginfo = 1.2-20.fc33 devio-debuginfo(riscv-64) = 1.2-20.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: devio-debugsource(riscv-64) = 1.2-20.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/devio-1.2-20.fc33.riscv64 Wrote: /builddir/build/RPMS/devio-1.2-20.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/devio-debugsource-1.2-20.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/devio-debuginfo-1.2-20.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.7pWvVG + umask 022 + cd /builddir/build/BUILD + cd devio-1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/devio-1.2-20.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0