[Pkg-electronics-devel] Bug#917674: ngspice: FTBFS: ../../../../src/main.c:25:19: error: conflicting types for 'rl_event_hook'

Lucas Nussbaum lucas at debian.org
Sat Dec 29 21:37:23 GMT 2018


Source: ngspice
Version: 29-2
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20181229 ftbfs-buster

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> gcc -DHAVE_CONFIG_H   -I. -I../../../../src -I../src/include -I../../../../src/include -I../../../../src/spicelib/devices  -DSIMULATOR -Wdate-time -D_FORTIFY_SOURCE=2 -static -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -c -o ngspice-ngspice.o `test -f 'ngspice.c' || echo '../../../../src/'`ngspice.c
> ../../../../src/main.c:25:19: error: conflicting types for 'rl_event_hook'
>  extern VFunction *rl_event_hook;    /* missing from editline/readline.h */
>                    ^~~~~~~~~~~~~
> In file included from ../../../../src/main.c:24:
> /usr/include/editline/readline.h:142:24: note: previous declaration of 'rl_event_hook' was here
>  extern rl_hook_func_t *rl_event_hook;
>                         ^~~~~~~~~~~~~
> make[4]: *** [Makefile:1272: ngspice-main.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2018/12/29/ngspice_29-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-electronics-devel mailing list