-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Labels
FWDForward UpgradeForward UpgradeROOT6Issues and changes related to transition from ROOT5 to ROOT6Issues and changes related to transition from ROOT5 to ROOT6bugSomething isn't workingSomething isn't working
Description
Executing the following in an empty directory on SDCC...
unsetenv NODEBUG
setup 64b
starver SL24x config/v0.3.0-rhel7-root6.24.06
mkdir StRoot
cp -R $STAR/StRoot/StFwdUtils ./StRoot/
sed -i 's=//gDirectory=gDirectory=' StRoot/StFwdUtils/StFwdAnalysisMaker.cxx
cons
....results in the below error, which is why (for now) I have commented out the line with gDirectory in SL24x (probably affecting the use of StFwdAnalysisMaker there)...
g++ -m64 -fPIC -pipe -Wall -Woverloaded-virtual -std=c++0x -Wno-long-long -pthread -g -Dsl73_x8664_gcc485 -D__ROOT__ -DNEW_DAQ_READER -I. -IStRoot -I.sl73_x8664_gcc485/include -I/afs/rhic.bnl.gov/star/packages/SL24x -I/afs/rhic.bnl.gov/star/packages/SL24x/StRoot -I/afs/rhic.bnl.gov/star/packages/SL24x/.sl73_x8664_gcc485/include -I/cvmfs/star.sdcc.bnl.gov/star-spack/spack/opt/spack/linux-rhel7-x86_64/gcc-4.8.5/root-6.24.06-xyzh2kixt4wrnkbrfsmdjxufnc27t74e/include -I/cvmfs/star.sdcc.bnl.gov/star-spack/spack/opt/spack/linux-rhel7-x86_64/gcc-4.8.5/vmc-1-0-p3-idwq5npxqw22beaehvep4zhe7kyefb44/include/vmc -c .sl73_x8664_gcc485/obj/StRoot/StFwdUtils/StFwdAnalysisMaker.cxx -o .sl73_x8664_gcc485/obj/StRoot/StFwdUtils/StFwdAnalysisMaker.o
.sl73_x8664_gcc485/obj/StRoot/StFwdUtils/StFwdAnalysisMaker.cxx: In member function 'virtual int StFwdAnalysisMaker::Finish()':
.sl73_x8664_gcc485/obj/StRoot/StFwdUtils/StFwdAnalysisMaker.cxx:42:20: error: use of deleted function 'ROOT::Internal::TDirectoryAtomicAdapter& ROOT::Internal::TDirectoryAtomicAdapter::operator=(const ROOT::Internal::TDirectoryAtomicAdapter&)'
gDirectory = prevDir;
^
In file included from /cvmfs/star.sdcc.bnl.gov/star-spack/spack/opt/spack/linux-rhel7-x86_64/gcc-4.8.5/root-6.24.06-xyzh2kixt4wrnkbrfsmdjxufnc27t74e/include/TDirectoryFile.h:25:0,
from /cvmfs/star.sdcc.bnl.gov/star-spack/spack/opt/spack/linux-rhel7-x86_64/gcc-4.8.5/root-6.24.06-xyzh2kixt4wrnkbrfsmdjxufnc27t74e/include/TFile.h:28,
from /afs/rhic.bnl.gov/star/packages/SL24x/.sl73_x8664_gcc485/include/StMaker.h:20,
from /afs/rhic.bnl.gov/star/packages/SL24x/StRoot/StMuDSTMaker/COMMON/StMuDstMaker.h:15,
from .sl73_x8664_gcc485/obj/StRoot/StFwdUtils/StFwdAnalysisMaker.cxx:15:
/cvmfs/star.sdcc.bnl.gov/star-spack/spack/opt/spack/linux-rhel7-x86_64/gcc-4.8.5/root-6.24.06-xyzh2kixt4wrnkbrfsmdjxufnc27t74e/include/TDirectory.h:247:11: note: 'ROOT::Internal::TDirectoryAtomicAdapter& ROOT::Internal::TDirectoryAtomicAdapter::operator=(const ROOT::Internal::TDirectoryAtomicAdapter&)' is implicitly deleted because the default definition would be ill-formed:
struct TDirectoryAtomicAdapter {
^
/cvmfs/star.sdcc.bnl.gov/star-spack/spack/opt/spack/linux-rhel7-x86_64/gcc-4.8.5/root-6.24.06-xyzh2kixt4wrnkbrfsmdjxufnc27t74e/include/TDirectory.h:247:11: error: non-static reference member 'std::atomic<TDirectory*>& ROOT::Internal::TDirectoryAtomicAdapter::fValue', can't use default assignment operator
cons: *** [.sl73_x8664_gcc485/obj/StRoot/StFwdUtils/StFwdAnalysisMaker.o] Error 1
cons: errors constructing .sl73_x8664_gcc485/obj/StRoot/StFwdUtils/StFwdAnalysisMaker.o
-Gene
Metadata
Metadata
Assignees
Labels
FWDForward UpgradeForward UpgradeROOT6Issues and changes related to transition from ROOT5 to ROOT6Issues and changes related to transition from ROOT5 to ROOT6bugSomething isn't workingSomething isn't working