[MacPorts] #59384: boost uses zstd if present
MacPorts
noreply at macports.org
Sat Oct 19 01:38:23 UTC 2019
#59384: boost uses zstd if present
------------------------+-----------------------
Reporter: ryandesign | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.1
Keywords: | Port: boost
------------------------+-----------------------
Boost uses zstd if present, but doesn't declare a dependency on it:
{{{
notice: [zstd] Using pre-installed library
notice: [zstd] Condition
}}}
{{{
- zstd : yes
}}}
And if I'm building boost universal, but zstd is installed nonuniversal,
that will fail to link:
{{{
ld: warning: ignoring file /opt/local/lib/libzstd.dylib, file was built
for x86_64 which is not the architecture being linked (i386):
/opt/local/lib/libzstd.dylib
Undefined symbols for architecture i386:
"_ZSTD_initCStream", referenced from:
boost::iostreams::detail::zstd_base::reset(bool, bool) in zstd.o
boost::iostreams::detail::zstd_base::do_init(boost::iostreams::zstd_params
const&, bool, void* (*)(void*, unsigned long, unsigned long), void
(*)(void*, void*)
, void*) in zstd.o
"_ZSTD_decompressStream", referenced from:
boost::iostreams::detail::zstd_base::inflate(int) in zstd.o
"_ZSTD_endStream", referenced from:
boost::iostreams::detail::zstd_base::deflate(int) in zstd.o
"_ZSTD_flushStream", referenced from:
boost::iostreams::detail::zstd_base::deflate(int) in zstd.o
"_ZSTD_initDStream", referenced from:
boost::iostreams::detail::zstd_base::reset(bool, bool) in zstd.o
boost::iostreams::detail::zstd_base::do_init(boost::iostreams::zstd_params
const&, bool, void* (*)(void*, unsigned long, unsigned long), void
(*)(void*, void*)
, void*) in zstd.o
"_ZSTD_compressStream", referenced from:
boost::iostreams::detail::zstd_base::deflate(int) in zstd.o
"_ZSTD_freeCStream", referenced from:
boost::iostreams::detail::zstd_base::~zstd_base() in zstd.o
boost::iostreams::detail::zstd_base::~zstd_base() in zstd.o
"_ZSTD_isError", referenced from:
boost::iostreams::zstd_error::check(unsigned long) in zstd.o
boost::iostreams::detail::zstd_base::deflate(int) in zstd.o
boost::iostreams::detail::zstd_base::inflate(int) in zstd.o
boost::iostreams::detail::zstd_base::reset(bool, bool) in zstd.o
boost::iostreams::detail::zstd_base::do_init(boost::iostreams::zstd_params
const&, bool, void* (*)(void*, unsigned long, unsigned long), void
(*)(void*, void*), void*) in zstd.o
"_ZSTD_freeDStream", referenced from:
boost::iostreams::detail::zstd_base::~zstd_base() in zstd.o
boost::iostreams::detail::zstd_base::~zstd_base() in zstd.o
"_ZSTD_createCStream", referenced from:
boost::iostreams::detail::zstd_base::zstd_base() in zstd.o
boost::iostreams::detail::zstd_base::zstd_base() in zstd.o
"_ZSTD_createDStream", referenced from:
boost::iostreams::detail::zstd_base::zstd_base() in zstd.o
boost::iostreams::detail::zstd_base::zstd_base() in zstd.o
"_ZSTD_getErrorName", referenced from:
boost::iostreams::zstd_error::zstd_error(unsigned long) in zstd.o
boost::iostreams::zstd_error::zstd_error(unsigned long) in zstd.o
boost::iostreams::zstd_error::check(unsigned long) in zstd.o
boost::iostreams::detail::zstd_base::deflate(int) in zstd.o
boost::iostreams::detail::zstd_base::inflate(int) in zstd.o
boost::iostreams::detail::zstd_base::reset(bool, bool) in zstd.o
boost::iostreams::detail::zstd_base::do_init(boost::iostreams::zstd_params
const&, bool, void* (*)(void*, unsigned long, unsigned long), void
(*)(void*, void*), void*) in zstd.o
...
ld: symbol(s) not found for architecture i386
}}}
--
Ticket URL: <https://trac.macports.org/ticket/59384>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list