Build of lrzsz with clang_glibc toolchain

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

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

SLOCLanguage
11,876 ansic
3,075 sh
1,015 exp
118 makefile
93 sed
16,177 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: lrzsz 0.12.20-5 (Thu Apr 13 13:42:49 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 gcc... clang
# checking whether the C compiler (clang ) works... yes
# checking whether the C compiler (clang ) is a cross-compiler... no
# checking whether we are using GNU C... yes
# checking whether clang accepts -g... yes
# checking how to run the C preprocessor... clang -E
# checking whether clang needs -traditional... no
# checking for ranlib... ranlib
# checking for POSIXized ISC... no
# checking for AIX... no
# checking for minix/config.h... no
# checking for clang option to accept ANSI C... none needed
# checking for function prototypes... yes
# checking for working const... yes
# checking for inline... inline
# checking for syslog in -lsocket... no
# checking for syslog in -lbe... no
# checking for gethostbyname in -lnsl... yes
# checking for ANSI C header files... yes
# checking for fcntl.h... yes
# checking for limits.h... yes
# checking for sys/ioctl.h... yes
# checking for sys/time.h... yes
# checking for unistd.h... yes
# checking for sys/times.h... yes
# checking for termios.h... yes
# checking for sys/termios.h... yes
# checking for termio.h... yes
# checking for sys/termio.h... no
# checking for sgtty.h... yes
# checking for termios.h... (cached) yes
# checking for sys/termios.h... (cached) yes
# checking for termio.h... (cached) yes
# checking for sys/termio.h... (cached) no
# checking for sgtty.h... (cached) yes
# checking for sys/mman.h... yes
# checking for utime.h... yes
# checking for syslog.h... yes
# checking for sys/syslog.h... yes
# checking for sys/param.h... yes
# checking for sys/select.h... yes
# checking for strings.h... yes
# checking for arpa/inet.h... yes
# checking for size_t... yes
# checking for mode_t... yes
# checking for off_t... yes
# checking for speed_t... yes
# checking for st_rdev in struct stat... yes
# checking whether time.h and sys/time.h may both be included... yes
# checking whether sys/time.h and sys/select.h may both be included... yes
# checking whether struct tm is in sys/time.h or time.h... time.h
# checking for errno declaration... yes
# checking whether setvbuf arguments are reversed... no
# checking return type of signal handlers... void
# checking for unistd.h... (cached) yes
# checking for getpagesize... yes
# checking for working mmap... yes
# checking for working alloca.h... yes
# checking for alloca... yes
# checking for gettimeofday... yes
# checking for settimeofday... yes
# checking for strchr... yes
# checking for memcpy... yes
# checking for select... yes
# checking for vprintf... yes
# checking for times... yes
# checking for rdchk... no
# checking for utime... yes
# checking for syslog... yes
# checking for siginterrupt... yes
# checking for mkdir... yes
# checking for mktime... yes
# checking for strerror... yes
# checking for strstr... yes
# checking for strdup... yes
# checking for strtoul... yes
# checking for strtol... yes
# checking for strpbrk... yes
# checking for stpcpy... yes
# checking for strftime... yes
# checking for vasprintf... yes
# checking for getopt_long... yes
# checking for ftime... yes
# checking that ftime works correctly... yes
# checking for timezone variable... yes
# checking for LOG_UUCP... yes
# checking for argz.h... yes
# checking for limits.h... (cached) yes
# checking for locale.h... yes
# checking for nl_types.h... yes
# checking for malloc.h... yes
# checking for string.h... yes
# checking for unistd.h... (cached) yes
# checking for values.h... yes
# checking for sys/param.h... (cached) yes
# checking for getcwd... yes
# checking for munmap... yes
# checking for putenv... yes
# checking for setenv... yes
# checking for setlocale... yes
# checking for strchr... (cached) yes
# checking for strcasecmp... yes
# checking for __argz_count... yes
# checking for __argz_stringify... yes
# checking for __argz_next... yes
# checking for LC_MESSAGES... yes
# checking whether NLS is requested... yes
# checking whether included gettext is requested... no
# checking for libintl.h... yes
# checking for gettext in libc... yes
# checking for msgfmt... /usr/bin/msgfmt
# checking for dcgettext... yes
# checking for gmsgfmt... /usr/bin/msgfmt
# checking for xgettext... /usr/bin/xgettext
# checking for catalogs to be installed... de
# updating cache ./config.cache
# creating ./config.status
# creating Makefile
# creating intl/Makefile
# creating lib/Makefile
# creating testsuite/Makefile
# creating man/Makefile
# creating po/Makefile.in
# creating src/Makefile
# creating debian/rules
# creating Specfile
# creating systype
# creating src/lrzszbug
# creating config.h
# make all-recursive
# make[1]: Entering directory '/tmp/lrzsz/src/lrzsz-0.12.20'
# Making all in lib
# make[2]: Entering directory '/tmp/lrzsz/src/lrzsz-0.12.20/lib'
# clang -DHAVE_CONFIG_H -I. -I. -I.. -c long-options.c
# long-options.c:65:4: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit (0);
# ^
# long-options.c:65:4: note: include the header or explicitly provide a declaration for 'exit'
# 1 warning generated.
# clang -DHAVE_CONFIG_H -I. -I. -I.. -c xstrtol.c
# clang -DHAVE_CONFIG_H -I. -I. -I.. -c xstrtoul.c
# clang -DHAVE_CONFIG_H -I. -I. -I.. -c error.c
# rm -f libzmodem.a
# ar cru libzmodem.a long-options.o xstrtol.o xstrtoul.o error.o
# ar: `u' modifier ignored since `D' is the default (see `U')
# ranlib libzmodem.a
# make[2]: Leaving directory '/tmp/lrzsz/src/lrzsz-0.12.20/lib'
# Making all in intl
# make[2]: Entering directory '/tmp/lrzsz/src/lrzsz-0.12.20/intl'
# make[2]: Nothing to be done for 'all'.
# make[2]: Leaving directory '/tmp/lrzsz/src/lrzsz-0.12.20/intl'
# Making all in src
# make[2]: Entering directory '/tmp/lrzsz/src/lrzsz-0.12.20/src'
# clang -DNFGVMIN -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I.. -I. -I../src -I../intl -I../lib -c lrz.c
# clang -DNFGVMIN -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I.. -I. -I../src -I../intl -I../lib -c timing.c
# clang -DNFGVMIN -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I.. -I. -I../src -I../intl -I../lib -c zperr.c
# clang -DNFGVMIN -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I.. -I. -I../src -I../intl -I../lib -c zreadline.c
# zreadline.c:72:9: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
# n, readline_readnum);
# ^~~~~~~~~~~~~~~~
# ./zglobal.h:397:59: note: expanded from macro 'vstringf'
# #define vstringf(format,args...) fprintf(stderr,format, ##args)
# ^~~~
# zreadline.c:78:5: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
# readline_readnum);
# ^~~~~~~~~~~~~~~~
# ./zglobal.h:397:59: note: expanded from macro 'vstringf'
# #define vstringf(format,args...) fprintf(stderr,format, ##args)
# ^~~~
# 2 warnings generated.
# clang -DNFGVMIN -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I.. -I. -I../src -I../intl -I../lib -c crctab.c
# clang -DNFGVMIN -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I.. -I. -I../src -I../intl -I../lib -c rbsb.c
# clang -DNFGVMIN -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I.. -I. -I../src -I../intl -I../lib -c zm.c
# zm.c:454:31: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
# VPRINTF(3,("zsdat32: %d %s", length, Zendnames[(frameend-ZCRCE)&3]));
# ~~ ^~~~~~
# %zu
# ./zglobal.h:404:11: note: expanded from macro 'VPRINTF'
# vstringf format_args ; } while(0)
# ^~~~~~~~~~~
# ./zglobal.h:397:59: note: expanded from macro 'vstringf'
# #define vstringf(format,args...) fprintf(stderr,format, ##args)
# ^~~~
# 1 warning generated.
# clang -DNFGVMIN -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I.. -I. -I../src -I../intl -I../lib -c protname.c
# clang -DNFGVMIN -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I.. -I. -I../src -I../intl -I../lib -c tcp.c
# tcp.c:75:49: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# if (getsockname (sock, (struct sockaddr *) &t, &len)) {
# ^~~~
# /usr/include/sys/socket.h:128:26: note: passing argument to parameter '__len' here
# socklen_t *__restrict __len) __THROW;
# ^
# tcp.c:83:45: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# getsockname (sock, (struct sockaddr *) &t, &len);
# ^~~~
# /usr/include/sys/socket.h:128:26: note: passing argument to parameter '__len' here
# socklen_t *__restrict __len) __THROW;
# ^
# tcp.c:103:44: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types]
# if ((so = accept(d, (struct sockaddr*)&s, &namelen)) < 0) {
# ^~~~~~~~
# /usr/include/sys/socket.h:244:28: note: passing argument to parameter '__addr_len' here
# socklen_t *__restrict __addr_len);
# ^
# 3 warnings generated.
# clang -DNFGVMIN -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I.. -I. -I../src -I../intl -I../lib -c lsyslog.c
# lsyslog.c:67:4: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration]
# sprintf(uid_string,"#%lu",(unsigned long) uid);
# ^
# lsyslog.c:67:4: note: include the header or explicitly provide a declaration for 'sprintf'
# lsyslog.c:72:5: warning: implicit declaration of function 'vasprintf' is invalid in C99 [-Wimplicit-function-declaration]
# vasprintf(&s,format, ap);
# ^
# 2 warnings generated.
# clang -DNFGVMIN -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I.. -I. -I../src -I../intl -I../lib -c canit.c
# clang -o lrz lrz.o timing.o zperr.o zreadline.o crctab.o rbsb.o zm.o protname.o tcp.o lsyslog.o canit.o ../lib/libzmodem.a -lnsl
# clang -DNFGVMIN -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I.. -I. -I../src -I../intl -I../lib -c lsz.c
# lsz.c:2000:36: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
# vstringf (_("blklen now %d\n"), blklen);
# ~~ ^~~~~~
# %zu
# ./zglobal.h:397:59: note: expanded from macro 'vstringf'
# #define vstringf(format,args...) fprintf(stderr,format, ##args)
# ^~~~
# 1 warning generated.
# clang -o lsz lsz.o timing.o zperr.o zreadline.o crctab.o rbsb.o zm.o protname.o tcp.o lsyslog.o canit.o ../lib/libzmodem.a -lnsl
# make[2]: Leaving directory '/tmp/lrzsz/src/lrzsz-0.12.20/src'
# Making all in po
# Making all in man
# make[2]: Entering directory '/tmp/lrzsz/src/lrzsz-0.12.20/man'
# make[2]: Nothing to be done for 'all'.
# make[2]: Leaving directory '/tmp/lrzsz/src/lrzsz-0.12.20/man'
# Making all in testsuite
# make[2]: Entering directory '/tmp/lrzsz/src/lrzsz-0.12.20/testsuite'
# make[2]: Nothing to be done for 'all'.
# make[2]: Leaving directory '/tmp/lrzsz/src/lrzsz-0.12.20/testsuite'
# make[1]: Leaving directory '/tmp/lrzsz/src/lrzsz-0.12.20'
# ==> Entering fakeroot environment...
# ==> Starting package()...
# Making install in lib
# Making install in intl
# make[1]: Entering directory '/tmp/lrzsz/src/lrzsz-0.12.20/intl'
# if test "lrzsz" = "gettext" \
# && test '' = 'intl-compat.o'; then \
# if test -r ./mkinstalldirs; then \
# ./mkinstalldirs /usr/lib /usr/include; \
# else \
# ../mkinstalldirs /usr/lib /usr/include; \
# fi; \
# /usr/bin/install -c -m 644 intlh.inst /usr/include/libintl.h; \
# /usr/bin/install -c -m 644 libintl.a /usr/lib/libintl.a; \
# else \
# : ; \
# fi
# if test "lrzsz" = "gettext"; then \
# if test -r ./mkinstalldirs; then \
# ./mkinstalldirs /usr/share/gettext/intl; \
# else \
# ../mkinstalldirs /usr/share/gettext/intl; \
# fi; \
# /usr/bin/install -c -m 644 VERSION /usr/share/gettext/intl/VERSION; \
# dists="ChangeLog Makefile.in linux-msg.sed po2tbl.sed.in xopen-msg.sed gettext.h gettextP.h hash-string.h libgettext.h loadinfo.h bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c intl-compat.c cat-compat.c"; \
# for file in $dists; do \
# /usr/bin/install -c -m 644 ./$file /usr/share/gettext/intl/$file; \
# done; \
# else \
# : ; \
# fi
# make[1]: Leaving directory '/tmp/lrzsz/src/lrzsz-0.12.20/intl'
# Making install in src
# make[1]: Entering directory '/tmp/lrzsz/src/lrzsz-0.12.20/src'
# /bin/sh ../mkinstalldirs /tmp/lrzsz/pkg/lrzsz/usr/bin
# mkdir /tmp/lrzsz/pkg/lrzsz/usr
# mkdir /tmp/lrzsz/pkg/lrzsz/usr/bin
# /usr/bin/install -c lrz /tmp/lrzsz/pkg/lrzsz/usr/bin/rz
# /usr/bin/install -c lsz /tmp/lrzsz/pkg/lrzsz/usr/bin/sz
# rm -f /tmp/lrzsz/pkg/lrzsz//usr/bin/`echo lsb | sed -e 's/l//'`
# ln /tmp/lrzsz/pkg/lrzsz//usr/bin/`echo lsz |sed -e 's/l//'` \
# /tmp/lrzsz/pkg/lrzsz//usr/bin/`echo lsb |sed -e 's/l//'`
# rm -f /usr/bin/`echo lsx | sed -e 's/l//'`
# ln /tmp/lrzsz/pkg/lrzsz//usr/bin/`echo lsz |sed -e 's/l//'` \
# /tmp/lrzsz/pkg/lrzsz//usr/bin/`echo lsx |sed -e 's/l//'`
# rm -f /usr/bin/`echo lrb | sed -e 's/l//'`
# ln /tmp/lrzsz/pkg/lrzsz//usr/bin/`echo lrz |sed -e 's/l//'` \
# /tmp/lrzsz/pkg/lrzsz//usr/bin/`echo lrb |sed -e 's/l//'`
# rm -f /usr/bin/`echo lrx | sed -e 's/l//'`
# ln /tmp/lrzsz/pkg/lrzsz//usr/bin/`echo lrz |sed -e 's/l//'` \
# /tmp/lrzsz/pkg/lrzsz//usr/bin/`echo lrx |sed -e 's/l//'`
# make[1]: Leaving directory '/tmp/lrzsz/src/lrzsz-0.12.20/src'
# Making install in po
# make[1]: Entering directory '/tmp/lrzsz/src/lrzsz-0.12.20/po'
# if test -r .././mkinstalldirs; then \
# .././mkinstalldirs /usr/share; \
# else \
# ../mkinstalldirs /usr/share; \
# fi
# /usr/bin/install: cannot create regular file '/usr/share/locale/de/LC_MESSAGES/lrzsz.mo': Permission denied
# installing de.gmo as /usr/share/locale/de/LC_MESSAGES/lrzsz.mo
# if test "lrzsz" = "gettext"; then \
# if test -r .././mkinstalldirs; then \
# .././mkinstalldirs /usr/share/gettext/po; \
# else \
# ../mkinstalldirs /usr/share/gettext/po; \
# fi; \
# /usr/bin/install -c -m 644 ./Makefile.in.in \
# /usr/share/gettext/po/Makefile.in.in; \
# else \
# : ; \
# fi
# make[1]: Leaving directory '/tmp/lrzsz/src/lrzsz-0.12.20/po'
# Making install in man
# make[1]: Entering directory '/tmp/lrzsz/src/lrzsz-0.12.20/man'
# make install-man1
# make[2]: Entering directory '/tmp/lrzsz/src/lrzsz-0.12.20/man'
# /bin/sh ../mkinstalldirs /tmp/lrzsz/pkg/lrzsz/usr/share/man/man1
# mkdir /tmp/lrzsz/pkg/lrzsz/usr/share
# mkdir /tmp/lrzsz/pkg/lrzsz/usr/share/man
# mkdir /tmp/lrzsz/pkg/lrzsz/usr/share/man/man1
# /usr/bin/install -c -m 644 ./lrz.1 /tmp/lrzsz/pkg/lrzsz/usr/share/man/man1/rz.1
# /usr/bin/install -c -m 644 ./lsz.1 /tmp/lrzsz/pkg/lrzsz/usr/share/man/man1/sz.1
# make[2]: Leaving directory '/tmp/lrzsz/src/lrzsz-0.12.20/man'
# make[1]: Leaving directory '/tmp/lrzsz/src/lrzsz-0.12.20/man'
# Making install in testsuite
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "lrzsz"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: lrzsz 0.12.20-5 (Thu Apr 13 13:43:51 UTC 2017)

CMD: pacman --query --file lrzsz-0.12.20-5-x86_64.pkg.tar.xz
# lrzsz 0.12.20-5

Creating hybrid package for 'lrzsz'

Trying to find vanilla package 'lrzsz'...

CMD: pacman --query --file /mirror/lrzsz-0.12.20-5.pkg.tar.xz
# lrzsz 0.12.20-5

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/sx
# /usr/bin/sb
# /usr/bin/rx
# /usr/bin/sz
# /usr/bin/rz
# /usr/bin/rb
# /usr/share/man/man1/rz.1.gz
# /usr/share/man/man1/sz.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 lrzsz.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/lrzsz.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/lrzsz.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/lrzsz/src/lrzsz-0.12.20/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# configure:566: checking for a BSD compatible install
# configure:619: checking whether build environment is sane
# configure:676: checking whether make sets ${MAKE}
# configure:722: checking for working aclocal
# configure:735: checking for working autoconf
# configure:748: checking for working automake
# configure:761: checking for working autoheader
# configure:774: checking for working makeinfo
# configure:923: checking for gcc
# configure:1000: checking whether the C compiler (clang ) works
# configure:1014: clang -o conftest conftest.c 1>&5
# configure:1011:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main(){return(0);}
# ^
# 1 warning generated.
# configure:1034: checking whether the C compiler (clang ) is a cross-compiler
# configure:1039: checking whether we are using GNU C
# configure:1048: clang -E conftest.c
# configure:1063: checking whether clang accepts -g
# configure:1091: checking how to run the C preprocessor
# configure:1112: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1153: checking whether clang needs -traditional
# configure:1201: checking for ranlib
# configure:1228: checking for POSIXized ISC
# configure:1249: checking for AIX
# configure:1274: checking for minix/config.h
# configure:1284: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1280:10: fatal error: 'minix/config.h' file not found
# #include
# ^
# 1 error generated.
# configure: failed program was:
# #line 1279 "configure"
# #include "confdefs.h"
# #include
# configure:1325: checking for clang option to accept ANSI C
# configure:1378: clang -c conftest.c 1>&5
# configure:1404: checking for function prototypes
# configure:1563: checking for working const
# configure:1617: clang -c conftest.c 1>&5
# configure:1638: checking for inline
# configure:1652: clang -c conftest.c 1>&5
# configure:1648:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# } inline foo() {
# ~~~~~~ ^
# 1 warning generated.
# configure:1703: checking for syslog in -lsocket
# configure:1722: clang -o conftest conftest.c -lsocket 1>&5
# /usr/bin/ld: cannot find -lsocket
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure: failed program was:
# #line 1711 "configure"
# #include "confdefs.h"
# /* Override any gcc2 internal prototype to avoid an error. */
# /* We use char because int might match the return type of a gcc2
# builtin and then its argument prototype would still apply. */
# char syslog();
#
# int main() {
# syslog()
# ; return 0; }
# configure:1750: checking for syslog in -lbe
# configure:1769: clang -o conftest conftest.c -lbe 1>&5
# /usr/bin/ld: cannot find -lbe
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure: failed program was:
# #line 1758 "configure"
# #include "confdefs.h"
# /* Override any gcc2 internal prototype to avoid an error. */
# /* We use char because int might match the return type of a gcc2
# builtin and then its argument prototype would still apply. */
# char syslog();
#
# int main() {
# syslog()
# ; return 0; }
# configure:1797: checking for gethostbyname in -lnsl
# configure:1816: clang -o conftest conftest.c -lnsl 1>&5
# configure:1845: checking for ANSI C header files
# configure:1858: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1925: clang -o conftest conftest.c -lnsl 1>&5
# configure:1920: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:1920:67: note: include the header or explicitly provide a declaration for 'exit'
# 1 warning generated.
# configure:1952: checking for fcntl.h
# configure:1962: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1952: checking for limits.h
# configure:1962: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1952: checking for sys/ioctl.h
# configure:1962: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1952: checking for sys/time.h
# configure:1962: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1952: checking for unistd.h
# configure:1962: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1952: checking for sys/times.h
# configure:1962: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1993: checking for termios.h
# configure:2003: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1993: checking for sys/termios.h
# configure:2003: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1993: checking for termio.h
# configure:2003: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1993: checking for sys/termio.h
# configure:2003: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1999:10: fatal error: 'sys/termio.h' file not found
# #include
# ^
# 1 error generated.
# configure: failed program was:
# #line 1998 "configure"
# #include "confdefs.h"
# #include
# configure:1993: checking for sgtty.h
# configure:2003: clang -E conftest.c >/dev/null 2>conftest.out
# configure:2033: checking for termios.h
# configure:2033: checking for sys/termios.h
# configure:2033: checking for termio.h
# configure:2033: checking for sys/termio.h
# configure:2033: checking for sgtty.h
# configure:2073: checking for sys/mman.h
# configure:2083: clang -E conftest.c >/dev/null 2>conftest.out
# configure:2073: checking for utime.h
# configure:2083: clang -E conftest.c >/dev/null 2>conftest.out
# configure:2073: checking for syslog.h
# configure:2083: clang -E conftest.c >/dev/null 2>conftest.out
# configure:2073: checking for sys/syslog.h
# configure:2083: clang -E conftest.c >/dev/null 2>conftest.out
# configure:2073: checking for sys/param.h
# configure:2083: clang -E conftest.c >/dev/null 2>conftest.out
# configure:2113: checking for sys/select.h
# configure:2123: clang -E conftest.c >/dev/null 2>conftest.out
# configure:2113: checking for strings.h
# configure:2123: clang -E conftest.c >/dev/null 2>conftest.out
# configure:2113: checking for arpa/inet.h
# configure:2123: clang -E conftest.c >/dev/null 2>conftest.out
# configure:2151: checking for size_t
# configure:2184: checking for mode_t
# configure:2217: checking for off_t
# configure:2251: checking for speed_t
# configure:2306: checking for st_rdev in struct stat
# configure:2319: clang -c conftest.c 1>&5
# configure:2315:18: warning: expression result unused [-Wunused-value]
# struct stat s; s.st_rdev;
# ~ ^~~~~~~
# 1 warning generated.
# configure:2340: checking whether time.h and sys/time.h may both be included
# configure:2354: clang -c conftest.c 1>&5
# configure:2375: checking whether sys/time.h and sys/select.h may both be included
# configure:2389: clang -c conftest.c 1>&5
# configure:2410: checking whether struct tm is in sys/time.h or time.h
# configure:2423: clang -c conftest.c 1>&5
# configure:2419:20: warning: expression result unused [-Wunused-value]
# struct tm *tp; tp->tm_sec;
# ~~ ^~~~~~
# 1 warning generated.
# configure:2445: checking for errno declaration
# configure:2457: clang -c conftest.c 1>&5
# configure:2480: checking whether setvbuf arguments are reversed
# configure:2502: clang -o conftest conftest.c -lnsl 1>&5
# configure:2491:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main () {
# ^
# configure:2495:23: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion]
# if (setvbuf(stdout, _IOLBF, (char *) main, BUFSIZ) != 0)
# ^~~~~~
# /usr/include/stdio.h:121:16: note: expanded from macro '_IOLBF'
# #define _IOLBF 1 /* Line buffered. */
# ^
# /usr/include/stdio.h:336:65: note: passing argument to parameter '__buf' here
# extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
# ^
# configure:2495:31: warning: incompatible pointer to integer conversion passing 'char *' to parameter of type 'int' [-Wint-conversion]
# if (setvbuf(stdout, _IOLBF, (char *) main, BUFSIZ) != 0)
# ^~~~~~~~~~~~~
# /usr/include/stdio.h:337:11: note: passing argument to parameter '__modes' here
# int __modes, size_t __n) __THROW;
# ^
# configure:2496:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit(1);
# ^
# configure:2496:5: note: include the header or explicitly provide a declaration for 'exit'
# 4 warnings generated.
# configure: failed program was:
# #line 2488 "configure"
# #include "confdefs.h"
# #include
# /* If setvbuf has the reversed format, exit 0. */
# main () {
# /* This call has the arguments reversed.
# A reversed system may check and see that the address of main
# is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
# if (setvbuf(stdout, _IOLBF, (char *) main, BUFSIZ) != 0)
# exit(1);
# putc('\r', stdout);
# exit(0); /* Non-reversed systems segv here. */
# }
# configure:2527: checking return type of signal handlers
# configure:2549: clang -c conftest.c 1>&5
# configure:2571: checking for unistd.h
# configure:2610: checking for getpagesize
# configure:2638: clang -o conftest conftest.c -lnsl 1>&5
# configure:2663: checking for working mmap
# configure:2811: clang -o conftest conftest.c -lnsl 1>&5
# configure:2742:7: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
# char *malloc();
# ^
# configure:2742:7: note: 'malloc' is a builtin with type 'void *(unsigned long)'
# configure:2752:13: warning: implicit declaration of function 'getpagesize' is invalid in C99 [-Wimplicit-function-declaration]
# pagesize = getpagesize();
# ^
# configure:2759:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit(1);
# ^
# configure:2759:3: note: include the header or explicitly provide a declaration for 'exit'
# configure:2761:17: warning: implicit declaration of function 'rand' is invalid in C99 [-Wimplicit-function-declaration]
# *(data + i) = rand();
# ^
# configure:2762:2: warning: implicit declaration of function 'umask' is invalid in C99 [-Wimplicit-function-declaration]
# umask(0);
# ^
# configure:2766:6: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
# if (write(fd, data, pagesize) != pagesize)
# ^
# configure:2768:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
# close(fd);
# ^
# configure:2799:6: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
# if (read(fd, data3, pagesize) != pagesize)
# ^
# configure:2805:2: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration]
# unlink("conftestmmap");
# ^
# 9 warnings generated.
# configure:2836: checking for working alloca.h
# configure:2848: clang -o conftest conftest.c -lnsl 1>&5
# configure:2869: checking for alloca
# configure:2897: clang -o conftest conftest.c -lnsl 1>&5
# configure:3081: checking for gettimeofday
# configure:3109: clang -o conftest conftest.c -lnsl 1>&5
# configure:3081: checking for settimeofday
# configure:3109: clang -o conftest conftest.c -lnsl 1>&5
# configure:3136: checking for strchr
# configure:3164: clang -o conftest conftest.c -lnsl 1>&5
# configure:3148:6: warning: incompatible redeclaration of library function 'strchr' [-Wincompatible-library-redeclaration]
# char strchr();
# ^
# configure:3148:6: note: 'strchr' is a builtin with type 'char *(const char *, int)'
# 1 warning generated.
# configure:3136: checking for memcpy
# configure:3164: clang -o conftest conftest.c -lnsl 1>&5
# configure:3148:6: warning: incompatible redeclaration of library function 'memcpy' [-Wincompatible-library-redeclaration]
# char memcpy();
# ^
# configure:3148:6: note: 'memcpy' is a builtin with type 'void *(void *, const void *, unsigned long)'
# 1 warning generated.
# configure:3136: checking for select
# configure:3164: clang -o conftest conftest.c -lnsl 1>&5
# configure:3136: checking for vprintf
# configure:3164: clang -o conftest conftest.c -lnsl 1>&5
# configure:3148:6: warning: incompatible redeclaration of library function 'vprintf' [-Wincompatible-library-redeclaration]
# char vprintf();
# ^
# configure:3148:6: note: 'vprintf' is a builtin with type 'int (const char *, struct __va_list_tag *)'
# 1 warning generated.
# configure:3191: checking for times
# configure:3219: clang -o conftest conftest.c -lnsl 1>&5
# configure:3191: checking for rdchk
# configure:3219: clang -o conftest conftest.c -lnsl 1>&5
# /tmp/conftest-f5cc75.o: In function `main':
# conftest.c:(.text+0x12): undefined reference to `rdchk'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure: failed program was:
# #line 3196 "configure"
# #include "confdefs.h"
# /* System header to define __stub macros and hopefully few prototypes,
# which can conflict with char rdchk(); below. */
# #include
# /* Override any gcc2 internal prototype to avoid an error. */
# /* We use char because int might match the return type of a gcc2
# builtin and then its argument prototype would still apply. */
# char rdchk();
#
# int main() {
#
# /* The GNU C library defines this for functions which it implements
# to always fail with ENOSYS. Some functions are actually named
# something starting with __ and the normal name is an alias. */
# #if defined (__stub_rdchk) || defined (__stub___rdchk)
# choke me
# #else
# rdchk();
# #endif
#
# ; return 0; }
# configure:3191: checking for utime
# configure:3219: clang -o conftest conftest.c -lnsl 1>&5
# configure:3191: checking for syslog
# configure:3219: clang -o conftest conftest.c -lnsl 1>&5
# configure:3191: checking for siginterrupt
# configure:3219: clang -o conftest conftest.c -lnsl 1>&5
# configure:3246: checking for mkdir
# configure:3274: clang -o conftest conftest.c -lnsl 1>&5
# configure:3246: checking for mktime
# configure:3274: clang -o conftest conftest.c -lnsl 1>&5
# configure:3246: checking for strerror
# configure:3274: clang -o conftest conftest.c -lnsl 1>&5
# configure:3258:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration]
# char strerror();
# ^
# configure:3258:6: note: 'strerror' is a builtin with type 'char *(int)'
# 1 warning generated.
# configure:3246: checking for strstr
# configure:3274: clang -o conftest conftest.c -lnsl 1>&5
# configure:3258:6: warning: incompatible redeclaration of library function 'strstr' [-Wincompatible-library-redeclaration]
# char strstr();
# ^
# configure:3258:6: note: 'strstr' is a builtin with type 'char *(const char *, const char *)'
# 1 warning generated.
# configure:3246: checking for strdup
# configure:3274: clang -o conftest conftest.c -lnsl 1>&5
# configure:3258:6: warning: incompatible redeclaration of library function 'strdup' [-Wincompatible-library-redeclaration]
# char strdup();
# ^
# configure:3258:6: note: 'strdup' is a builtin with type 'char *(const char *)'
# 1 warning generated.
# configure:3246: checking for strtoul
# configure:3274: clang -o conftest conftest.c -lnsl 1>&5
# configure:3246: checking for strtol
# configure:3274: clang -o conftest conftest.c -lnsl 1>&5
# configure:3246: checking for strpbrk
# configure:3274: clang -o conftest conftest.c -lnsl 1>&5
# configure:3258:6: warning: incompatible redeclaration of library function 'strpbrk' [-Wincompatible-library-redeclaration]
# char strpbrk();
# ^
# configure:3258:6: note: 'strpbrk' is a builtin with type 'char *(const char *, const char *)'
# 1 warning generated.
# configure:3303: checking for stpcpy
# configure:3331: clang -o conftest conftest.c -lnsl 1>&5
# configure:3315:6: warning: incompatible redeclaration of library function 'stpcpy' [-Wincompatible-library-redeclaration]
# char stpcpy();
# ^
# configure:3315:6: note: 'stpcpy' is a builtin with type 'char *(char *, const char *)'
# 1 warning generated.
# configure:3303: checking for strftime
# configure:3331: clang -o conftest conftest.c -lnsl 1>&5
# configure:3303: checking for vasprintf
# configure:3331: clang -o conftest conftest.c -lnsl 1>&5
# configure:3325:11: warning: format string missing [-Wformat]
# vasprintf();
# ~~~~~~~~~ ^
# 1 warning generated.
# configure:3359: checking for getopt_long
# configure:3387: clang -o conftest conftest.c -lnsl 1>&5
# configure:3417: checking for ftime
# configure:3445: clang -o conftest conftest.c -lnsl 1>&5
# configure:3460: checking that ftime works correctly
# configure:3497: clang -o conftest conftest.c -lnsl 1>&5
# configure:3473:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main ()
# ^
# configure:3484:15: warning: format specifies type 'long' but the argument has type 'unsigned short' [-Wformat]
# s.time,s.millitm, slast.time,slast.millitm);
# ^~~~~~~~~
# configure:3484:37: warning: format specifies type 'long' but the argument has type 'unsigned short' [-Wformat]
# s.time,s.millitm, slast.time,slast.millitm);
# ^~~~~~~~~~~~~
# configure:3485:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit (1);
# ^
# configure:3485:5: note: include the header or explicitly provide a declaration for 'exit'
# 4 warnings generated.
# configure:3531: checking for timezone variable
# configure:3544: clang -o conftest conftest.c -lnsl 1>&5
# configure:3570: checking for LOG_UUCP
# configure:3628: checking for argz.h
# configure:3638: clang -E conftest.c >/dev/null 2>conftest.out
# configure:3628: checking for limits.h
# configure:3628: checking for locale.h
# configure:3638: clang -E conftest.c >/dev/null 2>conftest.out
# configure:3628: checking for nl_types.h
# configure:3638: clang -E conftest.c >/dev/null 2>conftest.out
# configure:3628: checking for malloc.h
# configure:3638: clang -E conftest.c >/dev/null 2>conftest.out
# configure:3628: checking for string.h
# configure:3638: clang -E conftest.c >/dev/null 2>conftest.out
# configure:3628: checking for unistd.h
# configure:3628: checking for values.h
# configure:3638: clang -E conftest.c >/dev/null 2>conftest.out
# configure:3628: checking for sys/param.h
# configure:3668: checking for getcwd
# configure:3696: clang -o conftest conftest.c -lnsl 1>&5
# configure:3668: checking for munmap
# configure:3696: clang -o conftest conftest.c -lnsl 1>&5
# configure:3668: checking for putenv
# configure:3696: clang -o conftest conftest.c -lnsl 1>&5
# configure:3668: checking for setenv
# configure:3696: clang -o conftest conftest.c -lnsl 1>&5
# configure:3668: checking for setlocale
# configure:3696: clang -o conftest conftest.c -lnsl 1>&5
# configure:3668: checking for strchr
# configure:3668: checking for strcasecmp
# configure:3696: clang -o conftest conftest.c -lnsl 1>&5
# configure:3680:6: warning: incompatible redeclaration of library function 'strcasecmp' [-Wincompatible-library-redeclaration]
# char strcasecmp();
# ^
# configure:3680:6: note: 'strcasecmp' is a builtin with type 'int (const char *, const char *)'
# 1 warning generated.
# configure:3668: checking for __argz_count
# configure:3696: clang -o conftest conftest.c -lnsl 1>&5
# configure:3668: checking for __argz_stringify
# configure:3696: clang -o conftest conftest.c -lnsl 1>&5
# configure:3668: checking for __argz_next
# configure:3696: clang -o conftest conftest.c -lnsl 1>&5
# configure:3787: checking for LC_MESSAGES
# configure:3799: clang -o conftest conftest.c -lnsl 1>&5
# configure:3820: checking whether NLS is requested
# configure:3840: checking whether included gettext is requested
# configure:3859: checking for libintl.h
# configure:3869: clang -E conftest.c >/dev/null 2>conftest.out
# configure:3886: checking for gettext in libc
# configure:3898: clang -o conftest conftest.c -lnsl 1>&5
# configure:3989: checking for msgfmt
# configure:4023: checking for dcgettext
# configure:4051: clang -o conftest conftest.c -lnsl 1>&5
# configure:4078: checking for gmsgfmt
# configure:4110: checking for xgettext
# configure:4150: clang -o conftest conftest.c -lnsl 1>&5
# configure:4593: checking for catalogs to be installed