3rd party jsoncpp performs undefined -INT_MIN, should update from upstream
Many VTK tests fail under UBSan because jsoncpp tries to take the negative of the smallest signed integer, which is undefined behaviour in C++.
* thread #1, name = 'main thread', queue = 'com.apple.main-thread', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
frame #0: 0x0000000106b871a4 libvtkjsoncpp-8.90.1.dylib`vtkJson::OurReader::decodeNumber(this=0x0000000109113be0, token=0x00007ffeefbfb9c8, decoded=0x00007ffeefbfb730) at jsoncpp.cpp:1798:39
1795 ++current;
1796 // TODO: Help the compiler do the div and mod at compile time or get rid of them.
1797 Value::LargestUInt maxIntegerValue =
-> 1798 isNegative ? Value::LargestUInt(-Value::minLargestInt)
1799 : Value::maxLargestUInt;
1800 Value::LargestUInt threshold = maxIntegerValue / 10;
1801 Value::LargestUInt value = 0;
Target 0: (vtkIOGeometryCxxTests) stopped.
(lldb) p isNegative
(bool) $0 = true
(lldb) p Value::minLargestInt
(vtkJson::Value::LargestInt) $2 = -9223372036854775808
I'm not sure if this is fixed upstream.
Test failures: https://open.cdash.org/viewTest.php?onlyfailed&buildid=6142721