The build for submission jsonnet 
<https://github.com/macports/macports-ports/pull/5862 
<https://github.com/macports/macports-ports/pull/5862>> is failing with error:

> Undefined symbols for architecture x86_64

I don’t know how to address this and would appreciate any help—this is a 
necessary dependency in a larger NLP transformer port.

Casting around the internet, others are reporting similar errors, along with 
some hacky fixes that don’t work here:
https://github.com/anguslees/rust-jsonnet/issues/2 
<https://github.com/anguslees/rust-jsonnet/issues/2>
https://github.com/nlohmann/json/issues/285#issuecomment-348090484 
<https://github.com/nlohmann/json/issues/285#issuecomment-348090484>
My best guess now is that it’s some MacPorts compile- or link-time flag setting 
that’s causing this issue.

See the entire build log at: https://paste.macports.org/db560da152fd 
<https://paste.macports.org/db560da152fd>

> Undefined symbols for architecture x86_64:
>   "_jsonnet_destroy", referenced from:
>       jsonnet::Jsonnet::~Jsonnet() in libjsonnet++.cpp.o
>       jsonnet::Jsonnet::~Jsonnet() in libjsonnet++.cpp.o
>   "_jsonnet_evaluate_file", referenced from:
>       jsonnet::Jsonnet::evaluateFile(std::__1::basic_string<char, 
> std::__1::char_traits<char>, std::__1::allocator<char> > const&, 
> std::__1::basic_string<char, std::__1::char_traits<char>, 
> std::__1::allocator<char> >*) in libjsonnet++.cpp.o
> …


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to