patching file ruptime/ruptime.c patching file rwho/Makefile patching file rwhod/Makefile patching file rwhod/rwhod.8 patching file rwhod/rwhod.c patching file rwhod/rwhod.c Directories: /usr/bin /usr/sbin /usr/man Installing in chroot tree rooted at /build/netkit-rwho-debian/pkg/netkit-rwho-debian Looking for a C compiler... gcc Checking if gcc accepts gcc warnings... yes Checking if gcc accepts -O2... yes Checking for BSD signal semantics... yes Checking for snprintf declaration... ok Checking for snprintf implementation... ok Generating MCONFIG... (cd rwho && make) (cd rwhod && make) (cd ruptime && make) make[1]: Entering directory '/build/netkit-rwho-debian/src/netkit-rwho-0.17/rwho' gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline rwho.c -c make[1]: Entering directory '/build/netkit-rwho-debian/src/netkit-rwho-0.17/rwhod' gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D_GNU_SOURCE rwhod.c -c make[1]: Entering directory '/build/netkit-rwho-debian/src/netkit-rwho-0.17/ruptime' gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -I../include ruptime.c -c rwho.c: In function ‘main’: rwho.c:184:11: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 184 | sizeof(we->we_utmp.out_line)); | ^ rwho.c:187:11: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 187 | sizeof(we->we_utmp.out_name)); | ^ ruptime.c: In function ‘main’: ruptime.c:147:6: warning: ‘%s’ directive output may be truncated writing up to 1055 bytes into a region of size 64 [-Wformat-truncation=] 147 | "%s", wd->wd_hostname); | ^~ ruptime.c:146:3: note: ‘snprintf’ output between 1 and 1056 bytes into a destination of size 64 146 | snprintf(hsp->hs_hostname, sizeof(hsp->hs_hostname), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 147 | "%s", wd->wd_hostname); | ~~~~~~~~~~~~~~~~~~~~~~ rwho.c:209:31: warning: ‘%s’ directive output may be truncated writing up to 4191999 bytes into a region of size 8192 [-Wformat-truncation=] 209 | snprintf(buf, sizeof(buf), "%s:%s", mp->myhost, mp->myline); | ^~ rwho.c:209:3: note: ‘snprintf’ output 2 or more bytes (assuming 4192001) into a destination of size 8192 209 | snprintf(buf, sizeof(buf), "%s:%s", mp->myhost, mp->myline); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc ruptime.o -o ruptime make[1]: Leaving directory '/build/netkit-rwho-debian/src/netkit-rwho-0.17/ruptime' gcc rwho.o -o rwho make[1]: Leaving directory '/build/netkit-rwho-debian/src/netkit-rwho-0.17/rwho' In function ‘broadcaster’, inlined from ‘main’ at rwhod.c:302:3: rwhod.c:436:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 436 | strncpy(mywd.wd_hostname, myname, mynamelen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rwhod.c: In function ‘main’: rwhod.c:433:14: note: length computed here 433 | mynamelen = strlen(myname) + 1; | ^~~~~~~~~~~~~~ gcc rwhod.o -o rwhod make[1]: Leaving directory '/build/netkit-rwho-debian/src/netkit-rwho-0.17/rwhod'