Build of httptunnel with clang_glibc toolchain

The build took 00h 04m 36s and was SUCCESSFUL.

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

SLOCLanguage
4,670 ansic
338 sh
66 makefile
5,074 total

The process tree of the build process is here.

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: httptunnel 3.3-5 (Thu Apr 13 11:17:14 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# creating cache ./config.cache
# checking for a BSD compatible install... /usr/bin/install -c
# checking whether build environment is sane... yes
# checking whether make sets ${MAKE}... yes
# checking for working aclocal... found
# checking for working autoconf... found
# checking for working automake... found
# checking for working autoheader... found
# checking for working makeinfo... found
# checking for mawk... no
# checking for gawk... gawk
# checking for gcc... clang
# checking whether the C compiler (clang -O2 -Wall -fomit-frame-pointer ) works... yes
# checking whether the C compiler (clang -O2 -Wall -fomit-frame-pointer ) is a cross-compiler... no
# checking whether we are using GNU C... yes
# checking whether clang accepts -g... yes
# checking for a BSD compatible install... /usr/bin/install -c
# checking whether ln -s works... yes
# checking for ranlib... ranlib
# checking for gethostent... yes
# checking for setsockopt... yes
# checking how to run the C preprocessor... clang -E
# checking for ANSI C header files... yes
# checking for fcntl.h... yes
# checking for syslog.h... yes
# checking for unistd.h... yes
# checking for sys/poll.h... yes
# checking for working const... yes
# checking for inline... inline
# checking for size_t... yes
# checking for socklen_t... yes
# checking whether INADDR_NONE is defined... yes
# checking size of char... 1
# checking size of short... 2
# checking size of int... 4
# checking size of long... 8
# checking size of long long... 8
# checking for 8-bit clean memcmp... yes
# checking return type of signal handlers... void
# checking for vprintf... yes
# checking for socket... yes
# checking for strdup... yes
# checking for strerror... yes
# checking for daemon... yes
# checking for vsyslog... yes
# checking for poll... yes
# checking for select... yes
# checking for endprotoent... yes
# checking for vsnprintf... yes
# checking for syslog... yes
# updating cache ./config.cache
# creating ./config.status
# creating Makefile
# creating port/Makefile
# creating port/sys/Makefile
# creating config.h
# make all-recursive
# make[1]: Entering directory '/tmp/httptunnel/src/httptunnel-3.3'
# Making all in port
# make[2]: Entering directory '/tmp/httptunnel/src/httptunnel-3.3/port'
# Making all in sys
# make[3]: Entering directory '/tmp/httptunnel/src/httptunnel-3.3/port/sys'
# make[3]: Nothing to be done for 'all'.
# make[3]: Leaving directory '/tmp/httptunnel/src/httptunnel-3.3/port/sys'
# make[3]: Entering directory '/tmp/httptunnel/src/httptunnel-3.3/port'
# clang -DHAVE_CONFIG_H -I. -I. -I.. -O2 -Wall -fomit-frame-pointer -c poll.c
# clang -DHAVE_CONFIG_H -I. -I. -I.. -O2 -Wall -fomit-frame-pointer -c daemon.c
# clang -DHAVE_CONFIG_H -I. -I. -I.. -O2 -Wall -fomit-frame-pointer -c vsyslog.c
# clang -DHAVE_CONFIG_H -I. -I. -I.. -O2 -Wall -fomit-frame-pointer -c endprotoent.c
# clang -DHAVE_CONFIG_H -I. -I. -I.. -O2 -Wall -fomit-frame-pointer -c getopt.c
# clang -DHAVE_CONFIG_H -I. -I. -I.. -O2 -Wall -fomit-frame-pointer -c getopt1.c
# clang -DHAVE_CONFIG_H -I. -I. -I.. -O2 -Wall -fomit-frame-pointer -c vsnprintf.c
# rm -f libport.a
# ar cru libport.a poll.o daemon.o vsyslog.o endprotoent.o getopt.o getopt1.o vsnprintf.o
# ar: `u' modifier ignored since `D' is the default (see `U')
# ranlib libport.a
# make[3]: Leaving directory '/tmp/httptunnel/src/httptunnel-3.3/port'
# make[2]: Leaving directory '/tmp/httptunnel/src/httptunnel-3.3/port'
# make[2]: Entering directory '/tmp/httptunnel/src/httptunnel-3.3'
# clang -DHAVE_CONFIG_H -I. -I. -I. -Iport -O2 -Wall -fomit-frame-pointer -c htc.c
# In file included from htc.c:18:
# ./common.h:81:67: warning: too many arguments in call to 'log_annoying'
# log_annoying ("read (%d, %p, %d) ...", fd, rbuf + n, len - n);
# ~~~~~~~~~~~~ ^
# ./common.h:83:34: warning: too many arguments in call to 'log_annoying'
# log_annoying ("... = %d", m);
# ~~~~~~~~~~~~ ^
# ./common.h:113:69: warning: too many arguments in call to 'log_annoying'
# log_annoying ("write (%d, %p, %d) ...", fd, wdata + n, len - n);
# ~~~~~~~~~~~~ ^
# ./common.h:115:34: warning: too many arguments in call to 'log_annoying'
# log_annoying ("... = %d", m);
# ~~~~~~~~~~~~ ^
# ./common.h:162:34: warning: too many arguments in call to 'log_debug'
# log_debug ("%s closed", type);
# ~~~~~~~~~ ^
# htc.c:446:64: warning: too many arguments in call to 'log_debug'
# log_debug ("server_socket (%d) = %d", arg.forward_port, s);
# ~~~~~~~~~ ^
# htc.c:467:58: warning: too many arguments in call to 'log_debug'
# log_debug ("open_device (\"%s\") = %d", arg.device, fd);
# ~~~~~~~~~ ^
# htc.c:487:68: warning: too many arguments in call to 'log_debug'
# log_debug ("waiting for connection on port %d", arg.forward_port);
# ~~~~~~~~~ ^
# htc.c:489:63: warning: too many arguments in call to 'log_debug'
# log_debug ("wait_for_connection_on_socket (%d) = %d", s, fd);
# ~~~~~~~~~ ^
# htc.c:507:34: warning: too many arguments in call to 'log_debug'
# log_debug ("using stdin as fd");
# ~~~~~~~~~ ^
# htc.c:518:41: warning: too many arguments in call to 'log_debug'
# log_debug ("creating a new tunnel");
# ~~~~~~~~~ ^
# htc.c:531:22: warning: too many arguments in call to 'log_debug'
# strerror (errno));
# ^
# htc.c:535:67: warning: too many arguments in call to 'log_debug'
# log_debug ("tunnel_setopt keep_alive error: %s", strerror (errno));
# ~~~~~~~~~ ^
# htc.c:540:22: warning: too many arguments in call to 'log_debug'
# strerror (errno));
# ^
# htc.c:597:7: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration]
# time (&last_tunnel_write);
# ^
# htc.c:623:31: warning: too many arguments in call to 'log_annoying'
# log_annoying ("poll () ...");
# ~~~~~~~~~~~~ ^
# htc.c:625:31: warning: too many arguments in call to 'log_annoying'
# log_annoying ("... = %d", n);
# ~~~~~~~~~~~~ ^
# htc.c:633:39: warning: too many arguments in call to 'log_verbose'
# log_verbose ("poll() timed out");
# ~~~~~~~~~~~ ^
# htc.c:656:37: warning: too many arguments in call to 'log_debug'
# log_debug ("destroying tunnel");
# ~~~~~~~~~ ^
# htc.c:670:37: warning: too many arguments in call to 'log_debug'
# log_debug ("closing server socket");
# ~~~~~~~~~ ^
# 20 warnings generated.
# clang -DHAVE_CONFIG_H -I. -I. -I. -Iport -O2 -Wall -fomit-frame-pointer -c common.c
# In file included from common.c:20:
# ./common.h:81:67: warning: too many arguments in call to 'log_annoying'
# log_annoying ("read (%d, %p, %d) ...", fd, rbuf + n, len - n);
# ~~~~~~~~~~~~ ^
# ./common.h:83:34: warning: too many arguments in call to 'log_annoying'
# log_annoying ("... = %d", m);
# ~~~~~~~~~~~~ ^
# ./common.h:113:69: warning: too many arguments in call to 'log_annoying'
# log_annoying ("write (%d, %p, %d) ...", fd, wdata + n, len - n);
# ~~~~~~~~~~~~ ^
# ./common.h:115:34: warning: too many arguments in call to 'log_annoying'
# log_annoying ("... = %d", m);
# ~~~~~~~~~~~~ ^
# ./common.h:162:34: warning: too many arguments in call to 'log_debug'
# log_debug ("%s closed", type);
# ~~~~~~~~~ ^
# common.c:173:64: warning: too many arguments in call to 'log_annoying'
# log_annoying ("set_address: gethostbyname (\"%s\")", host);
# ~~~~~~~~~~~~ ^
# common.c:175:49: warning: too many arguments in call to 'log_annoying'
# log_annoying ("set_address: ent = %p", ent);
# ~~~~~~~~~~~~ ^
# common.c:185:32: warning: too many arguments in call to 'log_annoying'
# ntohl (ip) & 0xff);
# ^
# common.c:272:72: warning: too many arguments in call to 'log_annoying'
# log_annoying ("tunnel_write (%p, %p, %d) = %d", tunnel, buf, n, m);
# ~~~~~~~~~~~~ ^
# common.c:302:61: warning: too many arguments in call to 'log_annoying'
# log_annoying ("handle_tunnel_input: tunnel_read() = %d\n", n);
# ~~~~~~~~~~~~ ^
# common.c:318:74: warning: too many arguments in call to 'log_annoying'
# log_annoying ("write_all (%d, %p, %d) = %d", fd ? fd : 1, buf, n, m);
# ~~~~~~~~~~~~ ^
# 11 warnings generated.
# clang -DHAVE_CONFIG_H -I. -I. -I. -Iport -O2 -Wall -fomit-frame-pointer -c tunnel.c
# In file included from tunnel.c:21:
# ./common.h:81:67: warning: too many arguments in call to 'log_annoying'
# log_annoying ("read (%d, %p, %d) ...", fd, rbuf + n, len - n);
# ~~~~~~~~~~~~ ^
# ./common.h:83:34: warning: too many arguments in call to 'log_annoying'
# log_annoying ("... = %d", m);
# ~~~~~~~~~~~~ ^
# ./common.h:113:69: warning: too many arguments in call to 'log_annoying'
# log_annoying ("write (%d, %p, %d) ...", fd, wdata + n, len - n);
# ~~~~~~~~~~~~ ^
# ./common.h:115:34: warning: too many arguments in call to 'log_annoying'
# log_annoying ("... = %d", m);
# ~~~~~~~~~~~~ ^
# ./common.h:162:34: warning: too many arguments in call to 'log_debug'
# log_debug ("%s closed", type);
# ~~~~~~~~~ ^
# tunnel.c:157:24: warning: too many arguments in call to 'log_debug'
# strerror (errno));
# ^
# tunnel.c:164:5: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# &n);
# ^~
# /usr/include/sys/socket.h:221:32: note: passing argument to parameter '__optlen' here
# socklen_t *__restrict __optlen) __THROW;
# ^
# tunnel.c:165:62: warning: too many arguments in call to 'log_debug'
# log_debug ("tunnel_out_setsockopts: SO_RCVLOWAT: %d", i);
# ~~~~~~~~~ ^
# tunnel.c:191:26: warning: too many arguments in call to 'log_debug'
# strerror (errno));
# ^
# tunnel.c:198:7: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# &n);
# ^~
# /usr/include/sys/socket.h:221:32: note: passing argument to parameter '__optlen' here
# socklen_t *__restrict __optlen) __THROW;
# ^
# tunnel.c:199:67: warning: too many arguments in call to 'log_debug'
# log_debug ("tunnel_out_setsockopts: non-fatal SO_SNDLOWAT: %d", i);
# ~~~~~~~~~ ^
# tunnel.c:218:22: warning: too many arguments in call to 'log_debug'
# strerror (errno));
# ^
# tunnel.c:225:3: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# &n);
# ^~
# /usr/include/sys/socket.h:221:32: note: passing argument to parameter '__optlen' here
# socklen_t *__restrict __optlen) __THROW;
# ^
# tunnel.c:227:30: warning: too many arguments in call to 'log_debug'
# l.l_onoff, l.l_linger);
# ^
# tunnel.c:247:26: warning: too many arguments in call to 'log_debug'
# strerror (errno));
# ^
# tunnel.c:254:7: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# &n);
# ^~
# /usr/include/sys/socket.h:221:32: note: passing argument to parameter '__optlen' here
# socklen_t *__restrict __optlen) __THROW;
# ^
# tunnel.c:255:67: warning: too many arguments in call to 'log_debug'
# log_debug ("tunnel_out_setsockopts: non-fatal TCP_NODELAY: %d", i);
# ~~~~~~~~~ ^
# tunnel.c:296:22: warning: too many arguments in call to 'log_debug'
# strerror (errno));
# ^
# tunnel.c:303:3: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# &n);
# ^~
# /usr/include/sys/socket.h:221:32: note: passing argument to parameter '__optlen' here
# socklen_t *__restrict __optlen) __THROW;
# ^
# tunnel.c:304:61: warning: too many arguments in call to 'log_debug'
# log_debug ("tunnel_out_setsockopts: SO_KEEPALIVE: %d", i);
# ~~~~~~~~~ ^
# tunnel.c:331:58: warning: too many arguments in call to 'log_debug'
# log_debug ("tunnel_out_disconnect: output disconnected");
# ~~~~~~~~~ ^
# tunnel.c:343:56: warning: too many arguments in call to 'log_debug'
# log_debug ("tunnel_in_disconnect: input disconnected");
# ~~~~~~~~~ ^
# tunnel.c:353:57: warning: too many arguments in call to 'log_debug'
# log_debug ("tunnel_out_connect: already connected");
# ~~~~~~~~~ ^
# tunnel.c:394:52: warning: too many arguments in call to 'log_debug'
# log_debug ("tunnel_out_connect: output connected");
# ~~~~~~~~~ ^
# tunnel.c:405:37: warning: too many arguments in call to 'log_verbose'
# log_verbose ("tunnel_in_connect()");
# ~~~~~~~~~~~ ^
# tunnel.c:476:50: warning: too many arguments in call to 'log_debug'
# log_debug ("tunnel_in_connect: input connected");
# ~~~~~~~~~ ^
# tunnel.c:512:32: warning: too many arguments in call to 'log_debug'
# tunnel->max_connection_age);
# ^
# tunnel.c:519:52: warning: too many arguments in call to 'log_debug'
# tunnel->content_length - tunnel->bytes - 1);
# ^
# tunnel.c:547:59: warning: too many arguments in call to 'log_debug'
# log_debug ("tunnel_write_request: closing old connection");
# ~~~~~~~~~ ^
# tunnel.c:624:39: warning: too many arguments in call to 'log_verbose'
# REQ_TO_STRING (request), length);
# ^
# tunnel.c:627:39: warning: too many arguments in call to 'log_debug'
# REQ_TO_STRING (request), length);
# ^
# tunnel.c:632:69: warning: too many arguments in call to 'log_debug'
# log_debug ("tunnel_write_request: %s", REQ_TO_STRING (request));
# ~~~~~~~~~ ^
# tunnel.c:636:24: warning: too many arguments in call to 'log_annoying'
# tunnel->out_total_raw);
# ^
# tunnel.c:662:34: warning: too many arguments in call to 'log_verbose'
# log_verbose ("tunnel_connect()");
# ~~~~~~~~~~~ ^
# tunnel.c:727:75: warning: too many arguments in call to 'log_verbose'
# log_verbose ("tunnel_write: out_total_data = %u", tunnel->out_total_data);
# ~~~~~~~~~~~ ^
# tunnel.c:756:46: warning: too many arguments in call to 'log_debug'
# tunnel->content_length - tunnel->bytes - 1);
# ^
# tunnel.c:760:56: warning: too many arguments in call to 'log_debug'
# log_debug ("tunnel_close: write TUNNEL_CLOSE request");
# ~~~~~~~~~ ^
# tunnel.c:765:66: warning: too many arguments in call to 'log_debug'
# log_debug ("tunnel_close: reading trailing data from input ...");
# ~~~~~~~~~ ^
# tunnel.c:776:41: warning: too many arguments in call to 'log_annoying'
# tunnel->in_fd, buf, sizeof buf, n);
# ^
# tunnel.c:782:64: warning: too many arguments in call to 'log_debug'
# log_debug ("tunnel_close: ... error: %s", strerror (errno));
# ~~~~~~~~~ ^
# tunnel.c:784:57: warning: too many arguments in call to 'log_debug'
# log_debug ("tunnel_close: ... done (tunnel closed)");
# ~~~~~~~~~ ^
# tunnel.c:787:22: warning: too many arguments in call to 'log_debug'
# log_debug ("POLLHUP");
# ~~~~~~~~~ ^
# tunnel.c:789:22: warning: too many arguments in call to 'log_debug'
# log_debug ("POLLERR");
# ~~~~~~~~~ ^
# tunnel.c:791:23: warning: too many arguments in call to 'log_debug'
# log_debug ("POLLNVAL");
# ~~~~~~~~~ ^
# tunnel.c:814:64: warning: too many arguments in call to 'log_annoying'
# log_annoying ("read (%d, %p, %d) ...", tunnel->in_fd, &req, 1);
# ~~~~~~~~~~~~ ^
# tunnel.c:816:30: warning: too many arguments in call to 'log_annoying'
# log_annoying ("... = %d", n);
# ~~~~~~~~~~~~ ^
# tunnel.c:826:66: warning: too many arguments in call to 'log_debug'
# log_debug ("tunnel_read_request: connection closed by peer");
# ~~~~~~~~~ ^
# tunnel.c:838:64: warning: too many arguments in call to 'log_annoying'
# log_annoying ("request = 0x%x (%s)", req, REQ_TO_STRING (req));
# ~~~~~~~~~~~~ ^
# tunnel.c:843:27: warning: too many arguments in call to 'log_annoying'
# tunnel->in_total_raw);
# ^
# tunnel.c:844:65: warning: too many arguments in call to 'log_debug'
# log_debug ("tunnel_read_request: %s", REQ_TO_STRING (req));
# ~~~~~~~~~ ^
# tunnel.c:861:35: warning: too many arguments in call to 'log_annoying'
# log_annoying ("length = %d", len);
# ~~~~~~~~~~~~ ^
# tunnel.c:876:27: warning: too many arguments in call to 'log_annoying'
# tunnel->in_total_raw);
# ^
# tunnel.c:881:28: warning: too many arguments in call to 'log_verbose'
# REQ_TO_STRING (req), len);
# ^
# tunnel.c:884:33: warning: too many arguments in call to 'log_debug'
# REQ_TO_STRING (req), len);
# ^
# tunnel.c:934:42: warning: passing 'char [65536]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# if (tunnel_read_request (tunnel, &req, tunnel->buf, &len) <= 0)
# ^~~~~~~~~~~
# tunnel.c:808:23: note: passing argument to parameter 'buf' here
# unsigned char *buf, size_t *length)
# ^
# tunnel.c:936:64: warning: too many arguments in call to 'log_annoying'
# log_annoying ("tunnel_read_request returned <= 0, returning -1");
# ~~~~~~~~~~~~ ^
# tunnel.c:950:76: warning: too many arguments in call to 'log_verbose'
# log_verbose ("tunnel_read: in_total_data = %u", tunnel->in_total_data);
# ~~~~~~~~~~~ ^
# tunnel.c:998:29: warning: too many arguments in call to 'log_verbose'
# tunnel->server_socket);
# ^
# tunnel.c:1001:29: warning: too many arguments in call to 'log_verbose'
# tunnel->server_socket);
# ^
# tunnel.c:1085:61: warning: too many arguments in call to 'log_debug'
# log_debug ("tunnel_accept: tunnel already established");
# ~~~~~~~~~ ^
# tunnel.c:1115:68: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# s = accept (tunnel->server_socket, (struct sockaddr *)&addr, &len);
# ^~~~
# /usr/include/sys/socket.h:244:28: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# tunnel.c:1158:51: warning: too many arguments in call to 'log_debug'
# log_debug ("tunnel_accept: input connected");
# ~~~~~~~~~ ^
# tunnel.c:1191:10: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
# tunnel->content_length + 1);
# ^~~~~~~~~~~~~~~~~~~~~~~~~~
# tunnel.c:1209:49: warning: too many arguments in call to 'log_debug'
# log_debug ("tunnel_accept: output connected");
# ~~~~~~~~~ ^
# tunnel.c:1222:50: warning: too many arguments in call to 'log_debug'
# log_debug ("tunnel_accept: closing connection");
# ~~~~~~~~~ ^
# tunnel.c:1237:53: warning: too many arguments in call to 'log_debug'
# log_debug ("tunnel_accept: input disconnected");
# ~~~~~~~~~ ^
# tunnel.c:1133:27: warning: comparison of constant -1 with expression of type 'Http_method' is always false [-Wtautological-constant-out-of-range-compare]
# if (request->method == -1)
# ~~~~~~~~~~~~~~~ ^ ~~
# tunnel.c:1312:23: warning: too many arguments in call to 'log_verbose'
# content_length);
# ^
# 68 warnings generated.
# clang -DHAVE_CONFIG_H -I. -I. -I. -Iport -O2 -Wall -fomit-frame-pointer -c http.c
# In file included from http.c:15:
# ./common.h:81:67: warning: too many arguments in call to 'log_annoying'
# log_annoying ("read (%d, %p, %d) ...", fd, rbuf + n, len - n);
# ~~~~~~~~~~~~ ^
# ./common.h:83:34: warning: too many arguments in call to 'log_annoying'
# log_annoying ("... = %d", m);
# ~~~~~~~~~~~~ ^
# ./common.h:113:69: warning: too many arguments in call to 'log_annoying'
# log_annoying ("write (%d, %p, %d) ...", fd, wdata + n, len - n);
# ~~~~~~~~~~~~ ^
# ./common.h:115:34: warning: too many arguments in call to 'log_annoying'
# log_annoying ("... = %d", m);
# ~~~~~~~~~~~~ ^
# ./common.h:162:34: warning: too many arguments in call to 'log_debug'
# log_debug ("%s closed", type);
# ~~~~~~~~~ ^
# http.c:45:27: warning: format specifies type 'int' but the argument has type 'ssize_t' (aka 'long') [-Wformat]
# sprintf (str, "%d", length);
# ~~ ^~~~~~
# %zd
# http.c:329:11: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# h->name = data;
# ^ ~~~~
# http.c:336:12: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# h->value = data;
# ^ ~~~~
# http.c:350:56: warning: too many arguments in call to 'log_verbose'
# log_verbose ("parse_header: %s:%s", h->name, h->value);
# ~~~~~~~~~~~ ^
# http.c:506:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# response->major_version = atoi (data);
# ^~~~
# /usr/include/stdlib.h:278:26: note: passing argument to parameter '__nptr' here
# __NTH (atoi (const char *__nptr))
# ^
# http.c:508:32: warning: too many arguments in call to 'log_verbose'
# response->major_version);
# ^
# http.c:519:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# response->minor_version = atoi (data);
# ^~~~
# /usr/include/stdlib.h:278:26: note: passing argument to parameter '__nptr' here
# __NTH (atoi (const char *__nptr))
# ^
# http.c:521:32: warning: too many arguments in call to 'log_verbose'
# response->minor_version);
# ^
# http.c:532:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# response->status_code = atoi (data);
# ^~~~
# /usr/include/stdlib.h:278:26: note: passing argument to parameter '__nptr' here
# __NTH (atoi (const char *__nptr))
# ^
# http.c:534:30: warning: too many arguments in call to 'log_verbose'
# response->status_code);
# ^
# http.c:545:28: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# response->status_message = data;
# ^ ~~~~
# http.c:547:33: warning: too many arguments in call to 'log_verbose'
# response->status_message);
# ^
# http.c:654:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# request->method = http_string_to_method (data, n - 1);
# ^~~~
# http.c:157:36: note: passing argument to parameter 'method' here
# http_string_to_method (const char *method, size_t n)
# ^
# http.c:663:59: warning: too many arguments in call to 'log_verbose'
# log_verbose ("http_parse_request: method = \"%s\"", data);
# ~~~~~~~~~~~ ^
# http.c:674:16: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# request->uri = data;
# ^ ~~~~
# http.c:676:64: warning: too many arguments in call to 'log_verbose'
# log_verbose ("http_parse_request: uri = \"%s\"", request->uri);
# ~~~~~~~~~~~ ^
# http.c:701:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# request->major_version = atoi (data);
# ^~~~
# /usr/include/stdlib.h:278:26: note: passing argument to parameter '__nptr' here
# __NTH (atoi (const char *__nptr))
# ^
# http.c:703:31: warning: too many arguments in call to 'log_verbose'
# request->major_version);
# ^
# http.c:714:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# request->minor_version = atoi (data);
# ^~~~
# /usr/include/stdlib.h:278:26: note: passing argument to parameter '__nptr' here
# __NTH (atoi (const char *__nptr))
# ^
# http.c:716:31: warning: too many arguments in call to 'log_verbose'
# request->minor_version);
# ^
# http.c:655:23: warning: comparison of constant -1 with expression of type 'Http_method' is always false [-Wtautological-constant-out-of-range-compare]
# if (request->method == -1)
# ~~~~~~~~~~~~~~~ ^ ~~
# http.c:760:45: warning: too many arguments in call to 'log_verbose'
# log_verbose ("http_write_request: %s", str);
# ~~~~~~~~~~~ ^
# 27 warnings generated.
# clang -DHAVE_CONFIG_H -I. -I. -I. -Iport -O2 -Wall -fomit-frame-pointer -c base64.c
# In file included from base64.c:11:
# ./common.h:81:67: warning: too many arguments in call to 'log_annoying'
# log_annoying ("read (%d, %p, %d) ...", fd, rbuf + n, len - n);
# ~~~~~~~~~~~~ ^
# ./common.h:83:34: warning: too many arguments in call to 'log_annoying'
# log_annoying ("... = %d", m);
# ~~~~~~~~~~~~ ^
# ./common.h:113:69: warning: too many arguments in call to 'log_annoying'
# log_annoying ("write (%d, %p, %d) ...", fd, wdata + n, len - n);
# ~~~~~~~~~~~~ ^
# ./common.h:115:34: warning: too many arguments in call to 'log_annoying'
# log_annoying ("... = %d", m);
# ~~~~~~~~~~~~ ^
# ./common.h:162:34: warning: too many arguments in call to 'log_debug'
# log_debug ("%s closed", type);
# ~~~~~~~~~ ^
# base64.c:44:7: warning: assigning to 'const unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# end = (char *)data + length - 3;
# ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
# base64.c:91:9: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
# *code = buf - n;
# ^ ~~~~~~~
# 7 warnings generated.
# clang -O2 -Wall -fomit-frame-pointer -o htc htc.o common.o tunnel.o http.o base64.o -Lport -lport
# clang -DHAVE_CONFIG_H -I. -I. -I. -Iport -O2 -Wall -fomit-frame-pointer -c hts.c
# In file included from hts.c:17:
# ./common.h:81:67: warning: too many arguments in call to 'log_annoying'
# log_annoying ("read (%d, %p, %d) ...", fd, rbuf + n, len - n);
# ~~~~~~~~~~~~ ^
# ./common.h:83:34: warning: too many arguments in call to 'log_annoying'
# log_annoying ("... = %d", m);
# ~~~~~~~~~~~~ ^
# ./common.h:113:69: warning: too many arguments in call to 'log_annoying'
# log_annoying ("write (%d, %p, %d) ...", fd, wdata + n, len - n);
# ~~~~~~~~~~~~ ^
# ./common.h:115:34: warning: too many arguments in call to 'log_annoying'
# log_annoying ("... = %d", m);
# ~~~~~~~~~~~~ ^
# ./common.h:162:34: warning: too many arguments in call to 'log_debug'
# log_debug ("%s closed", type);
# ~~~~~~~~~ ^
# hts.c:321:25: warning: too many arguments in call to 'log_debug'
# strerror (errno));
# ^
# hts.c:325:70: warning: too many arguments in call to 'log_debug'
# log_debug ("tunnel_setopt keep_alive error: %s", strerror (errno));
# ~~~~~~~~~ ^
# hts.c:329:78: warning: too many arguments in call to 'log_debug'
# log_debug ("tunnel_setopt max_connection_age error: %s", strerror (errno));
# ~~~~~~~~~ ^
# hts.c:360:49: warning: too many arguments in call to 'log_debug'
# log_debug ("waiting for tunnel connection");
# ~~~~~~~~~ ^
# hts.c:365:58: warning: too many arguments in call to 'log_debug'
# log_debug ("open_device (\"%s\") = %d", arg.device, fd);
# ~~~~~~~~~ ^
# hts.c:383:34: warning: too many arguments in call to 'log_debug'
# log_debug ("using stdin as fd");
# ~~~~~~~~~ ^
# hts.c:413:42: warning: too many arguments in call to 'log_debug'
# arg.forward_host, arg.forward_port, fd);
# ^
# hts.c:433:7: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration]
# time (&last_tunnel_write);
# ^
# hts.c:451:31: warning: too many arguments in call to 'log_annoying'
# log_annoying ("poll () ...");
# ~~~~~~~~~~~~ ^
# hts.c:453:31: warning: too many arguments in call to 'log_annoying'
# log_annoying ("... = %d", n);
# ~~~~~~~~~~~~ ^
# hts.c:461:39: warning: too many arguments in call to 'log_verbose'
# log_verbose ("poll() timed out");
# ~~~~~~~~~~~ ^
# hts.c:468:48: warning: too many arguments in call to 'log_annoying'
# pollfd[0].revents, pollfd[1].revents, POLLIN);
# ^
# hts.c:478:34: warning: too many arguments in call to 'log_debug'
# log_debug ("closing tunnel");
# ~~~~~~~~~ ^
# hts.c:487:33: warning: too many arguments in call to 'log_debug'
# log_debug ("destroying tunnel");
# ~~~~~~~~~ ^
# 19 warnings generated.
# clang -O2 -Wall -fomit-frame-pointer -o hts hts.o common.o tunnel.o http.o -Lport -lport
# make[2]: Leaving directory '/tmp/httptunnel/src/httptunnel-3.3'
# make[1]: Leaving directory '/tmp/httptunnel/src/httptunnel-3.3'
# ==> Entering fakeroot environment...
# ==> Starting package()...
# Making install in port
# make[1]: Entering directory '/tmp/httptunnel/src/httptunnel-3.3/port'
# Making install in sys
# make[2]: Entering directory '/tmp/httptunnel/src/httptunnel-3.3/port/sys'
# make[3]: Entering directory '/tmp/httptunnel/src/httptunnel-3.3/port/sys'
# make[3]: Nothing to be done for 'install-exec-am'.
# make[3]: Nothing to be done for 'install-data-am'.
# make[3]: Leaving directory '/tmp/httptunnel/src/httptunnel-3.3/port/sys'
# make[2]: Leaving directory '/tmp/httptunnel/src/httptunnel-3.3/port/sys'
# make[2]: Entering directory '/tmp/httptunnel/src/httptunnel-3.3/port'
# make[3]: Entering directory '/tmp/httptunnel/src/httptunnel-3.3/port'
# make[3]: Nothing to be done for 'install-exec-am'.
# make[3]: Nothing to be done for 'install-data-am'.
# make[3]: Leaving directory '/tmp/httptunnel/src/httptunnel-3.3/port'
# make[2]: Leaving directory '/tmp/httptunnel/src/httptunnel-3.3/port'
# make[1]: Leaving directory '/tmp/httptunnel/src/httptunnel-3.3/port'
# make[1]: Entering directory '/tmp/httptunnel/src/httptunnel-3.3'
# make[2]: Entering directory '/tmp/httptunnel/src/httptunnel-3.3'
# /bin/sh ./mkinstalldirs /tmp/httptunnel/pkg/httptunnel/usr/bin
# mkdir /tmp/httptunnel/pkg/httptunnel/usr
# mkdir /tmp/httptunnel/pkg/httptunnel/usr/bin
# /usr/bin/install -c htc /tmp/httptunnel/pkg/httptunnel/usr/bin/htc
# /usr/bin/install -c hts /tmp/httptunnel/pkg/httptunnel/usr/bin/hts
# make install-man1
# make[3]: Entering directory '/tmp/httptunnel/src/httptunnel-3.3'
# /bin/sh ./mkinstalldirs /tmp/httptunnel/pkg/httptunnel/usr/share/man/man1
# mkdir /tmp/httptunnel/pkg/httptunnel/usr/share
# mkdir /tmp/httptunnel/pkg/httptunnel/usr/share/man
# mkdir /tmp/httptunnel/pkg/httptunnel/usr/share/man/man1
# /usr/bin/install -c -m 644 ./hts.1 /tmp/httptunnel/pkg/httptunnel/usr/share/man/man1/hts.1
# /usr/bin/install -c -m 644 ./htc.1 /tmp/httptunnel/pkg/httptunnel/usr/share/man/man1/htc.1
# make[3]: Leaving directory '/tmp/httptunnel/src/httptunnel-3.3'
# make[2]: Leaving directory '/tmp/httptunnel/src/httptunnel-3.3'
# make[1]: Leaving directory '/tmp/httptunnel/src/httptunnel-3.3'
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "httptunnel"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: httptunnel 3.3-5 (Thu Apr 13 11:17:39 UTC 2017)

CMD: pacman --query --file httptunnel-3.3-5-x86_64.pkg.tar.xz
# httptunnel 3.3-5

Creating hybrid package for 'httptunnel'

Trying to find vanilla package 'httptunnel'...

CMD: pacman --query --file /mirror/httptunnel-3.3-5.pkg.tar.xz
# httptunnel 3.3-5

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.MTREE
# /usr/share/man/man1/hts.1.gz
# /usr/share/man/man1/htc.1.gz
# /usr/bin/htc
# /usr/bin/hts

Generating .MTREE

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

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO .BUILDINFO usr .MTREE

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

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

Printing config logfiles

CMD: config logfiles '/tmp/httptunnel/src/httptunnel-3.3/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# configure:558: checking for a BSD compatible install
# configure:611: checking whether build environment is sane
# configure:668: checking whether make sets ${MAKE}
# configure:714: checking for working aclocal
# configure:727: checking for working autoconf
# configure:740: checking for working automake
# configure:753: checking for working autoheader
# configure:766: checking for working makeinfo
# configure:816: checking for mawk
# configure:816: checking for gawk
# configure:848: checking for gcc
# configure:961: checking whether the C compiler (clang -O2 -Wall -fomit-frame-pointer ) works
# configure:977: clang -o conftest -O2 -Wall -fomit-frame-pointer conftest.c 1>&5
# configure:974:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main(){return(0);}
# ^
# 1 warning generated.
# configure:1003: checking whether the C compiler (clang -O2 -Wall -fomit-frame-pointer ) is a cross-compiler
# configure:1008: checking whether we are using GNU C
# configure:1017: clang -E conftest.c
# configure:1036: checking whether clang accepts -g
# configure:1098: checking for a BSD compatible install
# configure:1151: checking whether ln -s works
# configure:1174: checking for ranlib
# configure:1203: checking for gethostent
# configure:1231: clang -o conftest -O2 -Wall -fomit-frame-pointer conftest.c 1>&5
# configure:1298: checking for setsockopt
# configure:1326: clang -o conftest -O2 -Wall -fomit-frame-pointer conftest.c 1>&5
# configure:1394: checking how to run the C preprocessor
# configure:1415: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1474: checking for ANSI C header files
# configure:1487: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1554: clang -o conftest -O2 -Wall -fomit-frame-pointer conftest.c 1>&5
# configure:1549:67: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
# ^
# configure:1549:67: note: include the header or explicitly provide a declaration for 'exit'
# 1 warning generated.
# configure:1581: checking for fcntl.h
# configure:1591: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1581: checking for syslog.h
# configure:1591: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1581: checking for unistd.h
# configure:1591: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1581: checking for sys/poll.h
# configure:1591: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1619: checking for working const
# configure:1673: clang -c -O2 -Wall -fomit-frame-pointer conftest.c 1>&5
# configure:1647:15: warning: unused variable 's' [-Wunused-variable]
# char const *s = 0 ? (char *) 0 : (char const *) 0;
# ^
# configure:1667:13: warning: unused variable 'foo' [-Wunused-variable]
# const int foo = 10;
# ^
# configure:1629:39: warning: unused variable 'x' [-Wunused-variable]
# typedef int charset[2]; const charset x = {0,0};
# ^
# configure:1635:27: warning: unused variable 'zero' [-Wunused-variable]
# static struct point const zero = {0,0};
# ^
# configure:1649:4: warning: variable 't' is uninitialized when used here [-Wuninitialized]
# *t++ = 0;
# ^
# configure:1646:10: note: initialize the variable 't' to silence this warning
# char *t;
# ^
# = 0
# configure:1664:16: warning: variable 'b' is uninitialized when used here [-Wuninitialized]
# struct s *b; b->j = 5;
# ^
# configure:1664:14: note: initialize the variable 'b' to silence this warning
# struct s *b; b->j = 5;
# ^
# = 0
# 6 warnings generated.
# configure:1694: checking for inline
# configure:1708: clang -c -O2 -Wall -fomit-frame-pointer conftest.c 1>&5
# configure:1734: checking for size_t
# configure:1768: checking for socklen_t
# configure:1782: clang -c -O2 -Wall -fomit-frame-pointer conftest.c 1>&5
# configure:1778:11: warning: unused variable 'len' [-Wunused-variable]
# socklen_t len = 42; return 0;
# ^
# 1 warning generated.
# configure:1804: checking whether INADDR_NONE is defined
# configure:1818: clang -c -O2 -Wall -fomit-frame-pointer conftest.c 1>&5
# configure:1840: checking size of char
# configure:1859: clang -o conftest -O2 -Wall -fomit-frame-pointer conftest.c 1>&5
# configure:1850:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main()
# ^
# configure:1853:11: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# if (!f) exit(1);
# ^
# configure:1853:11: note: include the header or explicitly provide a declaration for 'exit'
# configure:1854:22: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
# fprintf(f, "%d\n", sizeof(char));
# ~~ ^~~~~~~~~~~~
# %lu
# 3 warnings generated.
# configure:1879: checking size of short
# configure:1898: clang -o conftest -O2 -Wall -fomit-frame-pointer conftest.c 1>&5
# configure:1889:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main()
# ^
# configure:1892:11: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# if (!f) exit(1);
# ^
# configure:1892:11: note: include the header or explicitly provide a declaration for 'exit'
# configure:1893:22: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
# fprintf(f, "%d\n", sizeof(short));
# ~~ ^~~~~~~~~~~~~
# %lu
# 3 warnings generated.
# configure:1918: checking size of int
# configure:1937: clang -o conftest -O2 -Wall -fomit-frame-pointer conftest.c 1>&5
# configure:1928:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main()
# ^
# configure:1931:11: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# if (!f) exit(1);
# ^
# configure:1931:11: note: include the header or explicitly provide a declaration for 'exit'
# configure:1932:22: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
# fprintf(f, "%d\n", sizeof(int));
# ~~ ^~~~~~~~~~~
# %lu
# 3 warnings generated.
# configure:1957: checking size of long
# configure:1976: clang -o conftest -O2 -Wall -fomit-frame-pointer conftest.c 1>&5
# configure:1967:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main()
# ^
# configure:1970:11: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# if (!f) exit(1);
# ^
# configure:1970:11: note: include the header or explicitly provide a declaration for 'exit'
# configure:1971:22: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
# fprintf(f, "%d\n", sizeof(long));
# ~~ ^~~~~~~~~~~~
# %lu
# 3 warnings generated.
# configure:1996: checking size of long long
# configure:2015: clang -o conftest -O2 -Wall -fomit-frame-pointer conftest.c 1>&5
# configure:2006:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main()
# ^
# configure:2009:11: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# if (!f) exit(1);
# ^
# configure:2009:11: note: include the header or explicitly provide a declaration for 'exit'
# configure:2010:22: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
# fprintf(f, "%d\n", sizeof(long long));
# ~~ ^~~~~~~~~~~~~~~~~
# %lu
# 3 warnings generated.
# configure:2036: checking for 8-bit clean memcmp
# configure:2054: clang -o conftest -O2 -Wall -fomit-frame-pointer conftest.c 1>&5
# configure:2046:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main()
# ^
# configure:2049:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
# ^
# configure:2049:3: note: include the header or explicitly provide a declaration for 'exit'
# configure:2049:8: warning: implicitly declaring library function 'memcmp' with type 'int (const void *, const void *, unsigned long)' [-Wimplicit-function-declaration]
# exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
# ^
# configure:2049:8: note: include the header or explicitly provide a declaration for 'memcmp'
# 3 warnings generated.
# configure:2072: checking return type of signal handlers
# configure:2094: clang -c -O2 -Wall -fomit-frame-pointer conftest.c 1>&5
# configure:2090:5: warning: unused variable 'i' [-Wunused-variable]
# int i;
# ^
# 1 warning generated.
# configure:2113: checking for vprintf
# configure:2141: clang -o conftest -O2 -Wall -fomit-frame-pointer conftest.c 1>&5
# configure:2125:6: warning: incompatible redeclaration of library function 'vprintf' [-Wincompatible-library-redeclaration]
# char vprintf();
# ^
# configure:2125:6: note: 'vprintf' is a builtin with type 'int (const char *, struct __va_list_tag *)'
# 1 warning generated.
# configure:2220: checking for socket
# configure:2248: clang -o conftest -O2 -Wall -fomit-frame-pointer conftest.c 1>&5
# configure:2220: checking for strdup
# configure:2248: clang -o conftest -O2 -Wall -fomit-frame-pointer conftest.c 1>&5
# configure:2232:6: warning: incompatible redeclaration of library function 'strdup' [-Wincompatible-library-redeclaration]
# char strdup();
# ^
# configure:2232:6: note: 'strdup' is a builtin with type 'char *(const char *)'
# 1 warning generated.
# configure:2220: checking for strerror
# configure:2248: clang -o conftest -O2 -Wall -fomit-frame-pointer conftest.c 1>&5
# configure:2232:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration]
# char strerror();
# ^
# configure:2232:6: note: 'strerror' is a builtin with type 'char *(int)'
# 1 warning generated.
# configure:2220: checking for daemon
# configure:2248: clang -o conftest -O2 -Wall -fomit-frame-pointer conftest.c 1>&5
# configure:2220: checking for vsyslog
# configure:2248: clang -o conftest -O2 -Wall -fomit-frame-pointer conftest.c 1>&5
# configure:2275: checking for poll
# configure:2303: clang -o conftest -O2 -Wall -fomit-frame-pointer conftest.c 1>&5
# configure:2275: checking for select
# configure:2303: clang -o conftest -O2 -Wall -fomit-frame-pointer conftest.c 1>&5
# configure:2275: checking for endprotoent
# configure:2303: clang -o conftest -O2 -Wall -fomit-frame-pointer conftest.c 1>&5
# configure:2275: checking for vsnprintf
# configure:2303: clang -o conftest -O2 -Wall -fomit-frame-pointer conftest.c 1>&5
# configure:2287:6: warning: incompatible redeclaration of library function 'vsnprintf' [-Wincompatible-library-redeclaration]
# char vsnprintf();
# ^
# configure:2287:6: note: 'vsnprintf' is a builtin with type 'int (char *, unsigned long, const char *, struct __va_list_tag *)'
# 1 warning generated.
# configure:2275: checking for syslog
# configure:2303: clang -o conftest -O2 -Wall -fomit-frame-pointer conftest.c 1>&5