Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/devio.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667626786.322781/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fkow83al:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fkow83al:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '12b8b439a78a4de79a801dc0d6c194f7', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667626786.322781/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fkow83al:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658361600 Wrote: /builddir/build/SRPMS/devio-1.2-25.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/devio.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667626786.322781/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fkow83al:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fkow83al:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '2e93806afcdb400b82a31ae8e86e6501', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667626786.322781/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fkow83al:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.M1vbng + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf devio-1.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/devio-1.2.tar.gz + 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.LRvxY5 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd devio-1.2 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2006-01-16 01:41:05.000000000 +0000 +++ ./configure 2022-11-05 05:41:00.768911836 +0000 @@ -4509,7 +4509,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 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 ++ grep -q runstatedir=DIR ./configure + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-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 x86_64-redhat-linux-gnu-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 -j2 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c devio.c devio.c: In function 'my_strdup': devio.c:126:28: 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:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *' 407 | 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:17: 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:33: 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:33: 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:17: 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:34: 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:17: 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:17: 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:17: 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:17: 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:17: 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:17: 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:17: 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:17: 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:33: 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:33: 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:41: 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:41: 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:33: 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:25: 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:17: 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:33: 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:33: 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:25: 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:25: 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:17: 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:17: 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:17: 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:17: 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:17: 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:17: 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:25: 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:25: 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:25: 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:25: 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:25: 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:25: 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:41: 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:33: 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:33: 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:33: 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:33: 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:17: 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:17: 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:17: 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:33: 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:25: 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:47: 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:181:58: note: expected 'const char * restrict' but argument is of type 'const unsigned char *' 181 | 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:41: 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:49: 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:49: 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:49: 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:49: 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:49: 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:49: 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:49: 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:43: 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:82: 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:43: 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:82: 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:41: 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:17: 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:17: 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:25: 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:25: 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:17: 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:32: 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 * /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ devio.c:1216:50: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 1216 | strcmp(name, pp->files[i].pname) == 0) | ~~~~~~~~~~~~^~~~~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | 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:17: 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:31: 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:45: 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:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1268 | const int AcEnd = strlen(line); | ^~~~ | | | const unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const unsigned char *' 407 | 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:41: 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:46: 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:33: 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:49: 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:49: 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:41: 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:41: 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:41: 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:41: 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:41: 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:64: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1467 | outputbytes(pp, buffer, strlen(buffer)); | ^~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ devio.c:1467:49: 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:41: 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:41: 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:41: 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:41: 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:48: 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:906, from devio.c:39: /usr/include/bits/stdio2.h:84:32: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 84 | 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:41: 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:17: 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:17: 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:58: 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:43: 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:51: 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:51: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1612 | p = "conditional evalation\n" | ^ devio.c:1638:43: 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:43: 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:43: 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:43: 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:43: 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:43: 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:43: 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:43: 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:43: 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:43: 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:43: 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:43: 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:43: 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:43: 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:43: 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:43: 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:43: 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:43: 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:43: 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:43: 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:43: 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:43: 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:43: 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:43: 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:43: 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:43: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1747 | p = ".= [number]\n" | ^ devio.c:1750:43: 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:43: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1754 | p = "string format\n" | ^ devio.c:1762:43: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1762 | p = "number format\n" | ^ devio.c:1777:43: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 1777 | p = "operators\n" | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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.7C8ggO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/devio-1.2-25.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/devio-1.2-25.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/devio-1.2-25.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/devio-1.2-25.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd devio-1.2 + make install DESTDIR=/builddir/build/BUILDROOT/devio-1.2-25.fc38.x86_64 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-25.fc38.x86_64/usr/bin" /usr/bin/install -c 'devio' '/builddir/build/BUILDROOT/devio-1.2-25.fc38.x86_64/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-25.fc38.x86_64/usr/share/man/man1/devio.1 + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.2-25.fc38 --unique-debug-suffix -1.2-25.fc38.x86_64 --unique-debug-src-base devio-1.2-25.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/devio-1.2 extracting debug info from /builddir/build/BUILDROOT/devio-1.2-25.fc38.x86_64/usr/bin/devio original debug info size: 80kB, size after compression: 80kB /usr/bin/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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: devio-1.2-25.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JdQSek + umask 022 + cd /builddir/build/BUILD + cd devio-1.2 + DOCDIR=/builddir/build/BUILDROOT/devio-1.2-25.fc38.x86_64/usr/share/doc/devio + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/devio-1.2-25.fc38.x86_64/usr/share/doc/devio + cp -pr AUTHORS /builddir/build/BUILDROOT/devio-1.2-25.fc38.x86_64/usr/share/doc/devio + cp -pr COPYING /builddir/build/BUILDROOT/devio-1.2-25.fc38.x86_64/usr/share/doc/devio + cp -pr ChangeLog /builddir/build/BUILDROOT/devio-1.2-25.fc38.x86_64/usr/share/doc/devio + cp -pr NEWS /builddir/build/BUILDROOT/devio-1.2-25.fc38.x86_64/usr/share/doc/devio + cp -pr README /builddir/build/BUILDROOT/devio-1.2-25.fc38.x86_64/usr/share/doc/devio + RPM_EC=0 ++ jobs -p + exit 0 Provides: devio = 1.2-25.fc38 devio(x86-64) = 1.2-25.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) rtld(GNU_HASH) Processing files: devio-debugsource-1.2-25.fc38.x86_64 Provides: devio-debugsource = 1.2-25.fc38 devio-debugsource(x86-64) = 1.2-25.fc38 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-25.fc38.x86_64 Provides: debuginfo(build-id) = f6ef56e5f8f35eeabf265600fe624c08bbadf054 devio-debuginfo = 1.2-25.fc38 devio-debuginfo(x86-64) = 1.2-25.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: devio-debugsource(x86-64) = 1.2-25.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/devio-1.2-25.fc38.x86_64 Wrote: /builddir/build/RPMS/devio-debugsource-1.2-25.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/devio-debuginfo-1.2-25.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/devio-1.2-25.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.AXzwgw + umask 022 + cd /builddir/build/BUILD + cd devio-1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/devio-1.2-25.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.yY5Wv1 + umask 022 + cd /builddir/build/BUILD + rm -rf devio-1.2 devio-1.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0