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

Bug#980605: snd: FTBFS: ../../../notcurses_s7.c:3815:10: error: ‘CELL_WIDEASIAN_MASK’ undeclared (first use in this function)



Source: snd
Version: 21.0-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20210120 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> gcc -c -DSCRIPTS_DIR=\"/usr/share/snd\" -DNOTCURSES_2_0_5=1 -Wdate-time -D_FORTIFY_SOURCE=2 -DREPRODUCIBLE_BUILD=1 -DNOTCURSES_2_0_5=1 -O2 -I. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security      ../../../snd-nogui.c
> In file included from ../../../nrepl.c:16,
>                  from ../../../snd-nogui.c:295:
> ../../../notcurses_s7.c: In function ‘g_ncdirect_fg_default’:
> ../../../notcurses_s7.c:176:3: warning: ‘ncdirect_fg_default’ is deprecated [-Wdeprecated-declarations]
>   176 |   return(s7_make_integer(sc, ncdirect_fg_default((struct ncdirect *)s7_c_pointer_with_type(sc, s7_car(args), ncdirect_symbol, __func__, 1))));
>       |   ^~~~~~
> In file included from ../../../notcurses_s7.c:10,
>                  from ../../../nrepl.c:16,
>                  from ../../../snd-nogui.c:295:
> /usr/include/notcurses/direct.h:148:1: note: declared here
>   148 | ncdirect_fg_default(struct ncdirect* nc){
>       | ^~~~~~~~~~~~~~~~~~~
> In file included from ../../../nrepl.c:16,
>                  from ../../../snd-nogui.c:295:
> ../../../notcurses_s7.c: In function ‘g_ncdirect_bg_default’:
> ../../../notcurses_s7.c:181:3: warning: ‘ncdirect_bg_default’ is deprecated [-Wdeprecated-declarations]
>   181 |   return(s7_make_integer(sc, ncdirect_bg_default((struct ncdirect *)s7_c_pointer_with_type(sc, s7_car(args), ncdirect_symbol, __func__, 1))));
>       |   ^~~~~~
> In file included from ../../../notcurses_s7.c:10,
>                  from ../../../nrepl.c:16,
>                  from ../../../snd-nogui.c:295:
> /usr/include/notcurses/direct.h:156:1: note: declared here
>   156 | ncdirect_bg_default(struct ncdirect* nc){
>       | ^~~~~~~~~~~~~~~~~~~
> In file included from ../../../nrepl.c:16,
>                  from ../../../snd-nogui.c:295:
> ../../../notcurses_s7.c: In function ‘g_ncdirect_fg_rgb’:
> ../../../notcurses_s7.c:226:3: warning: ‘ncdirect_fg_rgb’ is deprecated [-Wdeprecated-declarations]
>   226 |   return(s7_make_integer(sc, ncdirect_fg_rgb((struct ncdirect *)s7_c_pointer_with_type(sc, s7_car(args), ncdirect_symbol, __func__, 1),
>       |   ^~~~~~
> In file included from ../../../notcurses_s7.c:10,
>                  from ../../../nrepl.c:16,
>                  from ../../../snd-nogui.c:295:
> /usr/include/notcurses/direct.h:57:1: note: declared here
>    57 | ncdirect_fg_rgb(struct ncdirect* nc, unsigned rgb){
>       | ^~~~~~~~~~~~~~~
> In file included from ../../../nrepl.c:16,
>                  from ../../../snd-nogui.c:295:
> ../../../notcurses_s7.c: In function ‘g_ncdirect_bg_rgb’:
> ../../../notcurses_s7.c:232:3: warning: ‘ncdirect_bg_rgb’ is deprecated [-Wdeprecated-declarations]
>   232 |   return(s7_make_integer(sc, ncdirect_bg_rgb((struct ncdirect *)s7_c_pointer_with_type(sc, s7_car(args), ncdirect_symbol, __func__, 1),
>       |   ^~~~~~
> In file included from ../../../notcurses_s7.c:10,
>                  from ../../../nrepl.c:16,
>                  from ../../../snd-nogui.c:295:
> /usr/include/notcurses/direct.h:65:1: note: declared here
>    65 | ncdirect_bg_rgb(struct ncdirect* nc, unsigned rgb){
>       | ^~~~~~~~~~~~~~~
> In file included from ../../../nrepl.c:16,
>                  from ../../../snd-nogui.c:295:
> ../../../notcurses_s7.c: In function ‘g_ncdirect_styles_set’:
> ../../../notcurses_s7.c:238:3: warning: ‘ncdirect_styles_set’ is deprecated [-Wdeprecated-declarations]
>   238 |   return(s7_make_integer(sc, ncdirect_styles_set((struct ncdirect *)s7_c_pointer_with_type(sc, s7_car(args), ncdirect_symbol, __func__, 1),
>       |   ^~~~~~
> In file included from ../../../notcurses_s7.c:10,
>                  from ../../../nrepl.c:16,
>                  from ../../../snd-nogui.c:295:
> /usr/include/notcurses/direct.h:170:9: note: declared here
>   170 | API int ncdirect_styles_set(struct ncdirect* n, unsigned stylebits)
>       |         ^~~~~~~~~~~~~~~~~~~
> In file included from ../../../nrepl.c:16,
>                  from ../../../snd-nogui.c:295:
> ../../../notcurses_s7.c: In function ‘g_ncdirect_styles_on’:
> ../../../notcurses_s7.c:244:3: warning: ‘ncdirect_styles_on’ is deprecated [-Wdeprecated-declarations]
>   244 |   return(s7_make_integer(sc, ncdirect_styles_on((struct ncdirect *)s7_c_pointer_with_type(sc, s7_car(args), ncdirect_symbol, __func__, 1),
>       |   ^~~~~~
> In file included from ../../../notcurses_s7.c:10,
>                  from ../../../nrepl.c:16,
>                  from ../../../snd-nogui.c:295:
> /usr/include/notcurses/direct.h:172:9: note: declared here
>   172 | API int ncdirect_styles_on(struct ncdirect* n, unsigned stylebits)
>       |         ^~~~~~~~~~~~~~~~~~
> In file included from ../../../nrepl.c:16,
>                  from ../../../snd-nogui.c:295:
> ../../../notcurses_s7.c: In function ‘g_ncdirect_styles_off’:
> ../../../notcurses_s7.c:250:3: warning: ‘ncdirect_styles_off’ is deprecated [-Wdeprecated-declarations]
>   250 |   return(s7_make_integer(sc, ncdirect_styles_off((struct ncdirect *)s7_c_pointer_with_type(sc, s7_car(args), ncdirect_symbol, __func__, 1),
>       |   ^~~~~~
> In file included from ../../../notcurses_s7.c:10,
>                  from ../../../nrepl.c:16,
>                  from ../../../snd-nogui.c:295:
> /usr/include/notcurses/direct.h:174:9: note: declared here
>   174 | API int ncdirect_styles_off(struct ncdirect* n, unsigned stylebits)
>       |         ^~~~~~~~~~~~~~~~~~~
> In file included from ../../../nrepl.c:16,
>                  from ../../../snd-nogui.c:295:
> ../../../notcurses_s7.c: In function ‘notcurses_s7_init’:
> ../../../notcurses_s7.c:3815:10: error: ‘CELL_WIDEASIAN_MASK’ undeclared (first use in this function)
>  3815 |   nc_int(CELL_WIDEASIAN_MASK);
>       |          ^~~~~~~~~~~~~~~~~~~
> ../../../notcurses_s7.c:3802:108: note: in definition of macro ‘nc_int’
>  3802 |   #define nc_int(Name) s7_define(sc, notcurses_let, s7_make_symbol(sc, #Name), s7_make_integer(sc, (s7_int)Name))
>       |                                                                                                            ^~~~
> ../../../notcurses_s7.c:3815:10: note: each undeclared identifier is reported only once for each function it appears in
>  3815 |   nc_int(CELL_WIDEASIAN_MASK);
>       |          ^~~~~~~~~~~~~~~~~~~
> ../../../notcurses_s7.c:3802:108: note: in definition of macro ‘nc_int’
>  3802 |   #define nc_int(Name) s7_define(sc, notcurses_let, s7_make_symbol(sc, #Name), s7_make_integer(sc, (s7_int)Name))
>       |                                                                                                            ^~~~
> make[2]: *** [makefile:55: snd-nogui.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2021/01/20/snd_21.0-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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.

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.


Reply to: