Am 18.09.2020 um 13:43 schrieb Helmut Grohne:

> Source: dpkg
> Version: 1.20.5
> Severity: serious
> Tags: ftbfs
>
> dpkg FTBFS as of today:
>
> | g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\"
> | -DADMINDIR=\"/var/lib/dpkg\" -DLIBDIR=\"/usr/lib/dpkg\"
> | -DLOCALLIBDIR=\"/usr/local/lib/dpkg\" -idirafter ../../lib/compat
> | -iquote . -I.. -I../../lib -Wdate-time -D_FORTIFY_SOURCE=2 -fno-rtti
> | -fno-exceptions -Wall -Wextra -Wcast-align -Wduplicated-branches
> | -Wduplicated-cond -Wformat -Wformat-security -Wformat=2 -Winit-self
> | -Wlogical-not-parentheses -Wlogical-op -Wmissing-declarations
> | -Wmissing-format-attribute -Wno-missing-field-initializers
> | -Wno-nonnull-compare -Wno-unused-parameter -Wnull-dereference
> | -Wpointer-arith -Wredundant-decls -Wregister -Wrestrict -Wshadow
> | -Wshift-negative-value -Wsizeof-array-argument -Wswitch-bool -Wvla
> | -Wwrite-strings -Wc++11-compat -Wcast-qual -Wold-style-cast
> | -Wzero-as-null-pointer-constant -g -O2
> | -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> | -Wformat -Werror=format-security -Wall -Wextra
> | -Wno-missing-field-initializers -Wno-nonnull-compare
> | -Wno-unused-parameter -MT curkeys.o -MD -MP -MF .deps/curkeys.Tpo -c
> | -o curkeys.o ../../dselect/curkeys.cc
> | mv -f .deps/pkgdisplay.Tpo .deps/pkgdisplay.Po
> | mv -f .deps/pkginfo.Tpo .deps/pkginfo.Po
> | mv -f .deps/pkgcmds.Tpo .deps/pkgcmds.Po
> | In file included from ../../dselect/curkeys.cc:30:
> | ./curkeys.h:168:5: error: ‘KEY_EVENT’ was not declared in this scope; did 
> you mean ‘KEY_OPEN’?
> |   168 |   { KEY_EVENT,      "Event"               },
> |       |     ^~~~~~~~~
> |       |     KEY_OPEN
> | make[4]: *** [Makefile:617: curkeys.o] Error 1
> | make[4]: *** Waiting for unfinished jobs....
> | mv -f .deps/pkgdepcon.Tpo .deps/pkgdepcon.Po
> | mv -f .deps/pkgsublist.Tpo .deps/pkgsublist.Po
> | mv -f .deps/pkgtop.Tpo .deps/pkgtop.Po
> | mv -f .deps/pkglist.Tpo .deps/pkglist.Po
> | make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-tree/dselect'
> | make[3]: *** [Makefile:650: all-recursive] Error 1
> | make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-tree/dselect'
> | make[2]: *** [Makefile:743: all-recursive] Error 1
> | make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-tree'
> | make[1]: *** [Makefile:609: all] Error 2
> | make[1]: Leaving directory '/<<PKGBUILDDIR>>/build-tree'
> | make: *** [debian/rules:74: build] Error 2
> | dpkg-buildpackage: error: debian/rules binary subprocess returned exit 
> status 2
>
> I suppose this is connected to a ncurses upload.

Quoting the ncurses NEWS file:

,----
| 20200817
|       + prevent KEY_EVENT from appearing in curses.h unless the configure
|         option --enable-wgetch-events is used (report by Werner Fink).
`----

See the thread at
https://lists.gnu.org/archive/html/bug-ncurses/2020-08/threads.html#00017
for a discussion that motivated this change.

Cheers,
       Sven

Reply via email to