Build of oprofile with musl toolchain

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

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

SLOCLanguage
19,678 cpp
11,383 sh
10,024 ansic
6 makefile
41,091 total

The process tree of the build process is here.

List of Errors

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: oprofile 1.1.0-2 (Wed Apr 5 00:51:21 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 style of include used by make... GNU
# 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 dependency style of clang... gcc3
# checking whether basename is declared... yes
# checking for x86_64-unknown-linux-ranlib... no
# checking for ranlib... ranlib
# configure: WARNING: using cross tools not prefixed with host triplet
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# checking how to print strings... printf
# checking for a sed that does not truncate output... /usr/sbin/sed
# checking for grep that handles long lines and -e... /usr/sbin/grep
# checking for egrep... /usr/sbin/grep -E
# checking for fgrep... /usr/sbin/grep -F
# checking for ld used by clang... /sysroot/bin/ld
# checking if the linker (/sysroot/bin/ld) is GNU ld... yes
# checking for BSD- or MS-compatible name lister (nm)... /sysroot/bin/nm -B
# checking the name lister (/sysroot/bin/nm -B) interface... BSD nm
# checking whether ln -s works... yes
# checking the maximum length of command line arguments... 1572864
# checking whether the shell understands some XSI constructs... yes
# checking whether the shell understands "+="... yes
# checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
# checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
# checking for /sysroot/bin/ld option to reload object files... -r
# checking for x86_64-unknown-linux-objdump... no
# checking for objdump... objdump
# checking how to recognize dependent libraries... pass_all
# checking for x86_64-unknown-linux-dlltool... no
# checking for dlltool... no
# checking how to associate runtime and link libraries... printf %s\n
# checking for x86_64-unknown-linux-ar... no
# checking for ar... ar
# checking for archiver @FILE support... @
# checking for x86_64-unknown-linux-strip... strip
# checking for x86_64-unknown-linux-ranlib... ranlib
# checking command to parse /sysroot/bin/nm -B output from clang object... ok
# checking for sysroot... no
# checking for x86_64-unknown-linux-mt... no
# checking for mt... no
# checking if : is a manifest tool... no
# checking how to run the C preprocessor... clang -E
# 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 dlfcn.h... yes
# checking for objdir... .libs
# checking if clang supports -fno-rtti -fno-exceptions... yes
# checking for clang option to produce PIC... -fPIC -DPIC
# checking if clang PIC flag -fPIC -DPIC works... yes
# checking if clang static flag -static works... no
# checking if clang supports -c -o file.o... yes
# checking if clang supports -c -o file.o... (cached) yes
# checking whether the clang linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries... yes
# checking whether -lc should be explicitly linked in... no
# checking dynamic linker characteristics... GNU/Linux ld.so
# checking how to hardcode library paths into programs... immediate
# checking whether stripping libraries is possible... yes
# checking if libtool supports shared libraries... yes
# checking whether to build shared libraries... yes
# checking whether to build static libraries... yes
# checking for x86_64-unknown-linux-pkg-config... no
# checking for pkg-config... /usr/sbin/pkg-config
# checking pkg-config is at least version 0.9.0... yes
# checking for x86_64-unknown-linux-gcc... (cached) clang
# checking whether we are using the GNU C compiler... (cached) yes
# checking whether clang accepts -g... (cached) yes
# checking for clang option to accept ISO C89... (cached) none needed
# checking whether clang understands -c and -o together... (cached) yes
# checking dependency style of clang... (cached) gcc3
# checking how to run the C preprocessor... clang -E
# checking whether we are using the GNU C++ compiler... yes
# checking whether clang++ accepts -g... yes
# checking dependency style of clang++... gcc3
# checking how to run the C++ preprocessor... clang++ -E
# checking for ld used by clang++... /sysroot/bin/ld -m elf_x86_64
# checking if the linker (/sysroot/bin/ld -m elf_x86_64) is GNU ld... yes
# checking whether the clang++ linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries... yes
# checking for clang++ option to produce PIC... -fPIC -DPIC
# checking if clang++ PIC flag -fPIC -DPIC works... yes
# checking if clang++ static flag -static works... no
# checking if clang++ supports -c -o file.o... yes
# checking if clang++ supports -c -o file.o... (cached) yes
# checking whether the clang++ linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries... yes
# checking dynamic linker characteristics... (cached) GNU/Linux ld.so
# checking how to hardcode library paths into programs... immediate
# checking for ld... /sysroot/bin/ld -m elf_x86_64
# configure: error: Your kernel version is older than the required level (2.6.31) to build oprofile.
# ==> ERROR: A failure occurred in build().
# Aborting...

Printing config logfiles

CMD: config logfiles '/tmp/oprofile/src/oprofile-1.1.0/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 OProfile configure 1.1.0, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr --with-x
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 7ad1a8e15628
# 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:2586: checking for a BSD-compatible install
# configure:2654: result: /usr/bin/install -c
# configure:2665: checking whether build environment is sane
# configure:2720: result: yes
# configure:2779: checking for x86_64-unknown-linux-strip
# configure:2809: result: no
# configure:2819: checking for strip
# configure:2835: found /sysroot/bin/strip
# configure:2846: result: strip
# configure:2871: checking for a thread-safe mkdir -p
# configure:2910: result: /usr/sbin/mkdir -p
# configure:2917: checking for gawk
# configure:2933: found /usr/sbin/gawk
# configure:2944: result: gawk
# configure:2955: checking whether make sets $(MAKE)
# configure:2977: result: yes
# configure:3006: checking whether make supports nested variables
# configure:3023: result: yes
# configure:3164: checking for style of include used by make
# configure:3192: result: GNU
# configure:3223: checking for x86_64-unknown-linux-gcc
# configure:3250: result: clang
# configure:3519: checking for C compiler version
# configure:3528: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:3539: $? = 0
# configure:3528: 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:3539: $? = 0
# configure:3528: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:3539: $? = 1
# configure:3528: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:3539: $? = 1
# configure:3559: checking whether the C compiler works
# configure:3581: clang conftest.c >&5
# configure:3585: $? = 0
# configure:3633: result: yes
# configure:3636: checking for C compiler default output file name
# configure:3638: result: a.out
# configure:3644: checking for suffix of executables
# configure:3651: clang -o conftest conftest.c >&5
# configure:3655: $? = 0
# configure:3677: result:
# configure:3699: checking whether we are cross compiling
# configure:3707: clang -o conftest conftest.c >&5
# configure:3711: $? = 0
# configure:3718: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:3722: $? = 127
# configure:3737: result: yes
# configure:3742: checking for suffix of object files
# configure:3764: clang -c conftest.c >&5
# configure:3768: $? = 0
# configure:3789: result: o
# configure:3793: checking whether we are using the GNU C compiler
# configure:3812: clang -c conftest.c >&5
# configure:3812: $? = 0
# configure:3821: result: yes
# configure:3830: checking whether clang accepts -g
# configure:3850: clang -c -g conftest.c >&5
# configure:3850: $? = 0
# configure:3891: result: yes
# configure:3908: checking for clang option to accept ISO C89
# configure:3971: clang -c conftest.c >&5
# configure:3971: $? = 0
# configure:3984: result: none needed
# configure:4009: checking whether clang understands -c and -o together
# configure:4031: clang -c conftest.c -o conftest2.o
# configure:4034: $? = 0
# configure:4031: clang -c conftest.c -o conftest2.o
# configure:4034: $? = 0
# configure:4046: result: yes
# configure:4065: checking dependency style of clang
# configure:4176: result: gcc3
# configure:4192: checking whether basename is declared
# configure:4192: clang -c conftest.c >&5
# configure:4192: $? = 0
# configure:4192: result: yes
# configure:4207: checking for x86_64-unknown-linux-ranlib
# configure:4237: result: no
# configure:4247: checking for ranlib
# configure:4263: found /sysroot/bin/ranlib
# configure:4274: result: ranlib
# configure:4286: WARNING: using cross tools not prefixed with host triplet
# configure:4325: checking build system type
# configure:4339: result: x86_64-unknown-linux-gnu
# configure:4359: checking host system type
# configure:4372: result: x86_64-unknown-linux-gnu
# configure:4413: checking how to print strings
# configure:4440: result: printf
# configure:4461: checking for a sed that does not truncate output
# configure:4525: result: /usr/sbin/sed
# configure:4543: checking for grep that handles long lines and -e
# configure:4601: result: /usr/sbin/grep
# configure:4606: checking for egrep
# configure:4668: result: /usr/sbin/grep -E
# configure:4673: checking for fgrep
# configure:4735: result: /usr/sbin/grep -F
# configure:4770: checking for ld used by clang
# configure:4837: result: /sysroot/bin/ld
# configure:4844: checking if the linker (/sysroot/bin/ld) is GNU ld
# configure:4859: result: yes
# configure:4871: checking for BSD- or MS-compatible name lister (nm)
# configure:4920: result: /sysroot/bin/nm -B
# configure:5050: checking the name lister (/sysroot/bin/nm -B) interface
# configure:5057: clang -c conftest.c >&5
# configure:5060: /sysroot/bin/nm -B "conftest.o"
# configure:5063: output
# 0000000000000000 B some_variable
# configure:5070: result: BSD nm
# configure:5073: checking whether ln -s works
# configure:5077: result: yes
# configure:5085: checking the maximum length of command line arguments
# configure:5215: result: 1572864
# configure:5232: checking whether the shell understands some XSI constructs
# configure:5242: result: yes
# configure:5246: checking whether the shell understands "+="
# configure:5252: result: yes
# configure:5287: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format
# configure:5327: result: func_convert_file_noop
# configure:5334: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format
# configure:5354: result: func_convert_file_noop
# configure:5361: checking for /sysroot/bin/ld option to reload object files
# configure:5368: result: -r
# configure:5402: checking for x86_64-unknown-linux-objdump
# configure:5432: result: no
# configure:5442: checking for objdump
# configure:5458: found /sysroot/bin/objdump
# configure:5469: result: objdump
# configure:5501: checking how to recognize dependent libraries
# configure:5703: result: pass_all
# configure:5748: checking for x86_64-unknown-linux-dlltool
# configure:5778: result: no
# configure:5788: checking for dlltool
# configure:5818: result: no
# configure:5848: checking how to associate runtime and link libraries
# configure:5875: result: printf %s\n
# configure:5891: checking for x86_64-unknown-linux-ar
# configure:5921: result: no
# configure:5935: checking for ar
# configure:5951: found /sysroot/bin/ar
# configure:5962: result: ar
# configure:5999: checking for archiver @FILE support
# configure:6016: clang -c conftest.c >&5
# configure:6016: $? = 0
# configure:6019: ar cru libconftest.a @conftest.lst >&5
# /r: `u' modifier ignored since `D' is the default (see `U')
# configure:6022: $? = 0
# configure:6027: ar cru libconftest.a @conftest.lst >&5
# /r: `u' modifier ignored since `D' is the default (see `U')
# /r: conftest.o: No such file or directory
# configure:6030: $? = 1
# configure:6042: result: @
# configure:6060: checking for x86_64-unknown-linux-strip
# configure:6087: result: strip
# configure:6159: checking for x86_64-unknown-linux-ranlib
# configure:6186: result: ranlib
# configure:6328: checking command to parse /sysroot/bin/nm -B output from clang object
# configure:6448: clang -c conftest.c >&5
# configure:6451: $? = 0
# configure:6455: /sysroot/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
# configure:6458: $? = 0
# configure:6524: clang -o conftest conftest.c conftstm.o >&5
# configure:6527: $? = 0
# configure:6565: result: ok
# configure:6602: checking for sysroot
# configure:6632: result: no
# configure:6709: clang -c conftest.c >&5
# configure:6712: $? = 0
# configure:6854: checking for x86_64-unknown-linux-mt
# configure:6884: result: no
# configure:6894: checking for mt
# configure:6924: result: no
# configure:6944: checking if : is a manifest tool
# configure:6950: : '-?'
# configure:6958: result: no
# configure:7600: checking how to run the C preprocessor
# configure:7631: clang -E conftest.c
# configure:7631: $? = 0
# configure:7645: clang -E conftest.c
# conftest.c:12:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:7645: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "OProfile"
# | #define PACKAGE_TARNAME "oprofile"
# | #define PACKAGE_VERSION "1.1.0"
# | #define PACKAGE_STRING "OProfile 1.1.0"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "oprofile"
# | #define VERSION "1.1.0"
# | #define HAVE_DECL_BASENAME 1
# | /* end confdefs.h. */
# | #include
# configure:7670: result: clang -E
# configure:7690: clang -E conftest.c
# configure:7690: $? = 0
# configure:7704: clang -E conftest.c
# conftest.c:12:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:7704: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "OProfile"
# | #define PACKAGE_TARNAME "oprofile"
# | #define PACKAGE_VERSION "1.1.0"
# | #define PACKAGE_STRING "OProfile 1.1.0"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "oprofile"
# | #define VERSION "1.1.0"
# | #define HAVE_DECL_BASENAME 1
# | /* end confdefs.h. */
# | #include
# configure:7733: checking for ANSI C header files
# configure:7753: clang -c conftest.c >&5
# configure:7753: $? = 0
# configure:7837: result: yes
# configure:7850: checking for sys/types.h
# configure:7850: clang -c conftest.c >&5
# configure:7850: $? = 0
# configure:7850: result: yes
# configure:7850: checking for sys/stat.h
# configure:7850: clang -c conftest.c >&5
# configure:7850: $? = 0
# configure:7850: result: yes
# configure:7850: checking for stdlib.h
# configure:7850: clang -c conftest.c >&5
# configure:7850: $? = 0
# configure:7850: result: yes
# configure:7850: checking for string.h
# configure:7850: clang -c conftest.c >&5
# configure:7850: $? = 0
# configure:7850: result: yes
# configure:7850: checking for memory.h
# configure:7850: clang -c conftest.c >&5
# configure:7850: $? = 0
# configure:7850: result: yes
# configure:7850: checking for strings.h
# configure:7850: clang -c conftest.c >&5
# configure:7850: $? = 0
# configure:7850: result: yes
# configure:7850: checking for inttypes.h
# configure:7850: clang -c conftest.c >&5
# configure:7850: $? = 0
# configure:7850: result: yes
# configure:7850: checking for stdint.h
# configure:7850: clang -c conftest.c >&5
# configure:7850: $? = 0
# configure:7850: result: yes
# configure:7850: checking for unistd.h
# configure:7850: clang -c conftest.c >&5
# configure:7850: $? = 0
# configure:7850: result: yes
# configure:7864: checking for dlfcn.h
# configure:7864: clang -c conftest.c >&5
# configure:7864: $? = 0
# configure:7864: result: yes
# configure:8070: checking for objdir
# configure:8085: result: .libs
# configure:8356: checking if clang supports -fno-rtti -fno-exceptions
# configure:8374: clang -c -fno-rtti -fno-exceptions conftest.c >&5
# configure:8378: $? = 0
# configure:8391: result: yes
# configure:8718: checking for clang option to produce PIC
# configure:8725: result: -fPIC -DPIC
# configure:8733: checking if clang PIC flag -fPIC -DPIC works
# configure:8751: clang -c -fPIC -DPIC -DPIC conftest.c >&5
# configure:8755: $? = 0
# configure:8768: result: yes
# configure:8797: checking if clang static flag -static works
# configure:8825: result: no
# configure:8840: checking if clang supports -c -o file.o
# configure:8861: clang -c -o out/conftest2.o conftest.c >&5
# configure:8865: $? = 0
# configure:8887: result: yes
# configure:8895: checking if clang supports -c -o file.o
# configure:8942: result: yes
# configure:8975: checking whether the clang linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries
# configure:10128: result: yes
# configure:10165: checking whether -lc should be explicitly linked in
# configure:10173: clang -c conftest.c >&5
# configure:10176: $? = 0
# configure:10191: clang -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/sbin/grep -lc \>/dev/null 2\>\&1
# configure:10194: $? = 0
# configure:10208: result: no
# configure:10368: checking dynamic linker characteristics
# configure:10879: clang -o conftest -Wl,-rpath -Wl,/foo conftest.c >&5
# configure:10879: $? = 0
# configure:11105: result: GNU/Linux ld.so
# configure:11212: checking how to hardcode library paths into programs
# configure:11237: result: immediate
# configure:11777: checking whether stripping libraries is possible
# configure:11782: result: yes
# configure:11817: checking if libtool supports shared libraries
# configure:11819: result: yes
# configure:11822: checking whether to build shared libraries
# configure:11843: result: yes
# configure:11846: checking whether to build static libraries
# configure:11850: result: yes
# configure:11898: checking for x86_64-unknown-linux-pkg-config
# configure:11931: result: no
# configure:11941: checking for pkg-config
# configure:11959: found /usr/sbin/pkg-config
# configure:11971: result: /usr/sbin/pkg-config
# configure:11996: checking pkg-config is at least version 0.9.0
# configure:11999: result: yes
# configure:12054: checking for x86_64-unknown-linux-gcc
# configure:12081: result: clang
# configure:12350: checking for C compiler version
# configure:12359: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:12370: $? = 0
# configure:12359: 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:12370: $? = 0
# configure:12359: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:12370: $? = 1
# configure:12359: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:12370: $? = 1
# configure:12374: checking whether we are using the GNU C compiler
# configure:12402: result: yes
# configure:12411: checking whether clang accepts -g
# configure:12472: result: yes
# configure:12489: checking for clang option to accept ISO C89
# configure:12565: result: none needed
# configure:12590: checking whether clang understands -c and -o together
# configure:12627: result: yes
# configure:12646: checking dependency style of clang
# configure:12757: result: gcc3
# configure:12777: checking how to run the C preprocessor
# configure:12847: result: clang -E
# configure:12867: clang -E conftest.c
# configure:12867: $? = 0
# configure:12881: clang -E conftest.c
# conftest.c:24:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:12881: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "OProfile"
# | #define PACKAGE_TARNAME "oprofile"
# | #define PACKAGE_VERSION "1.1.0"
# | #define PACKAGE_STRING "OProfile 1.1.0"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "oprofile"
# | #define VERSION "1.1.0"
# | #define HAVE_DECL_BASENAME 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
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | /* end confdefs.h. */
# | #include
# configure:13021: checking for C++ compiler version
# configure:13030: clang++ --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:13041: $? = 0
# configure:13030: 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:13041: $? = 0
# configure:13030: clang++ -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:13041: $? = 1
# configure:13030: clang++ -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:13041: $? = 1
# configure:13045: checking whether we are using the GNU C++ compiler
# configure:13064: clang++ -c conftest.cpp >&5
# configure:13064: $? = 0
# configure:13073: result: yes
# configure:13082: checking whether clang++ accepts -g
# configure:13102: clang++ -c -g conftest.cpp >&5
# configure:13102: $? = 0
# configure:13143: result: yes
# configure:13168: checking dependency style of clang++
# configure:13279: result: gcc3
# configure:13312: checking how to run the C++ preprocessor
# configure:13339: clang++ -E conftest.cpp
# configure:13339: $? = 0
# configure:13353: clang++ -E conftest.cpp
# conftest.cpp:24:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:13353: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "OProfile"
# | #define PACKAGE_TARNAME "oprofile"
# | #define PACKAGE_VERSION "1.1.0"
# | #define PACKAGE_STRING "OProfile 1.1.0"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "oprofile"
# | #define VERSION "1.1.0"
# | #define HAVE_DECL_BASENAME 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
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | /* end confdefs.h. */
# | #include
# configure:13378: result: clang++ -E
# configure:13398: clang++ -E conftest.cpp
# configure:13398: $? = 0
# configure:13412: clang++ -E conftest.cpp
# conftest.cpp:24:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:13412: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "OProfile"
# | #define PACKAGE_TARNAME "oprofile"
# | #define PACKAGE_VERSION "1.1.0"
# | #define PACKAGE_STRING "OProfile 1.1.0"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "oprofile"
# | #define VERSION "1.1.0"
# | #define HAVE_DECL_BASENAME 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
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | /* end confdefs.h. */
# | #include
# configure:13581: checking for ld used by clang++
# configure:13648: result: /sysroot/bin/ld -m elf_x86_64
# configure:13655: checking if the linker (/sysroot/bin/ld -m elf_x86_64) is GNU ld
# configure:13670: result: yes
# configure:13725: checking whether the clang++ linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries
# configure:14730: result: yes
# configure:14766: clang++ -c conftest.cpp >&5
# configure:14769: $? = 0
# configure:15289: checking for clang++ option to produce PIC
# configure:15296: result: -fPIC -DPIC
# configure:15304: checking if clang++ PIC flag -fPIC -DPIC works
# configure:15322: clang++ -c -fPIC -DPIC -DPIC conftest.cpp >&5
# configure:15326: $? = 0
# configure:15339: result: yes
# configure:15362: checking if clang++ static flag -static works
# configure:15390: result: no
# configure:15402: checking if clang++ supports -c -o file.o
# configure:15423: clang++ -c -o out/conftest2.o conftest.cpp >&5
# configure:15427: $? = 0
# configure:15449: result: yes
# configure:15454: checking if clang++ supports -c -o file.o
# configure:15501: result: yes
# configure:15531: checking whether the clang++ linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries
# configure:15567: result: yes
# configure:15708: checking dynamic linker characteristics
# configure:16379: result: GNU/Linux ld.so
# configure:16432: checking how to hardcode library paths into programs
# configure:16457: result: immediate
# configure:16499: checking for ld
# configure:16526: result: /sysroot/bin/ld -m elf_x86_64
# configure:16578: clang -c -I -Werror conftest.c >&5
# conftest.c:25:12: fatal error: 'linux/version.h' file not found
# #include
# ^
# 1 error generated.
# configure:16578: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "OProfile"
# | #define PACKAGE_TARNAME "oprofile"
# | #define PACKAGE_VERSION "1.1.0"
# | #define PACKAGE_STRING "OProfile 1.1.0"
# | #define PACKAGE_BUGREPORT ""
# | #define PACKAGE_URL ""
# | #define PACKAGE "oprofile"
# | #define VERSION "1.1.0"
# | #define HAVE_DECL_BASENAME 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
# | #define HAVE_DLFCN_H 1
# | #define LT_OBJDIR ".libs/"
# | /* end confdefs.h. */
# |
# | #include
# |
# | int
# | main ()
# | {
# |
# | #if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 31)
# | break_me_hard(\\);
# | #endif
# |
# | ;
# | return 0;
# | }
# configure:16588: error: Your kernel version is older than the required level (2.6.31) to build oprofile.
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-unknown-linux-gnu
# ac_cv_c_compiler_gnu=yes
# ac_cv_cxx_compiler_gnu=yes
# ac_cv_env_CCC_set=
# ac_cv_env_CCC_value=
# 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_CXXCPP_set=
# ac_cv_env_CXXCPP_value=
# ac_cv_env_CXXFLAGS_set=set
# ac_cv_env_CXXFLAGS_value=
# ac_cv_env_CXX_set=set
# ac_cv_env_CXX_value=clang++
# ac_cv_env_LDFLAGS_set=set
# ac_cv_env_LDFLAGS_value=
# ac_cv_env_LIBS_set=
# ac_cv_env_LIBS_value=
# ac_cv_env_PKG_CONFIG_LIBDIR_set=
# ac_cv_env_PKG_CONFIG_LIBDIR_value=
# ac_cv_env_PKG_CONFIG_PATH_set=
# ac_cv_env_PKG_CONFIG_PATH_value=
# ac_cv_env_PKG_CONFIG_set=
# ac_cv_env_PKG_CONFIG_value=
# ac_cv_env_XMKMF_set=
# ac_cv_env_XMKMF_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_have_decl_basename=yes
# ac_cv_header_dlfcn_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_objext=o
# ac_cv_path_EGREP='/usr/sbin/grep -E'
# ac_cv_path_FGREP='/usr/sbin/grep -F'
# ac_cv_path_GREP=/usr/sbin/grep
# ac_cv_path_SED=/usr/sbin/sed
# ac_cv_path_ac_pt_PKG_CONFIG=/usr/sbin/pkg-config
# 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_CXXCPP='clang++ -E'
# ac_cv_prog_LD='/sysroot/bin/ld -m elf_x86_64'
# ac_cv_prog_RANLIB=ranlib
# ac_cv_prog_STRIP=strip
# ac_cv_prog_ac_ct_AR=ar
# ac_cv_prog_ac_ct_OBJDUMP=objdump
# ac_cv_prog_ac_ct_RANLIB=ranlib
# ac_cv_prog_ac_ct_STRIP=strip
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
# ac_cv_prog_cxx_g=yes
# ac_cv_prog_make_make_set=yes
# am_cv_CC_dependencies_compiler_type=gcc3
# am_cv_CXX_dependencies_compiler_type=gcc3
# am_cv_make_support_nested_variables=yes
# am_cv_prog_cc_c_o=yes
# lt_cv_ar_at_file=@
# lt_cv_archive_cmds_need_lc=no
# lt_cv_deplibs_check_method=pass_all
# lt_cv_file_magic_cmd='$MAGIC_CMD'
# lt_cv_file_magic_test_file=
# lt_cv_ld_reload_flag=-r
# lt_cv_nm_interface='BSD nm'
# lt_cv_objdir=.libs
# lt_cv_path_LD=/sysroot/bin/ld
# lt_cv_path_LDCXX='/sysroot/bin/ld -m elf_x86_64'
# lt_cv_path_NM='/sysroot/bin/nm -B'
# lt_cv_path_mainfest_tool=no
# lt_cv_prog_compiler_c_o=yes
# lt_cv_prog_compiler_c_o_CXX=yes
# lt_cv_prog_compiler_pic='-fPIC -DPIC'
# lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC'
# lt_cv_prog_compiler_pic_works=yes
# lt_cv_prog_compiler_pic_works_CXX=yes
# lt_cv_prog_compiler_rtti_exceptions=yes
# lt_cv_prog_compiler_static_works=no
# lt_cv_prog_compiler_static_works_CXX=no
# lt_cv_prog_gnu_ld=yes
# lt_cv_prog_gnu_ldcxx=yes
# lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
# lt_cv_shlibpath_overrides_runpath=yes
# lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
# lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
# lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
# lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
# lt_cv_sys_max_cmd_len=1572864
# lt_cv_to_host_file_cmd=func_convert_file_noop
# lt_cv_to_tool_file_cmd=func_convert_file_noop
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/oprofile/src/oprofile-1.1.0/missing aclocal-1.15'
# AMDEPBACKSLASH='\'
# AMDEP_FALSE='#'
# AMDEP_TRUE=''
# AMTAR='$${TAR-tar}'
# AM_BACKSLASH='\'
# AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
# AM_DEFAULT_VERBOSITY='1'
# AM_V='$(V)'
# AR='ar'
# AUTOCONF='${SHELL} /tmp/oprofile/src/oprofile-1.1.0/missing autoconf'
# AUTOHEADER='${SHELL} /tmp/oprofile/src/oprofile-1.1.0/missing autoheader'
# AUTOMAKE='${SHELL} /tmp/oprofile/src/oprofile-1.1.0/missing automake-1.15'
# AWK='gawk'
# BFD_LIBS=''
# BUILD_FOR_PERF_EVENT_FALSE=''
# BUILD_FOR_PERF_EVENT_TRUE=''
# BUILD_JVMPI_AGENT_FALSE=''
# BUILD_JVMPI_AGENT_TRUE=''
# BUILD_JVMTI_AGENT_FALSE=''
# BUILD_JVMTI_AGENT_TRUE=''
# CAT_ENTRY_END=''
# CAT_ENTRY_START=''
# CC='clang'
# CCDEPMODE='depmode=gcc3'
# CFLAGS=''
# CHECK_ACCOUNT_FALSE=''
# CHECK_ACCOUNT_TRUE=''
# CPP='clang -E'
# CPPFLAGS=''
# CXX='clang++'
# CXXCPP='clang++ -E'
# CXXDEPMODE='depmode=gcc3'
# CXXFLAGS=''
# CYGPATH_W='echo'
# DATE='Wed 05 April 2017'
# DEFS=''
# DEPDIR='.deps'
# DLLTOOL='false'
# DOCBOOK_ROOT=''
# DSYMUTIL=''
# DUMPBIN=''
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP='/usr/sbin/grep -E'
# EXEEXT=''
# EXTRA_CFLAGS_MODULE=''
# FGREP='/usr/sbin/grep -F'
# GREP='/usr/sbin/grep'
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
# JAVA_HOMEDIR=''
# LD='/sysroot/bin/ld -m elf_x86_64'
# LDFLAGS=''
# LIBERTY_LIBS=''
# LIBOBJS=''
# LIBS=''
# LIBTOOL='$(SHELL) $(top_builddir)/libtool'
# LIPO=''
# LN_S='ln -s'
# LTLIBOBJS=''
# MAKEINFO='${SHELL} /tmp/oprofile/src/oprofile-1.1.0/missing makeinfo'
# MANIFEST_TOOL=':'
# MKDIR_P='/usr/sbin/mkdir -p'
# NM='/sysroot/bin/nm -B'
# NMEDIT=''
# OBJDUMP='objdump'
# OBJEXT='o'
# OP_CFLAGS=''
# OP_CPPFLAGS=''
# OP_CXXFLAGS=''
# OP_DOCDIR=''
# OP_LDFLAGS=''
# OTOOL64=''
# OTOOL=''
# PACKAGE='oprofile'
# PACKAGE_BUGREPORT=''
# PACKAGE_NAME='OProfile'
# PACKAGE_STRING='OProfile 1.1.0'
# PACKAGE_TARNAME='oprofile'
# PACKAGE_URL=''
# PACKAGE_VERSION='1.1.0'
# PATH_SEPARATOR=':'
# PERF_EVENT_FLAGS=''
# PFM_LIB=''
# PKG_CONFIG='/usr/sbin/pkg-config'
# PKG_CONFIG_LIBDIR=''
# PKG_CONFIG_PATH=''
# POPT_LIBS=''
# PTRDIFF_T_TYPE=''
# RANLIB='ranlib'
# RT_LIB=''
# SED='/usr/sbin/sed'
# SET_MAKE=''
# SHELL='/bin/sh'
# SIZE_T_TYPE=''
# STRIP='strip'
# VERSION='1.1.0'
# XMKMF=''
# XML_CATALOG=''
# XSLTPROC=''
# XSLTPROC_FLAGS=''
# X_CFLAGS=''
# X_EXTRA_LIBS=''
# X_LIBS=''
# X_PRE_LIBS=''
# ac_ct_AR='ar'
# ac_ct_CC=''
# ac_ct_CXX=''
# ac_ct_DUMPBIN=''
# am__EXEEXT_FALSE=''
# am__EXEEXT_TRUE=''
# am__fastdepCC_FALSE='#'
# am__fastdepCC_TRUE=''
# am__fastdepCXX_FALSE='#'
# am__fastdepCXX_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='x86_64-unknown-linux-gnu'
# build_alias=''
# build_cpu='x86_64'
# build_os='linux-gnu'
# build_vendor='unknown'
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# dvidir='${docdir}'
# exec_prefix='NONE'
# have_xsltproc_FALSE=''
# have_xsltproc_TRUE=''
# host='x86_64-unknown-linux-gnu'
# host_alias='x86_64-unknown-linux'
# host_cpu='x86_64'
# host_os='linux-gnu'
# host_vendor='unknown'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# install_sh='${SHELL} /tmp/oprofile/src/oprofile-1.1.0/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=''
# topdir=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME "OProfile"
# #define PACKAGE_TARNAME "oprofile"
# #define PACKAGE_VERSION "1.1.0"
# #define PACKAGE_STRING "OProfile 1.1.0"
# #define PACKAGE_BUGREPORT ""
# #define PACKAGE_URL ""
# #define PACKAGE "oprofile"
# #define VERSION "1.1.0"
# #define HAVE_DECL_BASENAME 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
# #define HAVE_DLFCN_H 1
# #define LT_OBJDIR ".libs/"
#
# configure: exit 1