[MacPorts] #68645: gdal @3.7.3 Fails to Build using clang-17 on Lion
MacPorts
noreply at macports.org
Mon Nov 6 16:46:04 UTC 2023
#68645: gdal @3.7.3 Fails to Build using clang-17 on Lion
---------------------+-------------------------------
Reporter: RobK88 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: lion mountainlion
Port: gdal |
---------------------+-------------------------------
Comment (by kencu):
the error here is not the "verbose_abort" issue we've seen in a few other
ports, but something different:
{{{
969 :info:build In file included from
/opt/local/libexec/llvm-17/bin/../include/c++/v1/__format/formatter_integral.h:32:
970 :info:build
/opt/local/libexec/llvm-17/bin/../include/c++/v1/locale:3360:35: error:
cannot initialize a parameter of type 'char *' with an rvalue of type
'char **'
971 :info:build 3360 | __n = __libcpp_asprintf_l(&__bb,
_LIBCPP_GET_C_LOCALE, "%.0Lf", __units);
972 :info:build | ^~~~~
973 :info:build
/opt/local/libexec/llvm-17/bin/../include/c++/v1/__locale_dir/locale_base_api/bsd_locale_defaults.h:33:72:
note: expanded from macro '__libcpp_asprintf_l'
974 :info:build 33 | #define __libcpp_asprintf_l(...)
asprintf_l(__VA_ARGS__)
975 :info:build |
^~~~~~~~~~~
}}}
at the moment I have no idea why this would be an error for clang-17 but
not for clang-16, but presumably clang-17 is a bit more strict and doesn't
like something about that construct.
--
Ticket URL: <https://trac.macports.org/ticket/68645#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list