pkgsrc-Users archive

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

Re: xentools build failure with ncurses



On Sat, 27 Jun 2020 at 12:41, <oskar%fessel.org@localhost> wrote:
>
> 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

I have the above...

> or CURSES_DEFAULT=ncurses
> makes no difference, as expected.
>

My case was even weirder - xentools411 build failed as part of
'pkg_rolling-replace -uv'; I then repeated just 'make'  in the package
directory, forgetting to add a log - so it failed again; once more I
ran 'make 2>&1 | tee some-log' - and this third time the package build
apparently continued to the end, subsequent 'make package' also
succeeded, so I replaced the package.

Now I see

$ file /usr/pkg/sbin/xentop
/usr/pkg/sbin/xentop: GCC precompiled header (version 014) for C

and ofcourse it doesn't work...

The rest of the xen* programs in /usr/pkg/bin and /usr/pkg/sbin appear correct.

> 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
>


-- 
----


Home | Main Index | Thread Index | Old Index