Source: ncurses Version: 5.9+20140712-1 Severity: serious On kfreebsd-{amd64,i386} ncurses FTBFS:
,---- | /«BUILDDIR»/ncurses-5.9+20140712/ncurses/base/lib_mouse.c:119:29: fatal error: machine/console.h: No such file or directory | #include <machine/console.h> | ^ | compilation terminated. | make[2]: *** [../obj_s/lib_mouse.o] Error 1 `---- This seems to have been triggered by a change in the buildds: ncurses has a configure option "--with-sysmouse" (use FreeBSD sysmouse interface provide mouse support on the console) which previously had always been defaulted to "no" on kfreebsd, but today that has changed: ,---- | checking if you want to use sysmouse... yes `---- This is the offending code in lib_mouse.c: --8<---------------cut here---------------start------------->8--- #if USE_SYSMOUSE #undef buttons /* symbol conflict in consio.h */ #undef mouse_info /* symbol conflict in consio.h */ #include <osreldate.h> #if defined(__DragonFly_version) || (defined(__FreeBSD__) && (__FreeBSD_version >= 400017)) #include <sys/consio.h> #include <sys/fbio.h> #else #include <machine/console.h> #endif #endif /* use_SYSMOUSE */ --8<---------------cut here---------------end--------------->8--- I suspect it should check for __FreeBSD_kernel__ in addition to __FreeBSD__ according to [1]. Question to the porters: should we build ncurses with sysmouse support? If it actually works that seems useful, but the GNU/kFreeBSD FAQ is currently silent on mouse topics. 1. https://wiki.debian.org/Debian_GNU/kFreeBSD_FAQ#Q._How_do_I_detect_kfreebsd_with_preprocessor_directives_in_a_C_program.3F -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org