Build of nbtscan with clang_glibc toolchain

The build took 00h 01m 57s and was SUCCESSFUL.

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

SLOCLanguage
2,496 sh
1,162 ansic
26 makefile
3,684 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: nbtscan 1.5.1-6 (Thu Apr 13 15:28:12 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# configure: WARNING: If you wanted to set the --build type, don't use --host.
# If a cross compiler is detected then cross compile mode will be used.
# checking for x86_64-unknown-linux-gcc... clang
# checking for C compiler default output... a.out
# checking whether the C compiler works... yes
# checking whether we are cross compiling... no
# checking for suffix of executables...
# checking for suffix of object files... o
# checking whether we are using the GNU C compiler... yes
# checking whether clang accepts -g... yes
# checking for a BSD-compatible install... /usr/bin/install -c
# checking for socket in -lxnet... no
# checking for socket in -lsocket... no
# checking for inet_aton in -lresolv... yes
# checking how to run the C preprocessor... clang -E
# checking for ANSI C header files... yes
# checking for sys/types.h... yes
# checking for sys/stat.h... yes
# checking for stdlib.h... yes
# checking for string.h... yes
# checking for memory.h... yes
# checking for strings.h... yes
# checking for inttypes.h... yes
# checking for stdint.h... yes
# checking for unistd.h... yes
# checking sys/time.h usability... yes
# checking sys/time.h presence... yes
# checking for sys/time.h... yes
# checking for stdint.h... (cached) yes
# checking for uint8_t... yes
# checking for uint16_t... yes
# checking for uint32_t... yes
# checking for clang option to accept ANSI C... none needed
# checking for an ANSI C-conforming const... yes
# checking whether time.h and sys/time.h may both be included... yes
# checking for snprintf... yes
# checking for inet_aton... yes
# checking for socket... yes
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# checking target system type... x86_64-unknown-linux-gnu
# configure: creating ./config.status
# config.status: creating Makefile
# clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBRESOLV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STDINT_H=1 -Dmy_uint8_t=uint8_t -Dmy_uint16_t=uint16_t -Dmy_uint32_t=uint32_t -DTIME_WITH_SYS_TIME=1 -DHAVE_SNPRINTF=1 -DHAVE_INET_ATON=1 -DHAVE_SOCKET=1 -DUNIX=1 -c nbtscan.c
# nbtscan.c:19:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# print_banner() {
# ^
# nbtscan.c:23:1: warning: control reaches end of non-void function [-Wreturn-type]
# }
# ^
# nbtscan.c:84:1: warning: control reaches end of non-void function [-Wreturn-type]
# };
# ^
# nbtscan.c:95:40: warning: cannot mix positional and non-positional arguments in format string [-Wformat]
# printf("Transaction ID: 0x%04x (%1$d)\n", hostinfo->header->transaction_id);
# ~~~^
# nbtscan.c:96:31: warning: cannot mix positional and non-positional arguments in format string [-Wformat]
# printf("Flags: 0x%04x (%1$d)\n", hostinfo->header->flags);
# ~~~^
# nbtscan.c:97:40: warning: cannot mix positional and non-positional arguments in format string [-Wformat]
# printf("Question count: 0x%04x (%1$d)\n", hostinfo->header->question_count);
# ~~~^
# nbtscan.c:98:38: warning: cannot mix positional and non-positional arguments in format string [-Wformat]
# printf("Answer count: 0x%04x (%1$d)\n", hostinfo->header->answer_count);
# ~~~^
# nbtscan.c:99:44: warning: cannot mix positional and non-positional arguments in format string [-Wformat]
# printf("Name service count: 0x%04x (%1$d)\n", hostinfo->header->name_service_count);
# ~~~^
# nbtscan.c:100:49: warning: cannot mix positional and non-positional arguments in format string [-Wformat]
# printf("Additional record count: 0x%04x (%1$d)\n", hostinfo->header->additional_record_count);
# ~~~^
# nbtscan.c:102:39: warning: cannot mix positional and non-positional arguments in format string [-Wformat]
# printf("Question type: 0x%04x (%1$d)\n", hostinfo->header->question_type);
# ~~~^
# nbtscan.c:103:40: warning: cannot mix positional and non-positional arguments in format string [-Wformat]
# printf("Question class: 0x%04x (%1$d)\n", hostinfo->header->question_class);
# ~~~^
# nbtscan.c:104:38: warning: cannot mix positional and non-positional arguments in format string [-Wformat]
# printf("Time to live: 0x%08x (%1$d)\n", hostinfo->header->ttl);
# ~~~^
# nbtscan.c:105:38: warning: cannot mix positional and non-positional arguments in format string [-Wformat]
# printf("Rdata length: 0x%04x (%1$d)\n", hostinfo->header->rdata_length);
# ~~~^
# nbtscan.c:106:41: warning: cannot mix positional and non-positional arguments in format string [-Wformat]
# printf("Number of names: 0x%02x (%1$d)\n", hostinfo->header->number_of_names);
# ~~~^
# nbtscan.c:124:39: warning: cannot mix positional and non-positional arguments in format string [-Wformat]
# printf("Version major: 0x%02x (%1$d)\n", hostinfo->footer->version_major);
# ~~~^
# nbtscan.c:125:39: warning: cannot mix positional and non-positional arguments in format string [-Wformat]
# printf("Version minor: 0x%02x (%1$d)\n", hostinfo->footer->version_minor);
# ~~~^
# nbtscan.c:126:34: warning: cannot mix positional and non-positional arguments in format string [-Wformat]
# printf("Duration: 0x%04x (%1$d)\n", hostinfo->footer->duration);
# ~~~^
# nbtscan.c:127:34: warning: invalid conversion specifier ' ' [-Wformat-invalid-specifier]
# printf("FRMRs Received: 0x%04 (%1$d)\n", hostinfo->footer->frmps_received);
# ~~~^
# nbtscan.c:128:37: warning: invalid conversion specifier ' ' [-Wformat-invalid-specifier]
# printf("FRMRs Transmitted: 0x%04 (%1$d)\n", hostinfo->footer->frmps_transmitted);
# ~~~^
# nbtscan.c:129:41: warning: invalid conversion specifier ' ' [-Wformat-invalid-specifier]
# printf("IFrame Receive errors: 0x%04 (%1$d)\n", hostinfo->footer->iframe_receive_errors);
# ~~~^
# nbtscan.c:130:35: warning: invalid conversion specifier ' ' [-Wformat-invalid-specifier]
# printf("Transmit aborts: 0x%04 (%1$d)\n", hostinfo->footer->transmit_aborts);
# ~~~^
# nbtscan.c:131:31: warning: invalid conversion specifier ' ' [-Wformat-invalid-specifier]
# printf("Transmitted: 0x%08 (%1$d)\n", hostinfo->footer->transmitted);
# ~~~^
# nbtscan.c:132:28: warning: invalid conversion specifier ' ' [-Wformat-invalid-specifier]
# printf("Received: 0x%08 (%1$d)\n", hostinfo->footer->received);
# ~~~^
# nbtscan.c:133:42: warning: invalid conversion specifier ' ' [-Wformat-invalid-specifier]
# printf("IFrame transmit errors: 0x%04 (%1$d)\n", hostinfo->footer->iframe_transmit_errors);
# ~~~^
# nbtscan.c:134:38: warning: invalid conversion specifier ' ' [-Wformat-invalid-specifier]
# printf("No receive buffers: 0x%04 (%1$d)\n", hostinfo->footer->no_receive_buffer);
# ~~~^
# nbtscan.c:135:31: warning: invalid conversion specifier ' ' [-Wformat-invalid-specifier]
# printf("tl timeouts: 0x%04 (%1$d)\n", hostinfo->footer->tl_timeouts);
# ~~~^
# nbtscan.c:136:31: warning: invalid conversion specifier ' ' [-Wformat-invalid-specifier]
# printf("ti timeouts: 0x%04 (%1$d)\n", hostinfo->footer->ti_timeouts);
# ~~~^
# nbtscan.c:137:29: warning: invalid conversion specifier ' ' [-Wformat-invalid-specifier]
# printf("Free NCBS: 0x%04 (%1$d)\n", hostinfo->footer->free_ncbs);
# ~~~^
# nbtscan.c:138:24: warning: invalid conversion specifier ' ' [-Wformat-invalid-specifier]
# printf("NCBS: 0x%04 (%1$d)\n", hostinfo->footer->ncbs);
# ~~~^
# nbtscan.c:139:28: warning: invalid conversion specifier ' ' [-Wformat-invalid-specifier]
# printf("Max NCBS: 0x%04 (%1$d)\n", hostinfo->footer->max_ncbs);
# ~~~^
# nbtscan.c:140:39: warning: invalid conversion specifier ' ' [-Wformat-invalid-specifier]
# printf("No transmit buffers: 0x%04 (%1$d)\n", hostinfo->footer->no_transmit_buffers);
# ~~~^
# nbtscan.c:141:32: warning: invalid conversion specifier ' ' [-Wformat-invalid-specifier]
# printf("Max datagram: 0x%04 (%1$d)\n", hostinfo->footer->max_datagram);
# ~~~^
# nbtscan.c:142:36: warning: invalid conversion specifier ' ' [-Wformat-invalid-specifier]
# printf("Pending sessions: 0x%04 (%1$d)\n", hostinfo->footer->pending_sessions);
# ~~~^
# nbtscan.c:143:32: warning: invalid conversion specifier ' ' [-Wformat-invalid-specifier]
# printf("Max sessions: 0x%04 (%1$d)\n", hostinfo->footer->max_sessions);
# ~~~^
# nbtscan.c:144:35: warning: invalid conversion specifier ' ' [-Wformat-invalid-specifier]
# printf("Packet sessions: 0x%04 (%1$d)\n", hostinfo->footer->packet_sessions);
# ~~~^
# nbtscan.c:114:7: warning: array index 16 is past the end of the array (which contains 16 elements) [-Warray-bounds]
# name[16]=0;
# ^ ~~
# nbtscan.c:89:3: note: array 'name' declared here
# char name[16];
# ^
# nbtscan.c:146:1: warning: control reaches end of non-void function [-Wreturn-type]
# };
# ^
# nbtscan.c:171:31: warning: implicit declaration of function 'getnbservicename' is invalid in C99 [-Wimplicit-function-declaration]
# if(hr) printf("%s\n", (char*)getnbservicename(service, unique, name));
# ^
# nbtscan.c:171:24: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
# if(hr) printf("%s\n", (char*)getnbservicename(service, unique, name));
# ^
# nbtscan.c:179:24: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
# if(hr) printf("%s\n", (char*)getnbservicename(service, unique, name));
# ^
# nbtscan.c:167:7: warning: array index 16 is past the end of the array (which contains 16 elements) [-Warray-bounds]
# name[16]=0;
# ^ ~~
# nbtscan.c:152:3: note: array 'name' declared here
# char name[16];
# ^
# nbtscan.c:279:1: warning: control reaches end of non-void function [-Wreturn-type]
# }
# ^
# nbtscan.c:321:16: warning: implicit declaration of function 'getopt' is invalid in C99 [-Wimplicit-function-declaration]
# while ((ch = getopt(argc, argv, "vrdelqhm:s:t:b:f:")) != -1)
# ^
# nbtscan.c:389:5: warning: expression result unused [-Wunused-value]
# usage;
# ^~~~~
# nbtscan.c:394:5: warning: expression result unused [-Wunused-value]
# usage;
# ^~~~~
# nbtscan.c:399:5: warning: expression result unused [-Wunused-value]
# usage;
# ^~~~~
# nbtscan.c:404:5: warning: expression result unused [-Wunused-value]
# usage;
# ^~~~~
# nbtscan.c:409:5: warning: expression result unused [-Wunused-value]
# usage;
# ^~~~~
# nbtscan.c:519:44: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
# (struct sockaddr*)&dest_sockaddr, &addr_size)) <= 0 ) {
# ^~~~~~~~~~
# /usr/include/sys/socket.h:176:27: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# nbtscan.c:525:35: warning: implicit declaration of function 'parse_response' is invalid in C99 [-Wimplicit-function-declaration]
# hostinfo = (struct nb_host_info*)parse_response(buff, size);
# ^
# nbtscan.c:525:13: warning: cast to 'struct nb_host_info *' from smaller integer type 'int' [-Wint-to-pointer-cast]
# hostinfo = (struct nb_host_info*)parse_response(buff, size);
# ^
# nbtscan.c:572:12: warning: implicit declaration of function 'in_list' is invalid in C99 [-Wimplicit-function-declaration]
# if(!in_list(scanned, ntohl(next_in_addr->s_addr)))
# ^
# nbtscan.c:573:10: warning: implicit declaration of function 'send_query' is invalid in C99 [-Wimplicit-function-declaration]
# send_query(sock, *next_in_addr, rtt_base);
# ^
# nbtscan.c:619:7: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration]
# sleep((transmit_started.tv_sec+rto)-now.tv_sec);
# ^
# 54 warnings generated.
# clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBRESOLV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STDINT_H=1 -Dmy_uint8_t=uint8_t -Dmy_uint16_t=uint16_t -Dmy_uint32_t=uint32_t -DTIME_WITH_SYS_TIME=1 -DHAVE_SNPRINTF=1 -DHAVE_INET_ATON=1 -DHAVE_SOCKET=1 -DUNIX=1 -c statusq.c
# statusq.c:2:1: warning: '/*' within block comment [-Wcomment]
# /* which contains the following license: *
# ^
# statusq.c:63:7: warning: implicit declaration of function 'toupper' is invalid in C99 [-Wimplicit-function-declaration]
# c = toupper( buf[i] );
# ^
# statusq.c:124:1: warning: control may reach end of non-void function [-Wreturn-type]
# };
# ^
# 3 warnings generated.
# clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBRESOLV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STDINT_H=1 -Dmy_uint8_t=uint8_t -Dmy_uint16_t=uint16_t -Dmy_uint32_t=uint32_t -DTIME_WITH_SYS_TIME=1 -DHAVE_SNPRINTF=1 -DHAVE_INET_ATON=1 -DHAVE_SOCKET=1 -DUNIX=1 -c range.c
# range.c:45:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if(separator=(char*)strchr(string,'/')) {
# ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
# range.c:45:14: note: place parentheses around the assignment to silence this warning
# if(separator=(char*)strchr(string,'/')) {
# ^
# ( )
# range.c:45:14: note: use '==' to turn this assignment into an equality comparison
# if(separator=(char*)strchr(string,'/')) {
# ^
# ==
# range.c:50:6: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# ip[abs(string-separator)-1]=0;
# ^
# range.c:50:6: note: use function 'labs' instead
# ip[abs(string-separator)-1]=0;
# ^~~
# labs
# range.c:101:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
# if(separator = (char*)strchr(ip,'-')) {
# ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
# range.c:101:15: note: place parentheses around the assignment to silence this warning
# if(separator = (char*)strchr(ip,'-')) {
# ^
# ( )
# range.c:101:15: note: use '==' to turn this assignment into an equality comparison
# if(separator = (char*)strchr(ip,'-')) {
# ^
# ==
# range.c:105:16: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
# if(last_octet<0 || last_octet > 255) {
# ~~~~~~~~~~^~
# range.c:140:1: warning: control may reach end of non-void function [-Wreturn-type]
# };
# ^
# 5 warnings generated.
# clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBRESOLV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STDINT_H=1 -Dmy_uint8_t=uint8_t -Dmy_uint16_t=uint16_t -Dmy_uint32_t=uint32_t -DTIME_WITH_SYS_TIME=1 -DHAVE_SNPRINTF=1 -DHAVE_INET_ATON=1 -DHAVE_SOCKET=1 -DUNIX=1 -c list.c
# list.c:53:1: warning: control may reach end of non-void function [-Wreturn-type]
# };
# ^
# list.c:98:1: warning: control may reach end of non-void function [-Wreturn-type]
# };
# ^
# 2 warnings generated.
# clang -o nbtscan nbtscan.o statusq.o range.o list.o -lresolv
# ==> Entering fakeroot environment...
# ==> Starting package()...
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "nbtscan"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: nbtscan 1.5.1-6 (Thu Apr 13 15:28:28 UTC 2017)

CMD: pacman --query --file nbtscan-1.5.1-6-x86_64.pkg.tar.xz
# nbtscan 1.5.1-6

Creating hybrid package for 'nbtscan'

Trying to find vanilla package 'nbtscan'...

CMD: pacman --query --file /mirror/nbtscan-1.5.1-6.pkg.tar.xz
# nbtscan 1.5.1-6

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

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 nbtscan.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/nbtscan.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/nbtscan.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/nbtscan/src/nbtscan-1.5.1a/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# It was created by configure, which was
# generated by GNU Autoconf 2.53. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 99c09b9f1f88
# uname -m = x86_64
# uname -r = 4.10.6-1-ARCH
# uname -s = Linux
# uname -v = #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017
#
# /usr/bin/uname -p = unknown
# /bin/uname -X = unknown
#
# /bin/arch = unknown
# /usr/bin/arch -k = unknown
# /usr/convex/getsysinfo = unknown
# hostinfo = unknown
# /bin/machine = unknown
# /usr/bin/oslevel = unknown
# /bin/universe = unknown
#
# PATH: /usr/bin
# PATH: /usr/local/sbin
# PATH: /usr/local/bin
# PATH: /usr/sbin
# PATH: /usr/bin
# PATH: /sbin
# PATH: /bin
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:1193: checking for x86_64-unknown-linux-gcc
# configure:1219: result: clang
# configure:1501: checking for C compiler version
# configure:1504: clang --version &5
# clang version 3.8.0 (tags/RELEASE_380/final)
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /usr/bin
# configure:1507: $? = 0
# configure:1509: clang -v &5
# clang version 3.8.0 (tags/RELEASE_380/final)
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /usr/bin
# Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Candidate multilib: .;@m64
# Selected multilib: .;@m64
# configure:1512: $? = 0
# configure:1514: clang -V &5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:1517: $? = 1
# configure:1543: checking for C compiler default output
# configure:1546: clang conftest.c >&5
# configure:1549: $? = 0
# configure:1582: result: a.out
# configure:1587: checking whether the C compiler works
# configure:1593: ./a.out
# configure:1596: $? = 0
# configure:1611: result: yes
# configure:1618: checking whether we are cross compiling
# configure:1620: result: no
# configure:1623: checking for suffix of executables
# configure:1625: clang -o conftest conftest.c >&5
# configure:1628: $? = 0
# configure:1650: result:
# configure:1656: checking for suffix of object files
# configure:1680: clang -c conftest.c >&5
# configure:1683: $? = 0
# configure:1702: result: o
# configure:1706: checking whether we are using the GNU C compiler
# configure:1733: clang -c conftest.c >&5
# configure:1736: $? = 0
# configure:1739: test -s conftest.o
# configure:1742: $? = 0
# configure:1754: result: yes
# configure:1760: checking whether clang accepts -g
# configure:1784: clang -c -g conftest.c >&5
# configure:1787: $? = 0
# configure:1790: test -s conftest.o
# configure:1793: $? = 0
# configure:1803: result: yes
# configure:1830: clang -c conftest.c >&5
# conftest.c:2:3: error: unknown type name 'choke'
# choke me
# ^
# conftest.c:2:11: error: expected ';' after top level declarator
# choke me
# ^
# ;
# 2 errors generated.
# configure:1833: $? = 1
# configure: failed program was:
# #ifndef __cplusplus
# choke me
# #endif
# configure:1980: checking for a BSD-compatible install
# configure:2034: result: /usr/bin/install -c
# configure:2048: checking for socket in -lxnet
# configure:2081: clang -o conftest conftest.c -lxnet >&5
# /usr/bin/ld: cannot find -lxnet
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:2084: $? = 1
# configure: failed program was:
# #line 2055 "configure"
# #include "confdefs.h"
#
# /* Override any gcc2 internal prototype to avoid an error. */
# #ifdef __cplusplus
# extern "C"
# #endif
# /* We use char because int might match the return type of a gcc2
# builtin and then its argument prototype would still apply. */
# char socket ();
# #ifdef F77_DUMMY_MAIN
# # ifdef __cplusplus
# extern "C"
# # endif
# int F77_DUMMY_MAIN() { return 1; }
# #endif
# int
# main ()
# {
# socket ();
# ;
# return 0;
# }
# configure:2101: result: no
# configure:2113: checking for socket in -lsocket
# configure:2146: clang -o conftest conftest.c -lsocket >&5
# /usr/bin/ld: cannot find -lsocket
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:2149: $? = 1
# configure: failed program was:
# #line 2120 "configure"
# #include "confdefs.h"
#
# /* Override any gcc2 internal prototype to avoid an error. */
# #ifdef __cplusplus
# extern "C"
# #endif
# /* We use char because int might match the return type of a gcc2
# builtin and then its argument prototype would still apply. */
# char socket ();
# #ifdef F77_DUMMY_MAIN
# # ifdef __cplusplus
# extern "C"
# # endif
# int F77_DUMMY_MAIN() { return 1; }
# #endif
# int
# main ()
# {
# socket ();
# ;
# return 0;
# }
# configure:2166: result: no
# configure:2178: checking for inet_aton in -lresolv
# configure:2211: clang -o conftest conftest.c -lresolv >&5
# configure:2214: $? = 0
# configure:2217: test -s conftest
# configure:2220: $? = 0
# configure:2231: result: yes
# configure:2248: checking how to run the C preprocessor
# configure:2274: clang -E conftest.c
# configure:2280: $? = 0
# configure:2307: clang -E conftest.c
# configure:2303:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:2313: $? = 1
# configure: failed program was:
# #line 2302 "configure"
# #include "confdefs.h"
# #include
# configure:2350: result: clang -E
# configure:2365: clang -E conftest.c
# configure:2371: $? = 0
# configure:2398: clang -E conftest.c
# configure:2394:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:2404: $? = 1
# configure: failed program was:
# #line 2393 "configure"
# #include "confdefs.h"
# #include
# configure:2444: checking for ANSI C header files
# configure:2458: clang -E conftest.c
# configure:2464: $? = 0
# configure:2551: clang -o conftest conftest.c -lresolv >&5
# configure:2542:7: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit(2);
# ^
# configure:2542:7: note: include the header or explicitly provide a declaration for 'exit'
# 1 warning generated.
# configure:2554: $? = 0
# configure:2556: ./conftest
# configure:2559: $? = 0
# configure:2573: result: yes
# configure:2597: checking for sys/types.h
# configure:2610: clang -c conftest.c >&5
# configure:2613: $? = 0
# configure:2616: test -s conftest.o
# configure:2619: $? = 0
# configure:2629: result: yes
# configure:2597: checking for sys/stat.h
# configure:2610: clang -c conftest.c >&5
# configure:2613: $? = 0
# configure:2616: test -s conftest.o
# configure:2619: $? = 0
# configure:2629: result: yes
# configure:2597: checking for stdlib.h
# configure:2610: clang -c conftest.c >&5
# configure:2613: $? = 0
# configure:2616: test -s conftest.o
# configure:2619: $? = 0
# configure:2629: result: yes
# configure:2597: checking for string.h
# configure:2610: clang -c conftest.c >&5
# configure:2613: $? = 0
# configure:2616: test -s conftest.o
# configure:2619: $? = 0
# configure:2629: result: yes
# configure:2597: checking for memory.h
# configure:2610: clang -c conftest.c >&5
# configure:2613: $? = 0
# configure:2616: test -s conftest.o
# configure:2619: $? = 0
# configure:2629: result: yes
# configure:2597: checking for strings.h
# configure:2610: clang -c conftest.c >&5
# configure:2613: $? = 0
# configure:2616: test -s conftest.o
# configure:2619: $? = 0
# configure:2629: result: yes
# configure:2597: checking for inttypes.h
# configure:2610: clang -c conftest.c >&5
# configure:2613: $? = 0
# configure:2616: test -s conftest.o
# configure:2619: $? = 0
# configure:2629: result: yes
# configure:2597: checking for stdint.h
# configure:2610: clang -c conftest.c >&5
# configure:2613: $? = 0
# configure:2616: test -s conftest.o
# configure:2619: $? = 0
# configure:2629: result: yes
# configure:2597: checking for unistd.h
# configure:2610: clang -c conftest.c >&5
# configure:2613: $? = 0
# configure:2616: test -s conftest.o
# configure:2619: $? = 0
# configure:2629: result: yes
# configure:2655: checking sys/time.h usability
# configure:2664: clang -c conftest.c >&5
# configure:2667: $? = 0
# configure:2670: test -s conftest.o
# configure:2673: $? = 0
# configure:2682: result: yes
# configure:2686: checking sys/time.h presence
# configure:2693: clang -E conftest.c
# configure:2699: $? = 0
# configure:2717: result: yes
# configure:2735: checking for sys/time.h
# configure:2742: result: yes
# configure:2760: checking for stdint.h
# configure:2765: result: yes
# configure:2870: checking for uint8_t
# configure:2897: clang -c conftest.c >&5
# configure:2900: $? = 0
# configure:2903: test -s conftest.o
# configure:2906: $? = 0
# configure:2916: result: yes
# configure:2981: checking for uint16_t
# configure:3008: clang -c conftest.c >&5
# configure:3011: $? = 0
# configure:3014: test -s conftest.o
# configure:3017: $? = 0
# configure:3027: result: yes
# configure:3092: checking for uint32_t
# configure:3119: clang -c conftest.c >&5
# configure:3122: $? = 0
# configure:3125: test -s conftest.o
# configure:3128: $? = 0
# configure:3138: result: yes
# configure:3205: checking for clang option to accept ANSI C
# configure:3268: clang -c conftest.c >&5
# configure:3271: $? = 0
# configure:3274: test -s conftest.o
# configure:3277: $? = 0
# configure:3294: result: none needed
# configure:3302: checking for an ANSI C-conforming const
# configure:3372: clang -c conftest.c >&5
# configure:3375: $? = 0
# configure:3378: test -s conftest.o
# configure:3381: $? = 0
# configure:3391: result: yes
# configure:3401: checking whether time.h and sys/time.h may both be included
# configure:3429: clang -c conftest.c >&5
# configure:3432: $? = 0
# configure:3435: test -s conftest.o
# configure:3438: $? = 0
# configure:3448: result: yes
# configure:3465: checking for snprintf
# configure:3508: clang -o conftest conftest.c -lresolv >&5
# configure:3480:6: warning: incompatible redeclaration of library function 'snprintf' [-Wincompatible-library-redeclaration]
# char snprintf ();
# ^
# configure:3480:6: note: 'snprintf' is a builtin with type 'int (char *, unsigned long, const char *, ...)'
# 1 warning generated.
# configure:3511: $? = 0
# configure:3514: test -s conftest
# configure:3517: $? = 0
# configure:3527: result: yes
# configure:3465: checking for inet_aton
# configure:3508: clang -o conftest conftest.c -lresolv >&5
# configure:3511: $? = 0
# configure:3514: test -s conftest
# configure:3517: $? = 0
# configure:3527: result: yes
# configure:3465: checking for socket
# configure:3508: clang -o conftest conftest.c -lresolv >&5
# configure:3511: $? = 0
# configure:3514: test -s conftest
# configure:3517: $? = 0
# configure:3527: result: yes
# configure:3544: checking build system type
# configure:3562: result: x86_64-unknown-linux-gnu
# configure:3570: checking host system type
# configure:3584: result: x86_64-unknown-linux-gnu
# configure:3592: checking target system type
# configure:3606: result: x86_64-unknown-linux-gnu
# configure:3752: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by config.status, which was
# generated by GNU Autoconf 2.53. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on 99c09b9f1f88
#
# config.status:572: creating Makefile
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-unknown-linux-gnu
# ac_cv_build_alias=x86_64-unknown-linux-gnu
# ac_cv_c_compiler_gnu=yes
# ac_cv_c_const=yes
# ac_cv_env_CC_set=set
# ac_cv_env_CC_value=clang
# ac_cv_env_CFLAGS_set=set
# ac_cv_env_CFLAGS_value=
# ac_cv_env_CPPFLAGS_set=set
# ac_cv_env_CPPFLAGS_value=
# ac_cv_env_CPP_set=
# ac_cv_env_CPP_value=
# ac_cv_env_LDFLAGS_set=set
# ac_cv_env_LDFLAGS_value=
# ac_cv_env_build_alias_set=
# ac_cv_env_build_alias_value=
# ac_cv_env_host_alias_set=set
# ac_cv_env_host_alias_value=x86_64-unknown-linux
# ac_cv_env_target_alias_set=
# ac_cv_env_target_alias_value=
# ac_cv_exeext=
# ac_cv_func_inet_aton=yes
# ac_cv_func_snprintf=yes
# ac_cv_func_socket=yes
# ac_cv_header_inttypes_h=yes
# ac_cv_header_memory_h=yes
# ac_cv_header_stdc=yes
# ac_cv_header_stdint_h=yes
# ac_cv_header_stdlib_h=yes
# ac_cv_header_string_h=yes
# ac_cv_header_strings_h=yes
# ac_cv_header_sys_stat_h=yes
# ac_cv_header_sys_time_h=yes
# ac_cv_header_sys_types_h=yes
# ac_cv_header_time=yes
# ac_cv_header_unistd_h=yes
# ac_cv_host=x86_64-unknown-linux-gnu
# ac_cv_host_alias=x86_64-unknown-linux
# ac_cv_lib_resolv_inet_aton=yes
# ac_cv_lib_socket_socket=no
# ac_cv_lib_xnet_socket=no
# ac_cv_objext=o
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_prog_CC=clang
# ac_cv_prog_CPP='clang -E'
# ac_cv_prog_cc_g=yes
# ac_cv_prog_cc_stdc=
# ac_cv_target=x86_64-unknown-linux-gnu
# ac_cv_target_alias=x86_64-unknown-linux
# ac_cv_type_uint16_t=yes
# ac_cv_type_uint32_t=yes
# ac_cv_type_uint8_t=yes
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# #define PACKAGE_NAME ""
# #define PACKAGE_TARNAME ""
# #define PACKAGE_VERSION ""
# #define PACKAGE_STRING ""
# #define PACKAGE_BUGREPORT ""
# #define HAVE_LIBRESOLV 1
# #define STDC_HEADERS 1
# #define HAVE_SYS_TYPES_H 1
# #define HAVE_SYS_STAT_H 1
# #define HAVE_STDLIB_H 1
# #define HAVE_STRING_H 1
# #define HAVE_MEMORY_H 1
# #define HAVE_STRINGS_H 1
# #define HAVE_INTTYPES_H 1
# #define HAVE_STDINT_H 1
# #define HAVE_UNISTD_H 1
# #define HAVE_SYS_TIME_H 1
# #define HAVE_STDINT_H 1
# #define my_uint8_t uint8_t
# #define my_uint16_t uint16_t
# #define my_uint32_t uint32_t
# #define TIME_WITH_SYS_TIME 1
# #define HAVE_SNPRINTF 1
# #define HAVE_INET_ATON 1
# #define HAVE_SOCKET 1
# #define UNIX 1
#
# configure: exit 0