The build took 00h 00m 52s and was SUCCESSFUL.
The program in this build is written in the following languages, according to sloccount:
SLOC | Language |
---|---|
2,327 |
cpp |
787 |
sh |
569 |
makefile |
108 |
perl |
13 |
lisp |
3,804 |
total |
The process tree of the build process is here.
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:
CMD: sudo -u tuscan red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
==> Making package: vbindiff 3.0_beta4-7 (Wed Aug 24 13:26:12 UTC 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> 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 gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-unknown-linux-strip... no
checking for strip... strip
checking whether to enable debugging... no
checking for x86_64-unknown-linux-g++... no
checking for x86_64-unknown-linux-c++... no
checking for x86_64-unknown-linux-gpp... no
checking for x86_64-unknown-linux-aCC... no
checking for x86_64-unknown-linux-CC... no
checking for x86_64-unknown-linux-cxx... no
checking for x86_64-unknown-linux-cc++... no
checking for x86_64-unknown-linux-cl.exe... no
checking for x86_64-unknown-linux-FCC... no
checking for x86_64-unknown-linux-KCC... no
checking for x86_64-unknown-linux-RCC... no
checking for x86_64-unknown-linux-xlC_r... no
checking for x86_64-unknown-linux-xlC... no
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for x86_64-unknown-linux-gcc... no
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for initscr in -lncurses... yes
checking for new_panel in -lpanel... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /usr/sbin/grep
checking for egrep... /usr/sbin/grep -E
checking for ANSI C header files... yes
checking 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 errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking panel.h usability... yes
checking panel.h presence... yes
checking for panel.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... no
checking for _Bool... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working memcmp... yes
checking for atexit... yes
checking for memset... yes
checking for strchr... yes
checking for strerror... yes
checking for strrchr... yes
checking for strtoul... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
make all-am
make[1]: Entering directory '/tmp/vbindiff/src/vbindiff-3.0_beta4'
if g++ -DHAVE_CONFIG_H -I. -I. -I. -I./curses -Wall -D_FILE_OFFSET_BITS=64 -MT vbindiff.o -MD -MP -MF ".deps/vbindiff.Tpo" -c -o vbindiff.o vbindiff.cpp; \
then mv -f ".deps/vbindiff.Tpo" ".deps/vbindiff.Po"; else rm -f ".deps/vbindiff.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I. -I./curses -Wall -D_FILE_OFFSET_BITS=64 -MT ConWin.o -MD -MP -MF ".deps/ConWin.Tpo" -c -o ConWin.o `test -f 'curses/ConWin.cpp' || echo './'`curses/ConWin.cpp; \
then mv -f ".deps/ConWin.Tpo" ".deps/ConWin.Po"; else rm -f ".deps/ConWin.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I. -I./curses -Wall -D_FILE_OFFSET_BITS=64 -MT GetOpt.o -MD -MP -MF ".deps/GetOpt.Tpo" -c -o GetOpt.o `test -f 'GetOpt/GetOpt.cpp' || echo './'`GetOpt/GetOpt.cpp; \
then mv -f ".deps/GetOpt.Tpo" ".deps/GetOpt.Po"; else rm -f ".deps/GetOpt.Tpo"; exit 1; fi
g++ -Wall -D_FILE_OFFSET_BITS=64 -o vbindiff vbindiff.o ConWin.o GetOpt.o -lpanel -lncurses
make[1]: Leaving directory '/tmp/vbindiff/src/vbindiff-3.0_beta4'
==> Entering fakeroot environment...
==> Starting package()...
make[1]: Entering directory '/tmp/vbindiff/src/vbindiff-3.0_beta4'
test -z "/tmp/vbindiff/pkg/vbindiff/usr/share/man/man1" || mkdir -p -- "/tmp/vbindiff/pkg/vbindiff/usr/share/man/man1"
/usr/bin/install -c -m 644 './vbindiff.1' '/tmp/vbindiff/pkg/vbindiff/usr/share/man/man1/vbindiff.1'
test -z "/tmp/vbindiff/pkg/vbindiff/usr/bin" || mkdir -p -- "/tmp/vbindiff/pkg/vbindiff/usr/bin"
/usr/bin/install -c 'vbindiff' '/tmp/vbindiff/pkg/vbindiff/usr/bin/vbindiff'
make[1]: Leaving directory '/tmp/vbindiff/src/vbindiff-3.0_beta4'
==> Tidying install...
-> Removing doc files...
-> Purging unwanted files...
==> Checking for packaging issue...
==> Creating package "vbindiff"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
error: invalid option '--noprogressbar'
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: vbindiff 3.0_beta4-7 (Wed Aug 24 13:26:26 UTC 2016)
CMD: pacman --query --file vbindiff-3.0_beta4-7-x86_64.pkg.tar.xz
Creating hybrid package for 'vbindiff'
Trying to find vanilla package 'vbindiff'...
CMD: pacman --query --file /mirror/vbindiff-3.0_beta4-7.pkg.tar.xz
Package file has the following structure:
Generating .MTREE
CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO usr
Tar-ing up files
CMD: bsdtar -cf - .PKGINFO usr .MTREE
CMD: xz -c -z
Successfully ran bsdtar -cf - .PKGINFO usr .MTREE | xz -c -z
CMD: bsdtar -tqf vbindiff.pkg.tar.xz .PKGINFO
Created package at path /var/cache/pacman/pkg/vbindiff.pkg.tar.xz
Attempting to access local repository, attempt 1
CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/vbindiff.pkg.tar.xz
==> Extracting database to a temporary location...
==> Extracting database to a temporary location...
==> Adding package '/var/cache/pacman/pkg/vbindiff.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/vbindiff/src/vbindiff-3.0_beta4/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 Visual Binary Diff configure 3.0_beta4, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure --host=x86_64-unknown-linux --prefix=/tmp/vbindiff/pkg/vbindiff/usr
## --------- ##
## Platform. ##
## --------- ##
hostname = a7e2b8492af3
uname -m = x86_64
uname -r = 4.7.1-1-ARCH
uname -s = Linux
uname -v = #1 SMP PREEMPT Wed Aug 17 08:13:35 CEST 2016
/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/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1784: checking for a BSD-compatible install
configure:1840: result: /usr/bin/install -c
configure:1851: checking whether build environment is sane
configure:1894: result: yes
configure:1959: checking for gawk
configure:1975: found /usr/sbin/gawk
configure:1986: result: gawk
configure:1997: checking whether make sets $(MAKE)
configure:2018: result: yes
configure:2094: checking for x86_64-unknown-linux-strip
configure:2124: result: no
configure:2134: checking for strip
configure:2150: found /usr/sbin/strip
configure:2161: result: strip
configure:2216: checking whether to enable debugging
configure:2232: result: no
configure:2251: checking for x86_64-unknown-linux-g++
configure:2281: result: no
configure:2251: checking for x86_64-unknown-linux-c++
configure:2281: result: no
configure:2251: checking for x86_64-unknown-linux-gpp
configure:2281: result: no
configure:2251: checking for x86_64-unknown-linux-aCC
configure:2281: result: no
configure:2251: checking for x86_64-unknown-linux-CC
configure:2281: result: no
configure:2251: checking for x86_64-unknown-linux-cxx
configure:2281: result: no
configure:2251: checking for x86_64-unknown-linux-cc++
configure:2281: result: no
configure:2251: checking for x86_64-unknown-linux-cl.exe
configure:2281: result: no
configure:2251: checking for x86_64-unknown-linux-FCC
configure:2281: result: no
configure:2251: checking for x86_64-unknown-linux-KCC
configure:2281: result: no
configure:2251: checking for x86_64-unknown-linux-RCC
configure:2281: result: no
configure:2251: checking for x86_64-unknown-linux-xlC_r
configure:2281: result: no
configure:2251: checking for x86_64-unknown-linux-xlC
configure:2281: result: no
configure:2295: checking for g++
configure:2311: found /usr/sbin/g++
configure:2322: result: g++
configure:2353: checking for C++ compiler version
configure:2360: g++ --version >&5
g++ (GCC) 6.1.1 20160602
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2363: $? = 0
configure:2370: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release
Thread model: posix
gcc version 6.1.1 20160602 (GCC)
configure:2373: $? = 0
configure:2380: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:2383: $? = 1
configure:2406: checking for C++ compiler default output file name
configure:2433: g++ conftest.cpp >&5
configure:2436: $? = 0
configure:2474: result: a.out
configure:2491: checking whether the C++ compiler works
configure:2501: ./a.out
configure:2504: $? = 0
configure:2521: result: yes
configure:2528: checking whether we are cross compiling
configure:2530: result: no
configure:2533: checking for suffix of executables
configure:2540: g++ -o conftest conftest.cpp >&5
configure:2543: $? = 0
configure:2567: result:
configure:2573: checking for suffix of object files
configure:2599: g++ -c conftest.cpp >&5
configure:2602: $? = 0
configure:2625: result: o
configure:2629: checking whether we are using the GNU C++ compiler
configure:2658: g++ -c conftest.cpp >&5
configure:2664: $? = 0
configure:2681: result: yes
configure:2686: checking whether g++ accepts -g
configure:2716: g++ -c -g conftest.cpp >&5
configure:2722: $? = 0
configure:2821: result: yes
configure:2855: checking for style of include used by make
configure:2883: result: GNU
configure:2911: checking dependency style of g++
configure:3001: result: gcc3
configure:3026: checking for x86_64-unknown-linux-gcc
configure:3056: result: no
configure:3066: checking for gcc
configure:3082: found /usr/sbin/gcc
configure:3093: result: gcc
configure:3331: checking for C compiler version
configure:3338: gcc --version >&5
gcc (GCC) 6.1.1 20160602
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3341: $? = 0
configure:3348: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release
Thread model: posix
gcc version 6.1.1 20160602 (GCC)
configure:3351: $? = 0
configure:3358: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3361: $? = 1
configure:3364: checking whether we are using the GNU C compiler
configure:3393: gcc -c -O2 conftest.c >&5
configure:3399: $? = 0
configure:3416: result: yes
configure:3421: checking whether gcc accepts -g
configure:3451: gcc -c -g conftest.c >&5
configure:3457: $? = 0
configure:3556: result: yes
configure:3573: checking for gcc option to accept ISO C89
configure:3647: gcc -c -O2 conftest.c >&5
configure:3653: $? = 0
configure:3676: result: none needed
configure:3696: checking dependency style of gcc
configure:3786: result: gcc3
configure:3807: checking for initscr in -lncurses
configure:3842: g++ -o conftest conftest.cpp -lncurses >&5
configure:3848: $? = 0
configure:3866: result: yes
configure:3882: checking for new_panel in -lpanel
configure:3917: g++ -o conftest conftest.cpp -lpanel -lncurses >&5
configure:3923: $? = 0
configure:3941: result: yes
configure:3963: checking how to run the C++ preprocessor
configure:3999: g++ -E conftest.cpp
configure:4005: $? = 0
configure:4036: g++ -E conftest.cpp
conftest.cpp:12:28: fatal error: ac_nonexistent.h: No such file or directory
#include
^
compilation terminated.
configure:4042: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "Visual Binary Diff"
| #define PACKAGE_TARNAME "vbindiff"
| #define PACKAGE_VERSION "3.0_beta4"
| #define PACKAGE_STRING "Visual Binary Diff 3.0_beta4"
| #define PACKAGE_BUGREPORT "vbindiff AT cjmweb.net"
| #define PACKAGE "vbindiff"
| #define VERSION "3.0_beta4"
| #define HAVE_LIBNCURSES 1
| #define HAVE_LIBPANEL 1
| /* end confdefs.h. */
| #include
configure:4075: result: g++ -E
configure:4104: g++ -E conftest.cpp
configure:4110: $? = 0
configure:4141: g++ -E conftest.cpp
conftest.cpp:12:28: fatal error: ac_nonexistent.h: No such file or directory
#include
^
compilation terminated.
configure:4147: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "Visual Binary Diff"
| #define PACKAGE_TARNAME "vbindiff"
| #define PACKAGE_VERSION "3.0_beta4"
| #define PACKAGE_STRING "Visual Binary Diff 3.0_beta4"
| #define PACKAGE_BUGREPORT "vbindiff AT cjmweb.net"
| #define PACKAGE "vbindiff"
| #define VERSION "3.0_beta4"
| #define HAVE_LIBNCURSES 1
| #define HAVE_LIBPANEL 1
| /* end confdefs.h. */
| #include
configure:4185: checking for grep that handles long lines and -e
configure:4259: result: /usr/sbin/grep
configure:4264: checking for egrep
configure:4342: result: /usr/sbin/grep -E
configure:4347: checking for ANSI C header files
configure:4377: g++ -c conftest.cpp >&5
configure:4383: $? = 0
configure:4482: g++ -o conftest conftest.cpp -lpanel -lncurses >&5
configure:4485: $? = 0
configure:4491: ./conftest
configure:4494: $? = 0
configure:4511: result: yes
configure:4535: checking for sys/types.h
configure:4556: g++ -c conftest.cpp >&5
configure:4562: $? = 0
configure:4578: result: yes
configure:4535: checking for sys/stat.h
configure:4556: g++ -c conftest.cpp >&5
configure:4562: $? = 0
configure:4578: result: yes
configure:4535: checking for stdlib.h
configure:4556: g++ -c conftest.cpp >&5
configure:4562: $? = 0
configure:4578: result: yes
configure:4535: checking for string.h
configure:4556: g++ -c conftest.cpp >&5
configure:4562: $? = 0
configure:4578: result: yes
configure:4535: checking for memory.h
configure:4556: g++ -c conftest.cpp >&5
configure:4562: $? = 0
configure:4578: result: yes
configure:4535: checking for strings.h
configure:4556: g++ -c conftest.cpp >&5
configure:4562: $? = 0
configure:4578: result: yes
configure:4535: checking for inttypes.h
configure:4556: g++ -c conftest.cpp >&5
configure:4562: $? = 0
configure:4578: result: yes
configure:4535: checking for stdint.h
configure:4556: g++ -c conftest.cpp >&5
configure:4562: $? = 0
configure:4578: result: yes
configure:4535: checking for unistd.h
configure:4556: g++ -c conftest.cpp >&5
configure:4562: $? = 0
configure:4578: result: yes
configure:4611: checking errno.h usability
configure:4628: g++ -c conftest.cpp >&5
configure:4634: $? = 0
configure:4648: result: yes
configure:4652: checking errno.h presence
configure:4667: g++ -E conftest.cpp
configure:4673: $? = 0
configure:4687: result: yes
configure:4720: checking for errno.h
configure:4728: result: yes
configure:4611: checking fcntl.h usability
configure:4628: g++ -c conftest.cpp >&5
configure:4634: $? = 0
configure:4648: result: yes
configure:4652: checking fcntl.h presence
configure:4667: g++ -E conftest.cpp
configure:4673: $? = 0
configure:4687: result: yes
configure:4720: checking for fcntl.h
configure:4728: result: yes
configure:4611: checking limits.h usability
configure:4628: g++ -c conftest.cpp >&5
configure:4634: $? = 0
configure:4648: result: yes
configure:4652: checking limits.h presence
configure:4667: g++ -E conftest.cpp
configure:4673: $? = 0
configure:4687: result: yes
configure:4720: checking for limits.h
configure:4728: result: yes
configure:4611: checking panel.h usability
configure:4628: g++ -c conftest.cpp >&5
configure:4634: $? = 0
configure:4648: result: yes
configure:4652: checking panel.h presence
configure:4667: g++ -E conftest.cpp
configure:4673: $? = 0
configure:4687: result: yes
configure:4720: checking for panel.h
configure:4728: result: yes
configure:4601: checking for stdlib.h
configure:4607: result: yes
configure:4601: checking for string.h
configure:4607: result: yes
configure:4601: checking for unistd.h
configure:4607: result: yes
configure:4743: checking for stdbool.h that conforms to C99
configure:4836: g++ -c conftest.cpp >&5
conftest.cpp:32:2: error: expected unqualified-id before string constant
"error: bool is not defined"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
conftest.cpp:50:36: error: 's' does not name a type
struct s { _Bool s: 1; _Bool t; } s;
^
conftest.cpp:56:12: error: 's' was not declared in this scope
bool e = &s;
^
conftest.cpp:60:16: error: 's' was not declared in this scope
char i[sizeof s.t];
^
conftest.cpp: In function 'int main()':
conftest.cpp:98:51: error: 'i' was not declared in this scope
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
^
configure:4842: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "Visual Binary Diff"
| #define PACKAGE_TARNAME "vbindiff"
| #define PACKAGE_VERSION "3.0_beta4"
| #define PACKAGE_STRING "Visual Binary Diff 3.0_beta4"
| #define PACKAGE_BUGREPORT "vbindiff AT cjmweb.net"
| #define PACKAGE "vbindiff"
| #define VERSION "3.0_beta4"
| #define HAVE_LIBNCURSES 1
| #define HAVE_LIBPANEL 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_ERRNO_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PANEL_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
|
| #include
| #ifndef bool
| "error: bool is not defined"
| #endif
| #ifndef false
| "error: false is not defined"
| #endif
| #if false
| "error: false is not 0"
| #endif
| #ifndef true
| "error: true is not defined"
| #endif
| #if true != 1
| "error: true is not 1"
| #endif
| #ifndef __bool_true_false_are_defined
| "error: __bool_true_false_are_defined is not defined"
| #endif
|
| struct s { _Bool s: 1; _Bool t; } s;
|
| char a[true == 1 ? 1 : -1];
| char b[false == 0 ? 1 : -1];
| char c[__bool_true_false_are_defined == 1 ? 1 : -1];
| char d[(bool) 0.5 == true ? 1 : -1];
| bool e = &s;
| char f[(_Bool) 0.0 == false ? 1 : -1];
| char g[true];
| char h[sizeof (_Bool)];
| char i[sizeof s.t];
| enum { j = false, k = true, l = false * true, m = true * 256 };
| _Bool n[m];
| char o[sizeof n == m * sizeof n[0] ? 1 : -1];
| char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
| # if defined __xlc__ || defined __GNUC__
| /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
| reported by James Lemley on 2005-10-05; see
| http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
| This test is not quite right, since xlc is allowed to
| reject this program, as the initializer for xlcbug is
| not one of the forms that C requires support for.
| However, doing the test right would require a runtime
| test, and that would make cross-compilation harder.
| Let us hope that IBM fixes the xlc bug, and also adds
| support for this kind of constant expression. In the
| meantime, this test will reject xlc, which is OK, since
| our stdbool.h substitute should suffice. We also test
| this with GCC, where it should work, to detect more
| quickly whether someone messes up the test in the
| future. */
| char digs[] = "0123456789";
| int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
| # endif
| /* Catch a bug in an HP-UX C compiler. See
| http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
| http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
| */
| _Bool q = true;
| _Bool *pq = &q;
|
| int
| main ()
| {
|
| *pq |= q;
| *pq |= ! q;
| /* Refer to every declared value, to avoid compiler optimizations. */
| return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
| + !m + !n + !o + !p + !q + !pq);
|
| ;
| return 0;
| }
configure:4857: result: no
configure:4859: checking for _Bool
configure:4889: g++ -c conftest.cpp >&5
conftest.cpp:62:9: error: '_Bool' does not name a type
typedef _Bool ac__type_new_;
^~~~~
conftest.cpp: In function 'int main()':
conftest.cpp:66:6: error: 'ac__type_new_' was not declared in this scope
if ((ac__type_new_ *) 0)
^~~~~~~~~~~~~
conftest.cpp:66:21: error: expected primary-expression before ')' token
if ((ac__type_new_ *) 0)
^
conftest.cpp:66:23: error: expected ')' before numeric constant
if ((ac__type_new_ *) 0)
^
conftest.cpp:68:13: error: 'ac__type_new_' was not declared in this scope
if (sizeof (ac__type_new_))
^~~~~~~~~~~~~
configure:4895: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "Visual Binary Diff"
| #define PACKAGE_TARNAME "vbindiff"
| #define PACKAGE_VERSION "3.0_beta4"
| #define PACKAGE_STRING "Visual Binary Diff 3.0_beta4"
| #define PACKAGE_BUGREPORT "vbindiff AT cjmweb.net"
| #define PACKAGE "vbindiff"
| #define VERSION "3.0_beta4"
| #define HAVE_LIBNCURSES 1
| #define HAVE_LIBPANEL 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_ERRNO_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PANEL_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_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
| typedef _Bool ac__type_new_;
| int
| main ()
| {
| if ((ac__type_new_ *) 0)
| return 0;
| if (sizeof (ac__type_new_))
| return 0;
| ;
| return 0;
| }
configure:4910: result: no
configure:4929: checking for an ANSI C-conforming const
configure:5004: g++ -c conftest.cpp >&5
configure:5010: $? = 0
configure:5025: result: yes
configure:5035: checking for inline
configure:5061: g++ -c conftest.cpp >&5
configure:5067: $? = 0
configure:5085: result: inline
configure:5104: checking for off_t
configure:5134: g++ -c conftest.cpp >&5
configure:5140: $? = 0
configure:5155: result: yes
configure:5167: checking for size_t
configure:5197: g++ -c conftest.cpp >&5
configure:5203: $? = 0
configure:5218: result: yes
configure:5232: checking for working memcmp
configure:5285: g++ -o conftest conftest.cpp -lpanel -lncurses >&5
configure:5288: $? = 0
configure:5294: ./conftest
configure:5297: $? = 0
configure:5313: result: yes
configure:5331: checking for atexit
configure:5387: g++ -o conftest conftest.cpp -lpanel -lncurses >&5
configure:5393: $? = 0
configure:5411: result: yes
configure:5331: checking for memset
configure:5387: g++ -o conftest conftest.cpp -lpanel -lncurses >&5
configure:5393: $? = 0
configure:5411: result: yes
configure:5331: checking for strchr
configure:5387: g++ -o conftest conftest.cpp -lpanel -lncurses >&5
configure:5393: $? = 0
configure:5411: result: yes
configure:5331: checking for strerror
configure:5387: g++ -o conftest conftest.cpp -lpanel -lncurses >&5
configure:5393: $? = 0
configure:5411: result: yes
configure:5331: checking for strrchr
configure:5387: g++ -o conftest conftest.cpp -lpanel -lncurses >&5
configure:5393: $? = 0
configure:5411: result: yes
configure:5331: checking for strtoul
configure:5387: g++ -o conftest conftest.cpp -lpanel -lncurses >&5
configure:5393: $? = 0
configure:5411: result: yes
configure:5545: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by Visual Binary Diff config.status 3.0_beta4, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on a7e2b8492af3
config.status:639: creating Makefile
config.status:639: creating config.h
config.status:920: executing depfiles commands
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_c_inline=inline
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
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_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_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_atexit=yes
ac_cv_func_memcmp_working=yes
ac_cv_func_memset=yes
ac_cv_func_strchr=yes
ac_cv_func_strerror=yes
ac_cv_func_strrchr=yes
ac_cv_func_strtoul=yes
ac_cv_header_errno_h=yes
ac_cv_header_fcntl_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_limits_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_panel_h=yes
ac_cv_header_stdbool_h=no
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_lib_ncurses_initscr=yes
ac_cv_lib_panel_new_panel=yes
ac_cv_objext=o
ac_cv_path_EGREP='/usr/sbin/grep -E'
ac_cv_path_GREP=/usr/sbin/grep
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CXXCPP='g++ -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
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
ac_cv_type__Bool=no
ac_cv_type_off_t=yes
ac_cv_type_size_t=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /tmp/vbindiff/src/vbindiff-3.0_beta4/missing --run aclocal-1.9'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /tmp/vbindiff/src/vbindiff-3.0_beta4/missing --run tar'
AUTOCONF='${SHELL} /tmp/vbindiff/src/vbindiff-3.0_beta4/missing --run autoconf'
AUTOHEADER='${SHELL} /tmp/vbindiff/src/vbindiff-3.0_beta4/missing --run autoheader'
AUTOMAKE='${SHELL} /tmp/vbindiff/src/vbindiff-3.0_beta4/missing --run automake-1.9'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-O2 '
CPPFLAGS=''
CXX='g++'
CXXCPP='g++ -E'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS=''
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/sbin/grep -E'
EXEEXT=''
GREP='/usr/sbin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS='-lpanel -lncurses '
LTLIBOBJS=''
MAKEINFO='${SHELL} /tmp/vbindiff/src/vbindiff-3.0_beta4/missing --run makeinfo'
OBJEXT='o'
PACKAGE='vbindiff'
PACKAGE_BUGREPORT='vbindiff AT cjmweb.net'
PACKAGE_NAME='Visual Binary Diff'
PACKAGE_STRING='Visual Binary Diff 3.0_beta4'
PACKAGE_TARNAME='vbindiff'
PACKAGE_VERSION='3.0_beta4'
PATH_SEPARATOR=':'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
VERSION='3.0_beta4'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host_alias='x86_64-unknown-linux'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='/tmp/vbindiff/src/vbindiff-3.0_beta4/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='/tmp/vbindiff/pkg/vbindiff/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME "Visual Binary Diff"
#define PACKAGE_TARNAME "vbindiff"
#define PACKAGE_VERSION "3.0_beta4"
#define PACKAGE_STRING "Visual Binary Diff 3.0_beta4"
#define PACKAGE_BUGREPORT "vbindiff AT cjmweb.net"
#define PACKAGE "vbindiff"
#define VERSION "3.0_beta4"
#define HAVE_LIBNCURSES 1
#define HAVE_LIBPANEL 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_ERRNO_H 1
#define HAVE_FCNTL_H 1
#define HAVE_LIMITS_H 1
#define HAVE_PANEL_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_UNISTD_H 1
#define HAVE_ATEXIT 1
#define HAVE_MEMSET 1
#define HAVE_STRCHR 1
#define HAVE_STRERROR 1
#define HAVE_STRRCHR 1
#define HAVE_STRTOUL 1
configure: exit 0