Package: libncursesw5 Version: 5.9-8 Severity: important Tags: upstream at line 15732 in ./configure
echo "$as_me:15718: checking if poll really works" >&5 echo $ECHO_N "checking if poll really works... $ECHO_C" >&6 if test "${cf_cv_working_poll+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then cf_cv_working_poll=unknown else cat >conftest.$ac_ext <<_ACEOF #line 15728 "configure" #include "confdefs.h" #include <stdio.h> #ifdef HAVE_POLL_H #include <poll.h> #else #include <sys/poll.h> #endif int main() { struct pollfd myfds; int ret; myfds.fd = 0; myfds.events = POLLIN; ret = poll(&myfds, 1, 100); ${cf_cv_main_return:-return}(ret != 0); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:15749: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:15752: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:15754: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:15757: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_working_poll=yes else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 cf_cv_working_poll=no fi rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi echo "$as_me:15769: result: $cf_cv_working_poll" >&5 echo "${ECHO_T}$cf_cv_working_poll" >&6 test "$cf_cv_working_poll" = "yes" && cat >>confdefs.h <<\EOF #define HAVE_WORKING_POLL 1 EOF If i compile the C test myself, adding a printf at the end, ret==0 after the poll(). The buildds are returning "checking if poll really works... no" yet Linux's poll() is fine. which results in ncurses/tty/tty_update.c using select() instead of poll() for the main loop, select() having considerably more overhead. -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (101, 'unstable'), (1, 'experimental') Architecture: armel (armv5tel) Kernel: Linux 3.4.0-tomoyo-00006-gfd64aac (PREEMPT) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages libncursesw5 depends on: ii libc6 2.13-33 ii libtinfo5 5.9-8 ii multiarch-support 2.13-33 Versions of packages libncursesw5 recommends: ii libgpm2 1.20.4-4em1 libncursesw5 suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org