[MacPorts] #71164: mpdecimal @4.0.0_1: Build failure on legacy OS X due to undefined symbols
MacPorts
noreply at macports.org
Thu Oct 24 21:06:31 UTC 2024
#71164: mpdecimal @4.0.0_1: Build failure on legacy OS X due to undefined symbols
---------------------+-------------------------
Reporter: 0xbf00 | Owner: Schamschula
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.2
Keywords: leopard | Port: mpdecimal
---------------------+-------------------------
While trying to install {{{python313}}} on an ancient Mac OS X 10.5
Leopard, the dependency {{{mpdecimal}}} fails to build.
According to the build logs, {{{clang}}} complains about undefined
symbols, though checking the source code, these symbols should exist.
{{{
:info:build /opt/local/bin/clang++-mp-11 -pthread -L../libmpdec
-dynamiclib -fPIC -install_name /opt/local/lib/libmpdec++.4.dylib
-compatibility_version 4.0 -current_version 4.0.0 -o
libmpdec++.4.0.0.dylib .objs/decimal.o -lmpdec -lm
:info:build Undefined symbols for architecture i386:
:info:build "std::basic_ostream<char, std::char_traits<char> >&
std::__ostream_insert<char, std::char_traits<char>
>(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)",
referenced from:
:info:build decimal::Context::repr() const in decimal.o
:info:build decimal::operator<<(std::ostream&, decimal::Context
const&) in decimal.o
:info:build decimal::operator<<(std::ostream&, decimal::Decimal
const&) in decimal.o
:info:build "std::runtime_error::runtime_error(char const*)", referenced
from:
:info:build decimal::Context::raiseit(unsigned int) in decimal.o
:info:build __ZN7decimal11MallocErrorCI1St13runtime_errorEPKc in
decimal.o
:info:build decimal::Context::repr() const in decimal.o
:info:build decimal::Decimal::exact(char const*, decimal::Context&)
in decimal.o
:info:build __ZN7decimal10ValueErrorCI1St13runtime_errorEPKc in
decimal.o
:info:build decimal::Decimal::ln10(long long, decimal::Context&) in
decimal.o
}}}
Maybe another case of system-supplied headers interfering with building?
--
Ticket URL: <https://trac.macports.org/ticket/71164>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list