Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce the script to ease the dev-build #265

Merged
merged 3 commits into from
Jun 22, 2020

Conversation

karabowi
Copy link
Collaborator

The script spack_dev-build.sh eases the build
of dev package using dev-build mode of spack.
The script takes the spack find command output
and forms the list of installed packages
to be fed to the spack dev-build command.

The script spack_dev-build.sh eases the build
of dev package using dev-build mode of spack.
The script takes the spack find command output
and forms the list of installed packages
to be fed to the spack dev-build command.
@kresan
Copy link
Contributor

kresan commented Jun 18, 2020

Works like a charm for me. Thanks!
@TobiasStockmanns can you try to apply it to your case

@TobiasStockmanns
Copy link

Just tested it but got the following error:

. ./spack_dev-build.sh ../../../FairRoot/dev/source fairroot mybuild+sim+examples
spack -C ./config dev-build -j 4 -d ../../../FairRoot/dev/source fairroot@mybuild+sim+examples
==> Warning: clang@10.0.1-apple cannot build optimized binaries for "skylake". Using best target possible: "x86_64"
==> Error: An unsatisfiable variant constraint has been detected for spec:

pcre@8.42%clang@10.0.1-apple~jit+multibyte+utf arch=darwin-mojave-x86_64

while trying to concretize the partial spec:

git@2.21.0%clang@10.0.1-apple~tcltk arch=darwin-mojave-x86_64
    ^curl@7.63.0%clang@10.0.1-apple+darwinssl~gssapi~libssh~libssh2~nghttp2 arch=darwin-mojave-x86_64
        ^zlib@1.2.11%clang@10.0.1-apple+optimize+pic+shared arch=darwin-mojave-x86_64
    ^expat@2.2.9%clang@10.0.1-apple~libbsd arch=darwin-mojave-x86_64
    ^gettext@0.20.1%clang@10.0.1-apple+bzip2+curses+git~libunistring+libxml2+tar+xz arch=darwin-mojave-x86_64
        ^bzip2
            ^diffutils
                ^libiconv@1.16%clang@10.0.1-apple arch=darwin-mojave-x86_64
        ^libxml2@2.9.9%clang@10.0.1-apple~python arch=darwin-mojave-x86_64
            ^pkgconf@1.6.3%clang@10.0.1-apple arch=darwin-mojave-x86_64
            ^xz@5.2.4%clang@10.0.1-apple arch=darwin-mojave-x86_64
        ^ncurses@6.1%clang@10.0.1-apple~symlinks~termlib arch=darwin-mojave-x86_64
        ^tar
    ^libidn2@2.1.1a%clang@10.0.1-apple arch=darwin-mojave-x86_64
        ^libunistring@0.9.10%clang@10.0.1-apple arch=darwin-mojave-x86_64
    ^openssl@1.1.1g%clang@10.0.1-apple+systemcerts arch=darwin-mojave-x86_64
        ^perl@5.30.0%clang@10.0.1-apple+cpanm+shared+threads arch=darwin-mojave-x86_64
            ^gdbm@1.18.1%clang@10.0.1-apple arch=darwin-mojave-x86_64
                ^readline@8.0%clang@10.0.1-apple arch=darwin-mojave-x86_64

git requires pcre variant +jit, but spec asked for ~jit

@kresan
Copy link
Contributor

kresan commented Jun 18, 2020

@TobiasStockmanns have you activated the environment before calling the script?

@karabowi
Copy link
Collaborator Author

Added protection against calling outside of spack env activate.

@TobiasStockmanns
Copy link

Now I have it activated and the compilation started. Unfortunately it crashes with many a linker error to fair:Logger:

==> Error: ProcessError: Command exited with status 2:
    'make' '-j4'

