[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#868599: ocaml-curses FTBFS with recent ncurses



Source: ocaml-curses
Version: 1.0.3-2
Severity: serious
Tags: buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ocaml-curses.html

...
checking for sys/ioctl.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for working ncurses library... found in -lncursesw
checking for term.h... configure: error: not found
debian/rules:21: recipe for target 'build-stamp' failed
make: *** [build-stamp] Error 1



config.log says:

...
configure:3644: checking for term.h
configure:3657: gcc -c -g -O2   conftest.c >&5
conftest.c: In function 'main':
conftest.c:26:10: error: storage size of '__dummy' isn't known
 TERMINAL __dummy
          ^~~~~~~
configure:3657: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #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_TERMIOS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define CURSES_HEADER <ncursesw/curses.h>
| /* end confdefs.h.  */
| #include <term.h>
| int
| main ()
| {
| TERMINAL __dummy
|   ;
|   return 0;
| }
...


Reply to: