It looks like ncurses has dropped KEY_EVENT:
https://invisible-island.net/ncurses/NEWS.html#index-t20200817

I'll fix this upstream and produce a new package --- it's about time anyway.

On Sun, 27 Sep 2020 at 20:51, Lucas Nussbaum <lu...@debian.org> wrote:

> Source: wordgrinder
> Version: 0.7.2-1
> Severity: serious
> Justification: FTBFS on amd64
> Tags: bullseye sid ftbfs
> Usertags: ftbfs-20200926 ftbfs-bullseye
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
>
> Relevant part (hopefully):
> > cc -MMD -MF .obj/lua-5.3-curses-release/src/c/arch/unix/cursesw/dpy.o.d
> -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security -g -DVERSION='"0.7.2"' -DFILEFORMAT=7 -DNOUNCRYPT
> -DNOCRYPT -Isrc/c -Wall -Wno-unused-function -ffunction-sections
> -fdata-sections -Werror=implicit-function-declaration --std=gnu99
> -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -Os -I/usr/include/lua5.3
> -I/usr/include/lua5.3   -DARCH='"unix"' -D_XOPEN_SOURCE_EXTENDED
> -D_XOPEN_SOURCE -D_GNU_SOURCE -I/usr/include/minizip -c
> src/c/arch/unix/cursesw/dpy.c -o
> .obj/lua-5.3-curses-release/src/c/arch/unix/cursesw/dpy.o
> > <command-line>: warning: "_XOPEN_SOURCE" redefined
> > <command-line>: note: this is the location of the previous definition
> > src/c/arch/unix/cursesw/dpy.c: In function ‘dpy_getkeyname’:
> > src/c/arch/unix/cursesw/dpy.c:219:8: error: ‘KEY_EVENT’ undeclared
> (first use in this function); did you mean ‘KEY_SLEFT’?
> >   219 |   case KEY_EVENT: return "KEY_EVENT";
> >       |        ^~~~~~~~~
> >       |        KEY_SLEFT
> > src/c/arch/unix/cursesw/dpy.c:219:8: note: each undeclared identifier is
> reported only once for each function it appears in
> > [14/82] cc -MMD -MF .obj/lua-5.3-curses-release/src/c/main.o.d
> -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security -g -DVERSION='"0.7.2"' -DFILEFORMAT=7 -DNOUNCRYPT
> -DNOCRYPT -Isrc/c -Wall -Wno-unused-function -ffunction-sections
> -fdata-sections -Werror=implicit-function-declaration --std=gnu99
> -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -Os -I/usr/include/lua5.3
> -I/usr/include/lua5.3   -DARCH='"unix"' -D_XOPEN_SOURCE_EXTENDED
> -D_XOPEN_SOURCE -D_GNU_SOURCE -I/usr/include/minizip -c src/c/main.c -o
> .obj/lua-5.3-curses-release/src/c/main.o
> > <command-line>: warning: "_XOPEN_SOURCE" redefined
> > <command-line>: note: this is the location of the previous definition
> > [15/82] cc -MMD -MF .obj/lua-5.3-curses-release/src/c/lua.o.d
> -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security -g -DVERSION='"0.7.2"' -DFILEFORMAT=7 -DNOUNCRYPT
> -DNOCRYPT -Isrc/c -Wall -Wno-unused-function -ffunction-sections
> -fdata-sections -Werror=implicit-function-declaration --std=gnu99
> -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -Os -I/usr/include/lua5.3
> -I/usr/include/lua5.3   -DARCH='"unix"' -D_XOPEN_SOURCE_EXTENDED
> -D_XOPEN_SOURCE -D_GNU_SOURCE -I/usr/include/minizip -c src/c/lua.c -o
> .obj/lua-5.3-curses-release/src/c/lua.o
> > <command-line>: warning: "_XOPEN_SOURCE" redefined
> > <command-line>: note: this is the location of the previous definition
> > [16/82] cc -MMD -MF .obj/lua-5.3-curses-release/src/c/screen.o.d
> -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security -g -DVERSION='"0.7.2"' -DFILEFORMAT=7 -DNOUNCRYPT
> -DNOCRYPT -Isrc/c -Wall -Wno-unused-function -ffunction-sections
> -fdata-sections -Werror=implicit-function-declaration --std=gnu99
> -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -Os -I/usr/include/lua5.3
> -I/usr/include/lua5.3   -DARCH='"unix"' -D_XOPEN_SOURCE_EXTENDED
> -D_XOPEN_SOURCE -D_GNU_SOURCE -I/usr/include/minizip -c src/c/screen.c -o
> .obj/lua-5.3-curses-release/src/c/screen.o
> > <command-line>: warning: "_XOPEN_SOURCE" redefined
> > <command-line>: note: this is the location of the previous definition
> > [17/82] cc -MMD -MF .obj/lua-5.3-x11-release/.obj/luascripts.o.d
> -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security -g -DVERSION='"0.7.2"' -DFILEFORMAT=7 -DNOUNCRYPT
> -DNOCRYPT -Isrc/c -Wall -Wno-unused-function -ffunction-sections
> -fdata-sections -Werror=implicit-function-declaration --std=gnu99
> -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/X11 -Os
> -I/usr/include/lua5.3 -I/usr/include/lua5.3   -DARCH='"unix"'
> -D_XOPEN_SOURCE_EXTENDED -D_XOPEN_SOURCE -D_GNU_SOURCE
> -I/usr/include/minizip -c .obj/luascripts.c -o
> .obj/lua-5.3-x11-release/.obj/luascripts.o
> > [18/82] cc -MMD -MF .obj/lua-5.3-curses-release/.obj/luascripts.o.d
> -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security -g -DVERSION='"0.7.2"' -DFILEFORMAT=7 -DNOUNCRYPT
> -DNOCRYPT -Isrc/c -Wall -Wno-unused-function -ffunction-sections
> -fdata-sections -Werror=implicit-function-declaration --std=gnu99
> -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -Os -I/usr/include/lua5.3
> -I/usr/include/lua5.3   -DARCH='"unix"' -D_XOPEN_SOURCE_EXTENDED
> -D_XOPEN_SOURCE -D_GNU_SOURCE -I/usr/include/minizip -c .obj/luascripts.c
> -o .obj/lua-5.3-curses-release/.obj/luascripts.o
> > <command-line>: warning: "_XOPEN_SOURCE" redefined
> > <command-line>: note: this is the location of the previous definition
> > ninja: build stopped: subcommand failed.
> > make[2]: *** [Makefile:113: all] Error 1
>
> The full build log is available from:
>    http://qa-logs.debian.net/2020/09/26/wordgrinder_0.7.2-1_unstable.log
>
> A list of current common problems and possible solutions is available at
> http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
>
> About the archive rebuild: The rebuild was done on EC2 VM instances from
> Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
> failed build was retried once to eliminate random failures.
>


-- 
┌─── http://www.cowlark.com ───
│ "I have always wished for my computer to be as easy to use as my
│ telephone; my wish has come true because I can no longer figure out
│ how to use my telephone." --- Bjarne Stroustrup

Reply via email to