25 errors found in build log:
     922     In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/parameters/runExParamsClient.cxx:10:
     923     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fv
             eohengs7jy5lnx/include/fairmq/runFairMQDevice.h:9:
     924     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/DeviceRunner.h:13:
     925     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/PluginManager.h:12:
     926     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/Plugin.h:14:
     927     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/PluginServices.h:12:
  >> 928     /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/includ
             e/fairmq/States.h:21:12: error: redefinition of 'State'
     929     enum class State : int
     930                ^
     931     /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include
             /fairmq/StateMachine.h:28:12: note: previous definition is here
     932     enum class State : int
     933                ^
     934     In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/parameters/runExParamsClient.cxx:10:
     935     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fv
             eohengs7jy5lnx/include/fairmq/runFairMQDevice.h:9:
     936     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/DeviceRunner.h:13:
     937     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/PluginManager.h:12:
     938     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/Plugin.h:14:
     939     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/PluginServices.h:12:
  >> 940     /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/includ
             e/fairmq/States.h:40:12: error: redefinition of 'Transition'
     941     enum class Transition : int
     942                ^
     943     /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include
             /fairmq/StateMachine.h:47:12: note: previous definition is here
     944     enum class Transition : int
     945                ^
     946     In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/parameters/runExParamsClient.cxx:10:
     947     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fv
             eohengs7jy5lnx/include/fairmq/runFairMQDevice.h:9:
     948     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/DeviceRunner.h:13:
     949     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/PluginManager.h:12:
     950     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/Plugin.h:14:
     951     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/PluginServices.h:12:
  >> 952     /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/includ
             e/fairmq/States.h:63:22: error: redefinition of 'operator<<'
     953     [ 67%] Building CXX object examples/simulation/Tutorial4/src/CMakeFiles/Tutorial4.dir/G__Tutorial4.cxx.o
     954     cd /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/spack-build/examples/simulation/Tutorial4/src && /Users/tstockmanns/PandaSof
             tware/FairSoft/dev/source/spack/lib/spack/env/clang/clang++  -DTutorial4_EXPORTS -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/sou
             rce/logger -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/fairtools -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/g
             eobase -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/parbase -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/base -I
             /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/base/steer -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/base/event -I
             /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/base/field -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/base/sim -I/U
             sers/tstockmanns/PandaSoftware/FairRoot/dev/source/base/sink -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/base/source -I/U
             sers/tstockmanns/PandaSoftware/FairRoot/dev/source/dbase -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/dbase/dbInterface -I
             /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/dbase/dbValidation -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/dbase
             /dbUtils -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/input/db -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/dbas
             e/dbInput -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/dbase/dbIO -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/a
             lignment -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/simulation/Tutorial4/src -I/Users/tstockmanns/PandaSoftware
             /FairRoot/dev/source/examples/simulation/Tutorial4/src/data -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/simulati
             on/Tutorial4/src/mc -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/simulation/Tutorial4/src/param -I/Users/tstockma
             nns/PandaSoftware/FairRoot/dev/source/examples/simulation/Tutorial4/src/reco -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/
             examples/simulation/Tutorial4/src/tools -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/MbsAPI -I/Users/tstockmanns/PandaSoft
             ware/FairRoot/dev/source/examples/common/mcstack -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/generators -I/Users/tstockma
             nns/PandaSoftware/FairRoot/dev/source/eventdisplay -isystem /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1
             -apple/root-6.18.04-clabkkgfgoejgxaby43vl4k4k5lb4mgl/include -isystem /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/cl
             ang-10.0.1-apple/boost-1.70.0-ll7q6rkdoeekoees54vldzednemldnln/include -isystem /Users/tstockmanns/.spack/install_tree/darwin-mojave
             -x86_64/clang-10.0.1-apple/fairlogger-1.4.0-4zg2pknqx2ixkof4cxdvmdyoyeurgzv6/include -isystem /Users/tstockmanns/.spack/install_tree
             /darwin-mojave-x86_64/clang-10.0.1-apple/vmc-1-0-p1-dsnetjnq4kdbwi4ikpxa5jeyt6wtastp/include/vmc  -std=c++11 -O2 -g -Wshadow  -isysr
             oot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -fPIC   -o CMakeFiles/Tutori
             al4.dir/G__Tutorial4.cxx.o -c /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/spack-build/examples/simulation/Tutorial4/src/G__
             Tutorial4.cxx
     955     inline std::ostream& operator<<(std::ostream& os, const State& state) { return os << GetStateName(state); }
     956                          ^
     957     /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include
             /fairmq/StateMachine.h:103:22: note: previous definition is here
     958     inline std::ostream& operator<<(std::ostream& os, const State& state) { return os << StateMachine::GetStateName(state); }

     ...

     960     In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/parameters/runExParamsClient.cxx:10:
     961     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fv
             eohengs7jy5lnx/include/fairmq/runFairMQDevice.h:9:
     962     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/DeviceRunner.h:13:
     963     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/PluginManager.h:12:
     964     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/Plugin.h:14:
     965     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/PluginServices.h:12:
  >> 966     /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/includ
             e/fairmq/States.h:64:22: error: redefinition of 'operator<<'
     967     inline std::ostream& operator<<(std::ostream& os, const Transition& transition) { return os << GetTransitionName(transition); }
     968                          ^
     969     /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include
             /fairmq/StateMachine.h:104:22: note: previous definition is here
     970     inline std::ostream& operator<<(std::ostream& os, const Transition& transition) { return os << StateMachine::GetTransitionName(trans
             ition); }
     971                          ^
     972     In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/parameters/runExParamsClient.cxx:10:
     973     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fv
             eohengs7jy5lnx/include/fairmq/runFairMQDevice.h:9:
     974     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/DeviceRunner.h:13:
     975     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/PluginManager.h:12:
     976     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/Plugin.h:14:
     977     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/PluginServices.h:14:
     978     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/ProgOptions.h:15:
  >> 979     /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/includ
             e/fairmq/ProgOptionsFwd.h:20:7: error: typedef redefinition with different types ('fair::mq::ProgOptions' vs 'FairMQProgOptions')
     980     using FairMQProgOptions = fair::mq::ProgOptions;
     981           ^
     982     /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include
             /fairmq/options/FairMQProgOptions.h:37:7: note: previous definition is here
     983     class FairMQProgOptions
     984           ^
     985     In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/parameters/runExParamsClient.cxx:10:
     986     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fv
             eohengs7jy5lnx/include/fairmq/runFairMQDevice.h:9:
     987     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/DeviceRunner.h:13:
     988     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/PluginManager.h:12:
     989     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/Plugin.h:14:
     990     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/PluginServices.h:14:
     991     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/ProgOptions.h:16:
  >> 992     /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/includ
             e/fairmq/Properties.h:32:8: error: redefinition of 'PropertyChange'
     993     struct PropertyChange : Event<std::string> {};
     994            ^
     995     /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include
             /fairmq/options/FairMQProgOptions.h:31:8: note: previous definition is here
     996     struct PropertyChange : Event<std::string> {};
     997            ^
     998     In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/parameters/runExParamsClient.cxx:10:
     999     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fv
             eohengs7jy5lnx/include/fairmq/runFairMQDevice.h:9:
     1000    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/DeviceRunner.h:13:
     1001    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/PluginManager.h:12:
     1002    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/Plugin.h:14:
     1003    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/PluginServices.h:14:
     1004    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/ProgOptions.h:16:
  >> 1005    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/includ
             e/fairmq/Properties.h:33:8: error: redefinition of 'PropertyChangeAsString'
     1006    struct PropertyChangeAsString : Event<std::string> {};
     1007           ^
     1008    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include
             /fairmq/options/FairMQProgOptions.h:32:8: note: previous definition is here
     1009    struct PropertyChangeAsString : Event<std::string> {};
     1010           ^
     1011    In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/serialization/1-simple/runEx1Processor.cxx:10
             :
     1012    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fv
             eohengs7jy5lnx/include/fairmq/runFairMQDevice.h:9:
     1013    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/DeviceRunner.h:13:
     1014    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/PluginManager.h:12:
     1015    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/Plugin.h:14:
     1016    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/PluginServices.h:12:
  >> 1017    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/includ
             e/fairmq/States.h:21:12: error: redefinition of 'State'
     1018    enum class State : int
     1019               ^
     1020    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include
             /fairmq/StateMachine.h:28:12: note: previous definition is here
     1021    enum class State : int
     1022               ^
     1023    In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/serialization/1-simple/runEx1Processor.cxx:10
             :
     1024    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fv
             eohengs7jy5lnx/include/fairmq/runFairMQDevice.h:9:
     1025    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/DeviceRunner.h:13:
     1026    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/PluginManager.h:12:
     1027    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/Plugin.h:14:
     1028    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/PluginServices.h:12:
  >> 1029    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/includ
             e/fairmq/States.h:40:12: error: redefinition of 'Transition'
     1030    enum class Transition : int
     1031               ^
     1032    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include
             /fairmq/StateMachine.h:47:12: note: previous definition is here
     1033    enum class Transition : int
     1034               ^
     1035    In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/serialization/1-simple/runEx1Processor.cxx:10
             :
     1036    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fv
             eohengs7jy5lnx/include/fairmq/runFairMQDevice.h:9:
     1037    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/DeviceRunner.h:13:
     1038    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/PluginManager.h:12:
     1039    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/Plugin.h:14:
     1040    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/PluginServices.h:12:
  >> 1041    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/includ
             e/fairmq/States.h:63:22: error: redefinition of 'operator<<'
     1042    inline std::ostream& operator<<(std::ostream& os, const State& state) { return os << GetStateName(state); }
     1043                         ^
     1044    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include
             /fairmq/StateMachine.h:103:22: note: previous definition is here
     1045    inline std::ostream& operator<<(std::ostream& os, const State& state) { return os << StateMachine::GetStateName(state); }
     1046                         ^
     1047    In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/serialization/1-simple/runEx1Processor.cxx:10
             :
     1048    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fv
             eohengs7jy5lnx/include/fairmq/runFairMQDevice.h:9:
     1049    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/DeviceRunner.h:13:
     1050    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/PluginManager.h:12:
     1051    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/Plugin.h:14:
     1052    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/PluginServices.h:12:
  >> 1053    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/includ
             e/fairmq/States.h:64:22: error: redefinition of 'operator<<'
     1054    inline std::ostream& operator<<(std::ostream& os, const Transition& transition) { return os << GetTransitionName(transition); }
     1055                         ^
     1056    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include
             /fairmq/StateMachine.h:104:22: note: previous definition is here
     1057    inline std::ostream& operator<<(std::ostream& os, const Transition& transition) { return os << StateMachine::GetTransitionName(trans
             ition); }
     1058                         ^
     1059    In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/serialization/1-simple/runEx1Processor.cxx:10
             :
     1060    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fv
             eohengs7jy5lnx/include/fairmq/runFairMQDevice.h:9:
     1061    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/DeviceRunner.h:13:
     1062    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/PluginManager.h:12:
     1063    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/Plugin.h:14:
     1064    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/PluginServices.h:14:
     1065    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/ProgOptions.h:15:
  >> 1066    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/includ
             e/fairmq/ProgOptionsFwd.h:20:7: error: typedef redefinition with different types ('fair::mq::ProgOptions' vs 'FairMQProgOptions')
     1067    using FairMQProgOptions = fair::mq::ProgOptions;
     1068          ^
     1069    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include
             /fairmq/options/FairMQProgOptions.h:37:7: note: previous definition is here
     1070    class FairMQProgOptions
     1071          ^
     1072    In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/serialization/1-simple/runEx1Processor.cxx:10
             :
     1073    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fv
             eohengs7jy5lnx/include/fairmq/runFairMQDevice.h:9:
     1074    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/DeviceRunner.h:13:
     1075    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/PluginManager.h:12:
     1076    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/Plugin.h:14:
     1077    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/PluginServices.h:14:
     1078    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/ProgOptions.h:16:
  >> 1079    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/includ
             e/fairmq/Properties.h:32:8: error: redefinition of 'PropertyChange'
     1080    struct PropertyChange : Event<std::string> {};
     1081           ^
     1082    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include
             /fairmq/options/FairMQProgOptions.h:31:8: note: previous definition is here
     1083    struct PropertyChange : Event<std::string> {};
     1084           ^
     1085    In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/serialization/1-simple/runEx1Processor.cxx:10
             :
     1086    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fv
             eohengs7jy5lnx/include/fairmq/runFairMQDevice.h:9:
     1087    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/DeviceRunner.h:13:
     1088    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/PluginManager.h:12:
     1089    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/Plugin.h:14:
     1090    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/PluginServices.h:14:
     1091    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/ProgOptions.h:16:
  >> 1092    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/includ
             e/fairmq/Properties.h:33:8: error: redefinition of 'PropertyChangeAsString'
     1093    struct PropertyChangeAsString : Event<std::string> {};
     1094           ^
     1095    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include
             /fairmq/options/FairMQProgOptions.h:32:8: note: previous definition is here
     1096    struct PropertyChangeAsString : Event<std::string> {};
     1097           ^
     1098    In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/parameters/runExParamsClient.cxx:10:
  >> 1099    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include
             /fairmq/runFairMQDevice.h:49:55: error: no matching function for call to 'getDevice'
     1100                r.fDevice = std::unique_ptr<FairMQDevice>{getDevice(r.fConfig)};
     1101                                                          ^~~~~~~~~
     1102    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include
             /fairmq/runFairMQDevice.h:17:17: note: candidate function not viable: no known conversion from 'fair::mq::ProgOptions' to 'const Fai
             rMQProgOptions' for 1st argument
     1103    FairMQDevicePtr getDevice(const FairMQProgOptions& config);
     1104                    ^
     1105    In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/serialization/1-simple/runEx1Processor.cxx:10
             :
  >> 1106    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include
             /fairmq/runFairMQDevice.h:49:55: error: no matching function for call to 'getDevice'
     1107                r.fDevice = std::unique_ptr<FairMQDevice>{getDevice(r.fConfig)};
     1108                                                          ^~~~~~~~~
     1109    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include
             /fairmq/runFairMQDevice.h:17:17: note: candidate function not viable: no known conversion from 'fair::mq::ProgOptions' to 'const Fai
             rMQProgOptions' for 1st argument
     1110    FairMQDevicePtr getDevice(const FairMQProgOptions& config);
     1111                    ^
     1112    8 errors generated.
  >> 1113    make[2]: *** [examples/MQ/parameters/CMakeFiles/ex-params-client.dir/runExParamsClient.cxx.o] Error 1
  >> 1114    make[1]: *** [examples/MQ/parameters/CMakeFiles/ex-params-client.dir/all] Error 2
     1115    make[1]: *** Waiting for unfinished jobs....
     1116    8 errors generated.
  >> 1117    make[2]: *** [examples/MQ/serialization/CMakeFiles/ex-serialization1-processor.dir/1-simple/runEx1Processor.cxx.o] Error 1
  >> 1118    make[1]: *** [examples/MQ/serialization/CMakeFiles/ex-serialization1-processor.dir/all] Error 2
     1119    [ 67%] Linking CXX shared library ../../../../lib/libTutorial4.dylib
     1120    cd /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/spack-build/examples/simulation/Tutorial4/src && /Users/tstockmanns/.spack/i
             nstall_tree/darwin-mojave-x86_64/clang-10.0.1-apple/cmake-3.16.2-zjrxq5csgjavghi4lijsmre5ghzhoygq/bin/cmake -E cmake_link_script CMa
             keFiles/Tutorial4.dir/link.txt --verbose=1
     1121    /Users/tstockmanns/PandaSoftware/FairSoft/dev/source/spack/lib/spack/env/clang/clang++ -std=c++11 -O2 -g -Wshadow  -isysroot /Applic
             ations/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -dynamiclib -Wl,-headerpad_max_install_
             names -single_module -undefined dynamic_lookup -flat_namespace -compatibility_version 18.2.0 -current_version 18.2.2 -o ../../../../
             lib/libTutorial4.18.2.2.dylib -install_name @rpath/libTutorial4.18.2.dylib CMakeFiles/Tutorial4.dir/data/FairTutorialDet4Point.cxx.o
              CMakeFiles/Tutorial4.dir/data/FairTutorialDet4Hit.cxx.o CMakeFiles/Tutorial4.dir/mc/FairTutorialDet4.cxx.o CMakeFiles/Tutorial4.dir
             /mc/FairTutorialDet4Geo.cxx.o CMakeFiles/Tutorial4.dir/param/FairTutorialDet4ContFact.cxx.o CMakeFiles/Tutorial4.dir/param/FairTutor
             ialDet4GeoPar.cxx.o CMakeFiles/Tutorial4.dir/param/FairTutorialDet4MisalignPar.cxx.o CMakeFiles/Tutorial4.dir/reco/FairTutorialDet4H
             itProducerIdealMisalign.cxx.o CMakeFiles/Tutorial4.dir/reco/FairTutorialDet4StraightLineFitter.cxx.o CMakeFiles/Tutorial4.dir/reco/F
             airTutorialDet4MilleWriter.cxx.o CMakeFiles/Tutorial4.dir/tools/FairTutorialDet4GeoHandler.cxx.o CMakeFiles/Tutorial4.dir/tools/Mill
             e.cc.o CMakeFiles/Tutorial4.dir/display/FairTutorialDet4PointDraw.cxx.o CMakeFiles/Tutorial4.dir/G__Tutorial4.cxx.o   -L/Users/tstoc
             kmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.18.04-clabkkgfgoejgxaby43vl4k4k5lb4mgl/lib  -Wl,-rpath,/Us
             ers/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.16.00-ejfra4res6lpxita2fjwqq5pzz3jzaxu/lib -Wl,-r
             path,/Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.18.04-clabkkgfgoejgxaby43vl4k4k5lb4mgl/li
             b -Wl,-rpath,/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/spack-build/lib -Wl,-rpath,/Users/tstockmanns/.spack/install_tree/
             darwin-mojave-x86_64/clang-10.0.1-apple/vmc-1-0-p1-dsnetjnq4kdbwi4ikpxa5jeyt6wtastp/lib -Wl,-rpath,/Users/tstockmanns/.spack/install
             _tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairlogger-1.4.0-4zg2pknqx2ixkof4cxdvmdyoyeurgzv6/lib ../../../../lib/libMCStack.18.2.
             2.dylib ../../../../lib/libGen.18.2.2.dylib ../../../../lib/libEventDisplay.18.2.2.dylib -lHist -lEve ../../../../lib/libBase.18.2.2
             .dylib ../../../../lib/libGeoBase.18.2.2.dylib -lGraf3d ../../../../lib/libParBase.18.2.2.dylib /Users/tstockmanns/.spack/install_tr
             ee/darwin-mojave-x86_64/clang-10.0.1-apple/vmc-1-0-p1-dsnetjnq4kdbwi4ikpxa5jeyt6wtastp/lib/libVMCLibrary.dylib ../../../../lib/libAl
             ignment.18.2.2.dylib /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/boost-1.70.0-ll7q6rkdoeekoees54v
             ldzednemldnln/lib/libboost_serialization-mt.dylib ../../../../lib/libMbsAPI.18.2.2.dylib -lRHTTP -lMatrix -lNet -lProof ../../../../
             lib/libFairTools.18.2.2.dylib /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairlogger-1.4.0-4zg2pk
             nqx2ixkof4cxdvmdyoyeurgzv6/lib/libFairLogger.1.4.0.dylib -lGraf -lHist -lGpad /Users/tstockmanns/.spack/install_tree/darwin-mojave-x
             86_64/clang-10.0.1-apple/root-6.16.00-ejfra4res6lpxita2fjwqq5pzz3jzaxu/lib/libCore.so /Users/tstockmanns/.spack/install_tree/darwin-
             mojave-x86_64/clang-10.0.1-apple/root-6.16.00-ejfra4res6lpxita2fjwqq5pzz3jzaxu/lib/libPhysics.so /Users/tstockmanns/.spack/install_t
             ree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.16.00-ejfra4res6lpxita2fjwqq5pzz3jzaxu/lib/libGeom.so /Users/tstockmanns/.spack/i
             nstall_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.16.00-ejfra4res6lpxita2fjwqq5pzz3jzaxu/lib/libMathCore.so /Users/tstockma
             nns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.16.00-ejfra4res6lpxita2fjwqq5pzz3jzaxu/lib/libRIO.so /Users/t
             stockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.16.00-ejfra4res6lpxita2fjwqq5pzz3jzaxu/lib/libEG.so /U
             sers/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.16.00-ejfra4res6lpxita2fjwqq5pzz3jzaxu/lib/libTr
             ee.so -lGed -lGeomPainter -lGui -lRGL -lXMLIO -lXMLParser
     1122    cd /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/spack-build/examples/simulation/Tutorial4/src && /Users/tstockmanns/.spack/i
             nstall_tree/darwin-mojave-x86_64/clang-10.0.1-apple/cmake-3.16.2-zjrxq5csgjavghi4lijsmre5ghzhoygq/bin/cmake -E cmake_symlink_library
              ../../../../lib/libTutorial4.18.2.2.dylib ../../../../lib/libTutorial4.18.2.dylib ../../../../lib/libTutorial4.dylib
     1123    [ 67%] Built target Tutorial4
     1124    [ 67%] Linking CXX executable ex-serialization-generate-data
     1125    cd /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/spack-build/examples/MQ/serialization && /Users/tstockmanns/.spack/install_t
             ree/darwin-mojave-x86_64/clang-10.0.1-apple/cmake-3.16.2-zjrxq5csgjavghi4lijsmre5ghzhoygq/bin/cmake -E cmake_link_script CMakeFiles/
             ex-serialization-generate-data.dir/link.txt --verbose=1
     1126    /Users/tstockmanns/PandaSoftware/FairSoft/dev/source/spack/lib/spack/env/clang/clang++  -std=c++11 -O2 -g -Wshadow  -isysroot /Appli
             cations/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -Wl,-search_paths_first -Wl,-headerpad
             _max_install_names  CMakeFiles/ex-serialization-generate-data.dir/data_generator/runGenerateData.cxx.o  -o ex-serialization-generate
             -data   -L/Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.18.04-clabkkgfgoejgxaby43vl4k4k5lb4m
             gl/lib  -Wl,-rpath,/Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.16.00-ejfra4res6lpxita2fjwq
             q5pzz3jzaxu/lib -Wl,-rpath,/Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.18.04-clabkkgfgoejg
             xaby43vl4k4k5lb4mgl/lib -Wl,-rpath,/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/spack-build/lib -Wl,-rpath,/Users/tstockmann
             s/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/lib -Wl,-rpath,/Users/ts
             tockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/vmc-1-0-p1-dsnetjnq4kdbwi4ikpxa5jeyt6wtastp/lib -Wl,-rpath,/Us
             ers/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairlogger-1.4.0-4zg2pknqx2ixkof4cxdvmdyoyeurgzv6/lib ..
             /../../lib/libExSerialization.18.2.2.dylib ../../../lib/libBaseMQ.18.2.2.dylib /Users/tstockmanns/.spack/install_tree/darwin-mojave-
             x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/lib/libFairMQ.1.4.3-dirty.dylib /Users/tstockmanns/.spack/in
             stall_tree/darwin-mojave-x86_64/clang-10.0.1-apple/boost-1.70.0-ll7q6rkdoeekoees54vldzednemldnln/lib/libboost_container-mt.dylib -ld
             l /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/boost-1.70.0-ll7q6rkdoeekoees54vldzednemldnln/lib/l
             ibboost_program_options-mt.dylib /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/boost-1.70.0-ll7q6rk
             doeekoees54vldzednemldnln/lib/libboost_regex-mt.dylib ../../../lib/libBase.18.2.2.dylib ../../../lib/libAlignment.18.2.2.dylib ../..
             /../lib/libGeoBase.18.2.2.dylib -lGraf3d -lRHTTP -lGeomPainter -lMatrix -lProof /Users/tstockmanns/.spack/install_tree/darwin-mojave
             -x86_64/clang-10.0.1-apple/vmc-1-0-p1-dsnetjnq4kdbwi4ikpxa5jeyt6wtastp/lib/libVMCLibrary.dylib /Users/tstockmanns/.spack/install_tre
             e/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.16.00-ejfra4res6lpxita2fjwqq5pzz3jzaxu/lib/libEG.so /Users/tstockmanns/.spack/insta
             ll_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.16.00-ejfra4res6lpxita2fjwqq5pzz3jzaxu/lib/libGeom.so /Users/tstockmanns/.spa
             ck/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.16.00-ejfra4res6lpxita2fjwqq5pzz3jzaxu/lib/libPhysics.so /Users/tstoc
             kmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/boost-1.70.0-ll7q6rkdoeekoees54vldzednemldnln/lib/libboost_filesy
             stem-mt.dylib ../../../lib/libMbsAPI.18.2.2.dylib -lNet ../../../lib/libParBase.18.2.2.dylib ../../../lib/libFairTools.18.2.2.dylib
             /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairlogger-1.4.0-4zg2pknqx2ixkof4cxdvmdyoyeurgzv6/lib
             /libFairLogger.1.4.0.dylib -lGraf -lHist -lGpad /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/boost
             -1.70.0-ll7q6rkdoeekoees54vldzednemldnln/lib/libboost_serialization-mt.dylib /Users/tstockmanns/.spack/install_tree/darwin-mojave-x8
             6_64/clang-10.0.1-apple/root-6.16.00-ejfra4res6lpxita2fjwqq5pzz3jzaxu/lib/libCore.so /Users/tstockmanns/.spack/install_tree/darwin-m
             ojave-x86_64/clang-10.0.1-apple/root-6.16.00-ejfra4res6lpxita2fjwqq5pzz3jzaxu/lib/libMathCore.so /Users/tstockmanns/.spack/install_t
             ree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.16.00-ejfra4res6lpxita2fjwqq5pzz3jzaxu/lib/libRIO.so /Users/tstockmanns/.spack/in
             stall_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.16.00-ejfra4res6lpxita2fjwqq5pzz3jzaxu/lib/libTree.so -lRooFit -lRooFitCor
             e
  >> 1127    Undefined symbols for architecture x86_64:
     1128      "fair::Logger::Logger(fair::Severity, fair::Verbosity, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocat
             or<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_str
             ing<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
     1129          _main in runGenerateData.cxx.o
     1130          RootOutFileManager<MyDigi>::InitOutputFile() in runGenerateData.cxx.o
     1131          void SaveDataToFile<MyDigi, RootOutFileManager<MyDigi> >(RootOutFileManager<MyDigi>&, RooDataSet*, bool) in runGenerateData.cx
             x.o
     1132          RootOutFileManager<MyDigi>::GetAllObj(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > co
             nst&, 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> > const&) in runGenerateData.cxx.o
     1133          RootOutFileManager<MyDigi>::Init() in runGenerateData.cxx.o
     1134          RootOutFileManager<MyDigi>::AddToFile(std::__1::vector<MyDigi, std::__1::allocator<MyDigi> >&) in runGenerateData.cxx.o
     1135    ld: symbol(s) not found for architecture x86_64
  >> 1136    clang: error: linker command failed with exit code 1 (use -v to see invocation)
  >> 1137    make[2]: *** [examples/MQ/serialization/ex-serialization-generate-data] Error 1
  >> 1138    make[1]: *** [examples/MQ/serialization/CMakeFiles/ex-serialization-generate-data.dir/all] Error 2
  >> 1139    make: *** [all] Error 2

