>>> Building on exopi-3 under www/links DIST = [www/links:links-1.03.tar.gz] FULLPKGNAME = links-1.03p0 distfiles size=641917 >>> Running build in www/links at 1732126749.65 ===> www/links ===> Building from scratch links-1.03p0 ===> Verifying specs: c crypto ssl z ===> found c.100.3 crypto.55.0 ssl.58.0 z.7.1 ===> Checking files for links-1.03p0 `/exopi-cvs/ports/distfiles/links-1.03.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for links-1.03p0 ===> Patching for links-1.03p0 ===> Applying OpenBSD patch patch-connect_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- connect.c.orig Fri Jan 27 11:15:16 2017 |+++ connect.c Fri Jan 27 11:19:13 2017 -------------------------- Patching file connect.c using Plan A... Hunk #1 succeeded at 106. Hunk #2 succeeded at 119. Hunk #3 succeeded at 184. Hunk #4 succeeded at 196. done ===> Applying OpenBSD patch patch-https_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- https.c.orig Sat Apr 19 18:36:12 2014 |+++ https.c Sat Apr 19 18:37:12 2014 -------------------------- Patching file https.c using Plan A... Hunk #1 succeeded at 33. done ===> Applying OpenBSD patch patch-links_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- links.h.orig Fri Jan 27 11:19:20 2017 |+++ links.h Fri Jan 27 11:19:23 2017 -------------------------- Patching file links.h using Plan A... Hunk #1 succeeded at 820. 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 links-1.03p0 ===> Configuring for links-1.03p0 Using /exopi-obj/pobj/links-1.03/config.site (generated) loading site script /exopi-obj/pobj/links-1.03/config.site creating cache ./config.cache checking for a BSD compatible install... /exopi-obj/pobj/links-1.03/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... found checking for gcc... cc checking whether the C compiler (cc -O2 -pipe ) works... yes checking whether the C compiler (cc -O2 -pipe ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking how to run the C preprocessor... cc -E checking for ANSI C header files... (cached) yes checking whether cc needs -traditional... no checking for EMX... no checking for OpenWatcom... no checking for typeof... yes checking for long long... yes checking for pointer comparison bug... no checking for maxint conversion bug... no checking for dirent.h that defines DIR... (cached) yes checking for opendir in -ldir... (cached) no checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for fcntl.h... (cached) yes checking for limits.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/time.h... (cached) yes checking for time.h... (cached) yes checking for unistd.h... (cached) yes checking for sigaction.h... no checking for netinet/in_systm.h... (cached) yes checking for netinet/in_system.h... no checking for netinet/ip.h... (cached) yes checking for arpa/inet.h... (cached) yes checking for net/socket.h... no checking for sys/select.h... (cached) yes checking for sys/resource.h... (cached) yes checking for wait.h... no checking for sys/utsname.h... (cached) yes checking for sys/un.h... (cached) yes checking for sys/fmutex.h... no checking for sys/cygwin.h... no checking for interix/interix.h... no checking for io.h... no checking for pwd.h... (cached) yes checking for grp.h... (cached) yes checking for working const... (cached) yes checking for inline... inline checking for size_t... (cached) yes checking for socklen_t... yes checking whether time.h and sys/time.h may both be included... (cached) yes checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking if rename can replace existing files... yes checking return type of signal handlers... (cached) void checking for strftime... (cached) yes checking for vprintf... (cached) yes checking for mkdir... (cached) yes checking for select... (cached) yes checking for chmod... (cached) yes checking for getpid... (cached) yes checking for setpgid... (cached) yes checking for popen... (cached) yes checking for uname... (cached) yes checking for getpagesize... (cached) yes checking for getpwuid... (cached) yes checking for getgrgid... (cached) yes checking for sigfillset... yes checking for getrlimit... (cached) yes checking for setrlimit... (cached) yes checking for raise... (cached) yes checking for gettimeofday... (cached) yes checking for tempnam... (cached) yes checking for strtol... (cached) yes checking for strtoul... (cached) yes checking for strtoq... (cached) yes checking for strtoll... (cached) yes checking for strlen... yes checking for strcpy... yes checking for strchr... yes checking for strrchr... yes checking for strcmp... yes checking for strncmp... yes checking for strcspn... yes checking for strstr... yes checking for memmove... yes checking for strerror... yes checking for Gpm_Open in -lgpm... no checking for gpm.h... no checking for socket... (cached) yes checking for setsockopt... (cached) yes checking for gethostbyname... (cached) yes checking for gethostbyaddr... (cached) yes checking for herror... (cached) yes checking for cfmakeraw... (cached) yes checking for cygwin_conv_to_full_win32_path... no checking for cygwin_conv_path... no checking for unixpath2win... no checking for winpath2unix... no checking for OS/2 threads... no checking for MouOpen... no checking for _read_kbd... no checking for XFree for OS/2... no checking for dlopen in -ldl... no checking for inflate in -lz... yes checking for pkg-config... /usr/bin/pkg-config checking for openssl... yes checking OPENSSL_CFLAGS... checking OPENSSL_LIBS... -lssl -lcrypto checking for OpenSSL... yes updating cache ./config.cache creating ./config.status creating Makefile creating config.h ===> Building for links-1.03p0 cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c af_unix.c cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c beos.c cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c bfu.c cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c bookmark.c bookmark.c:277:16: warning: cast to 'void *' from smaller integer type 'bookmark_id' (aka 'int') [-Wint-to-void-pointer-cast] item->data = (void *)(id = bm->id); ^~~~~~~~~~~~~~~~~~~~~ bookmark.c:316:11: warning: cast to smaller integer type 'bookmark_id' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] return (bookmark_id)(citem->data); ^~~~~~~~~~~~~~~~~~~~~~~~~~ bookmark.c:563:19: warning: cast to smaller integer type 'bookmark_id' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] bookmark_id id = (bookmark_id)d->udata2; ^~~~~~~~~~~~~~~~~~~~~~ bookmark.c:588:140: warning: cast to 'void *' from smaller integer type 'bookmark_id' (aka 'int') [-Wint-to-void-pointer-cast] bookmark_edit_dialog(dlg->win->term, TEXT_(T_EDIT_BOOKMARK), name, url, (struct session*)edit_btn->item->udata, dlg, bookmark_edit_done, (void *)id); ^~~~~~~~~~ 4 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c cache.c cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c charsets.c cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c connect.c cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c cookies.c cookies.c:196:11: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] int id = (int)idp; ^~~~~~~~ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c default.c cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c dns.c cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c error.c cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c file.c cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c finger.c cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c ftp.c cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c html.c html.c:1469:37: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] item->data = data == -1 ? nmenu : (void *)data; ^~~~~~~~~~~~ html.c:1528:9: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] lbls[(int)m->data] = bs; ^~~~~~~~~~~~ html.c:1535:53: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] if (m->func != MENU_FUNC do_select_submenu) return (int)m->data == f; ^~~~~~~~~~~~ 3 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c html_r.c html_r.c:740:11: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] return (void *)!!p->data; ^~~~~~~~~~~~~~~~~ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c html_tbl.c cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c http.c http.c:582:32: warning: passing 'const char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] add_to_str(&e->ssl_info, &l, SSL_get_cipher_version(c->ssl)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ssl.h:740:3: note: expanded from macro 'SSL_get_cipher_version' SSL_CIPHER_get_version(SSL_get_current_cipher(s)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./links.h:468:73: note: passing argument to parameter 'a' here static inline void add_to_str(unsigned char **s, int *l, unsigned char *a) ^ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c https.c cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c kbd.c kbd.c:424:99: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] set_handlers(blockh, (void (*)(void *))unblock_itrm_x, NULL, (void (*)(void *))unblock_itrm_x, (void *)blockh); ^~~~~~~~~~~~~~ kbd.c:426:59: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] set_handlers(blockh, close_handle, NULL, close_handle, (void *)blockh); ^~~~~~~~~~~~~~ 2 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c kbdbind.c cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c language.c cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c mailto.c cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c main.c cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c menu.c menu.c:245:14: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] int steps = (int) psteps; ^~~~~~~~~~~~ menu.c:283:58: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] add_to_menu(&mi, url, "", "", MENU_FUNC go_backwards, (void *) n, 0); ^~~~~~~~~~ menu.c:330:11: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] int cp = (int)pcp; ^~~~~~~~ menu.c:338:11: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] int cp = (int)pcp; ^~~~~~~~ menu.c:351:72: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] add_to_menu(&mi, get_cp_name(i), "", "", MENU_FUNC display_codepage, (void *)i, 0); ^~~~~~~~~ menu.c:360:7: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] *d = (int)ip; ^~~~~~~ menu.c:370:63: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] add_to_menu(&mi, get_cp_name(i), "", "", MENU_FUNC set_val, (void *)i, 0); ^~~~~~~~~ menu.c:970:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] set_language((int)pcp); ^~~~~~~~ menu.c:982:60: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] add_to_menu(&mi, n, "", "", MENU_FUNC menu_set_language, (void *)i, 0); ^~~~~~~~~ 9 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c os_dep.c cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c sched.c cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c select.c cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c session.c cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c smb.c cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c terminal.c terminal.c:692:10: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] int h = (int)p; ^~~~~~ terminal.c:699:15: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] close_handle((void *)term->blocked); ^~~~~~~~~~~~~~~~~~~~~ terminal.c:739:60: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] set_handlers(blockh, close_handle, NULL, close_handle, (void *)blockh); ^~~~~~~~~~~~~~ 3 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c types.c types.c:220:14: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] tcount fc = (int)fcp; ^~~~~~~~ types.c:232:14: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] tcount fc = (int)fcp; ^~~~~~~~ types.c:247:14: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] tcount fc = (int)fcp; ^~~~~~~~ types.c:337:73: warning: cast to 'void *' from smaller integer type 'tcount' (aka 'unsigned int') [-Wint-to-void-pointer-cast] add_to_menu(&mi, stracpy(a->label), stracpy(a->ct), "", MENU_FUNC fn, (void *)a->cnt, 0), n++; ^~~~~~~~~~~~~~ types.c:414:14: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] tcount fc = (int)fcp; ^~~~~~~~ types.c:426:14: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] tcount fc = (int)fcp; ^~~~~~~~ types.c:440:14: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] tcount fc = (int)fcp; ^~~~~~~~ types.c:497:71: warning: cast to 'void *' from smaller integer type 'tcount' (aka 'unsigned int') [-Wint-to-void-pointer-cast] add_to_menu(&mi, stracpy(a->ext), stracpy(a->ct), "", MENU_FUNC fn, (void *)a->cnt, 0), n++; ^~~~~~~~~~~~~~ 8 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c url.c cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -c view.c view.c:969:10: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (!fc->method == FM_GET) add_to_str(&s, &l, "Submit form: "); ^ ~~ view.c:969:10: note: add parentheses after the '!' to evaluate the comparison first if (!fc->method == FM_GET) add_to_str(&s, &l, "Submit form: "); ^ ( ) view.c:969:10: note: add parentheses around left hand side expression to silence this warning if (!fc->method == FM_GET) add_to_str(&s, &l, "Submit form: "); ^ ( ) view.c:1654:13: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] int item = (int)pitem; ^~~~~~~~~~ view.c:2289:26: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] exit_prog(ses->term, (void *)(ev->x == KBD_CTRL_C), ses); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. cc -O2 -pipe -o links af_unix.o beos.o bfu.o bookmark.o cache.o charsets.o connect.o cookies.o default.o dns.o error.o file.o finger.o ftp.o html.o html_r.o html_tbl.o http.o https.o kbd.o kbdbind.o language.o mailto.o main.o menu.o os_dep.o sched.o select.o session.o smb.o terminal.o types.o url.o view.o -lssl -lcrypto -lz ld: warning: af_unix.c(af_unix.o:(get_address)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: bookmark.c(bookmark.o:(add_to_strn)): warning: strcat() is almost always misused, please use strlcat() ld: warning: view.c(view.o:(encode_string)): warning: sprintf() is often misused, please use snprintf() ld: warning: session.c(session.o:(get_temp_name)): warning: tempnam() possibly used unsafely; consider using mkstemp() >>> Running package in www/links at 1732126782.13 ===> www/links ===> Faking installation for links-1.03p0 /bin/sh ./mkinstalldirs /exopi-obj/pobj/links-1.03/fake-amd64/usr/local/bin /exopi-obj/pobj/links-1.03/bin/install -c -s -m 755 links /exopi-obj/pobj/links-1.03/fake-amd64/usr/local/bin/links /usr/bin/make install-man1 /bin/sh ./mkinstalldirs /exopi-obj/pobj/links-1.03/fake-amd64/usr/local/man/man1 /exopi-obj/pobj/links-1.03/bin/install -c -m 644 ./links.1 /exopi-obj/pobj/links-1.03/fake-amd64/usr/local/man/man1/links.1 ===> Building package for links-1.03p0 Create /exopi-cvs/ports/packages/amd64/all/links-1.03p0.tgz Creating package links-1.03p0 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|**** | 7% checksumming|********* | 14% checksumming|************* | 21% checksumming|***************** | 29% checksumming|********************** | 36% checksumming|************************** | 43% checksumming|******************************* | 50% checksumming|*********************************** | 57% checksumming|*************************************** | 64% checksumming|******************************************** | 71% checksumming|************************************************ | 79% checksumming|**************************************************** | 86% checksumming|********************************************************* | 93% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|****************************************************************| 99% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/links-1.03p0.tgz >>> Running clean in www/links at 1732126784.32 ===> www/links ===> Cleaning for links-1.03p0 >>> Ended at 1732126784.62 max_stuck=0.67/build=32.48/package=2.19/clean=0.33