[Bug 2081998] Re: zsh: zsh 5.9 FTBFS on Oracular

Vladimir Petko 2081998 at bugs.launchpad.net
Wed Sep 25 20:08:19 UTC 2024


** Description changed:

  zsh 5.9 FTBFS on Oracular due to multiple issues.
  
  1. GCC 14 is stricter about pointer types
+ ---
+ 5.9-6ubuntu2 -Wall -g  -o termcap.o ../../../Src/Modules/termcap.c
+ ../../../Src/Modules/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 ../../../Src/Modules/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[];
+       |                                                        ^~~~~~~~~
+ ---
  2. zsh is misdetecting the system due to (1).

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to zsh in Ubuntu.
https://bugs.launchpad.net/bugs/2081998

Title:
  zsh: zsh 5.9 FTBFS on Oracular

Status in zsh package in Ubuntu:
  New

Bug description:
  zsh 5.9 FTBFS on Oracular due to multiple issues.

  1. GCC 14 is stricter about pointer types
  ---
  5.9-6ubuntu2 -Wall -g  -o termcap.o ../../../Src/Modules/termcap.c
  ../../../Src/Modules/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 ../../../Src/Modules/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[];
        |                                                        ^~~~~~~~~
  ---
  2. zsh is misdetecting the system due to (1).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zsh/+bug/2081998/+subscriptions




More information about the foundations-bugs mailing list