Build of snarf with musl toolchain

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

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

SLOCLanguage
2,220 ansic
329 sh
2,549 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...

There were existing files in /sysroot, using those
# /sysroot/lib
# /sysroot/share
# /sysroot/bin
# /sysroot/include
# /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/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: snarf 7.0-6 (Wed Apr 5 01:19:01 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... yes
# checking whether we are using GNU C... yes
# checking whether clang accepts -g... yes
# checking for clang option to accept ANSI C... none needed
# checking how to run the C preprocessor... clang -E
# checking for function prototypes... yes
# checking for clang option to accept ANSI C... (cached) none needed
# checking for working const... yes
# checking for a BSD compatible install... /usr/bin/install -c
# checking for socket... yes
# checking for gethostbyname... yes
# checking for gethostbyname... (cached) yes
# checking for strerror... yes
# checking for ANSI C header files... yes
# checking for strings.h... yes
# checking for stdarg.h... yes
# checking for sys/ioctl.h... yes
# checking for off_t... yes
# checking for ssize_t... yes
# checking for socklen_t... yes
# checking for strerror... (cached) yes
# checking for gettimeofday... yes
# checking for strdup... yes
# checking for herror... yes
# updating cache ./config.cache
# creating ./config.status
# creating Makefile
# creating snarf.spec
# creating config.h
# clang -DHAVE_CONFIG_H -I. -I. -I. -c ftp.c
# clang -DHAVE_CONFIG_H -I. -I. -I. -c http.c
# clang -DHAVE_CONFIG_H -I. -I. -I. -c llist.c
# clang -DHAVE_CONFIG_H -I. -I. -I. -c options.c
# llist.c:38:1: warning: control may reach end of non-void function [-Wreturn-type]
# }
# ^
# 1 warning generated.
# clang -DHAVE_CONFIG_H -I. -I. -I. -c snarf.c
# http.c:60:30: warning: implicit declaration of function 'isspace' is invalid in C99 [-Wimplicit-function-declaration]
# while (*s != '\0' && isspace(*s)) {
# ^
# clang -DHAVE_CONFIG_H -I. -I. -I. -c url.c
# 1 warning generated.
# clang -DHAVE_CONFIG_H -I. -I. -I. -c util.c
# clang -DHAVE_CONFIG_H -I. -I. -I. -c gopher.c
# util.c:559:21: warning: implicit declaration of function 'http_transfer' is invalid in C99 [-Wimplicit-function-declaration]
# i = http_transfer(rsrc);
# ^
# util.c:562:21: warning: implicit declaration of function 'ftp_transfer' is invalid in C99 [-Wimplicit-function-declaration]
# i = ftp_transfer(rsrc);
# ^
# util.c:565:21: warning: implicit declaration of function 'gopher_transfer' is invalid in C99 [-Wimplicit-function-declaration]
# i = gopher_transfer(rsrc);
# ^
# 3 warnings generated.
# clang -o snarf ftp.o http.o llist.o options.o snarf.o url.o util.o gopher.o
# ==> Entering fakeroot environment...
# ==> Starting package()...
# make[1]: Entering directory '/tmp/snarf/src/snarf-7.0'
# make install-man1
# /bin/sh ./mkinstalldirs /tmp/snarf/pkg/snarf/usr/bin
# make[2]: Entering directory '/tmp/snarf/src/snarf-7.0'
# /bin/sh ./mkinstalldirs /tmp/snarf/pkg/snarf/usr/share/man/man1
# mkdir /tmp/snarf/pkg/snarf/usr
# mkdir /tmp/snarf/pkg/snarf/usr
# mkdir /tmp/snarf/pkg/snarf/usr/bin
# mkdir: cannot create directory '/tmp/snarf/pkg/snarf/usr': File exists
# mkdir /tmp/snarf/pkg/snarf/usr/share
# mkdir /tmp/snarf/pkg/snarf/usr/share/man
# mkdir /tmp/snarf/pkg/snarf/usr/share/man/man1
# /usr/bin/install -c snarf /tmp/snarf/pkg/snarf/usr/bin/snarf
# /usr/bin/install -c -m 644 ./snarf.1 /tmp/snarf/pkg/snarf/usr/share/man/man1/snarf.1
# make[2]: Leaving directory '/tmp/snarf/src/snarf-7.0'
# make[1]: Leaving directory '/tmp/snarf/src/snarf-7.0'
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "snarf"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: snarf 7.0-6 (Wed Apr 5 01:19:08 UTC 2017)

