Build of ckermit with clang_glibc toolchain

The build took 00h 02m 05s and was SUCCESSFUL.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
247,610 ansic
4,991 makefile
252,601 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

Log

To avoid scrolling, you may jump to the last line of the invocation of makepkg that was used to build this package.

Removed vanilla repositories from pacman.conf and added:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

Copied permanent toolchain into container-local sysroot
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/sbin --> /sysroot/sbin
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/etc --> /sysroot/etc
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/var --> /sysroot/var
# /toolchain_root/usr --> /sysroot/usr
# /toolchain_root/glibc-build --> /sysroot/glibc-build
# /toolchain_root/x86_64-pc-linux-gnu --> /sysroot/x86_64-pc-linux-gnu
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=clang CXX=clang++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: ckermit 9.0.302-6 (Thu Apr 13 16:20:55 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# make[1]: Entering directory '/tmp/ckermit/src'
# Making C-Kermit "9.0.302" for Linux 1.2 or later...
# IMPORTANT: Read the comments in the linux section of the
# makefile if you have trouble.
# make xermit KTARGET=${KTARGET:-linuxa} "CC = gcc" "CC2 = gcc" \
# "CFLAGS = -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG \
# -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX \
# -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H " "LNKFLAGS = " \
# "LIBS = -lncurses -lutil -lresolv -lcrypt -lm"
# make[2]: Entering directory '/tmp/ckermit/src'
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckcmai.c
# ckcmai.c:3160:13: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration]
# c = time(NULL);
# ^
# 1 warning generated.
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckclib.c
# ckclib.c:3016:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# while (c = *ss++ && !flag) {
# ~~^~~~~~~~~~~~~~~~
# ckclib.c:3016:15: note: place parentheses around the assignment to silence this warning
# while (c = *ss++ && !flag) {
# ^
# ( )
# ckclib.c:3016:15: note: use '==' to turn this assignment into an equality comparison
# while (c = *ss++ && !flag) {
# ^
# ==
# ckclib.c:3156:9: warning: expression result unused [-Wunused-value]
# *s2++;
# ^~~~~
# 2 warnings generated.
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckucmd.c
# ckucmd.c:5437:16: warning: '&&' within '||' [-Wlogical-op-parentheses]
# while (k >= 0 && ibuf[k] == CR || ibuf[k] == LF)
# ~~~~~~~^~~~~~~~~~~~~~~~ ~~
# ckucmd.c:5437:16: note: place parentheses around the '&&' expression to silence this warning
# while (k >= 0 && ibuf[k] == CR || ibuf[k] == LF)
# ~~~~~~~^~~~~~~~~~~~~~~~
# ckucmd.c:5439:16: warning: '&&' within '||' [-Wlogical-op-parentheses]
# while (k >= 0 && ibuf[k] == SP || ibuf[k] == HT)
# ~~~~~~~^~~~~~~~~~~~~~~~ ~~
# ckucmd.c:5439:16: note: place parentheses around the '&&' expression to silence this warning
# while (k >= 0 && ibuf[k] == SP || ibuf[k] == HT)
# ~~~~~~~^~~~~~~~~~~~~~~~
# 2 warnings generated.
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckuusr.c
# ckuusr.c:7892:11: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# else n = 0;
# ^
# ckuusr.c:13296:57: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuusr.c:13299:57: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuusr.c:13304:57: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuusr.c:13306:57: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuusr.c:13345:15: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
# if (s) if (s == "") s = NULL;
# ^ ~~
# ckuusr.c:13353:15: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
# if (s) if (s == "") s = NULL;
# ^ ~~
# 7 warnings generated.
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckuus2.c
# ckuus2.c:7251:11: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# else n = 0;
# ^
# 1 warning generated.
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckuus3.c
# ckuus3.c:6066:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus3.c:6069:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus3.c:6072:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus3.c:6079:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus3.c:6082:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus3.c:6085:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus3.c:6088:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus3.c:6091:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus3.c:6094:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus3.c:6098:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus3.c:6101:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus3.c:6104:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus3.c:6107:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus3.c:6110:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus3.c:6114:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus3.c:6117:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus3.c:6120:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus3.c:6123:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus3.c:6126:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus3.c:6130:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus3.c:6134:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus3.c:6138:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 4) if (!askmore()) return(0); else n = 0;
# ^
# 22 warnings generated.
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckuus4.c
# ckuus4.c:4386:16: warning: '&&' within '||' [-Wlogical-op-parentheses]
# && !istncomport()
# ^~~~~~~~~~~~~~~~~
# ckuus4.c:4386:16: note: place parentheses around the '&&' expression to silence this warning
# && !istncomport()
# ^
# ckuus4.c:4721:61: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0;
# ^
# ckuus4.c:4723:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:4727:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:4734:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:4745:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:4750:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:4755:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:4763:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:4770:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:4775:61: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0;
# ^
# ckuus4.c:4778:61: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0;
# ^
# ckuus4.c:4805:55: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0;
# ^
# ckuus4.c:4839:61: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0;
# ^
# ckuus4.c:4856:61: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0;
# ^
# ckuus4.c:4884:57: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0;
# ^
# ckuus4.c:4994:57: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0;
# ^
# ckuus4.c:5003:57: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0;
# ^
# ckuus4.c:5021:57: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0;
# ^
# ckuus4.c:5023:57: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0;
# ^
# ckuus4.c:5025:57: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0;
# ^
# ckuus4.c:5027:57: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0;
# ^
# ckuus4.c:5029:57: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0;
# ^
# ckuus4.c:5031:57: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0;
# ^
# ckuus4.c:5048:57: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0;
# ^
# ckuus4.c:5051:57: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0;
# ^
# ckuus4.c:5053:57: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0;
# ^
# ckuus4.c:5056:57: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0;
# ^
# ckuus4.c:5058:57: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0;
# ^
# ckuus4.c:5060:57: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0;
# ^
# ckuus4.c:5063:57: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0;
# ^
# ckuus4.c:5066:57: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0;
# ^
# ckuus4.c:5071:65: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0;
# ^
# ckuus4.c:5077:57: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0;
# ^
# ckuus4.c:5136:64: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5145:60: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5154:56: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5299:64: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5307:64: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5311:68: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5323:64: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5344:56: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5393:56: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5413:64: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5444:64: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5446:64: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5451:64: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5515:56: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5518:56: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5525:56: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5537:56: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5541:56: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5544:56: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5547:56: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5550:56: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5560:56: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5567:56: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5577:56: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5580:56: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5583:56: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5586:56: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5589:56: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5592:56: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5595:56: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5604:56: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5614:56: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5624:56: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5631:56: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5640:56: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5643:56: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5646:56: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
# ^
# ckuus4.c:5714:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:5745:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:5752:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:5755:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:5757:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:5760:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:5762:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:5764:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:5767:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:5770:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:5773:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:5785:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:5790:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:5795:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:5815:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:5818:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:5821:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:5824:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:5835:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:5839:57: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:5853:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:5856:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:5858:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:5863:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:5865:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:5869:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:5871:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:5874:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:6218:57: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:6222:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:6224:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:6234:57: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0;
# ^
# ckuus4.c:6295:13: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
# if (!xferstat > 0) {
# ^ ~
# ckuus4.c:6295:13: note: add parentheses after the '!' to evaluate the comparison first
# if (!xferstat > 0) {
# ^
# ( )
# ckuus4.c:6295:13: note: add parentheses around left hand side expression to silence this warning
# if (!xferstat > 0) {
# ^
# ( )
# ckuus4.c:11388:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# while (c = *s++) { /* Loop thru arg chars */
# ~~^~~~~~
# ckuus4.c:11388:22: note: place parentheses around the assignment to silence this warning
# while (c = *s++) { /* Loop thru arg chars */
# ^
# ( )
# ckuus4.c:11388:22: note: use '==' to turn this assignment into an equality comparison
# while (c = *s++) { /* Loop thru arg chars */
# ^
# ==
# ckuus4.c:11711:16: warning: '&&' within '||' [-Wlogical-op-parentheses]
# while (k >= 0 && s[k] == CR || s[k] == LF)
# ~~~~~~~^~~~~~~~~~~~~ ~~
# ckuus4.c:11711:16: note: place parentheses around the '&&' expression to silence this warning
# while (k >= 0 && s[k] == CR || s[k] == LF)
# ~~~~~~~^~~~~~~~~~~~~
# ckuus4.c:11713:16: warning: '&&' within '||' [-Wlogical-op-parentheses]
# while (k >= 0 && s[k] == SP || s[k] == HT)
# ~~~~~~~^~~~~~~~~~~~~ ~~
# ckuus4.c:11713:16: note: place parentheses around the '&&' expression to silence this warning
# while (k >= 0 && s[k] == SP || s[k] == HT)
# ~~~~~~~^~~~~~~~~~~~~
# 107 warnings generated.
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckuus5.c
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckuus6.c
# ckuus6.c:3294:9: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# else if (!quiet)
# ^
# ckuus6.c:6801:61: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (!askmore()) goto xdelete; else n = 0;
# ^
# ckuus6.c:6810:61: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (!askmore()) goto xdelete; else n = 0;
# ^
# ckuus6.c:6821:61: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (!askmore()) goto xdelete; else n = 0;
# ^
# ckuus6.c:6831:61: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (!askmore()) goto xdelete; else n = 0;
# ^
# ckuus6.c:6841:53: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (!askmore()) goto xdelete; else n = 0;
# ^
# ckuus6.c:6848:49: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (!askmore()) goto xdelete; else n = 0;
# ^
# ckuus6.c:9035:7: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# else
# ^
# 8 warnings generated.
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckuus7.c
# ckuus7.c:3016:48: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# if (!askmore()) goto xpurge; else lines = 0;
# ^
# 1 warning generated.
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckuusx.c
# ckuusx.c:1562:30: warning: '&&' within '||' [-Wlogical-op-parentheses]
# count > 9 && buf[8] == SP && buf[9] == '\015') {
# ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
# ckuusx.c:1562:30: note: place parentheses around the '&&' expression to silence this warning
# count > 9 && buf[8] == SP && buf[9] == '\015') {
# ^
# ( )
# ckuusx.c:1714:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
# if ((c == '\032') /* Ctrl-Z */
# ~~^~~~~~~~~
# ckuusx.c:1714:14: note: remove extraneous parentheses around the comparison to silence this warning
# if ((c == '\032') /* Ctrl-Z */
# ~ ^ ~
# ckuusx.c:1714:14: note: use '=' to turn this equality comparison into an assignment
# if ((c == '\032') /* Ctrl-Z */
# ^~
# =
# ckuusx.c:2073:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
# if ((c == '\032') /* Ctrl-Z */
# ~~^~~~~~~~~
# ckuusx.c:2073:10: note: remove extraneous parentheses around the comparison to silence this warning
# if ((c == '\032') /* Ctrl-Z */
# ~ ^ ~
# ckuusx.c:2073:10: note: use '=' to turn this equality comparison into an assignment
# if ((c == '\032') /* Ctrl-Z */
# ^~
# =
# ckuusx.c:3807:9: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# else if (what & W_RECV || what & W_REMO)
# ^
# ckuusx.c:5980:17: warning: implicit declaration of function 'tgetent' is invalid in C99 [-Wimplicit-function-declaration]
# x = tgetent(trmbuf,s);
# ^
# ckuusx.c:6481:13: warning: implicit declaration of function 'tgetstr' is invalid in C99 [-Wimplicit-function-declaration]
# if (tgetstr("cl", &bp)) { /* Get clear-screen code */
# ^
# ckuusx.c:6560:9: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration]
# tputs(
# ^
# ckuusx.c:6564:15: warning: implicit declaration of function 'tgoto' is invalid in C99 [-Wimplicit-function-declaration]
# tgoto(cur_cm,col-1,row-1),1,fn);
# ^
# 8 warnings generated.
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckuusy.c
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckwart.c
# ckwart.c:531:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main(argc,argv) int argc; char **argv; {
# ^
# 1 warning generated.
# gcc -o wart ckwart.o -lncurses -lutil -lresolv -lcrypt -lm
# ./wart ckcpro.w ckcpro.c
# 16 states, 74 actions
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckcpro.c
# ckcpro.c:1522:13: warning: '&&' within '||' [-Wlogical-op-parentheses]
# if (server && !ENABLED(en_cwd) || /* if DISABLE CD */
# ~~~~~~~^~~~~~~~~~~~~~~~~~~ ~~
# ckcpro.c:1522:13: note: place parentheses around the '&&' expression to silence this warning
# if (server && !ENABLED(en_cwd) || /* if DISABLE CD */
# ~~~~~~~^~~~~~~~~~~~~~~~~~~
# ckcpro.c:2344:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if (tmp = (char *)malloc(n)) {
# ~~~~^~~~~~~~~~~~~~~~~~~
# ckcpro.c:2344:11: note: place parentheses around the assignment to silence this warning
# if (tmp = (char *)malloc(n)) {
# ^
# ( )
# ckcpro.c:2344:11: note: use '==' to turn this assignment into an equality comparison
# if (tmp = (char *)malloc(n)) {
# ^
# ==
# ckcpro.c:2358:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if (tmp = (char *)malloc(n)) {
# ~~~~^~~~~~~~~~~~~~~~~~~
# ckcpro.c:2358:11: note: place parentheses around the assignment to silence this warning
# if (tmp = (char *)malloc(n)) {
# ^
# ( )
# ckcpro.c:2358:11: note: use '==' to turn this assignment into an equality comparison
# if (tmp = (char *)malloc(n)) {
# ^
# ==
# ckcpro.c:2465:9: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# } else { /* or to screen. */
# ^
# ckcpro.c:2928:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if (s = zgtdir()) { /* Get current directory */
# ~~^~~~~~~~~~
# ckcpro.c:2928:12: note: place parentheses around the assignment to silence this warning
# if (s = zgtdir()) { /* Get current directory */
# ^
# ( )
# ckcpro.c:2928:12: note: use '==' to turn this assignment into an equality comparison
# if (s = zgtdir()) { /* Get current directory */
# ^
# ==
# ckcpro.c:3424:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if (s = zgtdir()) { /* Get current directory */
# ~~^~~~~~~~~~
# ckcpro.c:3424:9: note: place parentheses around the assignment to silence this warning
# if (s = zgtdir()) { /* Get current directory */
# ^
# ( )
# ckcpro.c:3424:9: note: use '==' to turn this assignment into an equality comparison
# if (s = zgtdir()) { /* Get current directory */
# ^
# ==
# 6 warnings generated.
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckcfns.c
# ckcfns.c:3783:12: warning: '&&' within '||' [-Wlogical-op-parentheses]
# !stdouf ) && /* Not copying to standard output? */
# ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ckcfns.c:3783:12: note: place parentheses around the '&&' expression to silence this warning
# !stdouf ) && /* Not copying to standard output? */
# ^
# ckcfns.c:5323:19: warning: '&&' within '||' [-Wlogical-op-parentheses]
# && !istncomport()
# ^~~~~~~~~~~~~~~~~
# ckcfns.c:5323:19: note: place parentheses around the '&&' expression to silence this warning
# && !istncomport()
# ^
# 2 warnings generated.
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckcfn2.c
# ckcfn2.c:1068:19: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
# } else if ((rsn == (pktnum + 1) % 64)) { /* NAK for next pkt */
# ~~~~^~~~~~~~~~~~~~~~~~~~
# ckcfn2.c:1068:19: note: remove extraneous parentheses around the comparison to silence this warning
# } else if ((rsn == (pktnum + 1) % 64)) { /* NAK for next pkt */
# ~ ^ ~
# ckcfn2.c:1068:19: note: use '=' to turn this equality comparison into an assignment
# } else if ((rsn == (pktnum + 1) % 64)) { /* NAK for next pkt */
# ^~
# =
# ckcfn2.c:2875:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# else
# ^
# 2 warnings generated.
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckcfn3.c
# ckcfn3.c:1477:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# while (c = *s++) { /* Get attribute tag */
# ~~^~~~~~
# ckcfn3.c:1477:14: note: place parentheses around the assignment to silence this warning
# while (c = *s++) { /* Get attribute tag */
# ^
# ( )
# ckcfn3.c:1477:14: note: use '==' to turn this assignment into an equality comparison
# while (c = *s++) { /* Get attribute tag */
# ^
# ==
# ckcfn3.c:2117:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if (x = openo(f,zz,&fcb)) { /* Try to open the file. */
# ~~^~~~~~~~~~~~~~~~~~
# ckcfn3.c:2117:11: note: place parentheses around the assignment to silence this warning
# if (x = openo(f,zz,&fcb)) { /* Try to open the file. */
# ^
# ( )
# ckcfn3.c:2117:11: note: use '==' to turn this assignment into an equality comparison
# if (x = openo(f,zz,&fcb)) { /* Try to open the file. */
# ^
# ==
# ckcfn3.c:2175:2: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# else
# ^
# 3 warnings generated.
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckuxla.c
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckucns.c
# ckucns.c:472:48: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
# xx.typ = 0; xx.dsp = XYFZ_A; xx.os_specific = NUL;
# ^~~
# ./ckcasc.h:17:14: note: expanded from macro 'NUL'
# #define NUL '\0' /* Null Ctrl-@*/
# ^~~~
# 1 warning generated.
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckutio.c
# ckutio.c:2289:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if (p = getenv("LOCATION"))
# ~~^~~~~~~~~~~~~~~~~~~~
# ckutio.c:2289:8: note: place parentheses around the assignment to silence this warning
# if (p = getenv("LOCATION"))
# ^
# ( )
# ckutio.c:2289:8: note: use '==' to turn this assignment into an equality comparison
# if (p = getenv("LOCATION"))
# ^
# ==
# ckutio.c:2290:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if (tn_loc = (char *)malloc((int)strlen(p)+1))
# ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ckutio.c:2290:15: note: place parentheses around the assignment to silence this warning
# if (tn_loc = (char *)malloc((int)strlen(p)+1))
# ^
# ( )
# ckutio.c:2290:15: note: use '==' to turn this assignment into an equality comparison
# if (tn_loc = (char *)malloc((int)strlen(p)+1))
# ^
# ==
# ckutio.c:2489:37: warning: for loop has empty body [-Wempty-body]
# for (p = ttname; isdigit(*p); p++) ; /* Check for all digits */
# ^
# ckutio.c:2489:37: note: put the semicolon on a separate line to silence this warning
# ckutio.c:12878:9: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# } else continue; /* By other signal, try again. */
# ^
# ckutio.c:14664:9: warning: implicit declaration of function 'openpty' is invalid in C99 [-Wimplicit-function-declaration]
# if (openpty(&masterfd, &slavefd, NULL, NULL, NULL) == -1) {
# ^
# 5 warnings generated.
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckufio.c
# ckufio.c:7504:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if (p = zgtdir()) { /* So get current directory */
# ~~^~~~~~~~~~
# ckufio.c:7504:15: note: place parentheses around the assignment to silence this warning
# if (p = zgtdir()) { /* So get current directory */
# ^
# ( )
# ckufio.c:7504:15: note: use '==' to turn this assignment into an equality comparison
# if (p = zgtdir()) { /* So get current directory */
# ^
# ==
# 1 warning generated.
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckudia.c
# ckudia.c:4996:14: warning: address of array 'lbuf' will always evaluate to 'true' [-Wpointer-bool-conversion]
# if (lbuf && *lbuf) {
# ^~~~ ~~
# ckudia.c:6527:55: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
# mymdmtyp == n_H_ULTRA || mymdmtyp == n_H_ACCURA || n_PPI
# ^ ~~~~~
# ckudia.c:6527:55: note: use '|' for a bitwise operation
# mymdmtyp == n_H_ULTRA || mymdmtyp == n_H_ACCURA || n_PPI
# ^~
# |
# ckudia.c:6535:51: warning: use of logical '||' with constant operand [-Wconstant-logical-operand]
# mymdmtyp == n_SUPRA || mymdmtyp == n_SUPRAX || n_SUPRASON
# ^ ~~~~~~~~~~
# ckudia.c:6535:51: note: use '|' for a bitwise operation
# mymdmtyp == n_SUPRA || mymdmtyp == n_SUPRAX || n_SUPRASON
# ^~
# |
# 3 warnings generated.
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckuscr.c
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckcnet.c
# ckcnet.c:1705:52: warning: '&&' within '||' [-Wlogical-op-parentheses]
# nettype != NET_TCPA && nettype != NET_TCPB &&
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
# ckcnet.c:1705:52: note: place parentheses around the '&&' expression to silence this warning
# nettype != NET_TCPA && nettype != NET_TCPB &&
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
# ckcnet.c:1827:52: warning: '&&' within '||' [-Wlogical-op-parentheses]
# nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
# ckcnet.c:1827:52: note: place parentheses around the '&&' expression to silence this warning
# nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
# ckcnet.c:1923:47: warning: '&&' within '||' [-Wlogical-op-parentheses]
# nettype != NET_TCPA && nettype != NET_TCPB &&
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
# ckcnet.c:1923:47: note: place parentheses around the '&&' expression to silence this warning
# nettype != NET_TCPA && nettype != NET_TCPB &&
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
# ckcnet.c:2014:52: warning: '&&' within '||' [-Wlogical-op-parentheses]
# nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
# ckcnet.c:2014:52: note: place parentheses around the '&&' expression to silence this warning
# nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
# ckcnet.c:2132:52: warning: '&&' within '||' [-Wlogical-op-parentheses]
# nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
# ckcnet.c:2132:52: note: place parentheses around the '&&' expression to silence this warning
# nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
# ckcnet.c:2250:52: warning: '&&' within '||' [-Wlogical-op-parentheses]
# nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
# ckcnet.c:2250:52: note: place parentheses around the '&&' expression to silence this warning
# nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
# ckcnet.c:2972:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if (host = gethostbyaddr((char *)&saddr.sin_addr,4,PF_INET)) {
# ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ckcnet.c:2972:22: note: place parentheses around the assignment to silence this warning
# if (host = gethostbyaddr((char *)&saddr.sin_addr,4,PF_INET)) {
# ^
# ( )
# ckcnet.c:2972:22: note: use '==' to turn this assignment into an equality comparison
# if (host = gethostbyaddr((char *)&saddr.sin_addr,4,PF_INET)) {
# ^
# ==
# ckcnet.c:4885:20: warning: '&&' within '||' [-Wlogical-op-parentheses]
# if ((tcp_rdns && dns || tcp_rdns == SET_ON
# ~~~~~~~~~^~~~~~ ~~
# ckcnet.c:4885:20: note: place parentheses around the '&&' expression to silence this warning
# if ((tcp_rdns && dns || tcp_rdns == SET_ON
# ^
# ( )
# ckcnet.c:4906:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if (host = gethostbyaddr((char *)&r_addr.sin_addr,4,PF_INET)) {
# ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ckcnet.c:4906:18: note: place parentheses around the assignment to silence this warning
# if (host = gethostbyaddr((char *)&r_addr.sin_addr,4,PF_INET)) {
# ^
# ( )
# ckcnet.c:4906:18: note: use '==' to turn this assignment into an equality comparison
# if (host = gethostbyaddr((char *)&r_addr.sin_addr,4,PF_INET)) {
# ^
# ==
# ckcnet.c:10790:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if (host = gethostbyaddr((char *)&r_addr.sin_addr,4,PF_INET)) {
# ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ckcnet.c:10790:18: note: place parentheses around the assignment to silence this warning
# if (host = gethostbyaddr((char *)&r_addr.sin_addr,4,PF_INET)) {
# ^
# ( )
# ckcnet.c:10790:18: note: use '==' to turn this assignment into an equality comparison
# if (host = gethostbyaddr((char *)&r_addr.sin_addr,4,PF_INET)) {
# ^
# ==
# 10 warnings generated.
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckctel.c
# ckctel.c:2384:23: warning: '&&' within '||' [-Wlogical-op-parentheses]
# || !local && cmdadl
# ~~ ~~~~~~~^~~~~~~~~
# ckctel.c:2384:23: note: place parentheses around the '&&' expression to silence this warning
# || !local && cmdadl
# ^
# ( )
# ckctel.c:4638:60: warning: passing 'char [6]' to parameter of type 'CHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# tn_ssbopt(TELOPT_NEWENVIRON,TELQUAL_SEND,request,
# ^~~~~~~
# ckctel.c:5960:52: warning: passing 'char [1]' to parameter of type 'CHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# if (tn_ssbopt(TELOPT_NEWENVIRON,TELQUAL_IS,"",0) < 0)
# ^~
# ckctel.c:6167:48: warning: passing 'char *' to parameter of type 'CHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
# if (tn_ssbopt(TELOPT_NEWENVIRON,TELQUAL_IS,reply,n) < 0) {
# ^~~~~
# 4 warnings generated.
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckusig.c
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckcuni.c
# ckcuni.c:8272:11: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
# if (c && 0xff80) /* 7 bits */
# ^ ~~~~~~
# ckcuni.c:8272:11: note: use '&' for a bitwise operation
# if (c && 0xff80) /* 7 bits */
# ^~
# &
# ckcuni.c:8272:11: note: remove constant to silence this warning
# if (c && 0xff80) /* 7 bits */
# ~^~~~~~~~~
# 1 warning generated.
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckupty.c
# ckupty.c:705:9: warning: implicit declaration of function 'openpty' is invalid in C99 [-Wimplicit-function-declaration]
# if (openpty(fd,
# ^
# 1 warning generated.
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckcftp.c
# ckcftp.c:4473:13: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# else
# ^
# ckcftp.c:4471:13: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# else if (rc == SKP_SIM)
# ^
# ckcftp.c:4469:13: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# else if (rc == SKP_XUP)
# ^
# ckcftp.c:11182:13: warning: add explicit braces to avoid dangling else [-Wdangling-else]
# } else safe = (ftpcode == 631);
# ^
# ckcftp.c:12553:38: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
# xx.typ = 0; xx.os_specific = NUL; xx.lblopts = 0;
# ^~~
# ./ckcasc.h:17:14: note: expanded from macro 'NUL'
# #define NUL '\0' /* Null Ctrl-@*/
# ^~~~
# ckcftp.c:15083:56: warning: '&&' within '||' [-Wlogical-op-parentheses]
# } else if (uidbuf[0] && (ftp_tmp || pwbuf[0] && pwflg)) {
# ~~ ~~~~~~~~~^~~~~~~~
# ckcftp.c:15083:56: note: place parentheses around the '&&' expression to silence this warning
# } else if (uidbuf[0] && (ftp_tmp || pwbuf[0] && pwflg)) {
# ^
# ( )
# ckcftp.c:16296:46: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# if ((kerror = looping_read(fd, ucbuf, length)) != length) {
# ^~~~~
# 7 warnings generated.
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ckuath.c
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ck_crp.c
# gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -DKTARGET=\"linux\" -c ck_ssl.c
# gcc -o wermit \
# ckcmai.o ckclib.o ckutio.o ckufio.o \
# ckcfns.o ckcfn2.o ckcfn3.o ckuxla.o \
# ckcpro.o ckucmd.o ckuus2.o ckuus3.o \
# ckuus4.o ckuus5.o ckuus6.o ckuus7.o \
# ckuusx.o ckuusy.o ckuusr.o ckucns.o \
# ckudia.o ckuscr.o ckcnet.o ckusig.o \
# ckctel.o ckcuni.o ckupty.o ckcftp.o \
# ckuath.o ck_crp.o ck_ssl.o -lncurses -lutil -lresolv -lcrypt -lm
# make[2]: Leaving directory '/tmp/ckermit/src'
# make[1]: Leaving directory '/tmp/ckermit/src'
# ==> Entering fakeroot environment...
# ==> Starting package()...
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "ckermit"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: ckermit 9.0.302-6 (Thu Apr 13 16:21:54 UTC 2017)

CMD: pacman --query --file ckermit-9.0.302-6-x86_64.pkg.tar.xz
# ckermit 9.0.302-6

Creating hybrid package for 'ckermit'

Trying to find vanilla package 'ckermit'...

CMD: pacman --query --file /mirror/ckermit-9.0.302-6.pkg.tar.xz
# ckermit 9.0.302-6

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/ckermit-sshsub
# /usr/bin/ckermit.ini
# /usr/bin/ckermit
# /usr/share/man/man1/ckermit.1.gz
# /usr/share/licenses/ckermit/License.txt

Generating .MTREE

CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO usr

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO usr .MTREE

CMD: xz -c -z

Successfully ran bsdtar -cf - .PKGINFO usr .MTREE | xz -c -z

CMD: bsdtar -tqf ckermit.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/ckermit.pkg.tar.xz

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/ckermit.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/ckermit.pkg.tar.xz'
# -> Computing checksums...
# -> Creating 'desc' db entry...
# -> Creating 'files' db entry...
# ==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'