[MacPorts] #59007: mariadb-10.2: error: use of undeclared identifier 'finite'; did you mean 'isfinite'?
MacPorts
noreply at macports.org
Tue Sep 10 15:26:18 UTC 2019
#59007: mariadb-10.2: error: use of undeclared identifier 'finite'; did you mean
'isfinite'?
--------------------+--------------------------
Reporter: iEFdev | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Keywords: | Port: mariadb-10.2
--------------------+--------------------------
Since `+openssl` was removed from 10.1, I wanted to install 10.2. It
almost finished, but failed at the end.
I have `clang-5.0` as my default compiler (Lion). And it said:
{{{
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb-10.2/mariadb-10.2/work/mariadb-10.2.25/sql/item_func.h:244:12:
error: use of undeclared identifier 'finite'; did you mean 'isfinite'?
:info:build return isfinite(value) ? value : raise_float_overflow();
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb-10.2/mariadb-10.2/work/mariadb-10.2.25/include/my_global.h:816:21:
note: expanded from macro 'isfinite'
:info:build #define isfinite(x) finite(x)
:info:build ^
:info:build /opt/local/libexec/llvm-5.0/include/c++/v1/math.h:465:1: note:
'isfinite' declared here
:info:build isfinite(_A1 __lcpp_x) _NOEXCEPT
:info:build ^
:info:build [ 97%] Building CXX object
storage/spider/CMakeFiles/spider.dir/spd_conn.cc.o
}}}
Same on `clang-{6,7}.0`
`clang-8.0`, which I started with when `clang-5.0` faild, reported:
`error: expected unqualified-id` - and stopped halfway through.
I used:
{{{
sudo port install mariadb-10.2 +openssl configure.compiler=macports-
clang-8.0
}}}
…and worked my way down to 6.
// Adding the logs (4)
--
Ticket URL: <https://trac.macports.org/ticket/59007>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list