>>> Building on exopi-6 under net/tcpshow DIST = [net/tcpshow:tcpshow.1;net/tcpshow:tcpshow.c] FULLPKGNAME = tcpshow-1.74p0 distfiles size=92502 >>> Running build in net/tcpshow at 1735220804.24 ===> net/tcpshow ===> Building from scratch tcpshow-1.74p0 ===> Verifying specs: c ===> found c.100.3 ===> Checking files for tcpshow-1.74p0 `/exopi-cvs/ports/distfiles/tcpshow.c' is up to date. `/exopi-cvs/ports/distfiles/tcpshow.1' is up to date. >> (SHA256) all files: OK ===> Extracting for tcpshow-1.74p0 ===> Patching for tcpshow-1.74p0 ===> Applying OpenBSD patch patch-tcpshow_1 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- tcpshow.1.orig 2004-01-29 18:40:10.000000000 +0100 |+++ tcpshow.1 2004-01-29 18:40:46.000000000 +0100 -------------------------- Patching file tcpshow.1 using Plan A... Hunk #1 succeeded at 46. Hunk #2 succeeded at 175. Hunk #3 succeeded at 261. Hunk #4 succeeded at 282. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for tcpshow-1.74p0 ===> Configuring for tcpshow-1.74p0 ===> Building for tcpshow-1.74p0 cd /exopi-obj/pobj/tcpshow-1.74; cc -O2 -pipe -DNOETHERNAMES -o tcpshow tcpshow.c tcpshow.c:370:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main(int, char **); ^ tcpshow.c:370:1: note: change return type to 'int' void main(int, char **); ^~~~ int tcpshow.c:1251:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main (int argc, char **argv) { ^ tcpshow.c:1251:1: note: change return type to 'int' void main (int argc, char **argv) { ^~~~ int tcpshow.c:1339:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] elif (service = getservbyport((int)htons(port), proto)) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tcpshow.c:1339:18: note: place parentheses around the assignment to silence this warning elif (service = getservbyport((int)htons(port), proto)) ^ ( ) tcpshow.c:1339:18: note: use '==' to turn this assignment into an equality comparison elif (service = getservbyport((int)htons(port), proto)) ^ == tcpshow.c:1586:10: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ tcpshow.c:1609:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ tcpshow.c:1829:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = getPkt()) { ~~^~~~~~~~~~ tcpshow.c:1829:10: note: place parentheses around the assignment to silence this warning if (p = getPkt()) { ^ ( ) tcpshow.c:1829:10: note: use '==' to turn this assignment into an equality comparison if (p = getPkt()) { ^ == tcpshow.c:1999:60: warning: format specifies type 'unsigned long' but the argument has type 'uint4' (aka 'unsigned int') [-Wformat] " TCP:\tport %s -> %s seq=%010lu", sPortName, dPortName, seq ~~~~~~ ^~~ %010u tcpshow.c:2001:49: warning: format specifies type 'unsigned long' but the argument has type 'uint4' (aka 'unsigned int') [-Wformat] if (trackFlag) printf(" (expect=%010lu)", expect); ~~~~~~ ^~~~~~ %010u tcpshow.c:2002:31: warning: format specifies type 'unsigned long' but the argument has type 'uint4' (aka 'unsigned int') [-Wformat] printf(" ack=%010lu\n", ack); ~~~~~~ ^~~ %010u tcpshow.c:2019:50: warning: format specifies type 'unsigned long' but the argument has type 'uint4' (aka 'unsigned int') [-Wformat] printf("\n\tSequence Number:\t\t%010lu\n", seq); ~~~~~~ ^~~ %010u tcpshow.c:2020:63: warning: format specifies type 'unsigned long' but the argument has type 'uint4' (aka 'unsigned int') [-Wformat] if (trackFlag) printf("\tExpect peer ACK:\t\t%010lu\n", expect); ~~~~~~ ^~~~~~ %010u tcpshow.c:2021:55: warning: format specifies type 'unsigned long' but the argument has type 'uint4' (aka 'unsigned int') [-Wformat] printf("\tAcknowledgement Number:\t\t%010lu\n", ack); ~~~~~~ ^~~ %010u 12 warnings generated. ld: warning: tcpshow.c(/tmp/tcpshow-427dad.o:(showPkt)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: tcpshow.c(/tmp/tcpshow-427dad.o:(showPkt)): warning: strcat() is almost always misused, please use strlcat() ld: warning: tcpshow.c(/tmp/tcpshow-427dad.o:(showPkt)): warning: sprintf() is often misused, please use snprintf() >>> Running package in net/tcpshow at 1735220807.18 ===> net/tcpshow ===> Faking installation for tcpshow-1.74p0 /exopi-obj/pobj/tcpshow-1.74/bin/install -c -s -m 755 /exopi-obj/pobj/tcpshow-1.74/tcpshow /exopi-obj/pobj/tcpshow-1.74/fake-amd64/usr/local/bin /exopi-obj/pobj/tcpshow-1.74/bin/install -c -m 644 /exopi-obj/pobj/tcpshow-1.74/tcpshow.1 /exopi-obj/pobj/tcpshow-1.74/fake-amd64/usr/local/man/man1 ===> Building package for tcpshow-1.74p0 Create /exopi-cvs/ports/packages/amd64/all/tcpshow-1.74p0.tgz Creating package tcpshow-1.74p0 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|****** | 10% checksumming|************ | 20% checksumming|****************** | 30% checksumming|************************ | 40% checksumming|******************************* | 50% checksumming|************************************* | 60% checksumming|******************************************* | 70% checksumming|************************************************* | 80% checksumming|******************************************************* | 90% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|* | 1% archiving|************************************************* | 77% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/tcpshow-1.74p0.tgz >>> Running clean in net/tcpshow at 1735220809.78 ===> net/tcpshow ===> Cleaning for tcpshow-1.74p0 >>> Ended at 1735220810.72 max_stuck=0.00/build=2.83/package=2.67/clean=1.01