Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 893918

Summary: app-shells/bash: configure breakage with clang 16
Product: Gentoo Linux Reporter: Sam James <sam>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://lists.gnu.org/archive/html/bug-bash/2023-02/msg00000.html
Whiteboard: fixed in ???
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 906027    

Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-11 05:27:35 UTC
Filing this one for completeness in case the patch is forgotten about upstream, so we have some hope of remembering it.

"""
dup2 requires a <unistd.h> include. Fixes the following when diffing config.log
 when testing with a stricter compiler:
```
-warning: call to undeclared function 'dup2'; ISO C99 and later do not support 
implicit function declarations [-Wimplicit-function-declaration]
+error: call to undeclared function 'dup2'; ISO C99 and later do not support 
implicit function declarations [-Wimplicit-function-declaration]
```
"""

https://lists.gnu.org/archive/html/bug-bash/2023-02/msg00000.html