Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/devio.spec'], chrootPath='/var/lib/mock/f31-build-59068-28516/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=345600uid=986gid=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=1548892800 Wrote: /builddir/build/SRPMS/devio-1.2-18.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/devio.spec'], chrootPath='/var/lib/mock/f31-build-59068-28516/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=345600uid=986gid=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=1548892800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.U8AQHO + 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 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fq25vM + 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 + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 + make -j4 BUILDSTDERR: devio.c: In function 'my_strdup': BUILDSTDERR: devio.c:126:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 126 | size_t cb = strlen(from)+1; BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | const unsigned char * BUILDSTDERR: In file included from devio.c:40: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'const unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:129:3: note: in expansion of macro 'die' BUILDSTDERR: 129 | die("out of memory", from); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c: In function 'size_mtd': BUILDSTDERR: devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] BUILDSTDERR: 99 | #define pdie(a,b) do_pdie((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:201:5: note: in expansion of macro 'pdie' BUILDSTDERR: 201 | pdie("lseek(length)", pfile->pname); BUILDSTDERR: | ^~~~ BUILDSTDERR: devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] BUILDSTDERR: 99 | #define pdie(a,b) do_pdie((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:203:5: note: in expansion of macro 'pdie' BUILDSTDERR: 203 | pdie("lseek(length reset)", pfile->pname); BUILDSTDERR: | ^~~~ BUILDSTDERR: devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:210:3: note: in expansion of macro 'die' BUILDSTDERR: 210 | die("cannot find size of this device", pfile->pname); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c: In function 'new_mtd': BUILDSTDERR: devio.c:220:27: warning: pointer targets in passing argument 1 of 'my_strdup' differ in signedness [-Wpointer-sign] BUILDSTDERR: 220 | pfile->pname = my_strdup(pname); BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | const char * BUILDSTDERR: devio.c:125:47: note: expected 'const unsigned char *' but argument is of type 'const char *' BUILDSTDERR: 125 | unsigned char *my_strdup(const unsigned char *from) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] BUILDSTDERR: 99 | #define pdie(a,b) do_pdie((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:229:3: note: in expansion of macro 'pdie' BUILDSTDERR: 229 | pdie("fstat", pname); BUILDSTDERR: | ^~~~ BUILDSTDERR: devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:99:31: warning: pointer targets in passing argument 2 of 'do_pdie' differ in signedness [-Wpointer-sign] BUILDSTDERR: 99 | #define pdie(a,b) do_pdie((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | const char * BUILDSTDERR: devio.c:229:3: note: in expansion of macro 'pdie' BUILDSTDERR: 229 | pdie("fstat", pname); BUILDSTDERR: | ^~~~ BUILDSTDERR: devio.c:94:68: note: expected 'const unsigned char *' but argument is of type 'const char *' BUILDSTDERR: 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:236:3: note: in expansion of macro 'die' BUILDSTDERR: 236 | die("invalid device", pname); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:80:29: warning: pointer targets in passing argument 2 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | const char * BUILDSTDERR: devio.c:236:3: note: in expansion of macro 'die' BUILDSTDERR: 236 | die("invalid device", pname); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:67: note: expected 'const unsigned char *' but argument is of type 'const char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: devio.c: In function 'open_mtd': BUILDSTDERR: devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] BUILDSTDERR: 99 | #define pdie(a,b) do_pdie((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:252:3: note: in expansion of macro 'pdie' BUILDSTDERR: 252 | pdie("open", pname); BUILDSTDERR: | ^~~~ BUILDSTDERR: devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:99:31: warning: pointer targets in passing argument 2 of 'do_pdie' differ in signedness [-Wpointer-sign] BUILDSTDERR: 99 | #define pdie(a,b) do_pdie((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | const char * BUILDSTDERR: devio.c:252:3: note: in expansion of macro 'pdie' BUILDSTDERR: 252 | pdie("open", pname); BUILDSTDERR: | ^~~~ BUILDSTDERR: devio.c:94:68: note: expected 'const unsigned char *' but argument is of type 'const char *' BUILDSTDERR: 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:254:3: note: in expansion of macro 'die' BUILDSTDERR: 254 | die("no standard streams", "-"); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:80:29: warning: pointer targets in passing argument 2 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:254:3: note: in expansion of macro 'die' BUILDSTDERR: 254 | die("no standard streams", "-"); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:67: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: devio.c: In function 'write_mtd': BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:278:5: note: in expansion of macro 'die' BUILDSTDERR: 278 | die("verification failed", pfile->pname); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] BUILDSTDERR: 99 | #define pdie(a,b) do_pdie((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:285:5: note: in expansion of macro 'pdie' BUILDSTDERR: 285 | pdie("lseek(write)", pfile->pname); BUILDSTDERR: | ^~~~ BUILDSTDERR: devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] BUILDSTDERR: 99 | #define pdie(a,b) do_pdie((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:320:6: note: in expansion of macro 'pdie' BUILDSTDERR: 320 | pdie("write", pfile->pname); BUILDSTDERR: | ^~~~ BUILDSTDERR: devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c: In function 'close_mtd': BUILDSTDERR: devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] BUILDSTDERR: 99 | #define pdie(a,b) do_pdie((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:392:6: note: in expansion of macro 'pdie' BUILDSTDERR: 392 | pdie("sync", pfile->pname); BUILDSTDERR: | ^~~~ BUILDSTDERR: devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] BUILDSTDERR: 99 | #define pdie(a,b) do_pdie((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:399:5: note: in expansion of macro 'pdie' BUILDSTDERR: 399 | pdie("close", pfile->pname); BUILDSTDERR: | ^~~~ BUILDSTDERR: devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c: In function 'buffer_mtd': BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:427:4: note: in expansion of macro 'die' BUILDSTDERR: 427 | die("out of memory", pfile->pname); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c: In function 'read_mtd': BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:454:3: note: in expansion of macro 'die' BUILDSTDERR: 454 | die("read outside file", pfile->pname); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] BUILDSTDERR: 99 | #define pdie(a,b) do_pdie((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:479:5: note: in expansion of macro 'pdie' BUILDSTDERR: 479 | pdie("lseek(read)", pfile->pname); BUILDSTDERR: | ^~~~ BUILDSTDERR: devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] BUILDSTDERR: 99 | #define pdie(a,b) do_pdie((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:500:5: note: in expansion of macro 'pdie' BUILDSTDERR: 500 | pdie("lseek(read reset)", pfile->pname); BUILDSTDERR: | ^~~~ BUILDSTDERR: devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] BUILDSTDERR: 99 | #define pdie(a,b) do_pdie((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:505:4: note: in expansion of macro 'pdie' BUILDSTDERR: 505 | pdie("read", pfile->pname); BUILDSTDERR: | ^~~~ BUILDSTDERR: devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:507:4: note: in expansion of macro 'die' BUILDSTDERR: 507 | die("unexpected end of file", pfile->pname); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c: In function 'mtd_putb': BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:546:3: note: in expansion of macro 'die' BUILDSTDERR: 546 | die("file is not writeable", pfile->pname); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c: In function 'mtd_readbytes': BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:561:3: note: in expansion of macro 'die' BUILDSTDERR: 561 | die("read beyond end of file", pfile->pname); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c: In function 'mtd_writebytes': BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:591:3: note: in expansion of macro 'die' BUILDSTDERR: 591 | die("file is not writeable", pfile->pname); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:593:3: note: in expansion of macro 'die' BUILDSTDERR: 593 | die("write beyond end of file", pfile->pname); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c: In function 'quit': BUILDSTDERR: devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] BUILDSTDERR: 99 | #define pdie(a,b) do_pdie((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:716:3: note: in expansion of macro 'pdie' BUILDSTDERR: 716 | pdie("output failed", "stdout"); BUILDSTDERR: | ^~~~ BUILDSTDERR: devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:99:31: warning: pointer targets in passing argument 2 of 'do_pdie' differ in signedness [-Wpointer-sign] BUILDSTDERR: 99 | #define pdie(a,b) do_pdie((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:716:3: note: in expansion of macro 'pdie' BUILDSTDERR: 716 | pdie("output failed", "stdout"); BUILDSTDERR: | ^~~~ BUILDSTDERR: devio.c:94:68: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: devio.c: In function 'inb': BUILDSTDERR: devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] BUILDSTDERR: 99 | #define pdie(a,b) do_pdie((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:728:4: note: in expansion of macro 'pdie' BUILDSTDERR: 728 | pdie("read error", "stdin"); BUILDSTDERR: | ^~~~ BUILDSTDERR: devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:99:31: warning: pointer targets in passing argument 2 of 'do_pdie' differ in signedness [-Wpointer-sign] BUILDSTDERR: 99 | #define pdie(a,b) do_pdie((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:728:4: note: in expansion of macro 'pdie' BUILDSTDERR: 728 | pdie("read error", "stdin"); BUILDSTDERR: | ^~~~ BUILDSTDERR: devio.c:94:68: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: devio.c: In function 'outb': BUILDSTDERR: devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] BUILDSTDERR: 99 | #define pdie(a,b) do_pdie((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:740:4: note: in expansion of macro 'pdie' BUILDSTDERR: 740 | pdie("write error", "stdout"); BUILDSTDERR: | ^~~~ BUILDSTDERR: devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:99:31: warning: pointer targets in passing argument 2 of 'do_pdie' differ in signedness [-Wpointer-sign] BUILDSTDERR: 99 | #define pdie(a,b) do_pdie((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:740:4: note: in expansion of macro 'pdie' BUILDSTDERR: 740 | pdie("write error", "stdout"); BUILDSTDERR: | ^~~~ BUILDSTDERR: devio.c:94:68: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: devio.c: In function 'outputbytes': BUILDSTDERR: devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] BUILDSTDERR: 99 | #define pdie(a,b) do_pdie((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:751:4: note: in expansion of macro 'pdie' BUILDSTDERR: 751 | pdie("write error", "stdout"); BUILDSTDERR: | ^~~~ BUILDSTDERR: devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:99:31: warning: pointer targets in passing argument 2 of 'do_pdie' differ in signedness [-Wpointer-sign] BUILDSTDERR: 99 | #define pdie(a,b) do_pdie((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:751:4: note: in expansion of macro 'pdie' BUILDSTDERR: 751 | pdie("write error", "stdout"); BUILDSTDERR: | ^~~~ BUILDSTDERR: devio.c:94:68: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: devio.c:753:27: warning: pointer targets in passing argument 2 of 'mtd_writebytes' differ in signedness [-Wpointer-sign] BUILDSTDERR: 753 | mtd_writebytes(pp->pto, pbuf, cb); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | const char * BUILDSTDERR: devio.c:589:66: note: expected 'const unsigned char *' but argument is of type 'const char *' BUILDSTDERR: 589 | static void mtd_writebytes(mtd_file *pfile, const unsigned char *pbuf, size_t cb) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: devio.c: In function 'copybytes': BUILDSTDERR: devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] BUILDSTDERR: 99 | #define pdie(a,b) do_pdie((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:781:5: note: in expansion of macro 'pdie' BUILDSTDERR: 781 | pdie("read error", "stdin"); BUILDSTDERR: | ^~~~ BUILDSTDERR: devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:99:31: warning: pointer targets in passing argument 2 of 'do_pdie' differ in signedness [-Wpointer-sign] BUILDSTDERR: 99 | #define pdie(a,b) do_pdie((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:781:5: note: in expansion of macro 'pdie' BUILDSTDERR: 781 | pdie("read error", "stdin"); BUILDSTDERR: | ^~~~ BUILDSTDERR: devio.c:94:68: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: devio.c:788:19: warning: pointer targets in passing argument 2 of 'outputbytes' differ in signedness [-Wpointer-sign] BUILDSTDERR: 788 | outputbytes(pp, buf, cbavail); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: devio.c:748:52: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 748 | static void outputbytes(parse_buf *pp, const char *pbuf, size_t cb) { BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: devio.c: In function 'fillbytes': BUILDSTDERR: devio.c:805:19: warning: pointer targets in passing argument 2 of 'outputbytes' differ in signedness [-Wpointer-sign] BUILDSTDERR: 805 | outputbytes(pp, buf, cbavail); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: devio.c:748:52: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 748 | static void outputbytes(parse_buf *pp, const char *pbuf, size_t cb) { BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: devio.c: In function 'push': BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:815:3: note: in expansion of macro 'die' BUILDSTDERR: 815 | die("stack overflow", str); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c: In function 'pop': BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:823:3: note: in expansion of macro 'die' BUILDSTDERR: 823 | die("stack underflow", str); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c: In function 'top': BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:830:3: note: in expansion of macro 'die' BUILDSTDERR: 830 | die("stack underflow", str); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c: In function 'parse_expression': BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:860:5: note: in expansion of macro 'die' BUILDSTDERR: 860 | die("() stack overflow", lp); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:956:4: note: in expansion of macro 'die' BUILDSTDERR: 956 | die("bad [: or [) nesting", lp); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:990:19: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] BUILDSTDERR: 990 | num = strtoul(lp, &end, 0); BUILDSTDERR: | ^~ BUILDSTDERR: | | BUILDSTDERR: | const unsigned char * BUILDSTDERR: In file included from devio.c:38: BUILDSTDERR: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'const unsigned char *' BUILDSTDERR: 180 | extern unsigned long int strtoul (const char *__restrict __nptr, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] BUILDSTDERR: 99 | #define pdie(a,b) do_pdie((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:992:6: note: in expansion of macro 'pdie' BUILDSTDERR: 992 | pdie("invalid number", lp); BUILDSTDERR: | ^~~~ BUILDSTDERR: devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1056:7: note: in expansion of macro 'die' BUILDSTDERR: 1056 | die("size of input unknown", lp); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1061:7: note: in expansion of macro 'die' BUILDSTDERR: 1061 | die("position of input unknown", lp); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1066:7: note: in expansion of macro 'die' BUILDSTDERR: 1066 | die("size of output unknown", lp); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1071:7: note: in expansion of macro 'die' BUILDSTDERR: 1071 | die("position of output unknown", lp); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1076:7: note: in expansion of macro 'die' BUILDSTDERR: 1076 | die("input device number unknown", lp); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1082:7: note: in expansion of macro 'die' BUILDSTDERR: 1082 | die("output block size unknown", lp); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1087:7: note: in expansion of macro 'die' BUILDSTDERR: 1087 | die("input block size unknown", lp); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:1095:8: warning: pointer targets in passing argument 2 of 'parse_expression' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1095 | P("@8{@+8{@+8{@+;# 4 byte big-endian read"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1094:47: note: in definition of macro 'P' BUILDSTDERR: 1094 | #define P(st) (void)parse_expression(pp, st, 0, (sizeof st)-1) BUILDSTDERR: | ^~ BUILDSTDERR: devio.c:847:65: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 847 | static int parse_expression(parse_buf *pp, const unsigned char *line, int Ac, int AcEnd) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: devio.c:1098:8: warning: pointer targets in passing argument 2 of 'parse_expression' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1098 | P("@@@@8{+8{+8{+;# 4 byte little-endian read"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1094:47: note: in definition of macro 'P' BUILDSTDERR: 1094 | #define P(st) (void)parse_expression(pp, st, 0, (sizeof st)-1) BUILDSTDERR: | ^~ BUILDSTDERR: devio.c:847:65: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 847 | static int parse_expression(parse_buf *pp, const unsigned char *line, int Ac, int AcEnd) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1112:6: note: in expansion of macro 'die' BUILDSTDERR: 1112 | die("invalid operator", lp); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1124:3: note: in expansion of macro 'die' BUILDSTDERR: 1124 | die("unclosed ( )", line); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c: In function 'need': BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1139:3: note: in expansion of macro 'die' BUILDSTDERR: 1139 | die("too few arguments", line+Ac); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c: In function 'string': BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1167:4: note: in expansion of macro 'die' BUILDSTDERR: 1167 | die("unterminated quoted string", line+start); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1171:4: note: in expansion of macro 'die' BUILDSTDERR: 1171 | die("stuff on line after quoted string", line+start); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1181:3: note: in expansion of macro 'die' BUILDSTDERR: 1181 | die("string too long", line+start); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c: In function 'find_file': BUILDSTDERR: devio.c:1216:11: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1216 | strcmp(name, pp->files[i].pname) == 0) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | const unsigned char * BUILDSTDERR: In file included from devio.c:40: BUILDSTDERR: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'const unsigned char *' BUILDSTDERR: 136 | extern int strcmp (const char *__s1, const char *__s2) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: devio.c:1216:29: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1216 | strcmp(name, pp->files[i].pname) == 0) BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from devio.c:40: BUILDSTDERR: /usr/include/string.h:136:50: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 136 | extern int strcmp (const char *__s1, const char *__s2) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: devio.c: In function 'open_file': BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1230:3: note: in expansion of macro 'die' BUILDSTDERR: 1230 | die("no more files", name); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:1231:24: warning: pointer targets in passing argument 2 of 'open_mtd' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1231 | open_mtd(pp->files+i, name, fwrite, pp->fverify, pp->fprogress); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | const unsigned char * BUILDSTDERR: devio.c:248:51: note: expected 'const char *' but argument is of type 'const unsigned char *' BUILDSTDERR: 248 | static void open_mtd(mtd_file *pfile, const char *pname, BUILDSTDERR: | ~~~~~~~~~~~~^~~~~ BUILDSTDERR: devio.c: In function 'parse': BUILDSTDERR: devio.c:1267:31: warning: pointer targets in initialization of 'const unsigned char *' from 'const char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1267 | const unsigned char *line = prog[Al]; BUILDSTDERR: | ^~~~ BUILDSTDERR: devio.c:1268:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1268 | const int AcEnd = strlen(line); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | const unsigned char * BUILDSTDERR: In file included from devio.c:40: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'const unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1295:6: note: in expansion of macro 'die' BUILDSTDERR: 1295 | die("exec stack overflow", lp); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:1347:11: warning: pointer targets in assignment from 'const char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1347 | line = prog[Al]; BUILDSTDERR: | ^ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1366:5: note: in expansion of macro 'die' BUILDSTDERR: 1366 | die("exec stack underflow", lp); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1392:7: note: in expansion of macro 'die' BUILDSTDERR: 1392 | die("attempt to open a read file for write", buffer); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1415:7: note: in expansion of macro 'die' BUILDSTDERR: 1415 | die("no such file to close", buffer); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1423:6: note: in expansion of macro 'die' BUILDSTDERR: 1423 | die("<> (close) requires an argument", lp); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1429:6: note: in expansion of macro 'die' BUILDSTDERR: 1429 | die("no output file", lp); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1436:6: note: in expansion of macro 'die' BUILDSTDERR: 1436 | die("no input file", lp); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1449:13: note: in expansion of macro 'die' BUILDSTDERR: 1449 | default:die("byte count out of range", lp); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1461:13: note: in expansion of macro 'die' BUILDSTDERR: 1461 | default:die("byte count out of range", lp); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:1467:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1467 | outputbytes(pp, buffer, strlen(buffer)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from devio.c:40: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:1467:21: warning: pointer targets in passing argument 2 of 'outputbytes' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1467 | outputbytes(pp, buffer, strlen(buffer)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: devio.c:748:52: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 748 | static void outputbytes(parse_buf *pp, const char *pbuf, size_t cb) { BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1477:6: note: in expansion of macro 'die' BUILDSTDERR: 1477 | die("fill value out of range", lp); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1495:6: note: in expansion of macro 'die' BUILDSTDERR: 1495 | die("invalid byte count", lp); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:99:27: warning: pointer targets in passing argument 1 of 'do_pdie' differ in signedness [-Wpointer-sign] BUILDSTDERR: 99 | #define pdie(a,b) do_pdie((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1505:6: note: in expansion of macro 'pdie' BUILDSTDERR: 1505 | pdie("write error", "stdout"); BUILDSTDERR: | ^~~~ BUILDSTDERR: devio.c:94:42: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:99:31: warning: pointer targets in passing argument 2 of 'do_pdie' differ in signedness [-Wpointer-sign] BUILDSTDERR: 99 | #define pdie(a,b) do_pdie((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1505:6: note: in expansion of macro 'pdie' BUILDSTDERR: 1505 | pdie("write error", "stdout"); BUILDSTDERR: | ^~~~ BUILDSTDERR: devio.c:94:68: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 94 | static void do_pdie(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: devio.c:1516:13: warning: pointer targets in passing argument 1 of 'printf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1516 | printf(buffer, stack[0], stack[-1], stack[-2], stack[-3], BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from devio.c:39: BUILDSTDERR: /usr/include/bits/stdio2.h:105:32: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 105 | printf (const char *__restrict __fmt, ...) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1538:6: note: in expansion of macro 'die' BUILDSTDERR: 1538 | die("unknown command", lp); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:80:25: warning: pointer targets in passing argument 1 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1551:3: note: in expansion of macro 'die' BUILDSTDERR: 1551 | die("unclosed $( $)", "eof"); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:41: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: devio.c:80:29: warning: pointer targets in passing argument 2 of 'do_die' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define die(a,b) do_die((a),(b)) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: devio.c:1551:3: note: in expansion of macro 'die' BUILDSTDERR: 1551 | die("unclosed $( $)", "eof"); BUILDSTDERR: | ^~~ BUILDSTDERR: devio.c:75:67: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 75 | static void do_die(const unsigned char *why, const unsigned char *infile) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: devio.c: In function 'main': BUILDSTDERR: devio.c:1587:30: warning: pointer targets in initialization of 'const unsigned char *' from 'const char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1587 | const unsigned char *p = argv[i]; BUILDSTDERR: | ^~~~ BUILDSTDERR: devio.c:1590:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1590 | p = "Enter the keyword in [] contained after the command list\n" BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1595:9: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1595 | p = " commands are terminated by ';', newline or the end of input:\n" BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1612:9: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1612 | p = "conditional evalation\n" BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1638:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1638 | p = "conditional: $( condition; do if (condition) {\n"; BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1641:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1641 | p = "conditional: $( condition; } else if (condition) {\n"; BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1644:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1644 | p = "conditional: $: condition; } while (condition);\n"; BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1647:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1647 | p = "conditional: $: condition; if (condition) break;\n"; BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1650:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1650 | p = "program termination commands:\n" BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1658:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1658 | p = "exit: !? code; if (code != 0) exit(code);\n"; BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1661:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1661 | p = "exit: !! code; exit(code);\n"; BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1664:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1664 | p = "input/output control:\n" BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1680:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1680 | p = "io: >> file; select file as the current output device\n" BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1684:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1684 | p = "io: << file; select file as the current input device\n" BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1688:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1688 | p = "io: <> file; close file\n"; BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1691:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1691 | p = "io: >< file; close file\n"; BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1694:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1694 | p = "io: >= offset; set the 'to' pointer: output device file pointer\n"; BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1697:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1697 | p = "io: <= offset; set the 'from' pointer: input device file pointer\n"; BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1700:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1700 | p = "writing to the output:\n" BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1706:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1706 | p = "write: wb number bytes; write number in bytes big endian bytes\n"; BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1709:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1709 | p = "write: wl number bytes; write number in bytes little endian bytes\n"; BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1712:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1712 | p = "write: ws string; write string\n"; BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1715:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1715 | p = "write: fb number byte; write number bytes of value 'byte'\n"; BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1718:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1718 | p = "write: cp number; copy number bytes from input to output\n"; BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1721:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1721 | p = "write: xp number bytes; byte swap number bytes from input to output\n" BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1725:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1725 | p = "writing to stdout:\n" BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1735:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1735 | p = "message: pr number; printf(\"%lu\\n\", number);\n"; BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1738:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1738 | p = "message: pf string; printf(string, 1, 2, 3, 4, 5, 6, 7, 8)\n" BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1744:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1744 | p = "message: pn; prints a newline (printf(\"\\n\");)\n"; BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1747:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1747 | p = ".= [number]\n" BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1750:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1750 | p = "= [number] ( is an upper case character in the range A-Z)\n" BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1754:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1754 | p = "string format\n" BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1762:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1762 | p = "number format\n" BUILDSTDERR: | ^ BUILDSTDERR: devio.c:1777:8: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1777 | p = "operators\n" BUILDSTDERR: | ^ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 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-koji-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 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 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' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.O0H6oQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/devio-1.2-18.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/devio-1.2-18.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/devio-1.2-18.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/devio-1.2-18.fc31.riscv64 + cd devio-1.2 + make install DESTDIR=/builddir/build/BUILDROOT/devio-1.2-18.fc31.riscv64 + install -Dp -m 644 /builddir/build/SOURCES/devio.man /builddir/build/BUILDROOT/devio-1.2-18.fc31.riscv64/usr/share/man/man1/devio.1 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.2-18.fc31 --unique-debug-suffix -1.2-18.fc31.riscv64 --unique-debug-src-base devio-1.2-18.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/devio-1.2 BUILDSTDERR: 116 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs 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-18.fc31.riscv64/usr/bin" /usr/bin/install -c 'devio' '/builddir/build/BUILDROOT/devio-1.2-18.fc31.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' explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/devio-1.2-18.fc31.riscv64/usr/bin/devio extracting debug info from /builddir/build/BUILDROOT/devio-1.2-18.fc31.riscv64/usr/bin/devio original debug info size: 96kB, size after compression: 96kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: devio-1.2-18.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.RwLQTM + umask 022 + cd /builddir/build/BUILD + cd devio-1.2 + DOCDIR=/builddir/build/BUILDROOT/devio-1.2-18.fc31.riscv64/usr/share/doc/devio + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/devio-1.2-18.fc31.riscv64/usr/share/doc/devio + cp -pr AUTHORS /builddir/build/BUILDROOT/devio-1.2-18.fc31.riscv64/usr/share/doc/devio + cp -pr COPYING /builddir/build/BUILDROOT/devio-1.2-18.fc31.riscv64/usr/share/doc/devio + cp -pr ChangeLog /builddir/build/BUILDROOT/devio-1.2-18.fc31.riscv64/usr/share/doc/devio + cp -pr NEWS /builddir/build/BUILDROOT/devio-1.2-18.fc31.riscv64/usr/share/doc/devio + cp -pr README /builddir/build/BUILDROOT/devio-1.2-18.fc31.riscv64/usr/share/doc/devio + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: devio = 1.2-18.fc31 devio(riscv-64) = 1.2-18.fc31 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-18.fc31.riscv64 Provides: devio-debugsource = 1.2-18.fc31 devio-debugsource(riscv-64) = 1.2-18.fc31 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-18.fc31.riscv64 Provides: debuginfo(build-id) = 45b673c02af3d9cfc7c0e08939b070ddd4c7abd9 devio-debuginfo = 1.2-18.fc31 devio-debuginfo(riscv-64) = 1.2-18.fc31 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-18.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/devio-1.2-18.fc31.riscv64 Wrote: /builddir/build/RPMS/devio-1.2-18.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/devio-debugsource-1.2-18.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/devio-debuginfo-1.2-18.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.6QmqWN + umask 022 + cd /builddir/build/BUILD + cd devio-1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/devio-1.2-18.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0