[Bug 2081998] Re: zsh: zsh 5.9 FTBFS on Oracular
Launchpad Bug Tracker
2081998 at bugs.launchpad.net
Sat Sep 28 15:43:33 UTC 2024
This bug was fixed in the package zsh - 5.9-6ubuntu3
---------------
zsh (5.9-6ubuntu3) oracular; urgency=medium
* Resolve ftbfs due to GCC 14 (LP: #2081998):
- d/p/fix-boolcodes-pointer-type.patch: add a patch to fix the
pointer type of boolcodes to fix build with GCC 14.
- d/p/cherry-pick-50641-use-int-main-in-test-C-codes-in-configure.patch:
add an upstream patch to fix broken detections with GCC 14.
-- Zixing Liu <zixing.liu at canonical.com> Thu, 19 Sep 2024 11:14:09
-0600
** Changed in: zsh (Ubuntu)
Status: New => Fix Released
--
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:
Fix Released
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