Build of acpi with musl toolchain

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

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

SLOCLanguage
1,267 sh
819 ansic
715 makefile
2,801 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: acpi 1.7-1 (Tue Apr 4 22:53:58 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# checking for a BSD-compatible install... /usr/bin/install -c
# checking whether build environment is sane... yes
# checking for x86_64-unknown-linux-strip... no
# checking for strip... strip
# checking for a thread-safe mkdir -p... /usr/sbin/mkdir -p
# checking for gawk... gawk
# checking whether make sets $(MAKE)... yes
# checking whether make supports nested variables... yes
# checking for x86_64-unknown-linux-gcc... clang
# checking whether the C compiler works... yes
# checking for C compiler default output file name... a.out
# checking for suffix of executables...
# checking whether we are cross compiling... yes
# 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 clang option to accept ISO C89... none needed
# checking whether clang understands -c and -o together... yes
# checking for style of include used by make... GNU
# checking dependency style of clang... gcc3
# checking how to run the C preprocessor... clang -E
# checking for grep that handles long lines and -e... /usr/sbin/grep
# checking for egrep... /usr/sbin/grep -E
# checking for ANSI C header files... yes
# checking that generated files are newer than configure... done
# configure: creating ./config.status
# config.status: creating Makefile
# config.status: creating config.h
# config.status: executing depfiles commands
# make all-am
# make[1]: Entering directory '/tmp/acpi/src/acpi-1.7'
# clang -DHAVE_CONFIG_H -I. -Wall -MT acpi.o -MD -MP -MF .deps/acpi.Tpo -c -o acpi.o acpi.c
# clang -DHAVE_CONFIG_H -I. -Wall -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
# clang -DHAVE_CONFIG_H -I. -Wall -MT list.o -MD -MP -MF .deps/list.Tpo -c -o list.o list.c
# In file included from main.c:26:
# ./acpi.h:22:9: warning: '_ACPI_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
# #ifndef _ACPI_H
# ^~~~~~~
# ./acpi.h:23:9: note: '_APCI_H' is defined here; did you mean '_ACPI_H'?
# #define _APCI_H
# ^~~~~~~
# _ACPI_H
# mv -f .deps/list.Tpo .deps/list.Po
# In file included from acpi.c:31:
# ./acpi.h:22:9: warning: '_ACPI_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
# #ifndef _ACPI_H
# ^~~~~~~
# ./acpi.h:23:9: note: '_APCI_H' is defined here; did you mean '_ACPI_H'?
# #define _APCI_H
# ^~~~~~~
# _ACPI_H
# 1 warning generated.
# mv -f .deps/main.Tpo .deps/main.Po
# 1 warning generated.
# mv -f .deps/acpi.Tpo .deps/acpi.Po
# clang -Wall -o acpi acpi.o main.o list.o
# make[1]: Leaving directory '/tmp/acpi/src/acpi-1.7'
# ==> Entering fakeroot environment...
# ==> Starting package()...
# make: Entering directory '/tmp/acpi/src/acpi-1.7'
# make[1]: Entering directory '/tmp/acpi/src/acpi-1.7'
# /usr/sbin/mkdir -p '/tmp/acpi/pkg/acpi/usr/share/man/man1'
# /usr/sbin/mkdir -p '/tmp/acpi/pkg/acpi/usr/bin'
# /usr/bin/install -c acpi '/tmp/acpi/pkg/acpi/usr/bin'
# /usr/bin/install -c -m 644 acpi.1 '/tmp/acpi/pkg/acpi/usr/share/man/man1'
# make[1]: Leaving directory '/tmp/acpi/src/acpi-1.7'
# make: Leaving directory '/tmp/acpi/src/acpi-1.7'
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "acpi"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: acpi 1.7-1 (Tue Apr 4 22:54:04 UTC 2017)

CMD: pacman --query --file acpi-1.7-1-x86_64.pkg.tar.xz
# acpi 1.7-1

Creating hybrid package for 'acpi'

Trying to find vanilla package 'acpi'...

CMD: pacman --query --file /mirror/libacpi-0.2-4.pkg.tar.xz
# libacpi 0.2-4

CMD: pacman --query --file /mirror/acpi-1.7-1.pkg.tar.xz
# acpi 1.7-1

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

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

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

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/acpi.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/acpi.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/acpi/src/acpi-1.7/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 acpi configure 1.7, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = a352d530b946
# 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
# /usr/bin/hostinfo = unknown
# /bin/machine = unknown
# /usr/bin/oslevel = unknown
# /bin/universe = unknown
#
# PATH: /sysroot/bin
# PATH: /usr/local/sbin
# PATH: /usr/local/bin
# PATH: /usr/sbin
# PATH: /usr/bin
# PATH: /sbin
# PATH: /bin
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:1913: checking for a BSD-compatible install
# configure:1981: result: /usr/bin/install -c
# configure:1992: checking whether build environment is sane
# configure:2047: result: yes
# configure:2106: checking for x86_64-unknown-linux-strip
# configure:2136: result: no
# configure:2146: checking for strip
# configure:2162: found /sysroot/bin/strip
# configure:2173: result: strip
# configure:2198: checking for a thread-safe mkdir -p
# configure:2237: result: /usr/sbin/mkdir -p
# configure:2244: checking for gawk
# configure:2260: found /usr/sbin/gawk
# configure:2271: result: gawk
# configure:2282: checking whether make sets $(MAKE)
# configure:2304: result: yes
# configure:2333: checking whether make supports nested variables
# configure:2350: result: yes
# configure:2485: checking for x86_64-unknown-linux-gcc
# configure:2512: result: clang
# configure:2781: checking for C compiler version
# configure:2790: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:2801: $? = 0
# configure:2790: 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:2801: $? = 0
# configure:2790: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:2801: $? = 1
# configure:2790: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:2801: $? = 1
# configure:2821: checking whether the C compiler works
# configure:2843: clang conftest.c >&5
# configure:2847: $? = 0
# configure:2895: result: yes
# configure:2898: checking for C compiler default output file name
# configure:2900: result: a.out
# configure:2906: checking for suffix of executables
# configure:2913: clang -o conftest conftest.c >&5
# configure:2917: $? = 0
# configure:2939: result:
# configure:2961: checking whether we are cross compiling
# configure:2969: clang -o conftest conftest.c >&5
# configure:2973: $? = 0
# configure:2980: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:2984: $? = 127
# configure:2999: result: yes
# configure:3004: checking for suffix of object files
# configure:3026: clang -c conftest.c >&5
# configure:3030: $? = 0
# configure:3051: result: o
# configure:3055: checking whether we are using the GNU C compiler
# configure:3074: clang -c conftest.c >&5
# configure:3074: $? = 0
# configure:3083: result: yes
# configure:3092: checking whether clang accepts -g
# configure:3112: clang -c -g conftest.c >&5
# configure:3112: $? = 0
# configure:3153: result: yes
# configure:3170: checking for clang option to accept ISO C89
# configure:3233: clang -c conftest.c >&5
# configure:3233: $? = 0
# configure:3246: result: none needed
# configure:3271: checking whether clang understands -c and -o together
# configure:3293: clang -c conftest.c -o conftest2.o
# configure:3296: $? = 0
# configure:3293: clang -c conftest.c -o conftest2.o
# configure:3296: $? = 0
# configure:3308: result: yes
# configure:3336: checking for style of include used by make
# configure:3364: result: GNU
# configure:3390: checking dependency style of clang
# configure:3501: result: gcc3
# configure:3522: checking how to run the C preprocessor
# configure:3553: clang -E conftest.c
# configure:3553: $? = 0
# configure:3567: clang -E conftest.c
# conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:3567: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "acpi"
# | #define PACKAGE_TARNAME "acpi"
# | #define PACKAGE_VERSION "1.7"
# | #define PACKAGE_STRING "acpi 1.7"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "acpi"
# | #define VERSION "1.7"
# | /* end confdefs.h. */
# | #include
# configure:3592: result: clang -E
# configure:3612: clang -E conftest.c
# configure:3612: $? = 0
# configure:3626: clang -E conftest.c
# conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:3626: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "acpi"
# | #define PACKAGE_TARNAME "acpi"
# | #define PACKAGE_VERSION "1.7"
# | #define PACKAGE_STRING "acpi 1.7"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "acpi"
# | #define VERSION "1.7"
# | /* end confdefs.h. */
# | #include
# configure:3655: checking for grep that handles long lines and -e
# configure:3713: result: /usr/sbin/grep
# configure:3718: checking for egrep
# configure:3780: result: /usr/sbin/grep -E
# configure:3785: checking for ANSI C header files
# configure:3805: clang -c conftest.c >&5
# configure:3805: $? = 0
# configure:3889: result: yes
# configure:4011: checking that generated files are newer than configure
# configure:4017: result: done
# configure:4040: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by acpi config.status 1.7, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on a352d530b946
#
# config.status:843: creating Makefile
# config.status:843: creating config.h
# config.status:1072: executing depfiles commands
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# 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_LIBS_set=
# ac_cv_env_LIBS_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_header_stdc=yes
# ac_cv_objext=o
# ac_cv_path_EGREP='/usr/sbin/grep -E'
# ac_cv_path_GREP=/usr/sbin/grep
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_path_mkdir=/usr/sbin/mkdir
# ac_cv_prog_AWK=gawk
# ac_cv_prog_CC=clang
# ac_cv_prog_CPP='clang -E'
# ac_cv_prog_ac_ct_STRIP=strip
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
# ac_cv_prog_make_make_set=yes
# am_cv_CC_dependencies_compiler_type=gcc3
# am_cv_make_support_nested_variables=yes
# am_cv_prog_cc_c_o=yes
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/acpi/src/acpi-1.7/missing aclocal-1.14'
# AMDEPBACKSLASH='\'
# AMDEP_FALSE='#'
# AMDEP_TRUE=''
# AMTAR='$${TAR-tar}'
# AM_BACKSLASH='\'
# AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
# AM_DEFAULT_VERBOSITY='1'
# AM_V='$(V)'
# AUTOCONF='${SHELL} /tmp/acpi/src/acpi-1.7/missing autoconf'
# AUTOHEADER='${SHELL} /tmp/acpi/src/acpi-1.7/missing autoheader'
# AUTOMAKE='${SHELL} /tmp/acpi/src/acpi-1.7/missing automake-1.14'
# AWK='gawk'
# CC='clang'
# CCDEPMODE='depmode=gcc3'
# CFLAGS=''
# CPP='clang -E'
# CPPFLAGS=''
# CYGPATH_W='echo'
# DEFS='-DHAVE_CONFIG_H'
# DEPDIR='.deps'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP='/usr/sbin/grep -E'
# EXEEXT=''
# GREP='/usr/sbin/grep'
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LTLIBOBJS=''
# MAKEINFO='${SHELL} /tmp/acpi/src/acpi-1.7/missing makeinfo'
# MKDIR_P='/usr/sbin/mkdir -p'
# OBJEXT='o'
# PACKAGE='acpi'
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME='acpi'
# PACKAGE_STRING='acpi 1.7'
# PACKAGE_TARNAME='acpi'
# PACKAGE_URL=''
# PACKAGE_VERSION='1.7'
# PATH_SEPARATOR=':'
# SET_MAKE=''
# SHELL='/bin/sh'
# STRIP='strip'
# VERSION='1.7'
# ac_ct_CC=''
# am__EXEEXT_FALSE=''
# am__EXEEXT_TRUE='#'
# am__fastdepCC_FALSE='#'
# am__fastdepCC_TRUE=''
# am__include='include'
# am__isrc=''
# am__leading_dot='.'
# am__nodep='_no'
# am__quote=''
# am__tar='$${TAR-tar} chof - "$$tardir"'
# am__untar='$${TAR-tar} xf -'
# bindir='${exec_prefix}/bin'
# build_alias=''
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# dvidir='${docdir}'
# exec_prefix='${prefix}'
# host_alias='x86_64-unknown-linux'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# install_sh='${SHELL} /tmp/acpi/src/acpi-1.7/install-sh'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='${datarootdir}/man'
# mkdir_p='$(MKDIR_P)'
# oldincludedir='/usr/include'
# pdfdir='${docdir}'
# prefix='/usr'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# sysconfdir='${prefix}/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME "acpi"
# #define PACKAGE_TARNAME "acpi"
# #define PACKAGE_VERSION "1.7"
# #define PACKAGE_STRING "acpi 1.7"
# #define PACKAGE_BUGREPORT ""
# #define PACKAGE_URL ""
# #define PACKAGE "acpi"
# #define VERSION "1.7"
# #define STDC_HEADERS 1
#
# configure: exit 0