Build of tig with clang_glibc toolchain

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

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

SLOCLanguage
15,947 ansic
7,712 sh
278 makefile
23,937 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: tig 2.1.1-2 (Thu Apr 13 19:31:27 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> Installing missing dependencies...
# resolving dependencies...
# looking for conflicting packages...
#
# Packages (1) xmlto-0.0.28-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 xmlto...
# :: Running post-transaction hooks...
# (1/1) Updating manpage index...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# 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 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 for stdint.h... (cached) yes
# checking for stdlib.h... (cached) yes
# checking for string.h... (cached) yes
# checking sys/time.h usability... yes
# checking sys/time.h presence... yes
# checking for sys/time.h... yes
# checking for unistd.h... (cached) yes
# checking for gettimeofday... yes
# checking whether environ is declared... no
# checking whether errno is declared... yes
# checking for mkstemps... yes
# checking for setenv... yes
# checking for strndup... yes
# checking for NcursesW wide-character library... yes
# checking for working ncursesw/curses.h... no
# checking for working ncursesw.h... no
# checking for working ncurses.h... yes
# checking for tgetent... no
# checking for tgetent in -ltermcap... no
# checking for tgetent in -ltinfo... no
# checking for tgetent in -lncursesw... yes
# checking which library has the termcap functions... using libncursesw
# checking readline/readline.h usability... yes
# checking readline/readline.h presence... yes
# checking for readline/readline.h... yes
# checking readline/history.h usability... yes
# checking readline/history.h presence... yes
# checking for readline/history.h... yes
# checking version of installed readline library... 6.3
# checking for iconv... yes
# checking for iconv declaration...
# extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
# checking for gsed... no
# checking for asciidoc... asciidoc
# checking for xmlto... xmlto
# checking for docbook2pdf... no
# configure: creating ./config.status
# config.status: creating config.make
# config.status: creating config.h
# CC src/tig.o
# CC src/types.o
# CC src/string.o
# CC src/util.o
# CC src/map.o
# CC src/argv.o
# CC src/io.o
# CC src/refdb.o
# GEN src/builtin-config.c
# CC src/builtin-config.o
# CC src/request.o
# CC src/line.o
# CC src/keys.o
# CC src/repo.o
# CC src/options.o
# CC src/draw.o
# CC src/prompt.o
# CC src/display.o
# CC src/view.o
# CC src/parse.o
# CC src/watch.o
# CC src/pager.o
# CC src/log.o
# CC src/diff.o
# CC src/help.o
# CC src/tree.o
# CC src/blob.o
# CC src/blame.o
# CC src/refs.o
# CC src/status.o
# CC src/stage.o
# CC src/main.o
# CC src/stash.o
# CC src/grep.o
# CC src/ui.o
# CC src/graph.o
# CC src/graph-v1.o
# CC src/graph-v2.o
# src/graph-v2.c:367:73: warning: address of array 'next_row->columns[next_row->size - 1].id' will always evaluate to 'true' [-Wpointer-bool-conversion]
# if (match == next_row->size && next_row->columns[next_row->size - 1].id) {
# ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
# src/graph-v2.c:628:6: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
# if (!pos == graph->prev_position)
# ^ ~~
# src/graph-v2.c:628:6: note: add parentheses after the '!' to evaluate the comparison first
# if (!pos == graph->prev_position)
# ^
# ( )
# src/graph-v2.c:628:6: note: add parentheses around left hand side expression to silence this warning
# if (!pos == graph->prev_position)
# ^
# ( )
# src/graph-v2.c:631:6: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
# if (!strcmp(graph->row.columns[pos].id, graph->prev_row.columns[pos].id) == 0)
# ^ ~~
# src/graph-v2.c:631:6: note: add parentheses after the '!' to evaluate the comparison first
# if (!strcmp(graph->row.columns[pos].id, graph->prev_row.columns[pos].id) == 0)
# ^
# ( )
# src/graph-v2.c:631:6: note: add parentheses around left hand side expression to silence this warning
# if (!strcmp(graph->row.columns[pos].id, graph->prev_row.columns[pos].id) == 0)
# ^
# ( )
# 3 warnings generated.
# CC compat/hashtab.o
# LINK src/tig
# CC test/tools/test-graph.o
# LINK test/tools/test-graph
# CC tools/doc-gen.o
# LINK tools/doc-gen
# ==> Entering fakeroot environment...
# ==> Starting package()...
# INSTALL src/tig -> /tmp/tig/pkg/tig/usr/bin
# INSTALL tigrc -> /tmp/tig/pkg/tig/etc
# INSTALL doc/tig.1 -> /tmp/tig/pkg/tig/usr/share/man/man1
# INSTALL doc/tigrc.5 -> /tmp/tig/pkg/tig/usr/share/man/man5
# INSTALL doc/tigmanual.7 -> /tmp/tig/pkg/tig/usr/share/man/man7
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "tig"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: tig 2.1.1-2 (Thu Apr 13 19:31:45 UTC 2017)

CMD: pacman --query --file tig-2.1.1-2-x86_64.pkg.tar.xz
# tig 2.1.1-2

Creating hybrid package for 'tig'

Trying to find vanilla package 'tig'...

CMD: pacman --query --file /mirror/libtiger-0.3.4-4.pkg.tar.xz
# libtiger 0.3.4-4

CMD: pacman --query --file /mirror/wiredtiger-2.8.0-1.pkg.tar.xz
# wiredtiger 2.8.0-1

CMD: pacman --query --file /mirror/tig-2.1.1-2.pkg.tar.xz
# tig 2.1.1-2

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /etc/tigrc
# /usr/bin/tig
# /usr/share/man/man1/tig.1.gz
# /usr/share/man/man5/tigrc.5.gz
# /usr/share/man/man7/tigmanual.7.gz
# /usr/share/bash-completion/completions/tig

Generating .MTREE

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

Tar-ing up files

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

CMD: xz -c -z

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

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

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

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/tig.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/tig.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/tig/src/tig-2.1.1/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 tig configure 0, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr --sysconfdir=/etc
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = c79d457bf09d
# 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:2193: checking for x86_64-unknown-linux-gcc
# configure:2220: result: clang
# configure:2489: checking for C compiler version
# configure:2498: 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:2509: $? = 0
# configure:2498: 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:2509: $? = 0
# configure:2498: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:2509: $? = 1
# configure:2498: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:2509: $? = 1
# configure:2529: checking whether the C compiler works
# configure:2551: clang conftest.c >&5
# configure:2555: $? = 0
# configure:2603: result: yes
# configure:2606: checking for C compiler default output file name
# configure:2608: result: a.out
# configure:2614: checking for suffix of executables
# configure:2621: clang -o conftest conftest.c >&5
# configure:2625: $? = 0
# configure:2647: result:
# configure:2669: checking whether we are cross compiling
# configure:2677: clang -o conftest conftest.c >&5
# configure:2681: $? = 0
# configure:2688: ./conftest
# configure:2692: $? = 0
# configure:2707: result: no
# configure:2712: checking for suffix of object files
# configure:2734: clang -c conftest.c >&5
# configure:2738: $? = 0
# configure:2759: result: o
# configure:2763: checking whether we are using the GNU C compiler
# configure:2782: clang -c conftest.c >&5
# configure:2782: $? = 0
# configure:2791: result: yes
# configure:2800: checking whether clang accepts -g
# configure:2820: clang -c -g conftest.c >&5
# configure:2820: $? = 0
# configure:2861: result: yes
# configure:2878: checking for clang option to accept ISO C89
# configure:2941: clang -c conftest.c >&5
# configure:2941: $? = 0
# configure:2954: result: none needed
# configure:2981: checking how to run the C preprocessor
# configure:3012: clang -E conftest.c
# configure:3012: $? = 0
# configure:3026: clang -E conftest.c
# conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:3026: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "tig"
# | #define PACKAGE_TARNAME "tig"
# | #define PACKAGE_VERSION "0"
# | #define PACKAGE_STRING "tig 0"
# | #define PACKAGE_BUGREPORT "jonas.fonseca@gmail.com"
# | #define PACKAGE_URL ""
# | /* end confdefs.h. */
# | #include
# configure:3051: result: clang -E
# configure:3071: clang -E conftest.c
# configure:3071: $? = 0
# configure:3085: clang -E conftest.c
# conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:3085: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "tig"
# | #define PACKAGE_TARNAME "tig"
# | #define PACKAGE_VERSION "0"
# | #define PACKAGE_STRING "tig 0"
# | #define PACKAGE_BUGREPORT "jonas.fonseca@gmail.com"
# | #define PACKAGE_URL ""
# | /* end confdefs.h. */
# | #include
# configure:3114: checking for grep that handles long lines and -e
# configure:3172: result: /usr/bin/grep
# configure:3177: checking for egrep
# configure:3239: result: /usr/bin/grep -E
# configure:3244: checking for ANSI C header files
# configure:3264: clang -c conftest.c >&5
# configure:3264: $? = 0
# configure:3337: clang -o conftest conftest.c >&5
# configure:3337: $? = 0
# configure:3337: ./conftest
# configure:3337: $? = 0
# configure:3348: result: yes
# configure:3361: checking for sys/types.h
# configure:3361: clang -c conftest.c >&5
# configure:3361: $? = 0
# configure:3361: result: yes
# configure:3361: checking for sys/stat.h
# configure:3361: clang -c conftest.c >&5
# configure:3361: $? = 0
# configure:3361: result: yes
# configure:3361: checking for stdlib.h
# configure:3361: clang -c conftest.c >&5
# configure:3361: $? = 0
# configure:3361: result: yes
# configure:3361: checking for string.h
# configure:3361: clang -c conftest.c >&5
# configure:3361: $? = 0
# configure:3361: result: yes
# configure:3361: checking for memory.h
# configure:3361: clang -c conftest.c >&5
# configure:3361: $? = 0
# configure:3361: result: yes
# configure:3361: checking for strings.h
# configure:3361: clang -c conftest.c >&5
# configure:3361: $? = 0
# configure:3361: result: yes
# configure:3361: checking for inttypes.h
# configure:3361: clang -c conftest.c >&5
# configure:3361: $? = 0
# configure:3361: result: yes
# configure:3361: checking for stdint.h
# configure:3361: clang -c conftest.c >&5
# configure:3361: $? = 0
# configure:3361: result: yes
# configure:3361: checking for unistd.h
# configure:3361: clang -c conftest.c >&5
# configure:3361: $? = 0
# configure:3361: result: yes
# configure:3376: checking for stdint.h
# configure:3376: result: yes
# configure:3376: checking for stdlib.h
# configure:3376: result: yes
# configure:3376: checking for string.h
# configure:3376: result: yes
# configure:3376: checking sys/time.h usability
# configure:3376: clang -c conftest.c >&5
# configure:3376: $? = 0
# configure:3376: result: yes
# configure:3376: checking sys/time.h presence
# configure:3376: clang -E conftest.c
# configure:3376: $? = 0
# configure:3376: result: yes
# configure:3376: checking for sys/time.h
# configure:3376: result: yes
# configure:3376: checking for unistd.h
# configure:3376: result: yes
# configure:3388: checking for gettimeofday
# configure:3388: clang -o conftest conftest.c >&5
# configure:3388: $? = 0
# configure:3388: result: yes
# configure:3397: checking whether environ is declared
# configure:3397: clang -c conftest.c >&5
# conftest.c:65:10: error: use of undeclared identifier 'environ'; did you mean 'union'?
# (void) environ;
# ^~~~~~~
# union
# conftest.c:65:10: error: expected expression
# 2 errors generated.
# configure:3397: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "tig"
# | #define PACKAGE_TARNAME "tig"
# | #define PACKAGE_VERSION "0"
# | #define PACKAGE_STRING "tig 0"
# | #define PACKAGE_BUGREPORT "jonas.fonseca@gmail.com"
# | #define PACKAGE_URL ""
# | #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_STDINT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_GETTIMEOFDAY 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 environ
# | #ifdef __cplusplus
# | (void) environ;
# | #else
# | (void) environ;
# | #endif
# | #endif
# |
# | ;
# | return 0;
# | }
# configure:3397: result: no
# configure:3408: checking whether errno is declared
# configure:3408: clang -c conftest.c >&5
# configure:3408: $? = 0
# configure:3408: result: yes
# configure:3423: checking for mkstemps
# configure:3423: clang -o conftest conftest.c >&5
# configure:3423: $? = 0
# configure:3423: result: yes
# configure:3435: checking for setenv
# configure:3435: clang -o conftest conftest.c >&5
# configure:3435: $? = 0
# configure:3435: result: yes
# configure:3447: checking for strndup
# configure:3447: clang -o conftest conftest.c >&5
# conftest.c:52:6: warning: incompatible redeclaration of library function 'strndup' [-Wincompatible-library-redeclaration]
# char strndup ();
# ^
# conftest.c:52:6: note: 'strndup' is a builtin with type 'char *(const char *, unsigned long)'
# 1 warning generated.
# configure:3447: $? = 0
# configure:3447: result: yes
# configure:3492: checking for NcursesW wide-character library
# configure:3516: clang -o conftest conftest.c -lncursesw >&5
# configure:3516: $? = 0
# configure:3525: result: yes
# configure:3545: checking for working ncursesw/curses.h
# configure:3578: clang -o conftest conftest.c -lncursesw >&5
# conftest.c:34:34: fatal error: 'ncursesw/curses.h' file not found
# #include
# ^
# 1 error generated.
# configure:3578: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "tig"
# | #define PACKAGE_TARNAME "tig"
# | #define PACKAGE_VERSION "0"
# | #define PACKAGE_STRING "tig 0"
# | #define PACKAGE_BUGREPORT "jonas.fonseca@gmail.com"
# | #define PACKAGE_URL ""
# | #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_STDINT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_DECL_ENVIRON 0
# | #define HAVE_DECL_ERRNO 1
# | #define HAVE_MKSTEMPS 1
# | #define HAVE_SETENV 1
# | #define HAVE_STRNDUP 1
# | #define HAVE_NCURSESW 1
# | #define HAVE_CURSES 1
# | /* end confdefs.h. */
# |
# | #define _XOPEN_SOURCE_EXTENDED 1
# | #include
# |
# | int
# | main ()
# | {
# |
# | chtype a = A_BOLD;
# | int b = KEY_LEFT;
# | chtype c = COLOR_PAIR(1) & A_COLOR;
# | attr_t d = WA_NORMAL;
# | cchar_t e;
# | wint_t f;
# | int g = getattrs(stdscr);
# | int h = getcurx(stdscr) + getmaxx(stdscr);
# | initscr();
# | init_pair(1, COLOR_WHITE, COLOR_RED);
# | wattr_set(stdscr, d, 0, NULL);
# | wget_wch(stdscr, &f);
# |
# | ;
# | return 0;
# | }
# configure:3587: result: no
# configure:3609: checking for working ncursesw.h
# configure:3642: clang -o conftest conftest.c -lncursesw >&5
# conftest.c:34:34: fatal error: 'ncursesw.h' file not found
# #include
# ^
# 1 error generated.
# configure:3642: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "tig"
# | #define PACKAGE_TARNAME "tig"
# | #define PACKAGE_VERSION "0"
# | #define PACKAGE_STRING "tig 0"
# | #define PACKAGE_BUGREPORT "jonas.fonseca@gmail.com"
# | #define PACKAGE_URL ""
# | #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_STDINT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_DECL_ENVIRON 0
# | #define HAVE_DECL_ERRNO 1
# | #define HAVE_MKSTEMPS 1
# | #define HAVE_SETENV 1
# | #define HAVE_STRNDUP 1
# | #define HAVE_NCURSESW 1
# | #define HAVE_CURSES 1
# | /* end confdefs.h. */
# |
# | #define _XOPEN_SOURCE_EXTENDED 1
# | #include
# |
# | int
# | main ()
# | {
# |
# | chtype a = A_BOLD;
# | int b = KEY_LEFT;
# | chtype c = COLOR_PAIR(1) & A_COLOR;
# | attr_t d = WA_NORMAL;
# | cchar_t e;
# | wint_t f;
# | int g = getattrs(stdscr);
# | int h = getcurx(stdscr) + getmaxx(stdscr);
# | initscr();
# | init_pair(1, COLOR_WHITE, COLOR_RED);
# | wattr_set(stdscr, d, 0, NULL);
# | wget_wch(stdscr, &f);
# |
# | ;
# | return 0;
# | }
# configure:3651: result: no
# configure:3673: checking for working ncurses.h
# configure:3706: clang -o conftest conftest.c -lncursesw >&5
# configure:3706: $? = 0
# configure:3715: result: yes
# configure:4242: checking for tgetent
# configure:4242: clang -o conftest conftest.c >&5
# /tmp/conftest-ed0e32.o: In function `main':
# conftest.c:(.text+0x12): undefined reference to `tgetent'
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:4242: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "tig"
# | #define PACKAGE_TARNAME "tig"
# | #define PACKAGE_VERSION "0"
# | #define PACKAGE_STRING "tig 0"
# | #define PACKAGE_BUGREPORT "jonas.fonseca@gmail.com"
# | #define PACKAGE_URL ""
# | #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_STDINT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_DECL_ENVIRON 0
# | #define HAVE_DECL_ERRNO 1
# | #define HAVE_MKSTEMPS 1
# | #define HAVE_SETENV 1
# | #define HAVE_STRNDUP 1
# | #define HAVE_NCURSESW 1
# | #define HAVE_CURSES 1
# | #define HAVE_CURSES_ENHANCED 1
# | #define HAVE_CURSES_COLOR 1
# | #define HAVE_CURSES_OBSOLETE 1
# | #define HAVE_NCURSES_H 1
# | /* end confdefs.h. */
# | /* Define tgetent to an innocuous variant, in case declares tgetent.
# | For example, HP-UX 11i declares gettimeofday. */
# | #define tgetent innocuous_tgetent
# |
# | /* System header to define __stub macros and hopefully few prototypes,
# | which can conflict with char tgetent (); below.
# | Prefer to if __STDC__ is defined, since
# | exists even on freestanding compilers. */
# |
# | #ifdef __STDC__
# | # include
# | #else
# | # include
# | #endif
# |
# | #undef tgetent
# |
# | /* Override any GCC internal prototype to avoid an error.
# | Use char because int might match the return type of a GCC
# | builtin and then its argument prototype would still apply. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char tgetent ();
# | /* The GNU C library defines this for functions which it implements
# | to always fail with ENOSYS. Some functions are actually named
# | something starting with __ and the normal name is an alias. */
# | #if defined __stub_tgetent || defined __stub___tgetent
# | choke me
# | #endif
# |
# | int
# | main ()
# | {
# | return tgetent ();
# | ;
# | return 0;
# | }
# configure:4242: result: no
# configure:4246: checking for tgetent in -ltermcap
# configure:4271: clang -o conftest conftest.c -ltermcap >&5
# /usr/bin/ld: cannot find -ltermcap
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:4271: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "tig"
# | #define PACKAGE_TARNAME "tig"
# | #define PACKAGE_VERSION "0"
# | #define PACKAGE_STRING "tig 0"
# | #define PACKAGE_BUGREPORT "jonas.fonseca@gmail.com"
# | #define PACKAGE_URL ""
# | #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_STDINT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_DECL_ENVIRON 0
# | #define HAVE_DECL_ERRNO 1
# | #define HAVE_MKSTEMPS 1
# | #define HAVE_SETENV 1
# | #define HAVE_STRNDUP 1
# | #define HAVE_NCURSESW 1
# | #define HAVE_CURSES 1
# | #define HAVE_CURSES_ENHANCED 1
# | #define HAVE_CURSES_COLOR 1
# | #define HAVE_CURSES_OBSOLETE 1
# | #define HAVE_NCURSES_H 1
# | /* end confdefs.h. */
# |
# | /* Override any GCC internal prototype to avoid an error.
# | Use char because int might match the return type of a GCC
# | builtin and then its argument prototype would still apply. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char tgetent ();
# | int
# | main ()
# | {
# | return tgetent ();
# | ;
# | return 0;
# | }
# configure:4280: result: no
# configure:4285: checking for tgetent in -ltinfo
# configure:4310: clang -o conftest conftest.c -ltinfo >&5
# /usr/bin/ld: cannot find -ltinfo
# clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
# configure:4310: $? = 1
# configure: failed program was:
# | /* confdefs.h */
# | #define PACKAGE_NAME "tig"
# | #define PACKAGE_TARNAME "tig"
# | #define PACKAGE_VERSION "0"
# | #define PACKAGE_STRING "tig 0"
# | #define PACKAGE_BUGREPORT "jonas.fonseca@gmail.com"
# | #define PACKAGE_URL ""
# | #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_STDINT_H 1
# | #define HAVE_STDLIB_H 1
# | #define HAVE_STRING_H 1
# | #define HAVE_SYS_TIME_H 1
# | #define HAVE_UNISTD_H 1
# | #define HAVE_GETTIMEOFDAY 1
# | #define HAVE_DECL_ENVIRON 0
# | #define HAVE_DECL_ERRNO 1
# | #define HAVE_MKSTEMPS 1
# | #define HAVE_SETENV 1
# | #define HAVE_STRNDUP 1
# | #define HAVE_NCURSESW 1
# | #define HAVE_CURSES 1
# | #define HAVE_CURSES_ENHANCED 1
# | #define HAVE_CURSES_COLOR 1
# | #define HAVE_CURSES_OBSOLETE 1
# | #define HAVE_NCURSES_H 1
# | /* end confdefs.h. */
# |
# | /* Override any GCC internal prototype to avoid an error.
# | Use char because int might match the return type of a GCC
# | builtin and then its argument prototype would still apply. */
# | #ifdef __cplusplus
# | extern "C"
# | #endif
# | char tgetent ();
# | int
# | main ()
# | {
# | return tgetent ();
# | ;
# | return 0;
# | }
# configure:4319: result: no
# configure:4326: checking for tgetent in -lncursesw
# configure:4351: clang -o conftest conftest.c -lncursesw >&5
# configure:4351: $? = 0
# configure:4360: result: yes
# configure:4459: checking which library has the termcap functions
# configure:4462: result: using libncursesw
# configure:4508: checking readline/readline.h usability
# configure:4508: clang -c conftest.c >&5
# configure:4508: $? = 0
# configure:4508: result: yes
# configure:4508: checking readline/readline.h presence
# configure:4508: clang -E conftest.c
# configure:4508: $? = 0
# configure:4508: result: yes
# configure:4508: checking for readline/readline.h
# configure:4508: result: yes
# configure:4516: checking readline/history.h usability
# configure:4516: clang -c conftest.c >&5
# configure:4516: $? = 0
# configure:4516: result: yes
# configure:4516: checking readline/history.h presence
# configure:4516: clang -E conftest.c
# configure:4516: $? = 0
# configure:4516: result: yes
# configure:4516: checking for readline/history.h
# configure:4516: result: yes
# configure:4525: checking version of installed readline library
# configure:4579: clang -o conftest -I/usr/include -L/usr/lib conftest.c -lreadline -lncursesw >&5
# conftest.c:44:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
# main()
# ^
# conftest.c:49:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
# exit(1);
# ^
# conftest.c:49:3: note: include the header or explicitly provide a declaration for 'exit'
# 2 warnings generated.
# configure:4579: $? = 0
# configure:4579: ./conftest
# configure:4579: $? = 0
# configure:4634: result: 6.3
# configure:4709: checking for iconv
# configure:4731: clang -o conftest -I/usr/include -L/usr/lib conftest.c -lreadline -lncursesw >&5
# configure:4731: $? = 0
# configure:4763: result: yes
# configure:4769: checking for iconv declaration
# configure:4798: clang -c -I/usr/include conftest.c >&5
# configure:4798: $? = 0
# configure:4809: result:
# extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
# configure:4832: checking for gsed
# configure:4862: result: no
# configure:5077: checking for asciidoc
# configure:5093: found /usr/bin/asciidoc
# configure:5104: result: asciidoc
# configure:5120: checking for xmlto
# configure:5136: found /usr/bin/xmlto
# configure:5147: result: xmlto
# configure:5163: checking for docbook2pdf
# configure:5193: result: no
# configure:5323: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by tig config.status 0, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on c79d457bf09d
#
# config.status:837: creating config.make
# config.status:837: creating config.h
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_c_compiler_gnu=yes
# ac_cv_env_CC_set=set
# ac_cv_env_CC_value=clang
# ac_cv_env_CFLAGS_set=set
# ac_cv_env_CFLAGS_value=
# ac_cv_env_CPPFLAGS_set=set
# ac_cv_env_CPPFLAGS_value=
# ac_cv_env_CPP_set=
# ac_cv_env_CPP_value=
# ac_cv_env_CURSES_LIB_set=
# ac_cv_env_CURSES_LIB_value=
# ac_cv_env_LDFLAGS_set=set
# ac_cv_env_LDFLAGS_value=
# ac_cv_env_LIBS_set=
# ac_cv_env_LIBS_value=
# ac_cv_env_build_alias_set=
# ac_cv_env_build_alias_value=
# ac_cv_env_host_alias_set=set
# ac_cv_env_host_alias_value=x86_64-unknown-linux
# ac_cv_env_target_alias_set=
# ac_cv_env_target_alias_value=
# ac_cv_func_gettimeofday=yes
# ac_cv_func_mkstemps=yes
# ac_cv_func_setenv=yes
# ac_cv_func_strndup=yes
# ac_cv_func_tgetent=no
# ac_cv_have_decl_environ=no
# ac_cv_have_decl_errno=yes
# ac_cv_header_inttypes_h=yes
# ac_cv_header_memory_h=yes
# ac_cv_header_readline_history_h=yes
# ac_cv_header_readline_readline_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_time_h=yes
# ac_cv_header_sys_types_h=yes
# ac_cv_header_unistd_h=yes
# ac_cv_lib_ncursesw_tgetent=yes
# ac_cv_lib_termcap_tgetent=no
# ac_cv_lib_tinfo_tgetent=no
# ac_cv_objext=o
# ac_cv_path_EGREP='/usr/bin/grep -E'
# ac_cv_path_GREP=/usr/bin/grep
# ac_cv_prog_ASCIIDOC=asciidoc
# ac_cv_prog_CC=clang
# ac_cv_prog_CPP='clang -E'
# ac_cv_prog_XMLTO=xmlto
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_g=yes
# ac_cv_rl_includedir=/usr/include
# ac_cv_rl_libdir=/usr/lib
# ac_cv_rl_prefix=/usr
# ac_cv_rl_version=6.3
# am_cv_func_iconv=yes
# am_cv_lib_iconv=no
# am_cv_proto_iconv='extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);'
# am_cv_proto_iconv_arg1=
# ax_cv_curses=yes
# ax_cv_curses_color=yes
# ax_cv_curses_enhanced=yes
# ax_cv_curses_obsolete=yes
# ax_cv_curses_which=ncursesw
# ax_cv_header_ncurses_h_with_ncursesw=yes
# ax_cv_header_ncursesw_curses_h=no
# ax_cv_header_ncursesw_h=no
# ax_cv_ncursesw=yes
# bash_cv_termcap_lib=libncursesw
#
# ## ----------------- ##
# ## Output variables. ##
# ## ----------------- ##
#
# ASCIIDOC='asciidoc'
# CC='clang'
# CFLAGS=' -I/usr/include'
# COVERAGE_CFLAGS=''
# COVERAGE_LDFLAGS=''
# CPP='clang -E'
# CPPFLAGS=''
# CURSES_LIB='-lncursesw'
# DEFS='-DHAVE_CONFIG_H'
# DOCBOOK2PDF='false'
# ECHO_C=''
# ECHO_N='-n'
# ECHO_T=''
# EGREP='/usr/bin/grep -E'
# EXEEXT=''
# GENHTML=''
# GREP='/usr/bin/grep'
# HAVE_GCOV_FALSE=''
# HAVE_GCOV_TRUE='#'
# LCOV=''
# LDFLAGS=' -L/usr/lib'
# LIBOBJS=''
# LIBS=' -lreadline -lncursesw'
# LTLIBOBJS=''
# NO_MKSTEMPS='#'
# NO_SETENV='#'
# NO_STRNDUP='#'
# OBJEXT='o'
# PACKAGE_BUGREPORT='jonas.fonseca@gmail.com'
# PACKAGE_NAME='tig'
# PACKAGE_STRING='tig 0'
# PACKAGE_TARNAME='tig'
# PACKAGE_URL=''
# PACKAGE_VERSION='0'
# PATH_SEPARATOR=':'
# RL_MAJOR='6'
# RL_MINOR='3'
# RL_VERSION='0x0603'
# SED='sed'
# SHELL='/bin/sh'
# SHTOOL=''
# XMLTO='xmlto'
# ac_ct_CC=''
# bindir='${exec_prefix}/bin'
# build_alias=''
# datadir='${datarootdir}'
# datarootdir='${prefix}/share'
# docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
# dvidir='${docdir}'
# exec_prefix='${prefix}'
# host_alias='x86_64-unknown-linux'
# htmldir='${docdir}'
# includedir='${prefix}/include'
# infodir='${datarootdir}/info'
# libdir='${exec_prefix}/lib'
# libexecdir='${exec_prefix}/libexec'
# localedir='${datarootdir}/locale'
# localstatedir='${prefix}/var'
# mandir='${datarootdir}/man'
# oldincludedir='/usr/include'
# pdfdir='${docdir}'
# prefix='/usr'
# program_transform_name='s,x,x,'
# psdir='${docdir}'
# sbindir='${exec_prefix}/sbin'
# sharedstatedir='${prefix}/com'
# sysconfdir='/etc'
# target_alias=''
#
# ## ----------- ##
# ## confdefs.h. ##
# ## ----------- ##
#
# /* confdefs.h */
# #define PACKAGE_NAME "tig"
# #define PACKAGE_TARNAME "tig"
# #define PACKAGE_VERSION "0"
# #define PACKAGE_STRING "tig 0"
# #define PACKAGE_BUGREPORT "jonas.fonseca@gmail.com"
# #define PACKAGE_URL ""
# #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_STDINT_H 1
# #define HAVE_STDLIB_H 1
# #define HAVE_STRING_H 1
# #define HAVE_SYS_TIME_H 1
# #define HAVE_UNISTD_H 1
# #define HAVE_GETTIMEOFDAY 1
# #define HAVE_DECL_ENVIRON 0
# #define HAVE_DECL_ERRNO 1
# #define HAVE_MKSTEMPS 1
# #define HAVE_SETENV 1
# #define HAVE_STRNDUP 1
# #define HAVE_NCURSESW 1
# #define HAVE_CURSES 1
# #define HAVE_CURSES_ENHANCED 1
# #define HAVE_CURSES_COLOR 1
# #define HAVE_CURSES_OBSOLETE 1
# #define HAVE_NCURSES_H 1
# #define HAVE_READLINE_READLINE_H 1
# #define HAVE_READLINE_HISTORY_H 1
# #define HAVE_READLINE 1
# #define HAVE_ICONV 1
# #define ICONV_CONST
#
# configure: exit 0