Build of cromfs with musl toolchain

The build took 00h 01m 14s and was NOT successful.

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

SLOCLanguage
15,917 cpp
13,409 ansic
1,356 php
656 sh
300 makefile
31,638 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

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: cromfs 1.5.10.2-2 (Wed Apr 5 00:25:28 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (1) fuse-2.9.7-1
#
# Total Installed Size: 0.48 MiB
#
# :: Proceed with installation? [Y/n]
# checking keyring...
# checking package integrity...
# loading package files...
# checking for file conflicts...
# checking available disk space...
# :: Processing package changes...
# installing fuse...
# :: Running post-transaction hooks...
# (1/1) Updating manpage index...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Determining compiler version to use... CXX=g++(4.2.1) CPP=cpp(6.1.1) CC=gcc(4.2.1)
# Checking if the determined compiler works... Ok
# Checking if your compiler supports OpenMP... No
# Checking if your compiler supports -pthread... Yes
# Checking for pkg-config... Yes
# Checking for fuse (dynamic)... Yes
# Checking for fuse (static)... No
# Note: cromfs-driver-static will not be built, because
# your system does not have a statically linked Fuse library.
# You can still use the dynamically linked cromfs-driver.
# Checking for liblzo2 (dynamic)... No
# Checking for liblzo2 (static)... No
# - In the absense of assembler-optimized liblzo2, mkcromfs will use lzo1x_1_15 (shipped)
# Checking for vsnprintf... Yes
# Checking for lutimes... Yes
# Checking for stdint.h... Yes
# Checking for inttypes.h... Yes
# Checking for readdir_r... Yes
# Checking for uint16_t... Yes
# Checking for u_int16_t... No
# Checking for __uint16_t... No
# Checking for long long... Yes
# Checking for sys/types.h... Yes
# Checking if your compiler supports -minline-stringops-dynamically... No
# Checking if your compiler supports -ffast-math... Yes
# Checking if your compiler supports -mrecip... Yes
# Checking if your compiler supports -fvpt... No
# Checking if your compiler supports -ffunction-cse... No
# Checking if your compiler supports -ffunction-sections... Yes
# Checking if your compiler supports -fdata-sections... Yes
# Checking if your compiler supports -Wall... Yes
# Checking if your compiler supports -Wundef... Yes
# Checking if your compiler supports -Wcast-qual... Yes
# Checking if your compiler supports -Wpointer-arith... Yes
# Checking if your compiler supports -Wconversion... Yes
# Checking if your compiler supports -Wwrite-strings... Yes
# Checking if your compiler supports -Wsign-compare... Yes
# Checking if your compiler supports -Wredundant-decls... Yes
# Checking if your compiler supports -Winit-self... Yes
# Checking if your compiler supports -Wextra... Yes
# Checking if your compiler supports -Wsequence-points... Yes
# Checking if your compiler supports -Wparentheses... Yes
# Checking if your compiler supports -Wcast-align... Yes
# Checking if your compiler supports -Wformat... Yes
# Checking if your compiler supports -Wno-conversion... Yes
# Checking if your compiler supports -Waggregate-return... Yes
# Checking if your compiler supports -Wshadow... Yes
# Checking if your compiler supports -Winline... Yes
# Checking if your compiler supports -Wstrict-prototypes... Yes
# Checking if your compiler supports -Wmissing-prototypes... Yes
# Checking if your compiler supports -Woverloaded-virtual... Yes
# Checking if your compiler supports -Wno-non-virtual-dtor... Yes
# Checking if your CPU supports MMX... Yes, using -mmmx
# Checking if your CPU supports 3dnow... No
# Checking if your CPU supports SSE... Yes, using -msse
# Checking if your CPU supports SSE2... Yes, using -msse2
# Checking if your CPU supports SSE3... No
# Checking if your CPU supports SSSE3... Yes, using -mssse3
# Checking if your CPU supports sahf... Yes, but your compiler does not support -msahf
# - Using -DHAS_SAHF anyway
# Checking if your CPU supports VFP... No
# Updating Makefile.sets ...
# perl -pe 's@([-+a-zA-Z0-9._/]+)@lib/$1@g' < "lib/.depend" > ".libdepend"
# g++ -O3 -ffast-math -mrecip -ffunction-sections -fdata-sections -mmmx -msse -msse2 -mssse3 -DHAS_SAHF -Wall -Wundef -Wcast-qual -Wpointer-arith -Wconversion -Wwrite-strings -Wsign-compare -Wredundant-decls -Winit-self -Wextra -Wsequence-points -Wparentheses -Wcast-align -Wformat -Wno-conversion -Woverloaded-virtual -Wno-non-virtual-dtor -DVERSION=\"1.5.10.2\" -g -pipe -DUSE_PTHREADS=1 -pthread -DHAS_LZO2=1 -DHAS_ASM_LZO2=0 -DHAS_VSNPRINTF -DHAS_LUTIMES -DHAS_STDINT_H -DHAS_INTTYPES_H -DHAS_READDIR_R -DHAS_UINT16_T -DHAS_LONG_LONG -DHAS_SYS_TYPES_H `pkg-config --cflags fuse` -D_7ZIP_ST -c -o cromfs.o cromfs.cc
# warning: unknown warning option '-Wsequence-points'; did you mean '-Wsequence-point'? [-Wunknown-warning-option]
# cromfs.cc:606:31: error: no matching function for call to 'min'
# uint_fast32_t bytes = std::min(fblock.size() - startoffs, size);
# ^~~~~~~~
# /sysroot/bin/../include/c++/v1/algorithm:2570:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('unsigned long' vs. 'unsigned int')
# min(const _Tp& __a, const _Tp& __b)
# ^
# /sysroot/bin/../include/c++/v1/algorithm:2562:1: note: candidate function template not viable: requires 3 arguments, but 2 were provided
# min(const _Tp& __a, const _Tp& __b, _Compare __comp)
# ^
# 1 warning and 1 error generated.
# make: *** [: cromfs.o] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...
# red: Something unexpected had happened.
# Traceback (most recent call last):
# File "/usr/sbin/red", line 65, in main
# return capture(args)
# File "/usr/sbin/red", line 97, in capture
# json.dump(list(entries), handle, sort_keys=True, indent=4)
# File "/usr/sbin/red", line 135, in parse_exec_trace
# content = handler.read()
# File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
# return codecs.ascii_decode(input, self.errors)[0]
# UnicodeDecodeError: 'ascii' codec can't decode byte 0xa7 in position 74: ordinal not in range(128)

Printing config logfiles

CMD: config logfiles '/tmp/cromfs/src/cromfs-1.5.10.2/configure.log'
# Determining compiler version to use...
# 4.2.1 g++
# CXX=g++(4.2.1)
# 6.1.1 cpp
# CPP=cpp(6.1.1)
# 4.2.1 gcc
# 4.2.1 cc
# /sysroot/bin/ranlib: invalid option -- 'd'
# /sysroot/bin/ranlib: invalid option -- 'u'
# /sysroot/bin/ranlib: invalid option -- 'm'
# /sysroot/bin/ranlib: invalid option -- 'p'
# /sysroot/bin/ranlib: invalid option -- 'e'
# /sysroot/bin/ranlib: invalid option -- 'r'
# /sysroot/bin/ranlib: invalid option -- 's'
# /sysroot/bin/ranlib: invalid option -- 'i'
# /sysroot/bin/ranlib: invalid option -- 'o'
# /sysroot/bin/ranlib: invalid option -- 'n'
# GNU ranlib (GNU Binutils) 2.26.20160125
# Copyright (C) 2015 Free Software Foundation, Inc.
# This program is free software; you may redistribute it under the terms of
# the GNU General Public License version 3 or (at your option) any later version.
# This program has absolutely no warranty. gcc-ranlib
# CC=gcc(4.2.1)
#
# Checking if the determined compiler works...
# conftest.cpp:
# #include
# int main () { for(int a=0; a<10;++a) { for(int a=0; a<5;++a) { } } puts("ok"); return 0; }
# g++ conftest.cpp -o conftest
# Ok
# Checking if your compiler supports OpenMP...
# conftest.cpp:
# #include
# int main () { int x,y[100];for(x=0; x<100;++x)y[x]=5; return 0; }
# g++ conftest.cpp -fopenmp -o conftest
# /sysroot/bin/ld: error: cannot find -lomp
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# No
# Checking if your compiler supports -pthread...
# conftest.cpp:
# #include "lib/threadfun.hh"
# int main () { ThreadType t;JoinThread(t); return 0; }
# g++ conftest.cpp -pthread -o conftest
# Yes
# Checking for pkg-config...
# Yes
# Checking for fuse (dynamic)...
# conftest.cpp:
# #include
# int main () { return 0; }
# g++ conftest.cpp -pthread -DFUSE_USE_VERSION=25 -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -lfuse -pthread -o conftest
# Yes
# Checking for fuse (static)...
# conftest.cpp:
# #include
# int main () { return 0; }
# g++ conftest.cpp -pthread -static -DFUSE_USE_VERSION=25 -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -lfuse -pthread -o conftest
# /sysroot/bin/ld: error: cannot find -lc++
# /sysroot/bin/ld: error: cannot find -lunwind
# //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1/crtbeginT.o(.text+0x1): error: undefined reference to '__TMC_END__'
# //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1/crtbeginT.o(.text+0x41): error: undefined reference to '__TMC_END__'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# No
# Note: cromfs-driver-static will not be built, because
# your system does not have a statically linked Fuse library.
# You can still use the dynamically linked cromfs-driver.
# Checking for liblzo2 (dynamic)...
# conftest.cpp:
# #include
# int main () { return 0; }
# g++ conftest.cpp -pthread -llzo2 -o conftest
# conftest.cpp:1:10: fatal error: 'lzo/lzo1x.h' file not found
# #include
# ^
# 1 error generated.
# No
# Checking for liblzo2 (static)...
# conftest.cpp:
# #include
# int main () { return 0; }
# g++ conftest.cpp -pthread -Bstatic -llzo2 -Bdynamic -o conftest
# conftest.cpp:1:10: fatal error: 'lzo/lzo1x.h' file not found
# #include
# ^
# 1 error generated.
# No
# - In the absense of assembler-optimized liblzo2, mkcromfs will use lzo1x_1_15 (shipped)
# Checking for vsnprintf...
# conftest.cpp:
# #include
# int main () { char Buf[10];using namespace std; va_list ap;vsnprintf(Buf,sizeof Buf,"gruu",ap); return 0; }
# g++ conftest.cpp -pthread -o conftest
# Yes
# Checking for lutimes...
# conftest.cpp:
# #include
# int main () { struct timeval tv[2]; lutimes(__FILE__, tv); return 0; }
# g++ conftest.cpp -pthread -o conftest
# Yes
# Checking for stdint.h...
# conftest.cpp:
# #include
# int main () { typedef int x; return 0; }
# g++ conftest.cpp -pthread -o conftest
# Yes
# Checking for inttypes.h...
# conftest.cpp:
# #include
# int main () { typedef int x; return 0; }
# g++ conftest.cpp -pthread -o conftest
# Yes
# Checking for readdir_r...
# conftest.cpp:
# #include
# int main () { DIR*dir=opendir(".");dirent e,*ep;readdir_r(dir,&e,&ep); return 0; }
# g++ conftest.cpp -pthread -o conftest
# Yes
# Checking for uint16_t...
# conftest.cpp:
# #include
# int main () { typedef uint16_t x; return 0; }
# g++ conftest.cpp -pthread -o conftest
# Yes
# Checking for u_int16_t...
# conftest.cpp:
# #include
# int main () { typedef u_int16_t x; return 0; }
# g++ conftest.cpp -pthread -o conftest
# conftest.cpp:2:23: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'?
# int main () { typedef u_int16_t x; return 0; }
# ^~~~~~~~~
# uint16_t
# /sysroot/include/bits/alltypes.h:167:25: note: 'uint16_t' declared here
# typedef unsigned short uint16_t;
# ^
# 1 error generated.
# No
# Checking for __uint16_t...
# conftest.cpp:
# #include
# int main () { typedef _uint16_t x; return 0; }
# g++ conftest.cpp -pthread -o conftest
# conftest.cpp:2:23: error: unknown type name '_uint16_t'; did you mean 'uint16_t'?
# int main () { typedef _uint16_t x; return 0; }
# ^~~~~~~~~
# uint16_t
# /sysroot/include/bits/alltypes.h:167:25: note: 'uint16_t' declared here
# typedef unsigned short uint16_t;
# ^
# 1 error generated.
# No
# Checking for long long...
# conftest.cpp:
# #include
# int main () { typedef long long x; return 0; }
# g++ conftest.cpp -pthread -o conftest
# Yes
# Checking for sys/types.h...
# conftest.cpp:
# #include
# int main () { typedef int x; return 0; }
# g++ conftest.cpp -pthread -o conftest
# Yes
# Checking if your compiler supports -minline-stringops-dynamically...
# conftest.cpp:
# #include
# int main () { char buf1[64],buf2[80]="kissa"; memcpy(buf1,buf2,sizeof(buf2)-strlen(buf2)); return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -minline-stringops-dynamically -o conftest
# clang-3.8: error: unknown argument: '-minline-stringops-dynamically'
# No
# Checking if your compiler supports -ffast-math...
# conftest.cpp:
# #include
# int main () { int x,y[100];for(x=0; x<100;++x)y[x]=5; return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -ffast-math -o conftest
# Yes
# Checking if your compiler supports -mrecip...
# conftest.cpp:
# #include
# int main () { int x,y[100];for(x=0; x<100;++x)y[x]=5; return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -mrecip -o conftest
# Yes
# Checking if your compiler supports -fvpt...
# conftest.cpp:
# #include
# int main () { int x,y[100];for(x=0; x<100;++x)y[x]=5; return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -fvpt -o conftest
# clang-3.8: error: unknown argument: '-fvpt'
# No
# Checking if your compiler supports -ffunction-cse...
# conftest.cpp:
# #include
# int main () { int x,y[100];for(x=0; x<100;++x)y[x]=5; return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -ffunction-cse -o conftest
# clang-3.8: error: unknown argument: '-ffunction-cse'
# No
# Checking if your compiler supports -ffunction-sections...
# conftest.cpp:
# #include
# int main () { int x,y[100];for(x=0; x<100;++x)y[x]=5; return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -ffunction-sections -o conftest
# Yes
# Checking if your compiler supports -fdata-sections...
# conftest.cpp:
# #include
# int main () { int x,y[100];for(x=0; x<100;++x)y[x]=5; return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -fdata-sections -o conftest
# Yes
# Checking if your compiler supports -Wall...
# conftest.cpp:
# #include
# int main () { return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -Wall -o conftest
# Yes
# Checking if your compiler supports -Wundef...
# conftest.cpp:
# #include
# int main () { return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -Wundef -o conftest
# Yes
# Checking if your compiler supports -Wcast-qual...
# conftest.cpp:
# #include
# int main () { return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -Wcast-qual -o conftest
# Yes
# Checking if your compiler supports -Wpointer-arith...
# conftest.cpp:
# #include
# int main () { return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -Wpointer-arith -o conftest
# Yes
# Checking if your compiler supports -Wconversion...
# conftest.cpp:
# #include
# int main () { return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -Wconversion -o conftest
# Yes
# Checking if your compiler supports -Wwrite-strings...
# conftest.cpp:
# #include
# int main () { return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -Wwrite-strings -o conftest
# Yes
# Checking if your compiler supports -Wsign-compare...
# conftest.cpp:
# #include
# int main () { return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -Wsign-compare -o conftest
# Yes
# Checking if your compiler supports -Wredundant-decls...
# conftest.cpp:
# #include
# int main () { return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -Wredundant-decls -o conftest
# Yes
# Checking if your compiler supports -Winit-self...
# conftest.cpp:
# #include
# int main () { return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -Winit-self -o conftest
# Yes
# Checking if your compiler supports -Wextra...
# conftest.cpp:
# #include
# int main () { return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -Wextra -o conftest
# Yes
# Checking if your compiler supports -Wsequence-points...
# conftest.cpp:
# #include
# int main () { return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -Wsequence-points -o conftest
# warning: unknown warning option '-Wsequence-points'; did you mean '-Wsequence-point'? [-Wunknown-warning-option]
# 1 warning generated.
# Yes
# Checking if your compiler supports -Wparentheses...
# conftest.cpp:
# #include
# int main () { return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -Wparentheses -o conftest
# Yes
# Checking if your compiler supports -Wcast-align...
# conftest.cpp:
# #include
# int main () { return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -Wcast-align -o conftest
# Yes
# Checking if your compiler supports -Wformat...
# conftest.cpp:
# #include
# int main () { return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -Wformat -o conftest
# Yes
# Checking if your compiler supports -Wno-conversion...
# conftest.cpp:
# #include
# int main () { return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -Wno-conversion -o conftest
# Yes
# Checking if your compiler supports -Waggregate-return...
# conftest.cpp:
# #include
# int main () { return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -Waggregate-return -o conftest
# Yes
# Checking if your compiler supports -Wshadow...
# conftest.cpp:
# #include
# int main () { return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -Wshadow -o conftest
# Yes
# Checking if your compiler supports -Winline...
# conftest.cpp:
# #include
# int main () { return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -Winline -o conftest
# Yes
# Checking if your compiler supports -Wstrict-prototypes...
# conftest.cpp:
# #include
# int main () { return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -Wstrict-prototypes -o conftest
# Yes
# Checking if your compiler supports -Wmissing-prototypes...
# conftest.cpp:
# #include
# int main () { return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -Wmissing-prototypes -o conftest
# Yes
# Checking if your compiler supports -Woverloaded-virtual...
# conftest.cpp:
# #include
# int main () { return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -Woverloaded-virtual -o conftest
# Yes
# Checking if your compiler supports -Wno-non-virtual-dtor...
# conftest.cpp:
# #include
# int main () { return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -Wno-non-virtual-dtor -o conftest
# Yes
# Your CPU has these features:
# - abm acpi aes aperfmperf apic arat arch_perfmon avx
# - avx2 bmi1 bmi2 bts clflush cmov constant_tsc cqm cqm_llc
# - cqm_occup_llc cx16 cx8 dca de ds_cpl dtes64 dtherm dts epb
# - ept erms est f16c flexpriority fma fpu fsgsbase fxsr ht ida
# - intel_ppin invpcid lahf_lm lm mca mce mmx monitor movbe msr
# - mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm
# - pdpe1gb pebs pge pln pni popcnt pse pse36 pts rdrand rdtscp
# - rep_good sdbg sep smep ss sse sse2 sse4_1 sse4_2 ssse3
# - syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer
# - vme vmx vnmi vpid x2apic xsave xsaveopt xtopology xtpr
# Checking if your CPU supports MMX...
# conftest.cpp:
# #include
# int main () { puts("ok"); return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -mmmx -o conftest
# Yes, using -mmmx
# Checking if your CPU supports 3dnow...
# No
# Checking if your CPU supports SSE...
# conftest.cpp:
# #include
# int main () { puts("ok"); return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -msse -o conftest
# Yes, using -msse
# Checking if your CPU supports SSE2...
# conftest.cpp:
# #include
# int main () { puts("ok"); return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -msse2 -o conftest
# Yes, using -msse2
# Checking if your CPU supports SSE3...
# No
# Checking if your CPU supports SSSE3...
# conftest.cpp:
# #include
# int main () { puts("ok"); return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -mssse3 -o conftest
# Yes, using -mssse3
# Checking if your CPU supports sahf...
# conftest.cpp:
# #include
# int main () { puts("ok"); return 0; }
# g++ conftest.cpp -pthread -Xlinker --gc-sections -msahf -o conftest
# clang-3.8: error: unknown argument: '-msahf'
# Yes, but your compiler does not support -msahf
# - Using -DHAS_SAHF anyway
# Checking if your CPU supports VFP...
# No
# Updating Makefile.sets ...