URL: <https://savannah.gnu.org/bugs/?59465>
Summary: GNU Screen fails to build on macOS with Xcode 12 Project: GNU Screen Submitted by: issyl0 Submitted on: Sat 14 Nov 2020 11:58:42 PM UTC Category: Build/Install Severity: 3 - Normal Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Open/Closed: Open Release: 4.8.0 Discussion Lock: Any Fixed Release: None Planned Release: None Work Required: None _______________________________________________________ Details: Hi, I'm a maintainer of Homebrew (a macOS package manager) and we're trying to build packages on the newly released macOS 11.0 and its counterpart Xcode 12 release. GNU Screen v4.8.0 fails to build: ``` configure: checking select with -lnet -lnsl... configure: error: !!! no select - no screen ``` and later ``` configure: error: !!! no tgetent - no screen ``` Upon investigation, it seems like it fails because Clang 12 requires functions to be defined before use. There exist some patches elsewhere that fix this by `include`ing the right headers, for example, this set from MacPorts: https://github.com/macports/macports-ports/commit/38df2ef467d4bcce657e8b8d36735c1fc9bb64eb. Thanks, Issy. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?59465> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/