[Pkg-electronics-devel] Bug#995040: iverilog FTBFS: configure: error: C preprocessor "/lib/cpp" fails sanity check

Helmut Grohne helmut at subdivi.de
Sat Sep 25 06:22:37 BST 2021


Source: iverilog
Version: 11.0-1
Severity: serious
Tags: ftbfs

iverilog fails to build from source in unstable on amd64. I'm not
exactly sure what the relevant parts of the build log are. Here is my
guess:

| ...
| checking how to run the C preprocessor... /lib/cpp
| configure: error: in `/<<PKGBUILDDIR>>':
| configure: error: C preprocessor "/lib/cpp" fails sanity check
| See `config.log' for more details
| 	tail -v -n \+0 config.log
| ==> config.log <==
| ...
| configure:8905: result: /lib/cpp
| configure:8919:  -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c
| ./configure: line 2189: -Wdate-time: command not found
| configure:8919: $? = 127
| ...
| configure:8952: error: in `/<<PKGBUILDDIR>>':
| configure:8954: error: C preprocessor "/lib/cpp" fails sanity check
| See `config.log' for more details
| ...

Seems to reproduce reliably. Also seen in cross builds:
http://crossqa.debian.net/build/iverilog_11.0-1_amd64_20210825212934.log

Hope this helps.

Helmut



More information about the Pkg-electronics-devel mailing list