zsh-workers
 help / color / mirror / code / Atom feed
* [BUG] building fails on ArchLinux
@ 2024-06-17 15:29 vnepogodin
  2024-06-20 15:49 ` Bart Schaefer
  0 siblings, 1 reply; 3+ messages in thread
From: vnepogodin @ 2024-06-17 15:29 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 1233 bytes --]


ncurses have different signature of boolcodes from expected one

versions:
ncurses - 6.5
gcc - 14.1.1
autoconf - 2.72

log snippet:gcc -c -I. -I../../Src -I../../Src -I../../Src/Zle -I.  -DHAVE_CONFIG_H -march=znver4 -mtune=znver4 -O3 -pipe -fno-plt -fexceptions -mpclmul         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g1 -ffile-prefix-map=/startdir/src=/usr/src/debug/zsh -flto=auto  -o termcap.o termcap.c
termcap.c:45:14: error: conflicting types for ‘boolcodes’; have ‘char *[]’
   45 | static char *boolcodes[] = {
      |              ^~~~~~~~~
In file included from ../../Src/zshterm.h:1,
                 from ../../Src/zsh_system.h:932,
                 from ../../Src/zsh.mdh:15,
                 from termcap.mdh:15,
                 from termcap.c:38:
/usr/include/term.h:783:56: note: previous declaration of ‘boolcodes’ with type ‘const char * const[]’
  783 | extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) boolcodes[];
      |                                                        ^~~~~~~~~
make[3]: *** [Makefile:230: termcap.o] Error 1
make[3]: Leaving directory '/startdir/src/zsh-5.9/Src/Modules'

[-- Attachment #2: Type: text/html, Size: 1283 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [BUG] building fails on ArchLinux
  2024-06-17 15:29 [BUG] building fails on ArchLinux vnepogodin
@ 2024-06-20 15:49 ` Bart Schaefer
  2024-06-20 16:24   ` vnepogodin
  0 siblings, 1 reply; 3+ messages in thread
From: Bart Schaefer @ 2024-06-20 15:49 UTC (permalink / raw)
  To: vnepogodin; +Cc: zsh-workers

On Mon, Jun 17, 2024 at 8:29 AM vnepogodin <vnepogodin@cachyos.org> wrote:
>
> ncurses have different signature of boolcodes from expected one

Is this using the current HEAD revision from git master?  There was a
change in commit 4c89849 (workers/52394) that was intended to address
this.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [BUG] building fails on ArchLinux
  2024-06-20 15:49 ` Bart Schaefer
@ 2024-06-20 16:24   ` vnepogodin
  0 siblings, 0 replies; 3+ messages in thread
From: vnepogodin @ 2024-06-20 16:24 UTC (permalink / raw)
  To: Bart Schaefer; +Cc: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 479 bytes --]


On Thursday, June 20, 2024 17:49 CEST, Bart Schaefer <schaefer@brasslantern.com> wrote:
 On Mon, Jun 17, 2024 at 8:29 AM vnepogodin <vnepogodin@cachyos.org> wrote:
>
> ncurses have different signature of boolcodes from expected one

Is this using the current HEAD revision from git master? There was a
change in commit 4c89849 (workers/52394) that was intended to address
this.Oh yeah right. configure.ac change in commit 4c89849 (workers/52394) fixed it
sorry
 

[-- Attachment #2: Type: text/html, Size: 735 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-06-20 16:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-17 15:29 [BUG] building fails on ArchLinux vnepogodin
2024-06-20 15:49 ` Bart Schaefer
2024-06-20 16:24   ` vnepogodin

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).