[MacPorts] #69681: gsl @2.7.1: error: implicitly declaring library function 'exit'
MacPorts
noreply at macports.org
Sat Apr 6 06:21:37 UTC 2024
#69681: gsl @2.7.1: error: implicitly declaring library function 'exit'
------------------------+--------------------------
Reporter: ryandesign | Owner: daitakahashi
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Keywords: haspatch | Port: gsl
------------------------+--------------------------
Configuring gsl produces this message:
{{{
% sudo port configure gsl
---> Fetching distfiles for gsl
---> Attempting to fetch gsl-2.7.1.tar.gz from
https://distfiles.macports.org/gsl
---> Verifying checksums for gsl
---> Extracting gsl
---> Applying patches to gsl
---> Configuring gsl
Warning: Configuration logfiles contain indications of -Wimplicit-
function-declaration; check that features were not accidentally disabled:
exit: found in gsl-2.7.1/config.log
strchr: found in gsl-2.7.1/config.log
}}}
To fix the implicit declaration of `exit`, please apply the patch attached
to this bug report:
https://savannah.gnu.org/bugs/index.php?63679
The implicit declaration of `strchr` is intentional and should be
suppressed according to WimplicitFunctionDeclaration#strchr by adding:
{{{
# https://trac.macports.org/wiki/WimplicitFunctionDeclaration#strchr
configure.checks.implicit_function_declaration.whitelist-append strchr
}}}
--
Ticket URL: <https://trac.macports.org/ticket/69681>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list