Build of byacc with musl toolchain

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

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

SLOCLanguage
77,014 ansic
4,542 yacc
3,459 sh
209 makefile
85,224 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: byacc 20160606-1 (Tue Apr 4 22:57: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 build system type... x86_64-pc-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# checking target system type... x86_64-unknown-linux-gnu
# Configuring for linux-gnu
# 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... yes
# checking for executable suffix...
# checking for object suffix... o
# checking whether we are using the GNU C compiler... yes
# checking whether clang accepts -g... yes
# checking version of clang... 3.8.1
# checking for clang option to accept ANSI C... none needed
# checking $CC variable... ok
# checking whether make sets ${MAKE}... yes
# checking for a BSD compatible install... /usr/bin/install -c
# checking if filesystem supports mixed-case filenames... yes
# checking for exctags... no
# checking for ctags... no
# checking for exetags... no
# checking for etags... no
# checking for ctags... no
# checking for etags... no
# checking for mawk... no
# checking for gawk... gawk
# checking for lint... no
# checking for cppcheck... no
# checking for splint... no
# checking if we must define _GNU_SOURCE... no
# checking if _XOPEN_SOURCE really is set... yes
# checking how to run the C preprocessor... clang -E
# checking for fcntl.h... yes
# checking for working mkstemp... maybe
# checking for mkstemp... yes
# checking for vsnprintf... yes
# checking for maximum table size... default
# checking if backtracking extension is wanted...
# checking if you want to check for gcc warnings... no
# checking if you want to see long compiling messages... yes
# checking if you want to use dmalloc for testing... no
# checking if you want to use dbmalloc for testing... no
# checking if you want to use valgrind for testing... no
# checking if you want to perform memory-leak testing... no
# checking for groff... /usr/sbin/groff
# checking for nroff... /usr/sbin/nroff
# checking for program to convert manpage to html... /usr/sbin/groff
# 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 for mode_t... yes
# configure: creating ./config.status
# config.status: creating makefile
# config.status: creating config.h
# clang -c -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` closure.c
# clang -c -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` error.c
# clang -c -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` graph.c
# clang -c -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` lalr.c
# clang -c -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` lr0.c
# clang -c -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` main.c
# clang -c -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` mkpar.c
# clang -c -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` mstring.c
# clang -c -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` output.c
# clang -c -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` reader.c
# clang -c -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` yaccpar.c
# clang -c -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` symtab.c
# reader.c:393:1: warning: control may reach end of non-void function [-Wreturn-type]
# }
# ^
# clang -c -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` verbose.c
# clang -c -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` warshall.c
# 1 warning generated.
# clang -I. -I. -DHAVE_CONFIG_H -DYYPATCH=`cat ./VERSION` -o yacc closure.o error.o graph.o lalr.o lr0.o main.o mkpar.o mstring.o output.o reader.o yaccpar.o symtab.o verbose.o warshall.o
# ==> Entering fakeroot environment...
# ==> Starting package()...
# mkdir -p /tmp/byacc/pkg/byacc/usr/bin
# mkdir -p /tmp/byacc/pkg/byacc/usr/share/man/man1
# /usr/bin/install -c yacc /tmp/byacc/pkg/byacc/usr/bin/`echo yacc | sed 's/$//' |sed 's,^,b,'|sed 's/$//'`
# /usr/bin/install -c -m 644 ./yacc.1 /tmp/byacc/pkg/byacc/usr/share/man/man1/`echo yacc.1| sed 's/1$//'|sed 's,^,b,'|sed 's/$/1/'`
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "byacc"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: byacc 20160606-1 (Tue Apr 4 22:57:18 UTC 2017)

CMD: pacman --query --file byacc-20160606-1-x86_64.pkg.tar.xz
# byacc 20160606-1

Creating hybrid package for 'byacc'

Trying to find vanilla package 'byacc'...

CMD: pacman --query --file /mirror/byacc-20160606-1.pkg.tar.xz
# byacc 20160606-1

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

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

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

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/byacc.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/byacc.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/byacc/src/byacc-20160606/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.52.20150926. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr --mandir=/usr/share/man --program-transform=s,^,b,
#
# ## ---------- ##
# ## Platform. ##
# ## ---------- ##
#
# hostname = b8c22b9e87f5
# 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 = /sysroot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
#
# ## ------------ ##
# ## Core tests. ##
# ## ------------ ##
#
# configure:985: PATH=".;."; conftest.sh
# ./configure: line 986: conftest.sh: command not found
# configure:988: $? = 127
# configure:1030: checking build system type
# configure:1048: result: x86_64-pc-linux-gnu
# configure:1055: checking host system type
# configure:1069: result: x86_64-unknown-linux-gnu
# configure:1077: checking target system type
# configure:1091: result: x86_64-unknown-linux-gnu
# configure:1123: result: Configuring for linux-gnu
# configure:1156: checking for x86_64-unknown-linux-gcc
# configure:1179: result: clang
# configure:1442: checking for C compiler version
# configure:1445: clang --version &5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:1448: $? = 0
# configure:1450: clang -v &5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# Found candidate GCC installation: //../lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Selected GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Candidate multilib: .;@m64
# Selected multilib: .;@m64
# configure:1453: $? = 0
# configure:1455: clang -V &5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:1458: $? = 1
# configure:1478: checking for C compiler default output
# configure:1481: clang conftest.c >&5
# configure:1484: $? = 0
# configure:1513: result: a.out
# configure:1518: checking whether the C compiler works
# configure:1524: ./a.out
# ./a.out: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:1527: $? = 127
# configure:1542: result: yes
# configure:1549: checking whether we are cross compiling
# configure:1551: result: yes
# configure:1554: checking for executable suffix
# configure:1556: clang -o conftest conftest.c >&5
# configure:1559: $? = 0
# configure:1581: result:
# configure:1587: checking for object suffix
# configure:1605: clang -c conftest.c >&5
# configure:1608: $? = 0
# configure:1627: result: o
# configure:1631: checking whether we are using the GNU C compiler
# configure:1652: clang -c conftest.c >&5
# configure:1655: $? = 0
# configure:1658: test -s conftest.o
# configure:1661: $? = 0
# configure:1673: result: yes
# configure:1679: checking whether clang accepts -g
# configure:1697: clang -c -g conftest.c >&5
# configure:1700: $? = 0
# configure:1703: test -s conftest.o
# configure:1706: $? = 0
# configure:1716: result: yes
# configure:1743: 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:1746: $? = 1
# configure: failed program was:
# #ifndef __cplusplus
# choke me
# #endif
# configure:1847: checking version of clang
# configure:1851: result: 3.8.1
# configure:1855: checking for clang option to accept ANSI C
# configure:1912: clang -c conftest.c >&5
# configure:1915: $? = 0
# configure:1918: test -s conftest.o
# configure:1921: $? = 0
# configure:1938: result: none needed
# configure:1949: checking $CC variable
# configure:2053: result: ok
# configure:2058: checking whether make sets ${MAKE}
# configure:2078: result: yes
# configure:2099: checking for a BSD compatible install
# configure:2148: result: /usr/bin/install -c
# configure:2159: checking if filesystem supports mixed-case filenames
# configure:2186: result: yes
# configure:2197: checking for exctags
# configure:2223: result: no
# configure:2197: checking for ctags
# configure:2223: result: no
# configure:2234: checking for exetags
# configure:2260: result: no
# configure:2234: checking for etags
# configure:2260: result: no
# configure:2269: checking for ctags
# configure:2293: result: no
# configure:2303: checking for etags
# configure:2327: result: no
# configure:2354: checking for mawk
# configure:2380: result: no
# configure:2354: checking for gawk
# configure:2369: found /usr/sbin/gawk
# configure:2377: result: gawk
# configure:2395: checking for lint
# configure:2421: result: no
# configure:2395: checking for cppcheck
# configure:2421: result: no
# configure:2395: checking for splint
# configure:2421: result: no
# configure:2466: checking if we must define _GNU_SOURCE
# configure:2488: clang -c conftest.c >&5
# configure:2491: $? = 0
# configure:2494: test -s conftest.o
# configure:2497: $? = 0
# configure:2545: result: no
# configure:3342: checking if _XOPEN_SOURCE really is set
# configure:3360: clang -c conftest.c >&5
# configure:3363: $? = 0
# configure:3366: test -s conftest.o
# configure:3369: $? = 0
# configure:3378: result: yes
# configure:3398: clang -c conftest.c >&5
# configure:3401: $? = 0
# configure:3404: test -s conftest.o
# configure:3407: $? = 0
# configure:3614: checking how to run the C preprocessor
# configure:3640: clang -E conftest.c
# configure:3646: $? = 0
# configure:3673: clang -E conftest.c
# configure:3670:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:3679: $? = 1
# configure: failed program was:
# #line 3669 "configure"
# #include "confdefs.h"
# #include
# configure:3716: result: clang -E
# configure:3731: clang -E conftest.c
# configure:3737: $? = 0
# configure:3764: clang -E conftest.c
# configure:3761:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:3770: $? = 1
# configure: failed program was:
# #line 3760 "configure"
# #include "confdefs.h"
# #include
# configure:3813: checking for fcntl.h
# configure:3823: clang -E conftest.c
# configure:3829: $? = 0
# configure:3848: result: yes
# configure:3858: checking for working mkstemp
# configure:3930: result: maybe
# configure:3933: checking for mkstemp
# configure:3970: clang -o conftest conftest.c >&5
# configure:3973: $? = 0
# configure:3976: test -s conftest
# configure:3979: $? = 0
# configure:3989: result: yes
# configure:4004: checking for vsnprintf
# configure:4041: clang -o conftest conftest.c >&5
# configure:4020:6: warning: incompatible redeclaration of library function 'vsnprintf' [-Wincompatible-library-redeclaration]
# char vsnprintf ();
# ^
# configure:4020:6: note: 'vsnprintf' is a builtin with type 'int (char *, unsigned long, const char *, struct __va_list_tag *)'
# 1 warning generated.
# configure:4044: $? = 0
# configure:4047: test -s conftest
# configure:4050: $? = 0
# configure:4060: result: yes
# configure:4070: checking for maximum table size
# configure:4095: result: default
# configure:4099: checking if backtracking extension is wanted
# configure:4107: result:
# configure:4122: checking if you want to check for gcc warnings
# configure:4132: result: no
# configure:4486: checking if you want to see long compiling messages
# configure:4520: result: yes
# configure:4523: checking if you want to use dmalloc for testing
# configure:4540: result: no
# configure:4735: checking if you want to use dbmalloc for testing
# configure:4752: result: no
# configure:4947: checking if you want to use valgrind for testing
# configure:4964: result: no
# configure:5057: checking if you want to perform memory-leak testing
# configure:5067: result: no
# configure:5084: checking for groff
# configure:5101: found /usr/sbin/groff
# configure:5113: result: /usr/sbin/groff
# configure:5122: checking for nroff
# configure:5139: found /usr/sbin/nroff
# configure:5151: result: /usr/sbin/nroff
# configure:5167: checking for program to convert manpage to html
# configure:5226: result: /usr/sbin/groff
# configure:5366: checking for ANSI C header files
# configure:5380: clang -E conftest.c
# configure:5386: $? = 0
# configure:5494: result: yes
# configure:5510: checking for sys/types.h
# configure:5522: clang -c conftest.c >&5
# configure:5525: $? = 0
# configure:5528: test -s conftest.o
# configure:5531: $? = 0
# configure:5541: result: yes
# configure:5510: checking for sys/stat.h
# configure:5522: clang -c conftest.c >&5
# configure:5525: $? = 0
# configure:5528: test -s conftest.o
# configure:5531: $? = 0
# configure:5541: result: yes
# configure:5510: checking for stdlib.h
# configure:5522: clang -c conftest.c >&5
# configure:5525: $? = 0
# configure:5528: test -s conftest.o
# configure:5531: $? = 0
# configure:5541: result: yes
# configure:5510: checking for string.h
# configure:5522: clang -c conftest.c >&5
# configure:5525: $? = 0
# configure:5528: test -s conftest.o
# configure:5531: $? = 0
# configure:5541: result: yes
# configure:5510: checking for memory.h
# configure:5522: clang -c conftest.c >&5
# configure:5525: $? = 0
# configure:5528: test -s conftest.o
# configure:5531: $? = 0
# configure:5541: result: yes
# configure:5510: checking for strings.h
# configure:5522: clang -c conftest.c >&5
# configure:5525: $? = 0
# configure:5528: test -s conftest.o
# configure:5531: $? = 0
# configure:5541: result: yes
# configure:5510: checking for inttypes.h
# configure:5522: clang -c conftest.c >&5
# configure:5525: $? = 0
# configure:5528: test -s conftest.o
# configure:5531: $? = 0
# configure:5541: result: yes
# configure:5510: checking for stdint.h
# configure:5522: clang -c conftest.c >&5
# configure:5525: $? = 0
# configure:5528: test -s conftest.o
# configure:5531: $? = 0
# configure:5541: result: yes
# configure:5510: checking for unistd.h
# configure:5522: clang -c conftest.c >&5
# configure:5525: $? = 0
# configure:5528: test -s conftest.o
# configure:5531: $? = 0
# configure:5541: result: yes
# configure:5551: checking for mode_t
# configure:5572: clang -c conftest.c >&5
# configure:5575: $? = 0
# configure:5578: test -s conftest.o
# configure:5581: $? = 0
# configure:5591: result: yes
# configure:5684: creating ./config.status
#
# ## ----------------------- ##
# ## Running config.status. ##
# ## ----------------------- ##
#
# This file was extended by config.status 2.52.20150926, executed with
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# > ./config.status
# on b8c22b9e87f5
#
# config.status:6174: creating makefile
# config.status:6327: creating config.h
#
# ## ----------------- ##
# ## Cache variables. ##
# ## ----------------- ##
#
# ac_cv_build=x86_64-pc-linux-gnu
# ac_cv_build_alias=x86_64-pc-linux-gnu
# ac_cv_c_compiler_gnu=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_func_mkstemp=yes
# ac_cv_func_vsnprintf=yes
# ac_cv_header_fcntl_h=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_types_h=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_objext=o
# ac_cv_path_GROFF_PATH=/usr/sbin/groff
# ac_cv_path_NROFF_PATH=/usr/sbin/nroff
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_prog_AWK=gawk
# ac_cv_prog_CC=clang
# ac_cv_prog_CPP='clang -E'
# ac_cv_prog_MAKE_LOWER_TAGS=no
# ac_cv_prog_MAKE_UPPER_TAGS=no
# ac_cv_prog_cc_g=yes
# ac_cv_prog_cc_stdc=
# ac_cv_prog_make_make_set=yes
# ac_cv_target=x86_64-unknown-linux-gnu
# ac_cv_target_alias=x86_64-unknown-linux
# ac_cv_type_mode_t=yes
# cf_cv_func_mkstemp=maybe
# cf_cv_gnu_source=no
# cf_cv_mixedcase=yes
# cf_cv_system_name=linux-gnu
#
# ## ------------ ##
# ## confdefs.h. ##
# ## ------------ ##
#
# #define SYSTEM_NAME "linux-gnu"
# #define MIXEDCASE_FILENAMES 1
# #define HAVE_FCNTL_H 1
# #define HAVE_MKSTEMP 1
# #define HAVE_VSNPRINTF 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
#
#
# configure: exit 0