CMD: pacman --query --file snarf-7.0-6-x86_64.pkg.tar.xz
# snarf 7.0-6

Creating hybrid package for 'snarf'

Trying to find vanilla package 'snarf'...

CMD: pacman --query --file /mirror/snarf-7.0-6.pkg.tar.xz
# snarf 7.0-6

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/snarf
# /usr/share/man/man1/snarf.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 snarf.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/snarf.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/snarf.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/snarf/src/snarf-7.0/config.log'
# This file contains any messages produced by compilers while
# running configure, to aid debugging if configure makes a mistake.
#
# configure:565: checking for a BSD compatible install
# configure:618: checking whether build environment is sane
# configure:675: checking whether make sets ${MAKE}
# configure:721: checking for working aclocal
# configure:734: checking for working autoconf
# configure:747: checking for working automake
# configure:760: checking for working autoheader
# configure:773: checking for working makeinfo
# configure:795: checking for gcc
# configure:908: checking whether the C compiler (clang ) works
# configure:924: clang -o conftest conftest.c 1>&5
# configure:921:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main(){return(0);}
# ^
# 1 warning generated.
# configure:950: checking whether the C compiler (clang ) is a cross-compiler
# configure:955: checking whether we are using GNU C
# configure:964: clang -E conftest.c
# configure:983: checking whether clang accepts -g
# configure:1018: checking for clang option to accept ANSI C
# configure:1071: clang -c conftest.c 1>&5
# configure:1095: checking how to run the C preprocessor
# configure:1116: clang -E conftest.c >/dev/null 2>conftest.out
# configure:1177: checking for function prototypes
# configure:1339: checking for clang option to accept ANSI C
# configure:1416: checking for working const
# configure:1470: clang -c conftest.c 1>&5
# configure:1502: checking for a BSD compatible install
# configure:1556: checking for socket
# configure:1584: clang -o conftest conftest.c 1>&5
# configure:1644: checking for gethostbyname
# configure:1672: clang -o conftest conftest.c 1>&5
# configure:1732: checking for gethostbyname
# configure:1820: checking for strerror
# configure:1848: clang -o conftest conftest.c 1>&5
# configure:1832:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration]
# char strerror();
# ^
# configure:1832:6: note: 'strerror' is a builtin with type 'char *(int)'
# 1 warning generated.
# configure:1909: checking for ANSI C header files
# configure:1922: clang -E conftest.c >/dev/null 2>conftest.out
# configure:2019: checking for strings.h
# configure:2029: clang -E conftest.c >/dev/null 2>conftest.out
# configure:2019: checking for stdarg.h
# configure:2029: clang -E conftest.c >/dev/null 2>conftest.out
# configure:2019: checking for sys/ioctl.h
# configure:2029: clang -E conftest.c >/dev/null 2>conftest.out
# configure:2248: checking for off_t
# configure:2282: checking for ssize_t
# configure:2317: checking for socklen_t
# configure:2356: checking for strerror
# configure:2356: checking for gettimeofday
# configure:2384: clang -o conftest conftest.c 1>&5
# configure:2356: checking for strdup
# configure:2384: clang -o conftest conftest.c 1>&5
# configure:2368:6: warning: incompatible redeclaration of library function 'strdup' [-Wincompatible-library-redeclaration]
# char strdup();
# ^
# configure:2368:6: note: 'strdup' is a builtin with type 'char *(const char *)'
# 1 warning generated.
# configure:2411: checking for herror
# configure:2439: clang -o conftest conftest.c 1>&5