Bug #23127

dunetpc run-time error on Mojave

Added by Bruce Baller over 1 year ago. Updated 11 months ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:


I upgraded my mac to Mojave and installed dunetpc v08_27_02 and larsoft v08_28_00. The job crashed at run-time because CommonDigest.h was not found. I confirmed that this include file doesn't exist on the mac. Here is the error report. (This is an extract from an email interchange with Tom Junk who recommended creating this ticket.)

Ugh. Looks like a ticket needs to be filed under the cetlib redmine issue page.

On Aug 14, 2019, at 3:49 PM, Bruce R Baller <> wrote:


I was able to build dunetpc v08_27_02 on mac Mojave without dune_oslib but had several problems.

The first problem was that opticaldetectorservices.fcl wasn't in the fcl search path. I don't care about this and copied it from larana/v08_10_06/job into my working directory.

The second problem is more serious. The job gets through the initialization phase but crashes with this error:

14-Aug-2019 15:44:14 EDT Opened input file "/Users/baller/dunedata/mcc12_protodune_beam_p1GeV_cosmics_12ms_test_0_20190601T143154_reco0.root"
In file included from libcanvas_root_io_Dictionaries_canvas_Provenance_dict dictionary payload:9:
In file included from /Users/baller/larsoft/canvas/v3_07_04/include/canvas/Persistency/Provenance/EventAuxiliary.h:7:
In file included from /Users/baller/larsoft/canvas/v3_07_04/include/canvas/Persistency/Provenance/ProcessHistoryID.h:4:
In file included from /Users/baller/larsoft/canvas/v3_07_04/include/canvas/Persistency/Provenance/Hash.h:18:
/Users/baller/larsoft/cetlib/v3_07_02/d18.x86_64.c2.debug/include/cetlib/MD5Digest.h:8:10: fatal error: 'CommonCrypto/CommonDigest.h' file not found
#include <CommonCrypto/CommonDigest.h>
In file included from libnusimdata_SimulationBase_dict dictionary payload:16:
In file included from /Users/baller/larsoft/canvas/v3_07_04/include/canvas/Persistency/Common/Wrapper.h:16:
In file included from /Users/baller/larsoft/canvas/v3_07_04/include/canvas/Persistency/Common/Sampled.h:57:
/Users/baller/larsoft/canvas/v3_07_04/include/canvas/Utilities/InputTag.h:52:20: error: reference to 'any' is ambiguous
void decode(std::any const&, InputTag&);

/Users/baller/larsoft/clang/v5_0_1/Darwin64bit+18/Toolchains/LLVM5.0.1.xctoolchain/usr/include/c++/v1/any:181:28: note: candidate found by name lookup is 'std::__1::


#1 Updated by Lynn Garren over 1 year ago

  • Status changed from New to Feedback

#2 Updated by Kyle Knoepfel over 1 year ago

Did disabling SIP solve the issue, Bruce?

#3 Updated by Kyle Knoepfel 11 months ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF