Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/u/utalk/utalk_1.0.1.beta-9+b1_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/utalk-1.0.1.beta-9+b1zkwu8p2j/utalk_1.0.1.beta-9+b1_amd64.buildinfo Get source package info: utalk=1.0.1.beta-9 Source URL: http://snapshot.notset.fr/mr/package/utalk/1.0.1.beta-9/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11.1 automake=1:1.16.2-3 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.47 bash=5.0-7 binutils=2.35-2 binutils-common=2.35-2 binutils-x86-64-linux-gnu=2.35-2 bsdextrautils=2.36-2 bsdutils=1:2.36-2 build-essential=12.8 bzip2=1.0.8-4 coreutils=8.32-3 cpp=4:10.1.0-1 cpp-10=10.2.0-5 dash=0.5.10.2-7 debconf=1.5.74 debhelper=13.2 debianutils=4.11.1 dh-autoreconf=19 dh-strip-nondeterminism=1.9.0-1 diffutils=1:3.7-3 dpkg=1.20.5 dpkg-dev=1.20.5 dwz=0.13-5 file=1:5.38-5 findutils=4.7.0-1 g++=4:10.1.0-1 g++-10=10.2.0-5 gcc=4:10.1.0-1 gcc-10=10.2.0-5 gcc-10-base=10.2.0-5 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 grep=3.4-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.58 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-8 libarchive-zip-perl=1.68-1 libasan6=10.2.0-5 libatomic1=10.2.0-5 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-3 libaudit1=1:2.8.5-3+b1 libbinutils=2.35-2 libblkid1=2.36-2 libbz2-1.0=1.0.8-4 libc-bin=2.31-3 libc-dev-bin=2.31-3 libc6=2.31-3 libc6-dev=2.31-3 libcap-ng0=0.7.9-2.2 libcc1-0=10.2.0-5 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.16-1 libcrypt1=1:4.4.16-1 libctf-nobfd0=2.35-2 libctf0=2.35-2 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.253 libdebhelper-perl=13.2 libdpkg-perl=1.20.5 libelf1=0.180-1+b1 libffi7=3.3-4 libfile-stripnondeterminism-perl=1.9.0-1 libgcc-10-dev=10.2.0-5 libgcc-s1=10.2.0-5 libgcrypt20=1.8.6-2 libgdbm-compat4=1.18.1-5 libgdbm6=1.18.1-5 libglib2.0-0=2.64.4-1 libgmp10=2:6.2.0+dfsg-6 libgomp1=10.2.0-5 libgpg-error0=1.38-2 libicu67=67.1-4 libisl22=0.22.1-1 libitm1=10.2.0-5 liblsan0=10.2.0-5 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.38-5 libmagic1=1:5.38-5 libmount1=2.36-2 libmpc3=1.2.0~rc1-1 libmpfr6=4.1.0-3 libncurses-dev=6.2-1 libncurses5-dev=6.2-1 libncurses6=6.2-1 libncursesw6=6.2-1 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libpcre2-8-0=10.34-7 libpcre3=2:8.39-13 libperl5.30=5.30.3-4 libpipeline1=1.5.3-1 libquadmath0=10.2.0-5 libseccomp2=2.4.3-1+b1 libselinux1=3.1-2 libsigsegv2=2.12-2 libsmartcols1=2.36-2 libstdc++-10-dev=10.2.0-5 libstdc++6=10.2.0-5 libsub-override-perl=0.09-2 libsystemd0=246.2-1 libtinfo6=6.2-1 libtool=2.4.6-14 libtsan0=10.2.0-5 libubsan1=10.2.0-5 libuchardet0=0.0.7-1 libudev1=246.2-1 libunistring2=0.9.10-4 libuuid1=2.36-2 libxml2=2.9.10+dfsg-5+b1 libzstd1=1.4.5+dfsg-4 linux-libc-dev=5.7.10-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 ncurses-base=6.2-1 ncurses-bin=6.2-1 patch=2.7.6-6 perl=5.30.3-4 perl-base=5.30.3-4 perl-modules-5.30=5.30.3-4 po-debconf=1.0.21 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-4 tar=1.30+dfsg-7 util-linux=2.36-2 xz-utils=5.2.4-1+b1 zlib1g=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20200821T144650Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d utalk=1.0.1.beta-9 && mkdir -p /build/utalk-p6eVyF && dpkg-source --no-check -x /*.dsc /build/utalk-p6eVyF/utalk-1.0.1.beta && cd /build/utalk-p6eVyF/utalk-1.0.1.beta && { printf '%s' 'utalk (1.0.1.beta-9+b1) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild on buildd -- all / amd64 / i386 Build Daemon (x86-conova-01) Sat, 22 Aug 2020 08:01:31 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/utalk-p6eVyF" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/utalk-p6eVyF/utalk-1.0.1.beta && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1598083291" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/utalk-p6eVyF /tmp/utalk-1.0.1.beta-9+b1zkwu8p2j bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20200821T144650Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.e03uY3rdcx as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.e03uY3rdcx Reading package lists... Building dependency tree... util-linux is already the newest version (2.36-2). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 132 kB of archives. After this operation, 393 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20200821T144650Z unstable/main amd64 libfakeroot amd64 1.24-1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200821T144650Z unstable/main amd64 fakeroot amd64 1.24-1 [85.9 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 0s (1031 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4577 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.24-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.24-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.24-1_amd64.deb ... Unpacking fakeroot (1.24-1) ... Setting up libfakeroot:amd64 (1.24-1) ... Setting up fakeroot (1.24-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-3) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20200821T144650Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.e03uY3rdcx Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20200821T144650Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 19s (1184 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.e03uY3rdcx I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d utalk=1.0.1.beta-9 && mkdir -p /build/utalk-p6eVyF && dpkg-source --no-check -x /*.dsc /build/utalk-p6eVyF/utalk-1.0.1.beta && cd /build/utalk-p6eVyF/utalk-1.0.1.beta && { printf '%s' 'utalk (1.0.1.beta-9+b1) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild on buildd -- all / amd64 / i386 Build Daemon (x86-conova-01) Sat, 22 Aug 2020 08:01:31 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/utalk-p6eVyF"' exec /tmp/mmdebstrap.e03uY3rdcx Reading package lists... Need to get 65.6 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main utalk 1.0.1.beta-9 (dsc) [1674 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main utalk 1.0.1.beta-9 (tar) [60.3 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main utalk 1.0.1.beta-9 (diff) [3599 B] Fetched 65.6 kB in 0s (738 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'utalk_1.0.1.beta-9.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting utalk in /build/utalk-p6eVyF/utalk-1.0.1.beta dpkg-source: info: unpacking utalk_1.0.1.beta.orig.tar.gz dpkg-source: info: applying utalk_1.0.1.beta-9.diff.gz dpkg-source: info: upstream files that have been modified: /build/utalk-p6eVyF/utalk-1.0.1.beta/Makefile /build/utalk-p6eVyF/utalk-1.0.1.beta/termcap.h /build/utalk-p6eVyF/utalk-1.0.1.beta/utalk.c I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/utalk-p6eVyF/utalk-1.0.1.beta && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1598083291" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.e03uY3rdcx dpkg-buildpackage: info: source package utalk dpkg-buildpackage: info: source version 1.0.1.beta-9+b1 dpkg-buildpackage: info: source distribution sid dpkg-buildpackage: info: source changed by all / amd64 / i386 Build Daemon (x86-conova-01) dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp install-stamp debian/files # Add here commands to clean up after the build process. /usr/bin/make clean make[1]: Entering directory '/build/utalk-p6eVyF/utalk-1.0.1.beta' rm -f srdp.o utalk.o util.o termcap.o termio.o globals.o signal.o screen.o functions.o kbd.o comm.o rc.o menu.o stest.o stest utalk core make[1]: Leaving directory '/build/utalk-p6eVyF/utalk-1.0.1.beta' dh_clean dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use) debian/rules build-arch dh_testdir dh_auto_build dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 9 in use) make -j1 make[1]: Entering directory '/build/utalk-p6eVyF/utalk-1.0.1.beta' gcc -O2 -g -Wall -D__USE_FIXED_PROTOTYPES__ -DLIBDIR="\"/usr/lib\"" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o srdp.o srdp.c srdp.c: In function ‘srdp_stufftoread’: srdp.c:250:33: warning: passing argument 6 of ‘recvfrom’ from incompatible pointer type [-Wincompatible-pointer-types] 250 | (struct sockaddr *)&from, &fromlen); | ^~~~~~~~ | | | size_t * {aka long unsigned int *} In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:269, from srdpdata.h:17, from srdp.c:20: /usr/include/x86_64-linux-gnu/bits/socket2.h:65:49: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘size_t *’ {aka ‘long unsigned int *’} 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ srdp.c: In function ‘srdp_open’: srdp.c:516:59: warning: passing argument 3 of ‘getsockname’ from incompatible pointer type [-Wincompatible-pointer-types] 516 | if (getsockname(fd, (struct sockaddr *)&(info->myaddr), &length)<0) { | ^~~~~~~ | | | size_t * {aka long unsigned int *} In file included from srdpdata.h:17, from srdp.c:20: /usr/include/x86_64-linux-gnu/sys/socket.h:117:26: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘size_t *’ {aka ‘long unsigned int *’} 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ srdp.c: In function ‘srdp_select’: srdp.c:714:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 714 | if (cansend(info) && (now.tv_sec>info->wakeup1.tv_sec || | ^~ srdp.c:718:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 718 | if ((info->flags&(SRDP_FL_SELRETURN|SRDP_FL_NOSELECT)) == | ^~ srdp.c: In function ‘srdp_close’: srdp.c:882:32: warning: passing argument 6 of ‘recvfrom’ from incompatible pointer type [-Wincompatible-pointer-types] 882 | (struct sockaddr *)&from, &fromlen); | ^~~~~~~~ | | | size_t * {aka long unsigned int *} In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:269, from srdpdata.h:17, from srdp.c:20: /usr/include/x86_64-linux-gnu/bits/socket2.h:65:49: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘size_t *’ {aka ‘long unsigned int *’} 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ gcc -O2 -g -Wall -D__USE_FIXED_PROTOTYPES__ -DLIBDIR="\"/usr/lib\"" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o utalk.o utalk.c gcc -O2 -g -Wall -D__USE_FIXED_PROTOTYPES__ -DLIBDIR="\"/usr/lib\"" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o util.o util.c gcc -O2 -g -Wall -D__USE_FIXED_PROTOTYPES__ -DLIBDIR="\"/usr/lib\"" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o termcap.o termcap.c termcap.c: In function ‘flush_term’: termcap.c:57:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 57 | write(TTYWRITE, termcapbuf, tcb); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ termcap.c: In function ‘myputchar’: termcap.c:39:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 39 | write(TTYWRITE, termcapbuf, tcb); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ termcap.c: In function ‘mywrite’: termcap.c:48:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 48 | write(TTYWRITE, termcapbuf, tcb); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -Wall -D__USE_FIXED_PROTOTYPES__ -DLIBDIR="\"/usr/lib\"" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o termio.o termio.c gcc -O2 -g -Wall -D__USE_FIXED_PROTOTYPES__ -DLIBDIR="\"/usr/lib\"" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o globals.o globals.c gcc -O2 -g -Wall -D__USE_FIXED_PROTOTYPES__ -DLIBDIR="\"/usr/lib\"" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o signal.o signal.c signal.c:109:13: warning: ‘sigwinch’ defined but not used [-Wunused-function] 109 | static void sigwinch(int n) { | ^~~~~~~~ gcc -O2 -g -Wall -D__USE_FIXED_PROTOTYPES__ -DLIBDIR="\"/usr/lib\"" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o screen.o screen.c screen.c: In function ‘settopic’: screen.c:108:23: warning: pointer targets in passing argument 2 of ‘setstatus’ differ in signedness [-Wpointer-sign] 108 | setstatus(users[0], s); | ^ | | | unsigned char * screen.c:77:38: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 77 | void setstatus(struct user *u, char *s) { | ~~~~~~^ screen.c: In function ‘shorten_lline’: screen.c:450:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 450 | if (pos= u->first_visible_pline && | ^ gcc -O2 -g -Wall -D__USE_FIXED_PROTOTYPES__ -DLIBDIR="\"/usr/lib\"" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o functions.o functions.c functions.c:23:8: warning: type defaults to ‘int’ in declaration of ‘next_pos’ [-Wimplicit-int] 23 | static next_pos = 1; /* for my window */ | ^~~~~~~~ functions.c: In function ‘delete_till’: functions.c:266:33: warning: pointer targets in passing argument 3 of ‘c_write_string’ differ in signedness [-Wpointer-sign] 266 | c_write_string(l->number, nl0, nulls, 512); | ^~~~~ | | | char * In file included from functions.c:17: comm.h:134:62: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 134 | extern void c_write_string(int line, int col, unsigned char *s, int len); | ~~~~~~~~~~~~~~~^ functions.c:270:33: warning: pointer targets in passing argument 3 of ‘c_write_string’ differ in signedness [-Wpointer-sign] 270 | c_write_string(l->number, nl0, nulls, n); | ^~~~~ | | | char * In file included from functions.c:17: comm.h:134:62: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 134 | extern void c_write_string(int line, int col, unsigned char *s, int len); | ~~~~~~~~~~~~~~~^ functions.c: In function ‘f_backspace_word’: functions.c:364:39: warning: pointer targets in passing argument 3 of ‘c_write_string’ differ in signedness [-Wpointer-sign] 364 | c_write_string(L->number, nl0-n+1, nulls, 512); | ^~~~~ | | | char * In file included from functions.c:17: comm.h:134:62: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 134 | extern void c_write_string(int line, int col, unsigned char *s, int len); | ~~~~~~~~~~~~~~~^ functions.c:366:39: warning: pointer targets in passing argument 3 of ‘c_write_string’ differ in signedness [-Wpointer-sign] 366 | c_write_string(L->number, nl0-n+1, nulls, n); | ^~~~~ | | | char * In file included from functions.c:17: comm.h:134:62: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 134 | extern void c_write_string(int line, int col, unsigned char *s, int len); | ~~~~~~~~~~~~~~~^ functions.c: In function ‘f_test_menu’: functions.c:1090:3: warning: implicit declaration of function ‘test_menu’; did you mean ‘f_test_menu’? [-Wimplicit-function-declaration] 1090 | test_menu(); | ^~~~~~~~~ | f_test_menu functions.c: In function ‘f_test_entry’: functions.c:1095:3: warning: implicit declaration of function ‘test_entry’; did you mean ‘f_test_entry’? [-Wimplicit-function-declaration] 1095 | test_entry(); | ^~~~~~~~~~ | f_test_entry functions.c: In function ‘f_test_selection’: functions.c:1100:3: warning: implicit declaration of function ‘test_selection’; did you mean ‘f_test_selection’? [-Wimplicit-function-declaration] 1100 | test_selection(); | ^~~~~~~~~~~~~~ | f_test_selection gcc -O2 -g -Wall -D__USE_FIXED_PROTOTYPES__ -DLIBDIR="\"/usr/lib\"" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o kbd.o kbd.c kbd.c:34:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 34 | "^i tab", | ^~~~~~~~ kbd.c:34:3: note: (near initialization for ‘emacs_bindings[0]’) kbd.c:35:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 35 | "^m new-line", | ^~~~~~~~~~~~~ kbd.c:35:3: note: (near initialization for ‘emacs_bindings[1]’) kbd.c:36:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 36 | "^j new-line", | ^~~~~~~~~~~~~ kbd.c:36:3: note: (near initialization for ‘emacs_bindings[2]’) kbd.c:37:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 37 | "^q quote-char", /* probably not usable b/c of flow control */ | ^~~~~~~~~~~~~~~ kbd.c:37:3: note: (near initialization for ‘emacs_bindings[3]’) kbd.c:38:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 38 | "^d delete", | ^~~~~~~~~~~ kbd.c:38:3: note: (near initialization for ‘emacs_bindings[4]’) kbd.c:39:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 39 | "^k delete-end-of-line", | ^~~~~~~~~~~~~~~~~~~~~~~ kbd.c:39:3: note: (near initialization for ‘emacs_bindings[5]’) kbd.c:40:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 40 | "^u delete-line", | ^~~~~~~~~~~~~~~~ kbd.c:40:3: note: (near initialization for ‘emacs_bindings[6]’) kbd.c:41:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 41 | "^h backspace", | ^~~~~~~~~~~~~~ kbd.c:41:3: note: (near initialization for ‘emacs_bindings[7]’) kbd.c:42:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 42 | "^? backspace", | ^~~~~~~~~~~~~~ kbd.c:42:3: note: (near initialization for ‘emacs_bindings[8]’) kbd.c:43:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 43 | "^w backspace-word", | ^~~~~~~~~~~~~~~~~~~ kbd.c:43:3: note: (near initialization for ‘emacs_bindings[9]’) kbd.c:44:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 44 | "\\ed delete-word", | ^~~~~~~~~~~~~~~~~~ kbd.c:44:3: note: (near initialization for ‘emacs_bindings[10]’) kbd.c:45:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 45 | "\\ef forward-word", | ^~~~~~~~~~~~~~~~~~~ kbd.c:45:3: note: (near initialization for ‘emacs_bindings[11]’) kbd.c:46:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 46 | "\\eb backward-word", | ^~~~~~~~~~~~~~~~~~~~ kbd.c:46:3: note: (near initialization for ‘emacs_bindings[12]’) kbd.c:47:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 47 | "^a beginning-of-line", | ^~~~~~~~~~~~~~~~~~~~~~ kbd.c:47:3: note: (near initialization for ‘emacs_bindings[13]’) kbd.c:48:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 48 | "^e end-of-line", | ^~~~~~~~~~~~~~~~ kbd.c:48:3: note: (near initialization for ‘emacs_bindings[14]’) kbd.c:49:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 49 | "^v down-page", | ^~~~~~~~~~~~~~ kbd.c:49:3: note: (near initialization for ‘emacs_bindings[15]’) kbd.c:50:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 50 | "\\ev up-page", | ^~~~~~~~~~~~~~ kbd.c:50:3: note: (near initialization for ‘emacs_bindings[16]’) kbd.c:51:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 51 | "\\e< top", | ^~~~~~~~~~ kbd.c:51:3: note: (near initialization for ‘emacs_bindings[17]’) kbd.c:52:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 52 | "\\e> bottom", | ^~~~~~~~~~~~~ kbd.c:52:3: note: (near initialization for ‘emacs_bindings[18]’) kbd.c:53:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 53 | "^l redisplay", | ^~~~~~~~~~~~~~ kbd.c:53:3: note: (near initialization for ‘emacs_bindings[19]’) kbd.c:54:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 54 | "^r resynch", | ^~~~~~~~~~~~ kbd.c:54:3: note: (near initialization for ‘emacs_bindings[20]’) kbd.c:55:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 55 | "^xb next-window", | ^~~~~~~~~~~~~~~~~ kbd.c:55:3: note: (near initialization for ‘emacs_bindings[21]’) kbd.c:56:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 56 | "^xo next-window", | ^~~~~~~~~~~~~~~~~ kbd.c:56:3: note: (near initialization for ‘emacs_bindings[22]’) kbd.c:57:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 57 | "^g next-window", | ^~~~~~~~~~~~~~~~ kbd.c:57:3: note: (near initialization for ‘emacs_bindings[23]’) kbd.c:58:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 58 | "^xc quit", | ^~~~~~~~~~ kbd.c:58:3: note: (near initialization for ‘emacs_bindings[24]’) kbd.c:59:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 59 | "^f forward", | ^~~~~~~~~~~~ kbd.c:59:3: note: (near initialization for ‘emacs_bindings[25]’) kbd.c:60:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 60 | "^b backward", | ^~~~~~~~~~~~~ kbd.c:60:3: note: (near initialization for ‘emacs_bindings[26]’) kbd.c:61:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 61 | "^p up", | ^~~~~~~ kbd.c:61:3: note: (near initialization for ‘emacs_bindings[27]’) kbd.c:62:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 62 | "^n down", | ^~~~~~~~~ kbd.c:62:3: note: (near initialization for ‘emacs_bindings[28]’) kbd.c:63:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 63 | "^t set-topic", | ^~~~~~~~~~~~~~ kbd.c:63:3: note: (near initialization for ‘emacs_bindings[29]’) kbd.c:64:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 64 | "\\eH do-help", | ^~~~~~~~~~~~~~ kbd.c:64:3: note: (near initialization for ‘emacs_bindings[30]’) kbd.c:65:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 65 | "\\ex do-command", | ^~~~~~~~~~~~~~~~~ kbd.c:65:3: note: (near initialization for ‘emacs_bindings[31]’) kbd.c:66:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 66 | "\\e[D backward", | ^~~~~~~~~~~~~~~~ kbd.c:66:3: note: (near initialization for ‘emacs_bindings[32]’) kbd.c:67:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 67 | "\\e[C forward", | ^~~~~~~~~~~~~~~ kbd.c:67:3: note: (near initialization for ‘emacs_bindings[33]’) kbd.c:68:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 68 | "\\e[A up", | ^~~~~~~~~~ kbd.c:68:3: note: (near initialization for ‘emacs_bindings[34]’) kbd.c:69:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 69 | "\\e[B down", | ^~~~~~~~~~~~ kbd.c:69:3: note: (near initialization for ‘emacs_bindings[35]’) kbd.c:74:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 74 | "\\n new-line", | ^~~~~~~~~~~~~~ kbd.c:74:3: note: (near initialization for ‘vi_cmd_bindings[0]’) kbd.c:75:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 75 | "\\r new-line", | ^~~~~~~~~~~~~~ kbd.c:75:3: note: (near initialization for ‘vi_cmd_bindings[1]’) kbd.c:76:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 76 | "h backward", | ^~~~~~~~~~~~ kbd.c:76:3: note: (near initialization for ‘vi_cmd_bindings[2]’) kbd.c:77:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 77 | "j down", | ^~~~~~~~ kbd.c:77:3: note: (near initialization for ‘vi_cmd_bindings[3]’) kbd.c:78:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 78 | "k up", | ^~~~~~ kbd.c:78:3: note: (near initialization for ‘vi_cmd_bindings[4]’) kbd.c:79:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 79 | "l forward", | ^~~~~~~~~~~ kbd.c:79:3: note: (near initialization for ‘vi_cmd_bindings[5]’) kbd.c:80:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 80 | "i vi-insert-mode", | ^~~~~~~~~~~~~~~~~~ kbd.c:80:3: note: (near initialization for ‘vi_cmd_bindings[6]’) kbd.c:81:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 81 | "a vi-add", | ^~~~~~~~~~ kbd.c:81:3: note: (near initialization for ‘vi_cmd_bindings[7]’) kbd.c:82:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 82 | "I vi-insert-at-beginning-of-line", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kbd.c:82:3: note: (near initialization for ‘vi_cmd_bindings[8]’) kbd.c:83:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 83 | "A vi-add-at-end-of-line", | ^~~~~~~~~~~~~~~~~~~~~~~~~ kbd.c:83:3: note: (near initialization for ‘vi_cmd_bindings[9]’) kbd.c:84:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 84 | "R vi-insert-mode", | ^~~~~~~~~~~~~~~~~~ kbd.c:84:3: note: (near initialization for ‘vi_cmd_bindings[10]’) kbd.c:85:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 85 | "o vi-open", | ^~~~~~~~~~~ kbd.c:85:3: note: (near initialization for ‘vi_cmd_bindings[11]’) kbd.c:86:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 86 | "O vi-open-above", | ^~~~~~~~~~~~~~~~~ kbd.c:86:3: note: (near initialization for ‘vi_cmd_bindings[12]’) kbd.c:87:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 87 | "r vi-replace-char", | ^~~~~~~~~~~~~~~~~~~ kbd.c:87:3: note: (near initialization for ‘vi_cmd_bindings[13]’) kbd.c:88:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 88 | "x delete", | ^~~~~~~~~~ kbd.c:88:3: note: (near initialization for ‘vi_cmd_bindings[14]’) kbd.c:89:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 89 | "X backspace", | ^~~~~~~~~~~~~ kbd.c:89:3: note: (near initialization for ‘vi_cmd_bindings[15]’) kbd.c:90:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 90 | "dd delete-line", | ^~~~~~~~~~~~~~~~ kbd.c:90:3: note: (near initialization for ‘vi_cmd_bindings[16]’) kbd.c:91:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 91 | "db backspace-word", | ^~~~~~~~~~~~~~~~~~~ kbd.c:91:3: note: (near initialization for ‘vi_cmd_bindings[17]’) kbd.c:92:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 92 | "dw delete-word", | ^~~~~~~~~~~~~~~~ kbd.c:92:3: note: (near initialization for ‘vi_cmd_bindings[18]’) kbd.c:93:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 93 | "dW delete-word", | ^~~~~~~~~~~~~~~~ kbd.c:93:3: note: (near initialization for ‘vi_cmd_bindings[19]’) kbd.c:94:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 94 | "de delete-end-of-word", | ^~~~~~~~~~~~~~~~~~~~~~~ kbd.c:94:3: note: (near initialization for ‘vi_cmd_bindings[20]’) kbd.c:95:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 95 | "d$ delete-end-of-line", | ^~~~~~~~~~~~~~~~~~~~~~~ kbd.c:95:3: note: (near initialization for ‘vi_cmd_bindings[21]’) kbd.c:96:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 96 | "d0 delete-beginning-of-line", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kbd.c:96:3: note: (near initialization for ‘vi_cmd_bindings[22]’) kbd.c:97:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 97 | "d\\^ delete-beginning-of-line", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kbd.c:97:3: note: (near initialization for ‘vi_cmd_bindings[23]’) kbd.c:98:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 98 | "df vi-delete-find-char", | ^~~~~~~~~~~~~~~~~~~~~~~~ kbd.c:98:3: note: (near initialization for ‘vi_cmd_bindings[24]’) kbd.c:99:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 99 | "dF vi-delete-reverse-find-char", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kbd.c:99:3: note: (near initialization for ‘vi_cmd_bindings[25]’) kbd.c:100:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 100 | "dt vi-delete-till-char", | ^~~~~~~~~~~~~~~~~~~~~~~~ kbd.c:100:3: note: (near initialization for ‘vi_cmd_bindings[26]’) kbd.c:101:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 101 | "dT vi-delete-reverse-till-char", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kbd.c:101:3: note: (near initialization for ‘vi_cmd_bindings[27]’) kbd.c:102:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 102 | "D delete-end-of-line", | ^~~~~~~~~~~~~~~~~~~~~~ kbd.c:102:3: note: (near initialization for ‘vi_cmd_bindings[28]’) kbd.c:103:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 103 | "w forward-word", | ^~~~~~~~~~~~~~~~ kbd.c:103:3: note: (near initialization for ‘vi_cmd_bindings[29]’) kbd.c:104:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 104 | "W forward-word", | ^~~~~~~~~~~~~~~~ kbd.c:104:3: note: (near initialization for ‘vi_cmd_bindings[30]’) kbd.c:105:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 105 | "e end-of-word", | ^~~~~~~~~~~~~~~ kbd.c:105:3: note: (near initialization for ‘vi_cmd_bindings[31]’) kbd.c:106:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 106 | "b backward-word", | ^~~~~~~~~~~~~~~~~ kbd.c:106:3: note: (near initialization for ‘vi_cmd_bindings[32]’) kbd.c:107:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 107 | "B backward-word", | ^~~~~~~~~~~~~~~~~ kbd.c:107:3: note: (near initialization for ‘vi_cmd_bindings[33]’) kbd.c:108:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 108 | "0 beginning-of-line", | ^~~~~~~~~~~~~~~~~~~~~ kbd.c:108:3: note: (near initialization for ‘vi_cmd_bindings[34]’) kbd.c:109:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 109 | "\\^ beginning-of-line", | ^~~~~~~~~~~~~~~~~~~~~~~ kbd.c:109:3: note: (near initialization for ‘vi_cmd_bindings[35]’) kbd.c:110:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 110 | "$ end-of-line", | ^~~~~~~~~~~~~~~ kbd.c:110:3: note: (near initialization for ‘vi_cmd_bindings[36]’) kbd.c:111:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 111 | "^d down-half-page", | ^~~~~~~~~~~~~~~~~~~ kbd.c:111:3: note: (near initialization for ‘vi_cmd_bindings[37]’) kbd.c:112:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 112 | "^f down-page", | ^~~~~~~~~~~~~~ kbd.c:112:3: note: (near initialization for ‘vi_cmd_bindings[38]’) kbd.c:113:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 113 | "^u up-half-page", | ^~~~~~~~~~~~~~~~~ kbd.c:113:3: note: (near initialization for ‘vi_cmd_bindings[39]’) kbd.c:114:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 114 | "^b up-page", | ^~~~~~~~~~~~ kbd.c:114:3: note: (near initialization for ‘vi_cmd_bindings[40]’) kbd.c:115:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 115 | "H top-of-screen", | ^~~~~~~~~~~~~~~~~ kbd.c:115:3: note: (near initialization for ‘vi_cmd_bindings[41]’) kbd.c:116:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 116 | "M middle-of-screen", | ^~~~~~~~~~~~~~~~~~~~ kbd.c:116:3: note: (near initialization for ‘vi_cmd_bindings[42]’) kbd.c:117:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 117 | "L bottom-of-screen", | ^~~~~~~~~~~~~~~~~~~~ kbd.c:117:3: note: (near initialization for ‘vi_cmd_bindings[43]’) kbd.c:118:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 118 | "G vi-goto-line", | ^~~~~~~~~~~~~~~~ kbd.c:118:3: note: (near initialization for ‘vi_cmd_bindings[44]’) kbd.c:119:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 119 | "\e nop", | ^~~~~~~~ kbd.c:119:3: note: (near initialization for ‘vi_cmd_bindings[45]’) kbd.c:120:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 120 | "^l redisplay", | ^~~~~~~~~~~~~~ kbd.c:120:3: note: (near initialization for ‘vi_cmd_bindings[46]’) kbd.c:121:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 121 | "g next-window", | ^~~~~~~~~~~~~~~ kbd.c:121:3: note: (near initialization for ‘vi_cmd_bindings[47]’) kbd.c:122:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 122 | "f vi-find-char", | ^~~~~~~~~~~~~~~~ kbd.c:122:3: note: (near initialization for ‘vi_cmd_bindings[48]’) kbd.c:123:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 123 | "F vi-reverse-find-char", | ^~~~~~~~~~~~~~~~~~~~~~~~ kbd.c:123:3: note: (near initialization for ‘vi_cmd_bindings[49]’) kbd.c:124:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 124 | "t vi-till-char", | ^~~~~~~~~~~~~~~~ kbd.c:124:3: note: (near initialization for ‘vi_cmd_bindings[50]’) kbd.c:125:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 125 | "T vi-reverse-till-char", | ^~~~~~~~~~~~~~~~~~~~~~~~ kbd.c:125:3: note: (near initialization for ‘vi_cmd_bindings[51]’) kbd.c:126:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 126 | "; vi-repeat-find", | ^~~~~~~~~~~~~~~~~~ kbd.c:126:3: note: (near initialization for ‘vi_cmd_bindings[52]’) kbd.c:127:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 127 | ", vi-reverse-repeat-find", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ kbd.c:127:3: note: (near initialization for ‘vi_cmd_bindings[53]’) kbd.c:128:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 128 | "~ vi-flip-case", | ^~~~~~~~~~~~~~~~ kbd.c:128:3: note: (near initialization for ‘vi_cmd_bindings[54]’) kbd.c:129:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 129 | "^t set-topic", | ^~~~~~~~~~~~~~ kbd.c:129:3: note: (near initialization for ‘vi_cmd_bindings[55]’) kbd.c:130:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 130 | "^r resynch", | ^~~~~~~~~~~~ kbd.c:130:3: note: (near initialization for ‘vi_cmd_bindings[56]’) kbd.c:131:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 131 | ": do-command", | ^~~~~~~~~~~~~~ kbd.c:131:3: note: (near initialization for ‘vi_cmd_bindings[57]’) kbd.c:132:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 132 | "ZZ quit", | ^~~~~~~~~ kbd.c:132:3: note: (near initialization for ‘vi_cmd_bindings[58]’) kbd.c:133:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 133 | "H do-help", | ^~~~~~~~~~~ kbd.c:133:3: note: (near initialization for ‘vi_cmd_bindings[59]’) kbd.c:134:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 134 | "[D backward", | ^~~~~~~~~~~~~ kbd.c:134:3: note: (near initialization for ‘vi_cmd_bindings[60]’) kbd.c:135:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 135 | "[C forward", | ^~~~~~~~~~~~ kbd.c:135:3: note: (near initialization for ‘vi_cmd_bindings[61]’) kbd.c:136:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 136 | "[A up", | ^~~~~~~ kbd.c:136:3: note: (near initialization for ‘vi_cmd_bindings[62]’) kbd.c:137:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 137 | "[B down", | ^~~~~~~~~ kbd.c:137:3: note: (near initialization for ‘vi_cmd_bindings[63]’) kbd.c:142:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 142 | "\\e vi-escape", | ^~~~~~~~~~~~~~~ kbd.c:142:3: note: (near initialization for ‘vi_ins_bindings[0]’) kbd.c:143:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 143 | "^? backspace", | ^~~~~~~~~~~~~~ kbd.c:143:3: note: (near initialization for ‘vi_ins_bindings[1]’) kbd.c:144:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 144 | "^i tab", | ^~~~~~~~ kbd.c:144:3: note: (near initialization for ‘vi_ins_bindings[2]’) kbd.c:145:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 145 | "^m new-line", | ^~~~~~~~~~~~~ kbd.c:145:3: note: (near initialization for ‘vi_ins_bindings[3]’) kbd.c:146:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 146 | "^j new-line", | ^~~~~~~~~~~~~ kbd.c:146:3: note: (near initialization for ‘vi_ins_bindings[4]’) kbd.c:147:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 147 | "^u delete-line", | ^~~~~~~~~~~~~~~~ kbd.c:147:3: note: (near initialization for ‘vi_ins_bindings[5]’) kbd.c:148:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 148 | "^h backspace", | ^~~~~~~~~~~~~~ kbd.c:148:3: note: (near initialization for ‘vi_ins_bindings[6]’) kbd.c:149:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 149 | "^w backspace-word", | ^~~~~~~~~~~~~~~~~~~ kbd.c:149:3: note: (near initialization for ‘vi_ins_bindings[7]’) kbd.c:150:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 150 | "^l redisplay", | ^~~~~~~~~~~~~~ kbd.c:150:3: note: (near initialization for ‘vi_ins_bindings[8]’) kbd.c:151:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 151 | "^r resynch", | ^~~~~~~~~~~~ kbd.c:151:3: note: (near initialization for ‘vi_ins_bindings[9]’) kbd.c:152:3: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 152 | "^v quote-char", | ^~~~~~~~~~~~~~~ kbd.c:152:3: note: (near initialization for ‘vi_ins_bindings[10]’) kbd.c: In function ‘new_binding’: kbd.c:193:11: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] 193 | strncpy(s, line, 199); | ^ | | | unsigned char * In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from kbd.c:11: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ kbd.c:193:14: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 193 | strncpy(s, line, 199); | ^~~~ | | | unsigned char * In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from kbd.c:11: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ kbd.c: In function ‘nb’: kbd.c:278:25: warning: pointer targets in passing argument 1 of ‘new_binding’ differ in signedness [-Wpointer-sign] 278 | char *t = new_binding(s, n); | ^ | | | char * kbd.c:178:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 178 | char *new_binding(unsigned char *line, int insmode) { | ~~~~~~~~~~~~~~~^~~~ kbd.c: In function ‘kbd_defaults’: kbd.c:301:8: warning: pointer targets in passing argument 1 of ‘nb’ differ in signedness [-Wpointer-sign] 301 | nb(*s, 0); | ^~ | | | unsigned char * kbd.c:277:22: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 277 | static void nb(char *s, int n) { | ~~~~~~^ kbd.c:304:8: warning: pointer targets in passing argument 1 of ‘nb’ differ in signedness [-Wpointer-sign] 304 | nb(*s, 0); | ^~ | | | unsigned char * kbd.c:277:22: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 277 | static void nb(char *s, int n) { | ~~~~~~^ kbd.c:307:8: warning: pointer targets in passing argument 1 of ‘nb’ differ in signedness [-Wpointer-sign] 307 | nb(*s, 1); | ^~ | | | unsigned char * kbd.c:277:22: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 277 | static void nb(char *s, int n) { | ~~~~~~^ kbd.c: In function ‘keyboard’: kbd.c:361:19: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 361 | if (strlen(b->sequence) == inseq) { | ~^~~~~~~~~~ | | | unsigned char * In file included from kbd.c:13: /usr/include/string.h:385:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -O2 -g -Wall -D__USE_FIXED_PROTOTYPES__ -DLIBDIR="\"/usr/lib\"" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o comm.o comm.c comm.c: In function ‘drain_socket’: comm.c:147:58: warning: passing argument 6 of ‘recvfrom’ from incompatible pointer type [-Wincompatible-pointer-types] 147 | r = recvfrom(fd, buf, 200, 0, (struct sockaddr *)&s, &sz); | ^~~ | | | size_t * {aka long unsigned int *} In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:269, from comm.c:16: /usr/include/x86_64-linux-gnu/bits/socket2.h:65:49: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘size_t *’ {aka ‘long unsigned int *’} 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ comm.c: In function ‘recv_msg’: comm.c:197:83: warning: passing argument 6 of ‘recvfrom’ from incompatible pointer type [-Wincompatible-pointer-types] 197 | n = recvfrom(ofd, (char *)&oansw, sizeof(oansw), 0, (struct sockaddr *)&sa, &sz); | ^~~ | | | size_t * {aka long unsigned int *} In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:269, from comm.c:16: /usr/include/x86_64-linux-gnu/bits/socket2.h:65:49: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘size_t *’ {aka ‘long unsigned int *’} 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ comm.c:208:83: warning: passing argument 6 of ‘recvfrom’ from incompatible pointer type [-Wincompatible-pointer-types] 208 | n = recvfrom(nfd, (char *)&nansw, sizeof(nansw), 0, (struct sockaddr *)&sa, &sz); | ^~~ | | | size_t * {aka long unsigned int *} In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:269, from comm.c:16: /usr/include/x86_64-linux-gnu/bits/socket2.h:65:49: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘size_t *’ {aka ‘long unsigned int *’} 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ comm.c: In function ‘find_daemon’: comm.c:271:85: warning: passing argument 6 of ‘recvfrom’ from incompatible pointer type [-Wincompatible-pointer-types] 271 | r = recvfrom(ofd, (char *)&oansw, sizeof(oansw), 0, (struct sockaddr *)&rs, &sz); | ^~~ | | | size_t * {aka long unsigned int *} In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:269, from comm.c:16: /usr/include/x86_64-linux-gnu/bits/socket2.h:65:49: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘size_t *’ {aka ‘long unsigned int *’} 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ comm.c:287:78: warning: passing argument 6 of ‘recvfrom’ from incompatible pointer type [-Wincompatible-pointer-types] 287 | r = recvfrom(nfd, (char *)&nansw, sizeof(nansw), 0, (struct sockaddr *)&rs, &sz); | ^~~ | | | size_t * {aka long unsigned int *} In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:269, from comm.c:16: /usr/include/x86_64-linux-gnu/bits/socket2.h:65:49: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘size_t *’ {aka ‘long unsigned int *’} 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ comm.c: In function ‘init_talkd’: comm.c:356:51: warning: passing argument 3 of ‘getsockname’ from incompatible pointer type [-Wincompatible-pointer-types] 356 | if (getsockname(ofd, (struct sockaddr *)&osock, &len) < 0) | ^~~~ | | | size_t * {aka long unsigned int *} In file included from comm.c:16: /usr/include/x86_64-linux-gnu/sys/socket.h:117:26: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘size_t *’ {aka ‘long unsigned int *’} 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ comm.c:368:51: warning: passing argument 3 of ‘getsockname’ from incompatible pointer type [-Wincompatible-pointer-types] 368 | if (getsockname(nfd, (struct sockaddr *)&nsock, &len) < 0) | ^~~~ | | | size_t * {aka long unsigned int *} In file included from comm.c:16: /usr/include/x86_64-linux-gnu/sys/socket.h:117:26: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘size_t *’ {aka ‘long unsigned int *’} 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ comm.c: In function ‘init_comm’: comm.c:583:12: warning: implicit declaration of function ‘time’ [-Wimplicit-function-declaration] 583 | when = time(NULL) + 28; | ^~~~ In file included from /usr/include/string.h:495, from comm.c:21: In function ‘strncpy’, inlined from ‘send_msg’ at comm.c:108:9: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin___strncpy_chk’ writing 9 bytes into a region of size 8 overflows the destination [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘find_daemon’ at comm.c:237:5: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 9 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘find_daemon’ at comm.c:241:5: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 9 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘init_talkd’ at comm.c:330:5: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘init_talkd’ at comm.c:342:5: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 254 bytes from a string of length 255 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘ring_user’ at comm.c:404:5, inlined from ‘init_comm’ at comm.c:579:5: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 9 bytes from a string of length 11 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘ring_user’ at comm.c:408:7, inlined from ‘init_comm’ at comm.c:579:5: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 9 bytes from a string of length 11 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘leave_invite’ at comm.c:455:5, inlined from ‘init_comm’ at comm.c:582:7: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 9 bytes from a string of length 11 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘leave_invite’ at comm.c:456:5, inlined from ‘init_comm’ at comm.c:582:7: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 9 bytes from a string of length 11 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ comm.c: In function ‘init_comm’: comm.c:601:20: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 244 and 255 [-Wformat-overflow=] 601 | sprintf(tmp, "%s@%s", users[1]->name, users[1]->hostname); | ^~ In file included from /usr/include/stdio.h:867, from comm.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 2 and 268 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -Wall -D__USE_FIXED_PROTOTYPES__ -DLIBDIR="\"/usr/lib\"" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rc.o rc.c rc.c: In function ‘do_rc_line’: rc.c:89:18: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 89 | r = b + strlen(b); | ^ | | | unsigned char * In file included from rc.c:14: /usr/include/string.h:385:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ rc.c:109:37: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 109 | } else if (nx == NULL || strcmp(nx, "on") == 0) { | ^~ | | | unsigned char * In file included from rc.c:14: /usr/include/string.h:137:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rc.c:111:23: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 111 | } else if (strcmp(nx, "off") == 0) { | ^~ | | | unsigned char * In file included from rc.c:14: /usr/include/string.h:137:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rc.c:115:18: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 115 | if (strcmp(r, t->name) == 0) { | ^ | | | unsigned char * In file included from rc.c:14: /usr/include/string.h:137:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rc.c:127:17: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 127 | at = strchr(r, '@'); | ^ | | | unsigned char * In file included from rc.c:14: /usr/include/string.h:226:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 226 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ rc.c:127:8: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 127 | at = strchr(r, '@'); | ^ rc.c:130:25: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 130 | strncpy(a->from, r+1, 255); | ~^~ | | | unsigned char * In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from rc.c:11: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ rc.c:132:39: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 132 | strncpy(a->to, (*nx=='@' ? nx+1 : nx), 255); | ~~~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from rc.c:11: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ rc.c:134:33: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 134 | } else if (at == r + strlen(r) - 1) { | ^ | | | unsigned char * In file included from rc.c:14: /usr/include/string.h:385:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ rc.c:137:24: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 137 | strncpy(a->from, r, 255); | ^ | | | unsigned char * In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from rc.c:11: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ rc.c:139:22: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 139 | strncpy(a->to, nx, 255); | ^~ | | | unsigned char * In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from rc.c:11: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ rc.c:141:15: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 141 | if ((at = strchr(a->to, '@')) != NULL) | ^ rc.c:145:24: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 145 | strncpy(a->from, r, 255); | ^ | | | unsigned char * In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from rc.c:11: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ rc.c:147:22: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 147 | strncpy(a->to, nx, 255); | ^~ | | | unsigned char * In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from rc.c:11: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:103:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ rc.c: In function ‘read_rc’: rc.c:177:13: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 177 | if ((home = (unsigned char *)getenv("HOME")) == NULL) | ^ rc.c:195:11: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness [-Wpointer-sign] 195 | fgets(b, 300, stdin); | ^ | | | unsigned char * In file included from /usr/include/stdio.h:867, from rc.c:11: /usr/include/x86_64-linux-gnu/bits/stdio2.h:255:25: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 255 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ rc.c:195:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 195 | fgets(b, 300, stdin); | ^~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -Wall -D__USE_FIXED_PROTOTYPES__ -DLIBDIR="\"/usr/lib\"" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o menu.o menu.c menu.c: In function ‘menu_keyboard’: menu.c:603:15: warning: pointer targets in passing argument 1 of ‘putscreen’ differ in signedness [-Wpointer-sign] 603 | putscreen(&c, 1, 0); | ^~ | | | unsigned char * In file included from menu.c:17: termcap.h:37:29: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 37 | extern void putscreen(char *s, int n, char attr); | ~~~~~~^ menu.c: In function ‘command_callback’: menu.c:735:20: warning: pointer targets in passing argument 1 of ‘do_rc_line’ differ in signedness [-Wpointer-sign] 735 | r = do_rc_line(s); | ^ | | | char * In file included from menu.c:20: rc.h:22:18: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 22 | char *do_rc_line(unsigned char *); | ^~~~~~~~~~~~~~~ menu.c: In function ‘topic_callback’: menu.c:756:14: warning: pointer targets in passing argument 1 of ‘settopic’ differ in signedness [-Wpointer-sign] 756 | settopic(s); | ^ | | | char * In file included from menu.c:19: screen.h:20:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 20 | extern void settopic(unsigned char *s); | ~~~~~~~~~~~~~~~^ gcc -Wl,-z,relro -o utalk srdp.o utalk.o util.o termcap.o termio.o globals.o signal.o screen.o functions.o kbd.o comm.o rc.o menu.o -lncurses make[1]: Leaving directory '/build/utalk-p6eVyF/utalk-1.0.1.beta' touch build-stamp fakeroot debian/rules binary-arch dh_testdir dh_testroot dh_installdirs dh_installdirs: warning: Compatibility levels before 10 are deprecated (level 9 in use) # Add here commands to install the package into debian/tmp. /usr/bin/make install DESTDIR=`pwd`/debian/utalk make[1]: Entering directory '/build/utalk-p6eVyF/utalk-1.0.1.beta' # -strip utalk cp utalk /build/utalk-p6eVyF/utalk-1.0.1.beta/debian/utalk/usr/bin make[1]: Leaving directory '/build/utalk-p6eVyF/utalk-1.0.1.beta' touch install-stamp dh_testdir dh_testroot dh_installdocs dh_installdocs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installman utalk.1 dh_installman: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installchangelogs dh_installchangelogs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_strip dh_strip: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_compress dh_compress: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_fixperms dh_installdeb dh_installdeb: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_shlibdeps dh_shlibdeps: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'utalk' in '../utalk_1.0.1.beta-9+b1_amd64.deb'. dpkg-deb: building package 'utalk-dbgsym' in '../utalk-dbgsym_1.0.1.beta-9+b1_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../utalk_1.0.1.beta-9+b1_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/utalk-p6eVyF /tmp/utalk-1.0.1.beta-9+b1zkwu8p2j I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.e03uY3rdcx... I: success in 273.2390 seconds md5: utalk-dbgsym_1.0.1.beta-9+b1_amd64.deb: OK md5: utalk_1.0.1.beta-9+b1_amd64.deb: OK sha1: utalk-dbgsym_1.0.1.beta-9+b1_amd64.deb: OK sha1: utalk_1.0.1.beta-9+b1_amd64.deb: OK sha256: utalk-dbgsym_1.0.1.beta-9+b1_amd64.deb: OK sha256: utalk_1.0.1.beta-9+b1_amd64.deb: OK Checksums: OK