@karabowi
Copy link
Collaborator Author

Do you have a reasonably new FairRoot dev?

@dennisklein
Copy link
Member

     922     In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/parameters/runExParamsClient.cxx:10:
     923     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fv
             eohengs7jy5lnx/include/fairmq/runFairMQDevice.h:9:
     924     In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmr
             pbeocxglo3lhg5f/include/fairmq/DeviceRunner.h:13:

It somehow mixes two different FairMQ versions - that is not good.

@TobiasStockmanns
Copy link

No change with a new version of FairRoot:

25 errors found in build log:
     537    In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/parameters/runExParamsClient.cxx:10:
     538    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/runFairMQDevice.h:9:
     539    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/DeviceRunner.h:13:
     540    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/PluginManager.h:12:
     541    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/Plugin.h:14:
     542    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/PluginServices.h:12:
  >> 543    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/States.h:21:12: error: redefinition of 'State'
     544    enum class State : int
     545               ^
     546    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/StateMachine.h:28:12: note: previous definition is he
            re
     547    enum class State : int
     548               ^
     549    In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/parameters/runExParamsClient.cxx:10:
     550    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/runFairMQDevice.h:9:
     551    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/DeviceRunner.h:13:
     552    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/PluginManager.h:12:
     553    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/Plugin.h:14:
     554    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/PluginServices.h:12:
  >> 555    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/States.h:40:12: error: redefinition of 'Transition'
     556    enum class Transition : int
     557               ^
     558    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/StateMachine.h:47:12: note: previous definition is he
            re
     559    enum class Transition : int
     560               ^
     561    In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/parameters/runExParamsClient.cxx:10:
     562    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/runFairMQDevice.h:9:
     563    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/DeviceRunner.h:13:
     564    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/PluginManager.h:12:
     565    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/Plugin.h:14:
     566    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/PluginServices.h:12:
  >> 567    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/States.h:63:22: error: redefinition of 'operator<<'
     568    inline std::ostream& operator<<(std::ostream& os, const State& state) { return os << GetStateName(state); }
     569                         ^
     570    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/StateMachine.h:103:22: note: previous definition is h
            ere
     571    inline std::ostream& operator<<(std::ostream& os, const State& state) { return os << StateMachine::GetStateName(state); }
     572                         ^
     573    In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/parameters/runExParamsClient.cxx:10:
     574    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/runFairMQDevice.h:9:
     575    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/DeviceRunner.h:13:
     576    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/PluginManager.h:12:
     577    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/Plugin.h:14:
     578    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/PluginServices.h:12:
  >> 579    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/States.h:64:22: error: redefinition of 'operator<<'
     580    inline std::ostream& operator<<(std::ostream& os, const Transition& transition) { return os << GetTransitionName(transition); }
     581                         ^
     582    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/StateMachine.h:104:22: note: previous definition is h
            ere
     583    inline std::ostream& operator<<(std::ostream& os, const Transition& transition) { return os << StateMachine::GetTransitionName(transition); }
     584                         ^
     585    In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/parameters/runExParamsClient.cxx:10:
     586    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/runFairMQDevice.h:9:
     587    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/DeviceRunner.h:13:
     588    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/PluginManager.h:12:
     589    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/Plugin.h:14:
     590    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/PluginServices.h:14:
     591    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/ProgOptions.h:15:
  >> 592    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/ProgOptionsFwd.h:20:7: error: typedef redefinition w
            ith different types ('fair::mq::ProgOptions' vs 'FairMQProgOptions')
     593    using FairMQProgOptions = fair::mq::ProgOptions;
     594          ^
     595    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/options/FairMQProgOptions.h:37:7: note: previous defi
            nition is here
     596    class FairMQProgOptions
     597          ^
     598    In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/parameters/runExParamsClient.cxx:10:
     599    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/runFairMQDevice.h:9:
     600    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/DeviceRunner.h:13:
     601    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/PluginManager.h:12:
     602    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/Plugin.h:14:
     603    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/PluginServices.h:14:
     604    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/ProgOptions.h:16:
  >> 605    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/Properties.h:32:8: error: redefinition of 'PropertyC
            hange'
     606    struct PropertyChange : Event<std::string> {};
     607           ^
     608    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/options/FairMQProgOptions.h:31:8: note: previous defi
            nition is here
     609    struct PropertyChange : Event<std::string> {};
     610           ^
     611    In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/parameters/runExParamsClient.cxx:10:
     612    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/runFairMQDevice.h:9:
     613    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/DeviceRunner.h:13:
     614    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/PluginManager.h:12:
     615    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/Plugin.h:14:
     616    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/PluginServices.h:14:
     617    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/ProgOptions.h:16:
  >> 618    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/Properties.h:33:8: error: redefinition of 'PropertyC
            hangeAsString'
     619    struct PropertyChangeAsString : Event<std::string> {};
     620           ^
     621    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/options/FairMQProgOptions.h:32:8: note: previous defi
            nition is here
     622    struct PropertyChangeAsString : Event<std::string> {};
     623           ^
     624    [ 67%] Building CXX object examples/simulation/Tutorial4/src/CMakeFiles/ExSimulation4.dir/G__ExSimulation4.cxx.o
     625    cd /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/spack-build/examples/simulation/Tutorial4/src && /Users/tstockmanns/PandaSoftware/FairSoft/dev/source/spack/lib/spack/env/clang/clang++
            -DExSimulation4_EXPORTS -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/logger -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/fairtools -I/Users/tstockmanns/PandaSoftware/FairRoo
            t/dev/source/geobase -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/parbase -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/base -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/s
            ource/base/steer -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/base/event -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/base/field -I/Users/tstockmanns/PandaSoftware/FairRoot/
            dev/source/base/sim -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/base/sink -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/base/source -I/Users/tstockmanns/PandaSoftware/FairRo
            ot/dev/source/dbase -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/dbase/dbInterface -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/dbase/dbValidation -I/Users/tstockmanns/Panda
            Software/FairRoot/dev/source/dbase/dbUtils -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/input/db -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/dbase/dbInput -I/Users/tstockma
            nns/PandaSoftware/FairRoot/dev/source/dbase/dbIO -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/alignment -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/simulation/Tuto
            rial4/src -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/simulation/Tutorial4/src/data -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/simulation/Tutorial4/src/
            mc -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/simulation/Tutorial4/src/param -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/simulation/Tutorial4/src/reco -
            I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/simulation/Tutorial4/src/tools -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/MbsAPI -I/Users/tstockmanns/PandaSoftware/Fa
            irRoot/dev/source/examples/common/mcstack -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/generators -I/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/eventdisplay -isystem /Users/t
            stockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.18.04-clabkkgfgoejgxaby43vl4k4k5lb4mgl/include -isystem /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64
            /clang-10.0.1-apple/boost-1.70.0-ll7q6rkdoeekoees54vldzednemldnln/include -isystem /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairlogger-1.4.0-4zg2pknqx2ixko
            f4cxdvmdyoyeurgzv6/include -isystem /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/vmc-1-0-p1-dsnetjnq4kdbwi4ikpxa5jeyt6wtastp/include/vmc  -std=c++11 -O2 -g -Ws
            hadow  -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -fPIC   -o CMakeFiles/ExSimulation4.dir/G__ExSimulation4.cxx.o -c /Users/tst
            ockmanns/PandaSoftware/FairRoot/dev/source/spack-build/examples/simulation/Tutorial4/src/G__ExSimulation4.cxx
     626    In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/parameters/runExParamsClient.cxx:10:
  >> 627    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/runFairMQDevice.h:49:55: error: no matching function
            for call to 'getDevice'
     628                r.fDevice = std::unique_ptr<FairMQDevice>{getDevice(r.fConfig)};
     629                                                          ^~~~~~~~~
     630    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/runFairMQDevice.h:17:17: note: candidate function not
             viable: no known conversion from 'fair::mq::ProgOptions' to 'const FairMQProgOptions' for 1st argument
     631    FairMQDevicePtr getDevice(const FairMQProgOptions& config);
     632                    ^
     633    [ 68%] Linking CXX shared library ../../../../lib/libExSimulation1.dylib

     ...

     638    /Applications/Xcode.app/Contents/Developer/usr/bin/make -f examples/MQ/serialization/CMakeFiles/ex-serialization-generate-data.dir/build.make examples/MQ/serialization/CMakeFiles/ex-serializati
            on-generate-data.dir/depend
     639    cd /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/spack-build && /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/cmake-3.16.2-zjrxq5csgjavghi4lijsmre5ghzhoy
            gq/bin/cmake -E cmake_depends "Unix Makefiles" /Users/tstockmanns/PandaSoftware/FairRoot/dev/source /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/serialization /Users/tstockm
            anns/PandaSoftware/FairRoot/dev/source/spack-build /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/spack-build/examples/MQ/serialization /Users/tstockmanns/PandaSoftware/FairRoot/dev/sourc
            e/spack-build/examples/MQ/serialization/CMakeFiles/ex-serialization-generate-data.dir/DependInfo.cmake --color=
     640    /Applications/Xcode.app/Contents/Developer/usr/bin/make -f examples/MQ/serialization/CMakeFiles/ex-serialization-generate-data.dir/build.make examples/MQ/serialization/CMakeFiles/ex-serializati
            on-generate-data.dir/build
     641    [ 68%] Linking CXX executable ex-serialization-generate-data
     642    cd /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/spack-build/examples/MQ/serialization && /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/cmake-3.16.2-zjrx
            q5csgjavghi4lijsmre5ghzhoygq/bin/cmake -E cmake_link_script CMakeFiles/ex-serialization-generate-data.dir/link.txt --verbose=1
     643    /Users/tstockmanns/PandaSoftware/FairSoft/dev/source/spack/lib/spack/env/clang/clang++  -std=c++11 -O2 -g -Wshadow  -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platfor
            m/Developer/SDKs/MacOSX10.14.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names  CMakeFiles/ex-serialization-generate-data.dir/data_generator/runGenerateData.cxx.o  -o ex-serializatio
            n-generate-data   -L/Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.18.04-clabkkgfgoejgxaby43vl4k4k5lb4mgl/lib  -Wl,-rpath,/Users/tstockmanns/.spack/instal
            l_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.16.00-ejfra4res6lpxita2fjwqq5pzz3jzaxu/lib -Wl,-rpath,/Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6
            .18.04-clabkkgfgoejgxaby43vl4k4k5lb4mgl/lib -Wl,-rpath,/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/spack-build/lib -Wl,-rpath,/Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_6
            4/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/lib -Wl,-rpath,/Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/vmc-1-0-p1-dsnetjnq4kdbwi4ikpxa5
            jeyt6wtastp/lib -Wl,-rpath,/Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairlogger-1.4.0-4zg2pknqx2ixkof4cxdvmdyoyeurgzv6/lib ../../../lib/libExSerialization.1
            8.4.0.dylib ../../../lib/libBaseMQ.18.4.0.dylib /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/lib/libFairMQ.1.4.3-
            dirty.dylib /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/boost-1.70.0-ll7q6rkdoeekoees54vldzednemldnln/lib/libboost_container-mt.dylib -ldl /Users/tstockmanns/
            .spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/boost-1.70.0-ll7q6rkdoeekoees54vldzednemldnln/lib/libboost_program_options-mt.dylib /Users/tstockmanns/.spack/install_tree/darwin-moj
            ave-x86_64/clang-10.0.1-apple/boost-1.70.0-ll7q6rkdoeekoees54vldzednemldnln/lib/libboost_regex-mt.dylib ../../../lib/libBase.18.4.0.dylib ../../../lib/libAlignment.18.4.0.dylib ../../../lib/lib
            GeoBase.18.4.0.dylib -lGraf3d -lRHTTP -lGeomPainter -lMatrix -lProof /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/vmc-1-0-p1-dsnetjnq4kdbwi4ikpxa5jeyt6wtastp/l
            ib/libVMCLibrary.dylib /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.16.00-ejfra4res6lpxita2fjwqq5pzz3jzaxu/lib/libEG.so /Users/tstockmanns/.spack/instal
            l_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.16.00-ejfra4res6lpxita2fjwqq5pzz3jzaxu/lib/libGeom.so /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6
            .16.00-ejfra4res6lpxita2fjwqq5pzz3jzaxu/lib/libPhysics.so /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/boost-1.70.0-ll7q6rkdoeekoees54vldzednemldnln/lib/libboo
            st_filesystem-mt.dylib ../../../lib/libMbsAPI.18.4.0.dylib -lNet ../../../lib/libParBase.18.4.0.dylib ../../../lib/libFairTools.18.4.0.dylib /Users/tstockmanns/.spack/install_tree/darwin-mojave
            -x86_64/clang-10.0.1-apple/fairlogger-1.4.0-4zg2pknqx2ixkof4cxdvmdyoyeurgzv6/lib/libFairLogger.1.4.0.dylib -lGraf -lHist -lGpad /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang
            -10.0.1-apple/boost-1.70.0-ll7q6rkdoeekoees54vldzednemldnln/lib/libboost_serialization-mt.dylib /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.16.00-ejfra
            4res6lpxita2fjwqq5pzz3jzaxu/lib/libCore.so /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.16.00-ejfra4res6lpxita2fjwqq5pzz3jzaxu/lib/libMathCore.so /Users
            /tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.16.00-ejfra4res6lpxita2fjwqq5pzz3jzaxu/lib/libRIO.so /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/
            clang-10.0.1-apple/root-6.16.00-ejfra4res6lpxita2fjwqq5pzz3jzaxu/lib/libTree.so -lRooFit -lRooFitCore
  >> 644    Undefined symbols for architecture x86_64:
     645      "fair::Logger::Logger(fair::Severity, fair::Verbosity, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::cha
            r_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
     646          _main in runGenerateData.cxx.o
     647          RootOutFileManager<MyDigi>::InitOutputFile() in runGenerateData.cxx.o
     648          void SaveDataToFile<MyDigi, RootOutFileManager<MyDigi> >(RootOutFileManager<MyDigi>&, RooDataSet*, bool) in runGenerateData.cxx.o
     649          RootOutFileManager<MyDigi>::GetAllObj(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> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in runGenerateData.cxx.o
     650          RootOutFileManager<MyDigi>::Init() in runGenerateData.cxx.o
     651          RootOutFileManager<MyDigi>::AddToFile(std::__1::vector<MyDigi, std::__1::allocator<MyDigi> >&) in runGenerateData.cxx.o
     652    ld: symbol(s) not found for architecture x86_64
  >> 653    clang: error: linker command failed with exit code 1 (use -v to see invocation)
  >> 654    make[2]: *** [examples/MQ/serialization/ex-serialization-generate-data] Error 1
  >> 655    make[1]: *** [examples/MQ/serialization/CMakeFiles/ex-serialization-generate-data.dir/all] Error 2
     656    make[1]: *** Waiting for unfinished jobs....
     657    In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/serialization/1-simple/runEx1Processor.cxx:10:
     658    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/runFairMQDevice.h:9:
     659    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/DeviceRunner.h:13:
     660    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/PluginManager.h:12:
     661    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/Plugin.h:14:
     662    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/PluginServices.h:12:
  >> 663    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/States.h:21:12: error: redefinition of 'State'
     664    enum class State : int
     665               ^
     666    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/StateMachine.h:28:12: note: previous definition is he
            re
     667    enum class State : int
     668               ^
     669    In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/serialization/1-simple/runEx1Processor.cxx:10:
     670    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/runFairMQDevice.h:9:
     671    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/DeviceRunner.h:13:
     672    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/PluginManager.h:12:
     673    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/Plugin.h:14:
     674    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/PluginServices.h:12:
  >> 675    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/States.h:40:12: error: redefinition of 'Transition'
     676    enum class Transition : int
     677               ^
     678    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/StateMachine.h:47:12: note: previous definition is he
            re
     679    enum class Transition : int
     680               ^
     681    In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/serialization/1-simple/runEx1Processor.cxx:10:
     682    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/runFairMQDevice.h:9:
     683    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/DeviceRunner.h:13:
     684    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/PluginManager.h:12:
     685    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/Plugin.h:14:
     686    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/PluginServices.h:12:
  >> 687    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/States.h:63:22: error: redefinition of 'operator<<'
     688    inline std::ostream& operator<<(std::ostream& os, const State& state) { return os << GetStateName(state); }
     689                         ^
     690    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/StateMachine.h:103:22: note: previous definition is h
            ere
     691    inline std::ostream& operator<<(std::ostream& os, const State& state) { return os << StateMachine::GetStateName(state); }
     692                         ^
     693    In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/serialization/1-simple/runEx1Processor.cxx:10:
     694    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/runFairMQDevice.h:9:
     695    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/DeviceRunner.h:13:
     696    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/PluginManager.h:12:
     697    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/Plugin.h:14:
     698    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/PluginServices.h:12:
  >> 699    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/States.h:64:22: error: redefinition of 'operator<<'
     700    inline std::ostream& operator<<(std::ostream& os, const Transition& transition) { return os << GetTransitionName(transition); }
     701                         ^
     702    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/StateMachine.h:104:22: note: previous definition is h
            ere
     703    inline std::ostream& operator<<(std::ostream& os, const Transition& transition) { return os << StateMachine::GetTransitionName(transition); }
     704                         ^
     705    In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/serialization/1-simple/runEx1Processor.cxx:10:
     706    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/runFairMQDevice.h:9:
     707    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/DeviceRunner.h:13:
     708    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/PluginManager.h:12:
     709    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/Plugin.h:14:
     710    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/PluginServices.h:14:
     711    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/ProgOptions.h:15:
  >> 712    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/ProgOptionsFwd.h:20:7: error: typedef redefinition w
            ith different types ('fair::mq::ProgOptions' vs 'FairMQProgOptions')
     713    using FairMQProgOptions = fair::mq::ProgOptions;
     714          ^
     715    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/options/FairMQProgOptions.h:37:7: note: previous defi
            nition is here
     716    class FairMQProgOptions
     717          ^
     718    In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/serialization/1-simple/runEx1Processor.cxx:10:
     719    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/runFairMQDevice.h:9:
     720    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/DeviceRunner.h:13:
     721    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/PluginManager.h:12:
     722    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/Plugin.h:14:
     723    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/PluginServices.h:14:
     724    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/ProgOptions.h:16:
  >> 725    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/Properties.h:32:8: error: redefinition of 'PropertyC
            hange'
     726    struct PropertyChange : Event<std::string> {};
     727           ^
     728    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/options/FairMQProgOptions.h:31:8: note: previous defi
            nition is here
     729    struct PropertyChange : Event<std::string> {};
     730           ^
     731    In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/serialization/1-simple/runEx1Processor.cxx:10:
     732    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/runFairMQDevice.h:9:
     733    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/DeviceRunner.h:13:
     734    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/PluginManager.h:12:
     735    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/Plugin.h:14:
     736    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/PluginServices.h:14:
     737    In file included from /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/ProgOptions.h:16:
  >> 738    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.12-cy4vpconto5mdmlmrpbeocxglo3lhg5f/include/fairmq/Properties.h:33:8: error: redefinition of 'PropertyC
            hangeAsString'
     739    struct PropertyChangeAsString : Event<std::string> {};
     740           ^
     741    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/options/FairMQProgOptions.h:32:8: note: previous defi
            nition is here
     742    struct PropertyChangeAsString : Event<std::string> {};
     743           ^
     744    In file included from /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/examples/MQ/serialization/1-simple/runEx1Processor.cxx:10:
  >> 745    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/runFairMQDevice.h:49:55: error: no matching function
            for call to 'getDevice'
     746                r.fDevice = std::unique_ptr<FairMQDevice>{getDevice(r.fConfig)};
     747                                                          ^~~~~~~~~
     748    /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairmq-1.4.3-hyprxzrxh33mjjc6fveohengs7jy5lnx/include/fairmq/runFairMQDevice.h:17:17: note: candidate function not
             viable: no known conversion from 'fair::mq::ProgOptions' to 'const FairMQProgOptions' for 1st argument
     749    FairMQDevicePtr getDevice(const FairMQProgOptions& config);
     750                    ^
     751    8 errors generated.
  >> 752    make[2]: *** [examples/MQ/parameters/CMakeFiles/ex-params-client.dir/runExParamsClient.cxx.o] Error 1
  >> 753    make[1]: *** [examples/MQ/parameters/CMakeFiles/ex-params-client.dir/all] Error 2
     754    [ 69%] Linking CXX shared library ../../../../lib/libExSimulation4.dylib
     755    cd /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/spack-build/examples/simulation/Tutorial4/src && /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/cmake-3.1
            6.2-zjrxq5csgjavghi4lijsmre5ghzhoygq/bin/cmake -E cmake_link_script CMakeFiles/ExSimulation4.dir/link.txt --verbose=1
     756    /Users/tstockmanns/PandaSoftware/FairSoft/dev/source/spack/lib/spack/env/clang/clang++ -std=c++11 -O2 -g -Wshadow  -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
            /Developer/SDKs/MacOSX10.14.sdk -dynamiclib -Wl,-headerpad_max_install_names -single_module -undefined dynamic_lookup -flat_namespace -compatibility_version 18.4.0 -current_version 18.4.0 -o ..
            /../../../lib/libExSimulation4.18.4.0.dylib -install_name @rpath/libExSimulation4.18.4.dylib CMakeFiles/ExSimulation4.dir/data/FairTutorialDet4Point.cxx.o CMakeFiles/ExSimulation4.dir/data/Fair
            TutorialDet4Hit.cxx.o CMakeFiles/ExSimulation4.dir/mc/FairTutorialDet4.cxx.o CMakeFiles/ExSimulation4.dir/mc/FairTutorialDet4Geo.cxx.o CMakeFiles/ExSimulation4.dir/param/FairTutorialDet4ContFac
            t.cxx.o CMakeFiles/ExSimulation4.dir/param/FairTutorialDet4GeoPar.cxx.o CMakeFiles/ExSimulation4.dir/param/FairTutorialDet4MisalignPar.cxx.o CMakeFiles/ExSimulation4.dir/reco/FairTutorialDet4Hi
            tProducerIdealMisalign.cxx.o CMakeFiles/ExSimulation4.dir/reco/FairTutorialDet4StraightLineFitter.cxx.o CMakeFiles/ExSimulation4.dir/reco/FairTutorialDet4MilleWriter.cxx.o CMakeFiles/ExSimulati
            on4.dir/tools/FairTutorialDet4GeoHandler.cxx.o CMakeFiles/ExSimulation4.dir/tools/Mille.cc.o CMakeFiles/ExSimulation4.dir/display/FairTutorialDet4PointDraw.cxx.o CMakeFiles/ExSimulation4.dir/G_
            _ExSimulation4.cxx.o   -L/Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.18.04-clabkkgfgoejgxaby43vl4k4k5lb4mgl/lib  -Wl,-rpath,/Users/tstockmanns/.spack/i
            nstall_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.16.00-ejfra4res6lpxita2fjwqq5pzz3jzaxu/lib -Wl,-rpath,/Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/r
            oot-6.18.04-clabkkgfgoejgxaby43vl4k4k5lb4mgl/lib -Wl,-rpath,/Users/tstockmanns/PandaSoftware/FairRoot/dev/source/spack-build/lib -Wl,-rpath,/Users/tstockmanns/.spack/install_tree/darwin-mojave-
            x86_64/clang-10.0.1-apple/vmc-1-0-p1-dsnetjnq4kdbwi4ikpxa5jeyt6wtastp/lib -Wl,-rpath,/Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairlogger-1.4.0-4zg2pknqx2ix
            kof4cxdvmdyoyeurgzv6/lib ../../../../lib/libExMCStack.18.4.0.dylib ../../../../lib/libGen.18.4.0.dylib ../../../../lib/libEventDisplay.18.4.0.dylib -lHist -lEve ../../../../lib/libBase.18.4.0.d
            ylib ../../../../lib/libGeoBase.18.4.0.dylib -lGraf3d ../../../../lib/libParBase.18.4.0.dylib /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/vmc-1-0-p1-dsnetjnq4
            kdbwi4ikpxa5jeyt6wtastp/lib/libVMCLibrary.dylib ../../../../lib/libAlignment.18.4.0.dylib /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/boost-1.70.0-ll7q6rkdoee
            koees54vldzednemldnln/lib/libboost_serialization-mt.dylib ../../../../lib/libMbsAPI.18.4.0.dylib -lRHTTP -lMatrix -lNet -lProof ../../../../lib/libFairTools.18.4.0.dylib /Users/tstockmanns/.spa
            ck/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairlogger-1.4.0-4zg2pknqx2ixkof4cxdvmdyoyeurgzv6/lib/libFairLogger.1.4.0.dylib -lGraf -lHist -lGpad /Users/tstockmanns/.spack/install_tr
            ee/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.16.00-ejfra4res6lpxita2fjwqq5pzz3jzaxu/lib/libCore.so /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.16.
            00-ejfra4res6lpxita2fjwqq5pzz3jzaxu/lib/libPhysics.so /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.16.00-ejfra4res6lpxita2fjwqq5pzz3jzaxu/lib/libGeom.so
             /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.16.00-ejfra4res6lpxita2fjwqq5pzz3jzaxu/lib/libMathCore.so /Users/tstockmanns/.spack/install_tree/darwin-mo
            jave-x86_64/clang-10.0.1-apple/root-6.16.00-ejfra4res6lpxita2fjwqq5pzz3jzaxu/lib/libRIO.so /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.16.00-ejfra4res6
            lpxita2fjwqq5pzz3jzaxu/lib/libEG.so /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/root-6.16.00-ejfra4res6lpxita2fjwqq5pzz3jzaxu/lib/libTree.so -lGed -lGeomPaint
            er -lGui -lRGL -lXMLIO -lXMLParser
     757    cd /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/spack-build/examples/simulation/Tutorial4/src && /Users/tstockmanns/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/cmake-3.1
            6.2-zjrxq5csgjavghi4lijsmre5ghzhoygq/bin/cmake -E cmake_symlink_library ../../../../lib/libExSimulation4.18.4.0.dylib ../../../../lib/libExSimulation4.18.4.dylib ../../../../lib/libExSimulation
            4.dylib
     758    [ 69%] Built target ExSimulation4
     759    8 errors generated.
  >> 760    make[2]: *** [examples/MQ/serialization/CMakeFiles/ex-serialization1-processor.dir/1-simple/runEx1Processor.cxx.o] Error 1
  >> 761    make[1]: *** [examples/MQ/serialization/CMakeFiles/ex-serialization1-processor.dir/all] Error 2
  >> 762    make: *** [all] Error 2

@karabowi
Copy link
Collaborator Author

I am using "spack find" output for the list of packages.
Tobias, can you attach the output of this command?

Did you try from to run the command from the clean shell and spack activate?
And also after "rm -rf ~/.spack/install_tree/darwin-mojave-x86_64/clang-10.0.1-apple/fairroot-mybuild*" and "rm -rf /Users/tstockmanns/PandaSoftware/FairRoot/dev/source/spack-build*"

This is certainly worrying that spack is trying to use different fairmqs....

@TobiasStockmanns
Copy link

I am using a clean shell but with SIMPATH and FAIRROOTPATH set and I run spack env activate dev.

Here comes spack find:

spack find
==> In environment dev
==> Root specs
fairroot@18.4.0 +examples+sim                                     pythia6@428-alice1
geant3@3-0_fairsoft                                               pythia8@8301
geant4@10.05.p01 ~clhep~data~motif~opengl~qt+threads~vecgeom~x11  root@6.18.04 +aqua+fortran+gdml+pythia6+pythia8+python+tmva+vc~vdt+xrootd
geant4_vmc@5-0-p1                                                 vgm@4-7
hepmc@2.06.09  length=CM momentum=GEV                             vmc@1-0-p1
pcre +jit

==> 90 installed packages
-- darwin-mojave-x86_64 / clang@10.0.1-apple --------------------
boost@1.70.0        freetype@2.10.1          g4tendl@1.3.2        kbproto@1.0.7         libxau@1.0.8       openblas@0.3.7      renderproto@0.11.1  xrootd@4.10.0
bzip2@1.0.8         g4abla@3.1               gdbm@1.18.1          libevent@2.1.8        libxcb@1.13        opengl@3.3          rngstreams@1.0.1    xxhash@0.6.5
davix@0.6.8         g4emlow@7.7              geant3@3-0_fairsoft  libffi@3.2.1          libxdmcp@1.1.2     openglu@1.3         root@6.18.04        xz@5.2.4
dds@3.0             g4ensdfstate@2.2         geant4@10.05.p01     libice@1.0.9          libxext@1.3.3      openssl@1.1.1g      sqlite@3.30.1       yaml-cpp@0.6.2
expat@2.2.9         g4incl@1.0               geant4-data@10.05    libiconv@1.16         libxft@2.3.2       pcre@8.42           tar@1.32            zeromq@4.3.2
fairlogger@1.6.2    g4ndl@4.5                geant4_vmc@5-0-p1    libjpeg-turbo@2.0.3   libxml2@2.9.9      pmix@3.1.3          unuran@1.8.1        zlib@1.2.11
fairmq@1.4.12       g4particlexs@1.1         gettext@0.20.1       libpng@1.6.37         libxpm@3.5.12      protobuf@3.7.1      vc@1.4.1
fairroot@18.4.0     g4photonevaporation@5.3  googletest@1.10.0    libpthread-stubs@0.4  libxrender@0.9.10  py-numpy@1.17.3     vgm@4-7
flatbuffers@1.11.0  g4pii@1.3                gsl@2.5              libsm@1.2.2           lz4@1.9.2          pythia6@428-alice1  vmc@1-0-p1
fmt@5.3.0           g4radioactivedecay@5.3   hepmc@2.06.09        libsodium@1.0.17      msgpack-c@3.1.1    pythia8@8301        xerces-c@3.2.2
font-util@1.3.2     g4realsurface@2.1.1      hwloc@2.0.2          libuuid@1.0.3         nanomsg@1.1.5      python@3.7.4        xextproto@7.3.0
fontconfig@2.12.3   g4saiddata@2.0           intel-tbb@2019.4     libx11@1.6.7          ncurses@6.1        readline@8.0        xproto@7.0.31

@karabowi
Copy link
Collaborator Author

karabowi commented Jun 18, 2020

OK. So there comes a potential problem. I have decided to only use the "Root specs" part of the "spack find" output. I did it, because MY spack find output matches exactly the dev-build command from the fairsoft README instructions.

For me the output looks:

==> In environment jun19nt
==> Root specs
boost@1.68.0                                                      hepmc@2.06.09  length=CM momentum=GEV
dds@2.4                                                           pcre +jit
fairlogger@1.4.0                                                  py-numpy@1.16.5 
fairmq@1.4.3                                                      pythia6@428-alice1 
fairroot@18.2.1 +examples+sim                                     pythia8@8240 
geant3@2-7_fairsoft                                               python@2.7.16 
geant4@10.05.p01 ~clhep~data~motif~opengl~qt~threads~vecgeom~x11  root@6.16.00 +aqua+fortran+gdml+memstat+pythia6+pythia8+python+tmva+vc~vdt+xrootd
geant4_vmc@4-0-p1                                                 vgm@4-5 
googletest@1.8.1 

==> 88 installed packages
-- darwin-mojave-x86_64 / clang@10.0.1-apple --------------------
boost@1.68.0        g4emlow@7.7              geant4@10.05.p01   libiconv@1.16         libxml2@2.9.9      protobuf@3.7.1      vgm@4-5
bzip2@1.0.8         g4ensdfstate@2.2         geant4-data@10.05  libjpeg-turbo@2.0.3   libxpm@3.5.12      py-numpy@1.16.5     xerces-c@3.2.2
davix@0.6.8         g4incl@1.0               geant4_vmc@4-0-p1  libpng@1.6.37         libxrender@0.9.10  pythia6@428-alice1  xextproto@7.3.0
dds@2.4             g4ndl@4.5                gettext@0.20.1     libpthread-stubs@0.4  lz4@1.9.2          pythia8@8240        xproto@7.0.31
expat@2.2.9         g4particlexs@1.1         googletest@1.8.1   libsm@1.2.2           msgpack-c@3.1.1    python@2.7.16       xrootd@4.10.0
fairlogger@1.4.0    g4photonevaporation@5.3  gsl@2.5            libsodium@1.0.17      nanomsg@1.1.5      readline@8.0        xxhash@0.6.5
fairmq@1.4.3        g4pii@1.3                hepmc@2.06.09      libuuid@1.0.3         ncurses@6.1        renderproto@0.11.1  xz@5.2.4
fairroot@18.2.1     g4radioactivedecay@5.3   hwloc@2.0.2        libx11@1.6.7          openblas@0.3.7     rngstreams@1.0.1    yaml-cpp@0.6.2
flatbuffers@1.11.0  g4realsurface@2.1.1      intel-tbb@2019.4   libxau@1.0.8          opengl@3.3         root@6.16.00        zeromq@4.3.2
font-util@1.3.2     g4saiddata@2.0           kbproto@1.0.7      libxcb@1.13           openglu@1.3        sqlite@3.30.1       zlib@1.2.11
fontconfig@2.12.3   g4tendl@1.3.2            libevent@2.1.8     libxdmcp@1.1.2        openssl@1.1.1g     tar@1.32
freetype@2.10.1     gdbm@1.18.1              libffi@3.2.1       libxext@1.3.3         pcre@8.42          unuran@1.8.1
g4abla@3.1          geant3@2-7_fairsoft      libice@1.0.9       libxft@2.3.2          pmix@3.1.3         vc@1.4.1

Checking, your env is probably env/dev/sim_threads.yaml, which has smaller number of specs, than our other env definitions.
Why would that be? Question to experts.

@dennisklein
Copy link
Member

dennisklein commented Jun 18, 2020

It may be worth a try to implement the proposed helper script as a spack extension written in python. That way, we can properly inspect and filter the environment and fairroot dependencies.

@TobiasStockmanns
Copy link

After removing rm -rf ~/PandaSoftware/FairRoot/dev/source/spack-buildthe build process finished successfuly.

@karabowi
Copy link
Collaborator Author

Great Tobias!

Maybe the problem were then caused by the first unsuccessful tries. After doing it already few times, I usually delete this directory before starting the dev-build.

The other problem is that I did not yet find a way to re'make' your spack-build.
Unfortunately one cannot simply cd there and call make.

Copy link
Member

@ChristianTackeGSI ChristianTackeGSI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you move this to tools/?

Maybe add a little to the README?

return
fi

deps=$(spack find | sed -n '/Root/,/installed/p' | grep -v "Root specs" | grep -v ^$2@ | grep -v "installed packages" | sed 's/ //' | sed -e /^$/d | awk '{printf " ^%s",$0} END {print ""}');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am trying to come up with a little spack python to do that…

@ChristianTackeGSI
Copy link
Member

Here is a small python script, that does the same as the sed, awk, grep.

  • Call it like spack python script.py fairroot
  • It will output the full spec for fairroot from the env at the beginning, so that the exact flags and version are used from the env. If that's not wanted, remove the reslist.insert call.
  • The remainder of the output line is the other specs each prefixed with ^.
  • No, it's not totally nice. It just gets the job done.
  • For the future, we should look deeper into Environments: specify packages for developer builds spack/spack#15256 (will do so soonosh).
#! /usr/bin/python3

import sys
from argparse import ArgumentParser
from spack.environment import find_environment


def get_parser():
    parser = ArgumentParser()
    parser.add_argument("packagename")
    return parser


def main():
    parser = get_parser()
    args = parser.parse_args()

    env = find_environment(args)
    if env is None:
        sys.stderr.write("No environment\n")
        sys.exit(1)

    reslist = []

    for spec in env.user_specs:
        s = str(spec)
        if s.startswith(args.packagename + '@'):
            reslist.insert(0, s)
        else:
            reslist.append("^" + s)

    print(" ".join(reslist))


if __name__ == '__main__':
    main()

@karabowi
Copy link
Collaborator Author

It's OK with me, if you prefer python.
My script was starting the dev-build of the given packages.
Christian's is only printing the dependencies in ready-to-use format.
What is a better option?
Maybe we can discuss shortly on Monday?

@ChristianTackeGSI
Copy link
Member

Well, python let's us access the data structures of spack directly, without having to adapt to their output format. That's why I considered to rewrite the "prepare part of the commandline" part in python.

My idea was to rewrite the deps=$(…) part to something like deps="$(spack python $(dirname $0)/devbuild_deps.py))" and put the above python scriptlet as devbuild_deps.py alongside the shell snippet. Maybe one should replace the reslist.insert(0, s) by a pass and let the shell script output the initial packagename, including the desired version, etc?
In the hope, that things would be easier to read/maintain and use the spack APIs more directly.

That said, I am happy with everything that works for the people actually needing this!

Yes, let's talk on Monday, or we can schedule something ad-doc using jitsi.

P.S.: I have looked a bit into spack/spack#15256 (left a review), and that definitely looks like a good direction, but that still needs a bit of time. So it's good for us to have something going here first.

Move both scripts to tools/.
Add the possibility to run the script with 1 or 3 parameters.
Copy link
Member

@ChristianTackeGSI ChristianTackeGSI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That looks good to be merged now. So give it to our "dev"-users!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants