pkgsrc-Users archive

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

xentools build failure with ncurses



Hej,

i just ran across a stop in pkg_rr when that hits xentools:
xentop.c: In function 'print':
xentop.c:304:4: error: 'vwprintw' is deprecated [-Werror=deprecated-declarations]
    vwprintw(stdscr, (curses_str_t)fmt, args);
    ^~~~~~~~
In file included from xentop.c:22:
/hurz/pbulk/sysutils/xentools411/work/.buildlink/include/ncurses.h:825:28: note: declared here
 extern NCURSES_EXPORT(int) vwprintw (WINDOW *, const char *,va_list) GCC_DEPRECATED(use vw_printw); /* implemented */
                            ^~~~~~~~
cc1: all warnings being treated as errors
gmake[5]: *** [<builtin>: xentop] Error 1
gmake[5]: Leaving directory '/hurz/pbulk/sysutils/xentools411/work/xen-4.11.3/tools/xenstat/xentop'
gmake[4]: *** [/hurz/pbulk/sysutils/xentools411/work/xen-4.11.3/tools/xenstat/../../tools/Rules.mk:249: subdir-all-xentop] Error 2
gmake[4]: Leaving directory '/hurz/pbulk/sysutils/xentools411/work/xen-4.11.3/tools/xenstat'
gmake[3]: *** [/hurz/pbulk/sysutils/xentools411/work/xen-4.11.3/tools/xenstat/../../tools/Rules.mk:244: subdirs-all] Error 2
gmake[3]: Leaving directory '/hurz/pbulk/sysutils/xentools411/work/xen-4.11.3/tools/xenstat'
gmake[2]: *** [/hurz/pbulk/sysutils/xentools411/work/xen-4.11.3/tools/../tools/Rules.mk:249: subdir-all-xenstat] Error 2
gmake[2]: Leaving directory '/hurz/pbulk/sysutils/xentools411/work/xen-4.11.3/tools'
gmake[1]: *** [/hurz/pbulk/sysutils/xentools411/work/xen-4.11.3/tools/../tools/Rules.mk:244: subdirs-all] Error 2
gmake[1]: Leaving directory '/hurz/pbulk/sysutils/xentools411/work/xen-4.11.3/tools'
gmake: *** [Makefile:59: build-tools] Error 2
*** Error code 2

Stop.
make[1]: stopped in /hurz/pkgsrc/sysutils/xentools411

I refetched everything - still that same error.  Running on NetBSD 9.99.67 amd64 with pkgsrc-current from 12 hours ago xentools411 and ncurses + ncursesww from now()-20min.  even though the las update on ncurses(w) seems to be from june 2nd.
CURSES_DEFAULT=ncursesw
or CURSES_DEFAULT=ncurses
makes no difference, as expected.

since one package (tmux) forced me to set CURSES_DEFAULT to ncurses(w) in order to build: is there a simple way to set CURSES_DEFAULT only for some packages?

Cheers
	Oskar

Attachment: signature.asc
Description: Message signed with OpenPGP



Home | Main Index | Thread Index | Old Index