[Bug 205155] devel/ncurses update to 6.0 broke the audio/ncmpcpp configure script
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Dec 9 10:17:01 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205155
Bug ID: 205155
Summary: devel/ncurses update to 6.0 broke the audio/ncmpcpp
configure script
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: yamagi at yamagi.org
CC: bapt at FreeBSD.org
Hello,
the update of devel/ncurses broke the configure script of audio/ncmpcpp. At
this point I'm not sure if it's a general problem with devel/ncurses usage in
C++ based programs or if audio/ncmpcpp has just a broken configure script /
automake setup. The error is:
checking for ncursesw6-config... /usr/local/bin/ncursesw6-config
checking for initscr in -lncursesw... yes
checking for initscr in -lncursesw... yes
checking curses.h usability... no
checking curses.h presence... yes
configure: WARNING: curses.h: present but cannot be compiled
configure: WARNING: curses.h: check for missing prerequisite headers?
configure: WARNING: curses.h: see the Autoconf documentation
configure: WARNING: curses.h: section "Present But Cannot Be Compiled"
configure: WARNING: curses.h: proceeding with the compiler's result
checking for curses.h... no
configure: error: missing curses.h header
Interestingly the test for initscr() succeeds, but the following test for
curses.h usability fails. Of course the config.log has some more informations.
The compilation of the initscr succeeds, even in C++0x mode:
configure:17211: checking for initscr in -lncursesw
configure:17236: c++ -o conftest -O2 -pipe -DLIBICONV_PLUG -fstack-protector
-fno-strict-aliasing -DLIBICONV_PLUG -std=c++0x -I/usr/local/include
-DLIBICONV_PLUG -I/usr/local/include -I/usr/local/include -D_BSD_TYPES
-D__BSD_VISIBLE -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600
-I/usr/local/include/ncurses/ncursesw -I/usr/local/include/ncurses -lpthread
-L/usr/local/lib -Wl,-rpath=/usr/local/lib -fstack-protector conftest.cpp
-lncursesw -lboost_filesystem -lboost_system -lboost_locale
-lboost_program_options -lboost_regex -L/usr/local/lib -licuuc -licudata
-lboost_thread -L/usr/local/lib -lmpdclient -lreadline -lpthread
-L/usr/local/lib -rpath /usr/local/lib -lncursesw -ltinfow >&5
configure:17236: $? = 0
configure:17246: result: yes
The curses.h test fails with type missmatches:
configure:17260: checking curses.h usability
configure:17260: c++ -c -O2 -pipe -DLIBICONV_PLUG -fstack-protector
-fno-strict-aliasing -DLIBICONV_PLUG -std=c++0x -I/usr/local/include
-DLIBICONV_PLUG -I/usr/local/include -I/usr/local/include -D_BSD_TYPES
-D__BSD_VISIBLE -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600
-I/usr/local/include/ncurses/ncursesw -I/usr/local/include/ncurses conftest.cpp
>&5
In file included from conftest.cpp:81:
In file included from /usr/include/curses.h:141:
/usr/local/include/ncurses/unctrl.h:60:38: error: cannot initialize a variable
of type 'const char *' with an lvalue of type 'const char *(chtype)'
NCURSES_EXPORT(NCURSES_CONST char *) NCURSES_SP_NAME(unctrl) (SCREEN*, chtype);
^ ~~~~~~
/usr/local/include/ncurses/unctrl.h:60:61: error: expected ';' after top level
declarator
NCURSES_EXPORT(NCURSES_CONST char *) NCURSES_SP_NAME(unctrl) (SCREEN*, chtype);
^
2 errors generated.
configure:17260: $? = 1
For now I'll switch audio/ncmpcpp back to ncurses:base. Nevertheless it would
be nice if we could clarify if I'm seeing a general problem or if it's a
problem limited to 'my' configure script.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list