Bugzilla – Bug 1220564
openSUSE TW bash package does not build with GCC 14
Last modified: 2024-03-07 08:59:01 UTC
GCC 14 treats implicit function declarations as errors (see https://gcc.gnu.org/gcc-14/porting_to.html for more details) and this causes our bash package to fail when being built - as can be seen for example in https://build.opensuse.org/package/show/devel:gcc:next:testing/bash There are two issues: 1. Upstream bash needs patch from https://lists.gnu.org/archive/html/bug-bash/2023-02/msg00000.html to be built with GCC 14. (See also https://bugs.gentoo.org/920521 and https://gitlab.com/fweimer-rh/fedora-modernc/-/blob/main/pkg/b/bash.md?ref_type=heads ) 2. On top of that, the Tumbleweed package needs an adjustment to the patch in bash-4.2-nscdunmap.dif that we carry, which needs an additional include of sys/mman.h. The two above changes made the build pass in https://build.opensuse.org/package/show/home:jamborm:gcc14test/bash
SR#1152946
This is an autogenerated message for OBS integration: This bug (1220564) was mentioned in https://build.opensuse.org/request/show/1152946 Factory / bash
(In reply to OBSbugzilla Bot from comment #2) > This is an autogenerated message for OBS integration: > This bug (1220564) was mentioned in > https://build.opensuse.org/request/show/1152946 Factory / bash