Build of dri2proto with clang_glibc toolchain

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

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

SLOCLanguage
3,436 sh
599 makefile
322 ansic
4,357 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...

Copied permanent toolchain into container-local sysroot
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/sbin --> /sysroot/sbin
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/etc --> /sysroot/etc
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/var --> /sysroot/var
# /toolchain_root/usr --> /sysroot/usr
# /toolchain_root/glibc-build --> /sysroot/glibc-build
# /toolchain_root/x86_64-pc-linux-gnu --> /sysroot/x86_64-pc-linux-gnu
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/usr/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: dri2proto 2.8-2 (Thu Apr 13 20:28:16 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (1) xorg-util-macros-1.19.0-1
#
# Total Installed Size: 0.12 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 xorg-util-macros...
# ==> 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 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/bin/mkdir -p
# checking for gawk... gawk
# checking whether make sets $(MAKE)... yes
# checking whether to enable maintainer-specific portions of Makefiles... no
# 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... no
# 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 dependency style of clang... none
# checking for clang option to accept ISO C99... none needed
# checking how to run the C preprocessor... clang -E
# checking for grep that handles long lines and -e... /usr/bin/grep
# checking for egrep... /usr/bin/grep -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 whether __clang__ is declared... yes
# checking whether __INTEL_COMPILER is declared... no
# checking whether __SUNPRO_C is declared... no
# checking for x86_64-unknown-linux-pkg-config... no
# checking for pkg-config... /usr/bin/pkg-config
# checking pkg-config is at least version 0.9.0... yes
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# checking for a sed that does not truncate output... /usr/bin/sed
# checking if clang supports -Werror=unknown-warning-option... yes
# checking if clang supports -Werror=unused-command-line-argument... yes
# checking if clang supports-Wall... yes
# checking if clang supports-Wpointer-arith... yes
# checking if clang supports-Wmissing-declarations... yes
# checking if clang supports-Wformat=2... yes
# checking if clang supports-Wstrict-prototypes... yes
# checking if clang supports-Wmissing-prototypes... yes
# checking if clang supports-Wnested-externs... yes
# checking if clang supports-Wbad-function-cast... yes
# checking if clang supports-Wold-style-definition... yes
# checking if clang supports-Wdeclaration-after-statement... yes
# checking if clang supports-Wunused... yes
# checking if clang supports-Wuninitialized... yes
# checking if clang supports-Wshadow... yes
# checking if clang supports-Wcast-qual... yes
# checking if clang supports-Wmissing-noreturn... yes
# checking if clang supports-Wmissing-format-attribute... yes
# checking if clang supports-Wredundant-decls... yes
# checking if clang supports-Werror=implicit... yes
# checking if clang supports-Werror=nonnull... yes
# checking if clang supports-Werror=init-self... yes
# checking if clang supports-Werror=main... yes
# checking if clang supports-Werror=missing-braces... yes
# checking if clang supports-Werror=sequence-point... yes
# checking if clang supports-Werror=return-type... yes
# checking if clang supports-Werror=trigraphs... yes
# checking if clang supports-Werror=array-bounds... yes
# checking if clang supports-Werror=write-strings... yes
# checking if clang supports-Werror=address... yes
# checking if clang supports-Werror=int-to-pointer-cast... yes
# checking if clang supports-Werror=pointer-to-int-cast... yes
# checking if clang supports-pedantic... yes
# checking if clang supports-Werror... yes
# checking if clang supports-Werror=attributes... yes
# checking whether make supports nested variables... yes
# configure: creating ./config.status
# config.status: creating Makefile
# config.status: creating dri2proto.pc
# config.status: executing depfiles commands
# make: Nothing to be done for 'all'.
# ==> Entering fakeroot environment...
# ==> Starting package()...
# make[1]: Entering directory '/tmp/dri2proto/src/dri2proto-2.8'
# make[1]: Nothing to be done for 'install-exec-am'.
# test -z "/usr/share/doc/dri2proto" || /usr/bin/mkdir -p "/tmp/dri2proto/pkg/dri2proto/usr/share/doc/dri2proto"
# /usr/bin/install -c -m 644 dri2proto.txt '/tmp/dri2proto/pkg/dri2proto/usr/share/doc/dri2proto'
# test -z "/usr/include/X11/extensions" || /usr/bin/mkdir -p "/tmp/dri2proto/pkg/dri2proto/usr/include/X11/extensions"
# /usr/bin/install -c -m 644 dri2proto.h dri2tokens.h '/tmp/dri2proto/pkg/dri2proto/usr/include/X11/extensions'
# test -z "/usr/lib/pkgconfig" || /usr/bin/mkdir -p "/tmp/dri2proto/pkg/dri2proto/usr/lib/pkgconfig"
# /usr/bin/install -c -m 644 dri2proto.pc '/tmp/dri2proto/pkg/dri2proto/usr/lib/pkgconfig'
# make[1]: Leaving directory '/tmp/dri2proto/src/dri2proto-2.8'
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "dri2proto"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: dri2proto 2.8-2 (Thu Apr 13 20:28:27 UTC 2017)

CMD: pacman --query --file dri2proto-2.8-2-any.pkg.tar.xz
# dri2proto 2.8-2

Creating hybrid package for 'dri2proto'

Trying to find vanilla package 'dri2proto'...

CMD: pacman --query --file /mirror/dri2proto-2.8-2.pkg.tar.xz
# dri2proto 2.8-2

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/lib/pkgconfig/dri2proto.pc
# /usr/share/doc/dri2proto/dri2proto.txt
# /usr/share/licenses/dri2proto/COPYING
# /usr/include/X11/extensions/dri2tokens.h
# /usr/include/X11/extensions/dri2proto.h
# /sysroot/usr/lib/pkgconfig/dri2proto.pc
# /sysroot/usr/include/X11/extensions/dri2proto.h
# /sysroot/usr/include/X11/extensions/dri2tokens.h

Generating .MTREE

CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO usr sysroot

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO usr sysroot .MTREE

CMD: xz -c -z

Successfully ran bsdtar -cf - .PKGINFO usr sysroot .MTREE | xz -c -z

CMD: bsdtar -tqf dri2proto.pkg.tar.xz .PKGINFO
# .PKGINFO

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

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/dri2proto.pkg.tar.xz
# ==> ERROR: Failed to acquire lockfile: /var/cache/pacman/pkg/tuscan.db.tar.lck.
# ==> ERROR: Held by process 474

Attempting to access local repository, attempt 2

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/dri2proto.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/dri2proto.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/dri2proto/src/dri2proto-2.8/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 DRI2Proto configure 2.8, which was
# generated by GNU Autoconf 2.68. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = 307e008add22
# 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: /usr/bin
# PATH: /usr/local/sbin
# PATH: /usr/local/bin
# PATH: /usr/bin
# PATH: /usr/lib/jvm/default/bin
# PATH: /usr/bin/site_perl
# PATH: /usr/bin/vendor_perl
# PATH: /usr/bin/core_perl
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:2113: checking for a BSD-compatible install
# configure:2181: result: /usr/bin/install -c
# configure:2192: checking whether build environment is sane
# configure:2242: result: yes
# configure:2291: checking for x86_64-unknown-linux-strip
# configure:2321: result: no
# configure:2331: checking for strip
# configure:2347: found /usr/bin/strip
# configure:2358: result: strip
# configure:2383: checking for a thread-safe mkdir -p
# configure:2422: result: /usr/bin/mkdir -p
# configure:2435: checking for gawk
# configure:2451: found /usr/bin/gawk
# configure:2462: result: gawk
# configure:2473: checking whether make sets $(MAKE)
# configure:2495: result: yes
# configure:2576: checking whether to enable maintainer-specific portions of Makefiles
# configure:2585: result: no
# configure:2623: checking for style of include used by make
# configure:2651: result: GNU
# configure:2682: checking for x86_64-unknown-linux-gcc
# configure:2709: result: clang
# configure:2978: checking for C compiler version
# configure:2987: clang --version >&5
# clang version 3.8.0 (tags/RELEASE_380/final)
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /usr/bin
# configure:2998: $? = 0
# configure:2987: clang -v >&5
# clang version 3.8.0 (tags/RELEASE_380/final)
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /usr/bin
# Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Candidate multilib: .;@m64
# ... rest of stderr output deleted ...
# configure:2998: $? = 0
# configure:2987: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:2998: $? = 1
# configure:2987: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:2998: $? = 1
# configure:3018: checking whether the C compiler works
# configure:3040: clang conftest.c >&5
# configure:3044: $? = 0
# configure:3092: result: yes
# configure:3095: checking for C compiler default output file name
# configure:3097: result: a.out
# configure:3103: checking for suffix of executables
# configure:3110: clang -o conftest conftest.c >&5
# configure:3114: $? = 0
# configure:3136: result:
# configure:3158: checking whether we are cross compiling
# configure:3166: clang -o conftest conftest.c >&5
# configure:3170: $? = 0
# configure:3177: ./conftest
# configure:3181: $? = 0
# configure:3196: result: no
# configure:3201: checking for suffix of object files
# configure:3223: clang -c conftest.c >&5
# configure:3227: $? = 0
# configure:3248: result: o
# configure:3252: checking whether we are using the GNU C compiler
# configure:3271: clang -c conftest.c >&5
# configure:3271: $? = 0
# configure:3280: result: yes
# configure:3289: checking whether clang accepts -g
# configure:3309: clang -c -g conftest.c >&5
# configure:3309: $? = 0
# configure:3350: result: yes
# configure:3367: checking for clang option to accept ISO C89
# configure:3431: clang -c conftest.c >&5
# configure:3431: $? = 0
# configure:3444: result: none needed
# configure:3466: checking dependency style of clang
# configure:3577: result: none
# configure:3592: checking for clang option to accept ISO C99
# configure:3741: clang -c conftest.c >&5
# configure:3741: $? = 0
# configure:3754: result: none needed
# configure:3775: checking how to run the C preprocessor
# configure:3806: clang -E conftest.c
# configure:3806: $? = 0
# configure:3820: clang -E conftest.c
# conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:3820: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "DRI2Proto"
# | #define PACKAGE_TARNAME "dri2proto"
# | #define PACKAGE_VERSION "2.8"
# | #define PACKAGE_STRING "DRI2Proto 2.8"
# | #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
# | #define PACKAGE_URL ""
# | #define PACKAGE "dri2proto"
# | #define VERSION "2.8"
# | /* end confdefs.h. */
# | #include
# configure:3845: result: clang -E
# configure:3865: clang -E conftest.c
# configure:3865: $? = 0
# configure:3879: clang -E conftest.c
# conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:3879: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "DRI2Proto"
# | #define PACKAGE_TARNAME "dri2proto"
# | #define PACKAGE_VERSION "2.8"
# | #define PACKAGE_STRING "DRI2Proto 2.8"
# | #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
# | #define PACKAGE_URL ""
# | #define PACKAGE "dri2proto"
# | #define VERSION "2.8"
# | /* end confdefs.h. */
# | #include
# configure:3908: checking for grep that handles long lines and -e
# configure:3966: result: /usr/bin/grep
# configure:3971: checking for egrep
# configure:4033: result: /usr/bin/grep -E
# configure:4038: checking for ANSI C header files
# configure:4058: clang -c conftest.c >&5
# configure:4058: $? = 0
# configure:4131: clang -o conftest conftest.c >&5
# configure:4131: $? = 0
# configure:4131: ./conftest
# configure:4131: $? = 0
# configure:4142: result: yes
# configure:4155: checking for sys/types.h
# configure:4155: clang -c conftest.c >&5
# configure:4155: $? = 0
# configure:4155: result: yes
# configure:4155: checking for sys/stat.h
# configure:4155: clang -c conftest.c >&5
# configure:4155: $? = 0
# configure:4155: result: yes
# configure:4155: checking for stdlib.h
# configure:4155: clang -c conftest.c >&5
# configure:4155: $? = 0
# configure:4155: result: yes
# configure:4155: checking for string.h
# configure:4155: clang -c conftest.c >&5
# configure:4155: $? = 0
# configure:4155: result: yes
# configure:4155: checking for memory.h
# configure:4155: clang -c conftest.c >&5
# configure:4155: $? = 0
# configure:4155: result: yes
# configure:4155: checking for strings.h
# configure:4155: clang -c conftest.c >&5
# configure:4155: $? = 0
# configure:4155: result: yes
# configure:4155: checking for inttypes.h
# configure:4155: clang -c conftest.c >&5
# configure:4155: $? = 0
# configure:4155: result: yes
# configure:4155: checking for stdint.h
# configure:4155: clang -c conftest.c >&5
# configure:4155: $? = 0
# configure:4155: result: yes
# configure:4155: checking for unistd.h
# configure:4155: clang -c conftest.c >&5
# configure:4155: $? = 0
# configure:4155: result: yes
# configure:4171: checking whether __clang__ is declared
# configure:4171: clang -c conftest.c >&5
# configure:4171: $? = 0
# configure:4171: result: yes
# configure:4178: checking whether __INTEL_COMPILER is declared
# configure:4178: clang -c conftest.c >&5
# conftest.c:61:10: error: use of undeclared identifier '__INTEL_COMPILER'
# (void) __INTEL_COMPILER;
# ^
# 1 error generated.
# configure:4178: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "DRI2Proto"
# | #define PACKAGE_TARNAME "dri2proto"
# | #define PACKAGE_VERSION "2.8"
# | #define PACKAGE_STRING "DRI2Proto 2.8"
# | #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
# | #define PACKAGE_URL ""
# | #define PACKAGE "dri2proto"
# | #define VERSION "2.8"
# | #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
# | /* end confdefs.h. */
# | #include
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_STAT_H
# | # include
# | #endif
# | #ifdef STDC_HEADERS
# | # include
# | # include
# | #else
# | # ifdef HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #ifdef HAVE_STRING_H
# | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | #ifdef HAVE_INTTYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STDINT_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | int
# | main ()
# | {
# | #ifndef __INTEL_COMPILER
# | #ifdef __cplusplus
# | (void) __INTEL_COMPILER;
# | #else
# | (void) __INTEL_COMPILER;
# | #endif
# | #endif
# |
# | ;
# | return 0;
# | }
# configure:4178: result: no
# configure:4185: checking whether __SUNPRO_C is declared
# configure:4185: clang -c conftest.c >&5
# conftest.c:61:10: error: use of undeclared identifier '__SUNPRO_C'
# (void) __SUNPRO_C;
# ^
# 1 error generated.
# configure:4185: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "DRI2Proto"
# | #define PACKAGE_TARNAME "dri2proto"
# | #define PACKAGE_VERSION "2.8"
# | #define PACKAGE_STRING "DRI2Proto 2.8"
# | #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
# | #define PACKAGE_URL ""
# | #define PACKAGE "dri2proto"
# | #define VERSION "2.8"
# | #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
# | /* end confdefs.h. */
# | #include
# | #ifdef HAVE_SYS_TYPES_H
# | # include
# | #endif
# | #ifdef HAVE_SYS_STAT_H
# | # include
# | #endif
# | #ifdef STDC_HEADERS
# | # include
# | # include
# | #else
# | # ifdef HAVE_STDLIB_H
# | # include
# | # endif
# | #endif
# | #ifdef HAVE_STRING_H
# | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
# | # include
# | # endif
# | # include
# | #endif
# | #ifdef HAVE_STRINGS_H
# | # include
# | #endif
# | #ifdef HAVE_INTTYPES_H
# | # include
# | #endif
# | #ifdef HAVE_STDINT_H
# | # include
# | #endif
# | #ifdef HAVE_UNISTD_H
# | # include
# | #endif
# | int
# | main ()
# | {
# | #ifndef __SUNPRO_C
# | #ifdef __cplusplus
# | (void) __SUNPRO_C;
# | #else
# | (void) __SUNPRO_C;
# | #endif
# | #endif
# |
# | ;
# | return 0;
# | }
# configure:4185: result: no
# configure:4203: checking for x86_64-unknown-linux-pkg-config
# configure:4236: result: no
# configure:4246: checking for pkg-config
# configure:4264: found /usr/bin/pkg-config
# configure:4276: result: /usr/bin/pkg-config
# configure:4301: checking pkg-config is at least version 0.9.0
# configure:4304: result: yes
# configure:4316: checking build system type
# configure:4330: result: x86_64-unknown-linux-gnu
# configure:4350: checking host system type
# configure:4363: result: x86_64-unknown-linux-gnu
# configure:4383: checking for a sed that does not truncate output
# configure:4447: result: /usr/bin/sed
# configure:4493: checking if clang supports -Werror=unknown-warning-option
# configure:4502: clang -c -Werror=unknown-warning-option conftest.c >&5
# configure:4502: $? = 0
# configure:4509: result: yes
# configure:4520: checking if clang supports -Werror=unused-command-line-argument
# configure:4529: clang -c -Werror=unknown-warning-option -Werror=unused-command-line-argument conftest.c >&5
# configure:4529: $? = 0
# configure:4536: result: yes
# configure:4555: checking if clang supports-Wall
# configure:4572: clang -o conftest -Wall conftest.c >&5
# configure:4572: $? = 0
# configure:4585: result: yes
# configure:4673: checking if clang supports-Wpointer-arith
# configure:4690: clang -o conftest -Wpointer-arith conftest.c >&5
# configure:4690: $? = 0
# configure:4703: result: yes
# configure:4791: checking if clang supports-Wmissing-declarations
# configure:4808: clang -o conftest -Wmissing-declarations conftest.c >&5
# configure:4808: $? = 0
# configure:4821: result: yes
# configure:4909: checking if clang supports-Wformat=2
# configure:4926: clang -o conftest -Wformat=2 conftest.c >&5
# configure:4926: $? = 0
# configure:4939: result: yes
# configure:5078: checking if clang supports-Wstrict-prototypes
# configure:5095: clang -o conftest -Wstrict-prototypes conftest.c >&5
# configure:5095: $? = 0
# configure:5108: result: yes
# configure:5196: checking if clang supports-Wmissing-prototypes
# configure:5213: clang -o conftest -Wmissing-prototypes conftest.c >&5
# configure:5213: $? = 0
# configure:5226: result: yes
# configure:5314: checking if clang supports-Wnested-externs
# configure:5331: clang -o conftest -Wnested-externs conftest.c >&5
# configure:5331: $? = 0
# configure:5344: result: yes
# configure:5432: checking if clang supports-Wbad-function-cast
# configure:5449: clang -o conftest -Wbad-function-cast conftest.c >&5
# configure:5449: $? = 0
# configure:5462: result: yes
# configure:5550: checking if clang supports-Wold-style-definition
# configure:5567: clang -o conftest -Wold-style-definition conftest.c >&5
# configure:5567: $? = 0
# configure:5580: result: yes
# configure:5668: checking if clang supports-Wdeclaration-after-statement
# configure:5685: clang -o conftest -Wdeclaration-after-statement conftest.c >&5
# configure:5685: $? = 0
# configure:5698: result: yes
# configure:5790: checking if clang supports-Wunused
# configure:5807: clang -o conftest -Wunused conftest.c >&5
# configure:5807: $? = 0
# configure:5820: result: yes
# configure:5908: checking if clang supports-Wuninitialized
# configure:5925: clang -o conftest -Wuninitialized conftest.c >&5
# configure:5925: $? = 0
# configure:5938: result: yes
# configure:6026: checking if clang supports-Wshadow
# configure:6043: clang -o conftest -Wshadow conftest.c >&5
# configure:6043: $? = 0
# configure:6056: result: yes
# configure:6144: checking if clang supports-Wcast-qual
# configure:6161: clang -o conftest -Wcast-qual conftest.c >&5
# configure:6161: $? = 0
# configure:6174: result: yes
# configure:6262: checking if clang supports-Wmissing-noreturn
# configure:6279: clang -o conftest -Wmissing-noreturn conftest.c >&5
# configure:6279: $? = 0
# configure:6292: result: yes
# configure:6380: checking if clang supports-Wmissing-format-attribute
# configure:6397: clang -o conftest -Wmissing-format-attribute conftest.c >&5
# configure:6397: $? = 0
# configure:6410: result: yes
# configure:6498: checking if clang supports-Wredundant-decls
# configure:6515: clang -o conftest -Wredundant-decls conftest.c >&5
# configure:6515: $? = 0
# configure:6528: result: yes
# configure:6628: checking if clang supports-Werror=implicit
# configure:6645: clang -o conftest -Werror=implicit conftest.c >&5
# configure:6645: $? = 0
# configure:6658: result: yes
# configure:6795: checking if clang supports-Werror=nonnull
# configure:6812: clang -o conftest -Werror=nonnull conftest.c >&5
# configure:6812: $? = 0
# configure:6825: result: yes
# configure:6913: checking if clang supports-Werror=init-self
# configure:6930: clang -o conftest -Werror=init-self conftest.c >&5
# configure:6930: $? = 0
# configure:6943: result: yes
# configure:7031: checking if clang supports-Werror=main
# configure:7048: clang -o conftest -Werror=main conftest.c >&5
# configure:7048: $? = 0
# configure:7061: result: yes
# configure:7149: checking if clang supports-Werror=missing-braces
# configure:7166: clang -o conftest -Werror=missing-braces conftest.c >&5
# configure:7166: $? = 0
# configure:7179: result: yes
# configure:7267: checking if clang supports-Werror=sequence-point
# configure:7284: clang -o conftest -Werror=sequence-point conftest.c >&5
# configure:7284: $? = 0
# configure:7297: result: yes
# configure:7385: checking if clang supports-Werror=return-type
# configure:7402: clang -o conftest -Werror=return-type conftest.c >&5
# configure:7402: $? = 0
# configure:7415: result: yes
# configure:7552: checking if clang supports-Werror=trigraphs
# configure:7569: clang -o conftest -Werror=trigraphs conftest.c >&5
# configure:7569: $? = 0
# configure:7582: result: yes
# configure:7670: checking if clang supports-Werror=array-bounds
# configure:7687: clang -o conftest -Werror=array-bounds conftest.c >&5
# configure:7687: $? = 0
# configure:7700: result: yes
# configure:7788: checking if clang supports-Werror=write-strings
# configure:7805: clang -o conftest -Werror=write-strings conftest.c >&5
# configure:7805: $? = 0
# configure:7818: result: yes
# configure:7906: checking if clang supports-Werror=address
# configure:7923: clang -o conftest -Werror=address conftest.c >&5
# configure:7923: $? = 0
# configure:7936: result: yes
# configure:8024: checking if clang supports-Werror=int-to-pointer-cast
# configure:8041: clang -o conftest -Werror=int-to-pointer-cast conftest.c >&5
# configure:8041: $? = 0
# configure:8054: result: yes
# configure:8191: checking if clang supports-Werror=pointer-to-int-cast
# configure:8208: clang -o conftest -Werror=pointer-to-int-cast conftest.c >&5
# configure:8208: $? = 0
# configure:8221: result: yes
# configure:9879: checking if clang supports-pedantic
# configure:9896: clang -o conftest -pedantic conftest.c >&5
# configure:9896: $? = 0
# configure:9909: result: yes
# configure:9997: checking if clang supports-Werror
# configure:10014: clang -o conftest -Werror conftest.c >&5
# configure:10014: $? = 0
# configure:10027: result: yes
# configure:10167: checking if clang supports-Werror=attributes
# configure:10184: clang -o conftest -Werror=attributes conftest.c >&5
# configure:10184: $? = 0
# configure:10197: result: yes
# configure:10357: checking whether make supports nested variables
# configure:10374: result: yes
# configure:10559: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by DRI2Proto config.status 2.8, which was
# generated by GNU Autoconf 2.68. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on 307e008add22
#
# config.status:835: creating Makefile
# config.status:835: creating dri2proto.pc
# config.status:1007: executing depfiles commands
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-unknown-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_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_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___INTEL_COMPILER=no
# ac_cv_have_decl___SUNPRO_C=no
# ac_cv_have_decl___clang__=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/bin/grep -E'
# ac_cv_path_GREP=/usr/bin/grep
# ac_cv_path_SED=/usr/bin/sed
# ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_path_mkdir=/usr/bin/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_c99=
# ac_cv_prog_cc_g=yes
# ac_cv_prog_make_make_set=yes
# am_cv_CC_dependencies_compiler_type=none
# am_cv_make_support_nested_variables=yes
# xorg_cv_cc_flag__Wall=yes
# xorg_cv_cc_flag__Wbad_function_cast=yes
# xorg_cv_cc_flag__Wcast_qual=yes
# xorg_cv_cc_flag__Wdeclaration_after_statement=yes
# xorg_cv_cc_flag__Werror=yes
# xorg_cv_cc_flag__Werror_address=yes
# xorg_cv_cc_flag__Werror_array_bounds=yes
# xorg_cv_cc_flag__Werror_attributes=yes
# xorg_cv_cc_flag__Werror_implicit=yes
# xorg_cv_cc_flag__Werror_init_self=yes
# xorg_cv_cc_flag__Werror_int_to_pointer_cast=yes
# xorg_cv_cc_flag__Werror_main=yes
# xorg_cv_cc_flag__Werror_missing_braces=yes
# xorg_cv_cc_flag__Werror_nonnull=yes
# xorg_cv_cc_flag__Werror_pointer_to_int_cast=yes
# xorg_cv_cc_flag__Werror_return_type=yes
# xorg_cv_cc_flag__Werror_sequence_point=yes
# xorg_cv_cc_flag__Werror_trigraphs=yes
# xorg_cv_cc_flag__Werror_write_strings=yes
# xorg_cv_cc_flag__Wformat_2=yes
# xorg_cv_cc_flag__Wmissing_declarations=yes
# xorg_cv_cc_flag__Wmissing_format_attribute=yes
# xorg_cv_cc_flag__Wmissing_noreturn=yes
# xorg_cv_cc_flag__Wmissing_prototypes=yes
# xorg_cv_cc_flag__Wnested_externs=yes
# xorg_cv_cc_flag__Wold_style_definition=yes
# xorg_cv_cc_flag__Wpointer_arith=yes
# xorg_cv_cc_flag__Wredundant_decls=yes
# xorg_cv_cc_flag__Wshadow=yes
# xorg_cv_cc_flag__Wstrict_prototypes=yes
# xorg_cv_cc_flag__Wuninitialized=yes
# xorg_cv_cc_flag__Wunused=yes
# xorg_cv_cc_flag__pedantic=yes
# xorg_cv_cc_flag_unknown_warning_option=yes
# xorg_cv_cc_flag_unused_command_line_argument=yes
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ACLOCAL='${SHELL} /tmp/dri2proto/src/dri2proto-2.8/missing --run aclocal-1.11'
# ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
# ADMIN_MAN_SUFFIX='8'
# AMDEPBACKSLASH='\'
# AMDEP_FALSE='#'
# AMDEP_TRUE=''
# AMTAR='$${TAR-tar}'
# AM_BACKSLASH='\'
# AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
# AM_DEFAULT_VERBOSITY='0'
# AM_V='$(V)'
# APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
# APP_MAN_SUFFIX='1'
# AUTOCONF='${SHELL} /tmp/dri2proto/src/dri2proto-2.8/missing --run autoconf'
# AUTOHEADER='${SHELL} /tmp/dri2proto/src/dri2proto-2.8/missing --run autoheader'
# AUTOMAKE='${SHELL} /tmp/dri2proto/src/dri2proto-2.8/missing --run automake-1.11'
# AWK='gawk'
# BASE_CFLAGS=' -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast'
# CC='clang'
# CCDEPMODE='depmode=none'
# CFLAGS=''
# CHANGELOG_CMD='(GIT_DIR=$(top_srcdir)/.git git log > $(top_srcdir)/.changelog.tmp && mv $(top_srcdir)/.changelog.tmp $(top_srcdir)/ChangeLog) || (rm -f $(top_srcdir)/.changelog.tmp; touch $(top_srcdir)/ChangeLog; echo '\''git directory not found: installing possibly empty changelog.'\'' >&2)'
# CPP='clang -E'
# CPPFLAGS=''
# CWARNFLAGS=' -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing'
# CYGPATH_W='echo'
# DEFS='-DPACKAGE_NAME=\"DRI2Proto\" -DPACKAGE_TARNAME=\"dri2proto\" -DPACKAGE_VERSION=\"2.8\" -DPACKAGE_STRING=\"DRI2Proto\ 2.8\" -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=xorg\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dri2proto\" -DVERSION=\"2.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DPACKAGE_VERSION_MAJOR=2 -DPACKAGE_VERSION_MINOR=8 -DPACKAGE_VERSION_PATCHLEVEL=0'
# DEPDIR='.deps'
# DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
# DRIVER_MAN_SUFFIX='4'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP='/usr/bin/grep -E'
# EXEEXT=''
# FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
# FILE_MAN_SUFFIX='5'
# GREP='/usr/bin/grep'
# INSTALL_CMD='(cp -f /usr/share/util-macros/INSTALL $(top_srcdir)/.INSTALL.tmp && mv $(top_srcdir)/.INSTALL.tmp $(top_srcdir)/INSTALL) || (rm -f $(top_srcdir)/.INSTALL.tmp; touch $(top_srcdir)/INSTALL; echo '\''util-macros "pkgdatadir" from xorg-macros.pc not found: installing possibly empty INSTALL.'\'' >&2)'
# INSTALL_DATA='${INSTALL} -m 644'
# INSTALL_PROGRAM='${INSTALL}'
# INSTALL_SCRIPT='${INSTALL}'
# INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
# LDFLAGS=''
# LIBOBJS=''
# LIBS=''
# LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
# LIB_MAN_SUFFIX='3'
# LTLIBOBJS=''
# MAINT='#'
# MAINTAINER_MODE_FALSE=''
# MAINTAINER_MODE_TRUE='#'
# MAKEINFO='${SHELL} /tmp/dri2proto/src/dri2proto-2.8/missing --run makeinfo'
# MAN_SUBSTS=' -e '\''s|__vendorversion__|"$(PACKAGE_STRING)" "$(XORG_MAN_PAGE)"|'\'' -e '\''s|__xorgversion__|"$(PACKAGE_STRING)" "$(XORG_MAN_PAGE)"|'\'' -e '\''s|__xservername__|Xorg|g'\'' -e '\''s|__xconfigfile__|xorg.conf|g'\'' -e '\''s|__projectroot__|$(prefix)|g'\'' -e '\''s|__apploaddir__|$(appdefaultdir)|g'\'' -e '\''s|__appmansuffix__|$(APP_MAN_SUFFIX)|g'\'' -e '\''s|__drivermansuffix__|$(DRIVER_MAN_SUFFIX)|g'\'' -e '\''s|__adminmansuffix__|$(ADMIN_MAN_SUFFIX)|g'\'' -e '\''s|__libmansuffix__|$(LIB_MAN_SUFFIX)|g'\'' -e '\''s|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g'\'' -e '\''s|__filemansuffix__|$(FILE_MAN_SUFFIX)|g'\'''
# MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
# MISC_MAN_SUFFIX='7'
# MKDIR_P='/usr/bin/mkdir -p'
# OBJEXT='o'
# PACKAGE='dri2proto'
# PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
# PACKAGE_NAME='DRI2Proto'
# PACKAGE_STRING='DRI2Proto 2.8'
# PACKAGE_TARNAME='dri2proto'
# PACKAGE_URL=''
# PACKAGE_VERSION='2.8'
# PATH_SEPARATOR=':'
# PKG_CONFIG='/usr/bin/pkg-config'
# PKG_CONFIG_LIBDIR=''
# PKG_CONFIG_PATH=''
# SED='/usr/bin/sed'
# SET_MAKE=''
# SHELL='/bin/sh'
# STRICT_CFLAGS=' -pedantic -Werror -Werror=attributes'
# STRIP='strip'
# VERSION='2.8'
# XORG_MAN_PAGE='X Version 11'
# 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='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='${prefix}'
# 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/dri2proto/src/dri2proto-2.8/install-sh'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='${datarootdir}/man'
# mkdir_p='/usr/bin/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 "DRI2Proto"
# #define PACKAGE_TARNAME "dri2proto"
# #define PACKAGE_VERSION "2.8"
# #define PACKAGE_STRING "DRI2Proto 2.8"
# #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
# #define PACKAGE_URL ""
# #define PACKAGE "dri2proto"
# #define VERSION "2.8"
# #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 PACKAGE_VERSION_MAJOR 2
# #define PACKAGE_VERSION_MINOR 8
# #define PACKAGE_VERSION_PATCHLEVEL 0
#
# configure: exit 0