Fork me on GitHub

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#1468 closed Bug (fixed)

Build of Delphes 3.4.2 fails on Fedora33 and Fedora Rawhide

Reported by: Andrii Owned by:
Priority: major Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description

Hi all,

here is a log of an automatic build from Fedora 33

+ make -j2
>> Generating tmp/classes/ClassesDict.cc
>> Generating tmp/external/ExRootAnalysis/ExRootAnalysisDict.cc
Warning in cling::IncrementalParser::CheckABICompatibility():
  Possible C++ standard library mismatch, compiled with Warning in cling::IncrementalParser::CheckABICompatibility():
  Possible C++ standard library mismatch, compiled with __GLIBCXX____GLIBCXX__ '20200826'
  Extraction of runtime standard library version was: '20201016'
 '20200826'
  Extraction of runtime standard library version was: '20201016'
>> Generating tmp/modules/ModulesDict.cc
>> Compiling classes/DelphesClasses.cc
Warning in cling::IncrementalParser::CheckABICompatibility():
  Possible C++ standard library mismatch, compiled with __GLIBCXX__ '20200826'
  Extraction of runtime standard library version was: '20201016'
>> Compiling classes/DelphesCylindricalFormula.cc
>> Compiling classes/DelphesFactory.cc
>> Compiling classes/DelphesFormula.cc
>> Compiling classes/DelphesHepMCReader.cc
>> Compiling classes/DelphesLHEFReader.cc
>> Compiling classes/DelphesModule.cc
>> Compiling classes/DelphesPileUpReader.cc
>> Compiling classes/DelphesPileUpWriter.cc
>> Compiling classes/DelphesSTDHEPReader.cc
>> Compiling classes/DelphesStream.cc
>> Compiling classes/DelphesTF2.cc
>> Compiling classes/DelphesXDRReader.cc
>> Compiling classes/DelphesXDRWriter.cc
>> Compiling external/ExRootAnalysis/ExRootConfReader.cc
>> Compiling external/ExRootAnalysis/ExRootFilter.cc
>> Compiling external/ExRootAnalysis/ExRootProgressBar.cc
>> Compiling external/ExRootAnalysis/ExRootResult.cc
>> Compiling external/ExRootAnalysis/ExRootTask.cc
>> Compiling external/ExRootAnalysis/ExRootTreeBranch.cc
>> Compiling external/ExRootAnalysis/ExRootTreeReader.cc
>> Compiling external/ExRootAnalysis/ExRootTreeWriter.cc
>> Compiling external/ExRootAnalysis/ExRootUtilities.cc
>> Compiling external/Hector/H_AbstractBeamLine.cc
>> Compiling external/Hector/H_Aperture.cc
>> Compiling external/Hector/H_Beam.cc
>> Compiling external/Hector/H_BeamLine.cc
>> Compiling external/Hector/H_BeamLineParser.cc
>> Compiling external/Hector/H_BeamParticle.cc
>> Compiling external/Hector/H_CircularAperture.cc
>> Compiling external/Hector/H_Dipole.cc
external/Hector/H_BeamParticle.cc: In member function 'void H_BeamParticle::computePath(const H_AbstractBeamLine*, bool)':
external/Hector/H_BeamParticle.cc:483:25: warning: variable 'temp_s' set but not used [-Wunused-but-set-variable]
  483 |  double temp_x, temp_y, temp_s, temp_tx, temp_ty;
      |                         ^~~~~~
external/Hector/H_BeamParticle.cc: In member function 'void H_BeamParticle::computePath(const H_AbstractBeamLine&, bool)':
external/Hector/H_BeamParticle.cc:533:25: warning: variable 'temp_s' set but not used [-Wunused-but-set-variable]
  533 |  double temp_x, temp_y, temp_s, temp_tx, temp_ty;
      |                         ^~~~~~
>> Compiling external/Hector/H_Drift.cc
>> Compiling external/Hector/H_EllipticAperture.cc
>> Compiling external/Hector/H_HorizontalKicker.cc
>> Compiling external/Hector/H_HorizontalQuadrupole.cc
>> Compiling external/Hector/H_Kicker.cc
>> Compiling external/Hector/H_Marker.cc
>> Compiling external/Hector/H_OpticalElement.cc
>> Compiling external/Hector/H_Parameters.cc
>> Compiling external/Hector/H_Quadrupole.cc
>> Compiling external/Hector/H_RecRPObject.cc
>> Compiling external/Hector/H_RectEllipticAperture.cc
>> Compiling external/Hector/H_RectangularAperture.cc
>> Compiling external/Hector/H_RectangularCollimator.cc
>> Compiling external/Hector/H_RectangularDipole.cc
>> Compiling external/Hector/H_RomanPot.cc
>> Compiling external/Hector/H_SectorDipole.cc
>> Compiling external/Hector/H_TransportMatrices.cc
>> Compiling external/Hector/H_VerticalKicker.cc
>> Compiling external/Hector/H_VerticalQuadrupole.cc
>> Compiling modules/AngularSmearing.cc
>> Compiling modules/BTagging.cc
>> Compiling modules/BeamSpotFilter.cc
>> Compiling modules/Calorimeter.cc
>> Compiling modules/Cloner.cc
>> Compiling modules/ConstituentFilter.cc
>> Compiling modules/Delphes.cc
>> Compiling modules/DenseTrackFilter.cc
>> Compiling modules/DualReadoutCalorimeter.cc
>> Compiling modules/Efficiency.cc
modules/DualReadoutCalorimeter.cc: In member function 'virtual void DualReadoutCalorimeter::Process()':
modules/DualReadoutCalorimeter.cc:225:12: warning: unused variable 'ecalSigma' [-Wunused-variable]
  225 |   Double_t ecalSigma, hcalSigma, sigma;
      |            ^~~~~~~~~
modules/DualReadoutCalorimeter.cc:225:23: warning: unused variable 'hcalSigma' [-Wunused-variable]
  225 |   Double_t ecalSigma, hcalSigma, sigma;
      |                       ^~~~~~~~~
modules/DualReadoutCalorimeter.cc: In member function 'void DualReadoutCalorimeter::FinalizeTower()':
modules/DualReadoutCalorimeter.cc:510:12: warning: unused variable 'ecalNeutralEnergy' [-Wunused-variable]
  510 |   Double_t ecalNeutralEnergy, hcalNeutralEnergy, neutralEnergy;
      |            ^~~~~~~~~~~~~~~~~
modules/DualReadoutCalorimeter.cc:510:31: warning: unused variable 'hcalNeutralEnergy' [-Wunused-variable]
  510 |   Double_t ecalNeutralEnergy, hcalNeutralEnergy, neutralEnergy;
      |                               ^~~~~~~~~~~~~~~~~
modules/DualReadoutCalorimeter.cc:513:12: warning: unused variable 'ecalNeutralSigma' [-Wunused-variable]
  513 |   Double_t ecalNeutralSigma, hcalNeutralSigma, neutralSigma;
      |            ^~~~~~~~~~~~~~~~
modules/DualReadoutCalorimeter.cc:513:30: warning: unused variable 'hcalNeutralSigma' [-Wunused-variable]
  513 |   Double_t ecalNeutralSigma, hcalNeutralSigma, neutralSigma;
      |                              ^~~~~~~~~~~~~~~~
>> Compiling modules/EnergyScale.cc
>> Compiling modules/EnergySmearing.cc
>> Compiling modules/ExampleModule.cc
>> Compiling modules/Hector.cc
>> Compiling modules/IdentificationMap.cc
>> Compiling modules/ImpactParameterSmearing.cc
>> Compiling modules/Isolation.cc
>> Compiling modules/JetFakeParticle.cc
>> Compiling modules/JetFlavorAssociation.cc
>> Compiling modules/JetPileUpSubtractor.cc
>> Compiling modules/LeptonDressing.cc
>> Compiling modules/Merger.cc
>> Compiling modules/MomentumSmearing.cc
>> Compiling modules/OldCalorimeter.cc
modules/OldCalorimeter.cc: In member function 'virtual void OldCalorimeter::Init()':
modules/OldCalorimeter.cc:92:51: warning: variable 'sizeFractions' set but not used [-Wunused-but-set-variable]
   92 |   Long_t i, j, k, size, sizeEtaBins, sizePhiBins, sizeFractions;
      |                                                   ^~~~~~~~~~~~~
>> Compiling modules/ParticlePropagator.cc
modules/ParticlePropagator.cc: In member function 'virtual void ParticlePropagator::Process()':
modules/ParticlePropagator.cc:136:22: warning: variable 'bsz' set but not used [-Wunused-but-set-variable]
  136 |   Double_t bsx, bsy, bsz;
      |                      ^~~
>> Compiling modules/PdgCodeFilter.cc
>> Compiling modules/PhotonConversions.cc
>> Compiling modules/PhotonID.cc
>> Compiling modules/PileUpJetID.cc
>> Compiling modules/PileUpMerger.cc
modules/PileUpJetID.cc: In member function 'virtual void PileUpJetID::Process()':
modules/PileUpJetID.cc:173:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<float, float> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  173 |         for(int i = 0; i < constituent->ECalEnergyTimePairs.size(); i++)
      |                        ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Compiling modules/RecoPuFilter.cc
>> Compiling modules/SimpleCalorimeter.cc
modules/RecoPuFilter.cc: In member function 'virtual void RecoPuFilter::Init()':
modules/RecoPuFilter.cc:72:10: warning: unused variable 'i' [-Wunused-variable]
   72 |   Size_t i, size;
      |          ^
modules/RecoPuFilter.cc:72:13: warning: unused variable 'size' [-Wunused-variable]
   72 |   Size_t i, size;
      |             ^~~~
modules/RecoPuFilter.cc: In member function 'virtual void RecoPuFilter::Process()':
modules/RecoPuFilter.cc:94:9: warning: unused variable 'pdgCode' [-Wunused-variable]
   94 |   Int_t pdgCode;
      |         ^~~~~~~
modules/RecoPuFilter.cc:95:10: warning: unused variable 'pass' [-Wunused-variable]
   95 |   Bool_t pass;
      |          ^~~~
modules/RecoPuFilter.cc:96:12: warning: unused variable 'pt' [-Wunused-variable]
   96 |   Double_t pt;
      |            ^~
>> Compiling modules/StatusPidFilter.cc
>> Compiling modules/TaggingParticlesSkimmer.cc
>> Compiling modules/TauTagging.cc
>> Compiling modules/TimeSmearing.cc
>> Compiling modules/TrackCountingBTagging.cc
>> Compiling modules/TrackCountingTauTagging.cc
>> Compiling modules/TrackPileUpSubtractor.cc
modules/TrackCountingTauTagging.cc: In member function 'virtual void TrackCountingTauTagging::Process()':
modules/TrackCountingTauTagging.cc:209:9: warning: variable 'pdgCode' set but not used [-Wunused-but-set-variable]
  209 |   Int_t pdgCode, charge, i, identifier;
      |         ^~~~~~~
>> Compiling modules/TrackSmearing.cc
>> Compiling modules/TreeWriter.cc
modules/TreeWriter.cc: In member function 'void TreeWriter::ProcessTracks(ExRootTreeBranch*, TObjArray*)':
modules/TreeWriter.cc:314:38: warning: variable 'rapidity' set but not used [-Wunused-but-set-variable]
  314 |   Double_t pt, signz, cosTheta, eta, rapidity, p, ctgTheta, phi;
      |                                      ^~~~~~~~
modules/TreeWriter.cc: In member function 'void TreeWriter::ProcessTowers(ExRootTreeBranch*, TObjArray*)':
modules/TreeWriter.cc:400:39: warning: variable 'rapidity' set but not used [-Wunused-but-set-variable]
  400 |   Double_t pt, signPz, cosTheta, eta, rapidity;
      |                                       ^~~~~~~~
modules/TreeWriter.cc: In member function 'void TreeWriter::ProcessPhotons(ExRootTreeBranch*, TObjArray*)':
modules/TreeWriter.cc:446:39: warning: variable 'rapidity' set but not used [-Wunused-but-set-variable]
  446 |   Double_t pt, signPz, cosTheta, eta, rapidity;
      |                                       ^~~~~~~~
modules/TreeWriter.cc: In member function 'void TreeWriter::ProcessElectrons(ExRootTreeBranch*, TObjArray*)':
modules/TreeWriter.cc:498:39: warning: variable 'rapidity' set but not used [-Wunused-but-set-variable]
  498 |   Double_t pt, signPz, cosTheta, eta, rapidity;
      |                                       ^~~~~~~~
modules/TreeWriter.cc: In member function 'void TreeWriter::ProcessMuons(ExRootTreeBranch*, TObjArray*)':
modules/TreeWriter.cc:553:39: warning: variable 'rapidity' set but not used [-Wunused-but-set-variable]
  553 |   Double_t pt, signPz, cosTheta, eta, rapidity;
      |                                       ^~~~~~~~
modules/TreeWriter.cc: In member function 'void TreeWriter::ProcessJets(ExRootTreeBranch*, TObjArray*)':
modules/TreeWriter.cc:611:39: warning: variable 'rapidity' set but not used [-Wunused-but-set-variable]
  611 |   Double_t pt, signPz, cosTheta, eta, rapidity;
      |                                       ^~~~~~~~
>> Compiling modules/UniqueObjectFinder.cc
>> Compiling modules/VertexFinder.cc
>> Compiling modules/VertexFinderDA4D.cc
modules/VertexFinder.cc:85:15: warning: 'Bool_t secondAscending(std::pair<unsigned int, double>, std::pair<unsigned int, double>)' defined but not used [-Wunused-function]
   85 | static Bool_t secondAscending(pair<UInt_t, Double_t> pair0, pair<UInt_t, Double_t> pair1)
      |               ^~~~~~~~~~~~~~~
modules/VertexFinderDA4D.cc: In member function 'std::vector<Candidate*> VertexFinderDA4D::vertices()':
modules/VertexFinderDA4D.cc:359:22: warning: variable 'l' set but not used [-Wunused-but-set-variable]
  359 |   Double_t z, dz, t, l, dt, d0, d0error;
      |                      ^
modules/VertexFinderDA4D.cc: In function 'void dump(double, const std::vector<vertex_t>&, const std::vector<track_t>&)':
modules/VertexFinderDA4D.cc:699:12: warning: unused variable 'tz' [-Wunused-variable]
  699 |     double tz = tks[i].z;
      |            ^~
modules/VertexFinderDA4D.cc:700:12: warning: unused variable 'tt' [-Wunused-variable]
  700 |     double tt = tks[i].t;
      |            ^~
>> Compiling modules/VertexSorter.cc
>> Compiling modules/Weighter.cc
>> Compiling external/tcl/panic.c
>> Compiling external/tcl/tclAlloc.c
>> Compiling external/tcl/tclAsync.c
>> Compiling external/tcl/tclBasic.c
>> Compiling external/tcl/tclCkalloc.c
>> Compiling external/tcl/tclCmdAH.c
>> Compiling external/tcl/tclCmdIL.c
>> Compiling external/tcl/tclCmdMZ.c
>> Compiling external/tcl/tclCompExpr.c
>> Compiling external/tcl/tclCompile.c
external/tcl/tclCompile.c: In function 'TclObjIndexForString':
external/tcl/tclCompile.c:6513:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 6513 |      objIndex = (int) Tcl_GetHashValue(hPtr);
      |                 ^
In file included from external/tcl/tclInt.h:33,
                 from external/tcl/tclCompile.c:17:
external/tcl/tcl.h:820:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  820 | #define Tcl_SetHashValue(h, value) ((h)->clientData = (ClientData) (value))
      |                                                       ^
external/tcl/tclCompile.c:6554:2: note: in expansion of macro 'Tcl_SetHashValue'
 6554 |  Tcl_SetHashValue(hPtr, objIndex);
      |  ^~~~~~~~~~~~~~~~
>> Compiling external/tcl/tclExecute.c
In file included from external/tcl/tclExecute.c:15:
external/tcl/tclExecute.c: In function 'TclExecuteByteCode':
external/tcl/tclInt.h:1752:21: warning: the address of 'length' will always evaluate as 'true' [-Waddress]
 1752 |         ((lengthPtr)? \
      |                     ^
external/tcl/tclExecute.c:565:15: note: in expansion of macro 'TclGetStringFromObj'
  565 |       bytes = TclGetStringFromObj(valuePtr, &length);
      |               ^~~~~~~~~~~~~~~~~~~
external/tcl/tclInt.h:1752:21: warning: the address of 'length' will always evaluate as 'true' [-Waddress]
 1752 |         ((lengthPtr)? \
      |                     ^
external/tcl/tclExecute.c:583:12: note: in expansion of macro 'TclGetStringFromObj'
  583 |    bytes = TclGetStringFromObj(valuePtr, &length);
      |            ^~~~~~~~~~~~~~~~~~~
external/tcl/tclInt.h:1752:21: warning: the address of 'length' will always evaluate as 'true' [-Waddress]
 1752 |         ((lengthPtr)? \
      |                     ^
external/tcl/tclExecute.c:1516:12: note: in expansion of macro 'TclGetStringFromObj'
 1516 |       s1 = TclGetStringFromObj(valuePtr, &length);
      |            ^~~~~~~~~~~~~~~~~~~
external/tcl/tclInt.h:1752:21: warning: the address of 'length' will always evaluate as 'true' [-Waddress]
 1752 |         ((lengthPtr)? \
      |                     ^
external/tcl/tclExecute.c:1517:12: note: in expansion of macro 'TclGetStringFromObj'
 1517 |       s2 = TclGetStringFromObj(value2Ptr, &length);
      |            ^~~~~~~~~~~~~~~~~~~
external/tcl/tclExecute.c: At top level:
external/tcl/tclExecute.c:190:14: warning: 'PrintByteCodeInfo' declared 'static' but never defined [-Wunused-function]
  190 | static void  PrintByteCodeInfo _ANSI_ARGS_((ByteCode *codePtr));
      |              ^~~~~~~~~~~~~~~~~
>> Compiling external/tcl/tclGet.c
>> Compiling external/tcl/tclHash.c
>> Compiling external/tcl/tclIndexObj.c
external/tcl/tclIndexObj.c: In function 'Tcl_GetIndexFromObj':
external/tcl/tclIndexObj.c:89:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   89 |  *indexPtr = (int) objPtr->internalRep.twoPtrValue.ptr2;
      |              ^
external/tcl/tclIndexObj.c:131:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  131 |     objPtr->internalRep.twoPtrValue.ptr2 = (VOID *) index;
      |                                            ^
external/tcl/tclIndexObj.c: In function 'Tcl_WrongNumArgs':
external/tcl/tclIndexObj.c:293:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  293 |       tablePtr[(int) objv[i]->internalRep.twoPtrValue.ptr2],
      |                ^
>> Compiling external/tcl/tclLink.c
>> Compiling external/tcl/tclListObj.c
In file included from external/tcl/tclListObj.c:16:
external/tcl/tclListObj.c: In function 'SetListFromAny':
external/tcl/tclInt.h:1752:21: warning: the address of 'length' will always evaluate as 'true' [-Waddress]
 1752 |         ((lengthPtr)? \
      |                     ^
external/tcl/tclListObj.c:791:14: note: in expansion of macro 'TclGetStringFromObj'
  791 |     string = TclGetStringFromObj(objPtr, &length);
      |              ^~~~~~~~~~~~~~~~~~~
>> Compiling external/tcl/tclNamesp.c
>> Compiling external/tcl/tclObj.c
external/tcl/tclObj.c: In function 'TclAllocateFreeObjects':
external/tcl/tclObj.c:461:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  461 |  ((int)(&(tmp[1])) - (int)(&(tmp[0])));
      |   ^
external/tcl/tclObj.c:461:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  461 |  ((int)(&(tmp[1])) - (int)(&(tmp[0])));
      |                      ^
In file included from external/tcl/tclObj.c:15:
external/tcl/tclObj.c: In function 'SetBooleanFromAny':
external/tcl/tclInt.h:1752:21: warning: the address of 'length' will always evaluate as 'true' [-Waddress]
 1752 |         ((lengthPtr)? \
      |                     ^
external/tcl/tclObj.c:828:14: note: in expansion of macro 'TclGetStringFromObj'
  828 |     string = TclGetStringFromObj(objPtr, &length);
      |              ^~~~~~~~~~~~~~~~~~~
external/tcl/tclObj.c: In function 'SetDoubleFromAny':
external/tcl/tclInt.h:1752:21: warning: the address of 'length' will always evaluate as 'true' [-Waddress]
 1752 |         ((lengthPtr)? \
      |                     ^
external/tcl/tclObj.c:1129:14: note: in expansion of macro 'TclGetStringFromObj'
 1129 |     string = TclGetStringFromObj(objPtr, &length);
      |              ^~~~~~~~~~~~~~~~~~~
external/tcl/tclObj.c: In function 'SetIntFromAny':
external/tcl/tclInt.h:1752:21: warning: the address of 'length' will always evaluate as 'true' [-Waddress]
 1752 |         ((lengthPtr)? \
      |                     ^
external/tcl/tclObj.c:1419:14: note: in expansion of macro 'TclGetStringFromObj'
 1419 |     string = TclGetStringFromObj(objPtr, &length);
      |              ^~~~~~~~~~~~~~~~~~~
>> Compiling external/tcl/tclParse.c
>> Compiling external/tcl/tclPreserve.c
>> Compiling external/tcl/tclProc.c
external/tcl/tclProc.c: In function 'TclObjInterpProc':
external/tcl/tclProc.c:833:43: warning: unused variable 'length' [-Wunused-variable]
  833 |     int nameLen, localCt, numArgs, argCt, length, i, result;
      |                                           ^~~~~~
external/tcl/tclProc.c:832:22: warning: unused variable 'bytes' [-Wunused-variable]
  832 |     char *procName, *bytes;
      |                      ^~~~~
>> Compiling external/tcl/tclResolve.c
external/tcl/tclProc.c: In function 'TclCreateProc':
external/tcl/tclProc.c:347:40: warning: 'localPtr' may be used uninitialized in this function [-Wmaybe-uninitialized]
  347 |                     || (strcmp(localPtr->name, fieldValues[0]))
      |                                ~~~~~~~~^~~~~~
>> Compiling external/tcl/tclStringObj.c
In file included from external/tcl/tclInt.h:33,
                 from external/tcl/tclStringObj.c:20:
external/tcl/tclStringObj.c: In function 'Tcl_AppendStringsToObj':
external/tcl/tcl.h:156:69: warning: right-hand operand of comma expression has no effect [-Wunused-value]
  156 | #   define TCL_VARARGS_START(type, name, list) (va_start(list, name), name)
      |                                                ~~~~~~~~~~~~~~~~~~~~~^~~~~~~
external/tcl/tclStringObj.c:337:5: note: in expansion of macro 'TCL_VARARGS_START'
  337 |     TCL_VARARGS_START(Tcl_Obj *,arg1,argList);
      |     ^~~~~~~~~~~~~~~~~
>> Compiling external/tcl/tclUtil.c
>> Compiling external/tcl/tclVar.c
In file included from external/tcl/tclUtil.c:16:
external/tcl/tclUtil.c: In function 'Tcl_ConcatObj':
external/tcl/tclInt.h:1752:21: warning: the address of 'length' will always evaluate as 'true' [-Waddress]
 1752 |         ((lengthPtr)? \
      |                     ^
external/tcl/tclUtil.c:980:12: note: in expansion of macro 'TclGetStringFromObj'
  980 |  element = TclGetStringFromObj(objPtr, &length);
      |            ^~~~~~~~~~~~~~~~~~~
external/tcl/tclInt.h:1752:21: warning: the address of 'elemLength' will always evaluate as 'true' [-Waddress]
 1752 |         ((lengthPtr)? \
      |                     ^
external/tcl/tclUtil.c:1010:16: note: in expansion of macro 'TclGetStringFromObj'
 1010 |      element = TclGetStringFromObj(objPtr, &elemLength);
      |                ^~~~~~~~~~~~~~~~~~~
In file included from external/tcl/tclInt.h:33,
                 from external/tcl/tclUtil.c:16:
external/tcl/tclUtil.c: In function 'Tcl_AppendResult':
external/tcl/tcl.h:156:69: warning: right-hand operand of comma expression has no effect [-Wunused-value]
  156 | #   define TCL_VARARGS_START(type, name, list) (va_start(list, name), name)
      |                                                ~~~~~~~~~~~~~~~~~~~~~^~~~~~~
external/tcl/tclUtil.c:1483:5: note: in expansion of macro 'TCL_VARARGS_START'
 1483 |     TCL_VARARGS_START(Tcl_Interp *,arg1,argList);
      |     ^~~~~~~~~~~~~~~~~
In file included from external/tcl/tclUtil.c:16:
external/tcl/tclUtil.c: In function 'TclGetIntForIndex':
external/tcl/tclInt.h:1752:21: warning: the address of 'length' will always evaluate as 'true' [-Waddress]
 1752 |         ((lengthPtr)? \
      |                     ^
external/tcl/tclUtil.c:2578:13: note: in expansion of macro 'TclGetStringFromObj'
 2578 |     bytes = TclGetStringFromObj(objPtr, &length);
      |             ^~~~~~~~~~~~~~~~~~~
In file included from external/tcl/tclVar.c:20:
external/tcl/tclVar.c: In function 'Tcl_LappendObjCmd':
external/tcl/tclInt.h:1752:21: warning: the address of 'nameBytes' will always evaluate as 'true' [-Waddress]
 1752 |         ((lengthPtr)? \
      |                     ^
external/tcl/tclVar.c:2676:13: note: in expansion of macro 'TclGetStringFromObj'
 2676 |      name = TclGetStringFromObj(objv[1], &nameBytes);
      |             ^~~~~~~~~~~~~~~~~~~
>> Generating tmp/modules/FastJetDict.cc
Warning in cling::IncrementalParser::CheckABICompatibility():
  Possible C++ standard library mismatch, compiled with __GLIBCXX__ '20200826'
  Extraction of runtime standard library version was: '20201016'
>> Compiling external/PUPPI/PuppiAlgo.cc
make: Circular external/fastjet/JetDefinition.hh <- external/fastjet/ClusterSequence.hh dependency dropped.
>> Compiling external/fastjet/ClosestPair2D.cc
>> Compiling external/fastjet/ClusterSequence_N2.cc
>> Compiling external/fastjet/CompositeJetStructure.cc
>> Compiling external/fastjet/FunctionOfPseudoJet.cc
>> Compiling external/fastjet/LimitedWarning.cc
>> Compiling external/fastjet/MinHeap.cc
>> Compiling external/fastjet/Voronoi.cc
>> Compiling external/fastjet/contribs/Nsubjettiness/AxesDefinition.cc
>> Compiling external/fastjet/contribs/Nsubjettiness/ExtraRecombiners.cc
>> Compiling external/fastjet/contribs/Nsubjettiness/MeasureDefinition.cc
>> Compiling external/fastjet/contribs/Nsubjettiness/Njettiness.cc
>> Compiling external/fastjet/contribs/Nsubjettiness/NjettinessPlugin.cc
>> Compiling external/fastjet/contribs/Nsubjettiness/Nsubjettiness.cc
>> Compiling external/fastjet/contribs/Nsubjettiness/TauComponents.cc
>> Compiling external/fastjet/contribs/Nsubjettiness/XConePlugin.cc
>> Compiling external/fastjet/contribs/RecursiveTools/IteratedSoftDrop.cc
>> Compiling external/fastjet/contribs/RecursiveTools/Recluster.cc
>> Compiling external/fastjet/contribs/RecursiveTools/SoftDrop.cc
>> Compiling external/fastjet/contribs/SoftKiller/SoftKiller.cc
>> Compiling external/fastjet/contribs/ValenciaPlugin/ValenciaPlugin.cc
>> Compiling external/fastjet/plugins/ATLASCone/Jet.cc
>> Compiling external/fastjet/plugins/ATLASCone/JetConeFinderTool.cc
>> Compiling external/fastjet/plugins/ATLASCone/JetSplitMergeTool.cc
>> Compiling external/fastjet/plugins/CDFCones/JetCluAlgorithm.cc
>> Compiling external/fastjet/plugins/CDFCones/MidPointAlgorithm.cc
>> Compiling external/fastjet/plugins/SISCone/area.cc
>> Compiling external/fastjet/plugins/SISCone/geom_2d.cc
>> Compiling external/fastjet/plugins/SISCone/hash.cc
>> Compiling external/fastjet/plugins/SISCone/momentum.cc
>> Compiling external/fastjet/plugins/SISCone/protocones.cc
>> Compiling external/fastjet/plugins/SISCone/quadtree.cc
>> Compiling external/fastjet/plugins/SISCone/ranlux.cc
>> Compiling external/fastjet/plugins/SISCone/reference.cc
>> Compiling external/fastjet/plugins/SISCone/siscone.cc
>> Compiling external/fastjet/plugins/SISCone/siscone_error.cc
>> Compiling external/fastjet/plugins/SISCone/split_merge.cc
>> Compiling external/fastjet/plugins/SISCone/vicinity.cc
>> Compiling external/fastjet/tools/BackgroundEstimatorBase.cc
>> Compiling external/fastjet/tools/CASubJetTagger.cc
>> Compiling external/fastjet/tools/Filter.cc
>> Compiling external/fastjet/tools/JHTopTagger.cc
>> Compiling external/fastjet/tools/JetMedianBackgroundEstimator.cc
>> Compiling external/fastjet/tools/MassDropTagger.cc
>> Compiling external/fastjet/tools/Recluster.cc
>> Compiling external/fastjet/tools/RestFrameNSubjettinessTagger.cc
>> Compiling external/fastjet/tools/Subtractor.cc
>> Compiling external/fastjet/tools/TopTaggerBase.cc
>> Copying ClassesDict_rdict.pcm
>> Copying ExRootAnalysisDict_rdict.pcm
>> Copying ModulesDict_rdict.pcm
>> Copying FastJetDict_rdict.pcm
>> Compiling converters/hepmc2pileup.cpp
>> Compiling converters/lhco2root.cpp
>> Compiling converters/pileup2root.cpp
>> Compiling converters/root2lhco.cpp
>> Compiling converters/root2pileup.cpp
converters/root2lhco.cpp: In member function 'void LHCOWriter::AnalyseTauJets()':
converters/root2lhco.cpp:342:10: warning: unused variable 'track' [-Wunused-variable]
  342 |   Track *track;
      |          ^~~~~
>> Compiling converters/stdhep2pileup.cpp
>> Compiling examples/CaloGrid.cpp
>> Compiling examples/Example1.cpp
>> Compiling validation/DelphesValidation.cpp
In file included from examples/Example1.cpp:50:
examples/Example1.C: In function 'void Example1(const char*)':
examples/Example1.C:32:17: warning: unused variable 'branchEvent' [-Wunused-variable]
   32 |   TClonesArray *branchEvent = treeReader->UseBranch("Event");
      |                 ^~~~~~~~~~~
>> Compiling readers/DelphesHepMC.cpp
validation/DelphesValidation.cpp: In function 'std::pair<double, double> GausFit(TH1*)':
validation/DelphesValidation.cpp:1196:109: error: invalid use of incomplete type 'class TF1'
 1196 |   TF1 *f1 = new TF1("f1", "gaus", hist->GetMean() - 2 * hist->GetRMS(), hist->GetMean() + 2 * hist->GetRMS());
      |                                                                                                             ^
In file included from validation/DelphesValidation.cpp:32:
/usr/include/root/TGraph.h:36:7: note: forward declaration of 'class TF1'
   36 | class TF1;
      |       ^~~
validation/DelphesValidation.cpp:1199:37: error: invalid use of incomplete type 'class TF1'
 1199 |   TF1 *f2 = new TF1("f2", "gaus", f1->GetParameter(1) - 2 * f1->GetParameter(2), f1->GetParameter(1) + 2 * f1->GetParameter(2));
      |                                     ^~
In file included from validation/DelphesValidation.cpp:32:
/usr/include/root/TGraph.h:36:7: note: forward declaration of 'class TF1'
   36 | class TF1;
      |       ^~~
validation/DelphesValidation.cpp:1199:63: error: invalid use of incomplete type 'class TF1'
 1199 |   TF1 *f2 = new TF1("f2", "gaus", f1->GetParameter(1) - 2 * f1->GetParameter(2), f1->GetParameter(1) + 2 * f1->GetParameter(2));
      |                                                               ^~
In file included from validation/DelphesValidation.cpp:32:
/usr/include/root/TGraph.h:36:7: note: forward declaration of 'class TF1'
   36 | class TF1;
      |       ^~~
validation/DelphesValidation.cpp:1199:84: error: invalid use of incomplete type 'class TF1'
 1199 |   TF1 *f2 = new TF1("f2", "gaus", f1->GetParameter(1) - 2 * f1->GetParameter(2), f1->GetParameter(1) + 2 * f1->GetParameter(2));
      |                                                                                    ^~
In file included from validation/DelphesValidation.cpp:32:
/usr/include/root/TGraph.h:36:7: note: forward declaration of 'class TF1'
   36 | class TF1;
      |       ^~~
validation/DelphesValidation.cpp:1199:110: error: invalid use of incomplete type 'class TF1'
 1199 |   TF1 *f2 = new TF1("f2", "gaus", f1->GetParameter(1) - 2 * f1->GetParameter(2), f1->GetParameter(1) + 2 * f1->GetParameter(2));
      |                                                                                                              ^~
In file included from validation/DelphesValidation.cpp:32:
/usr/include/root/TGraph.h:36:7: note: forward declaration of 'class TF1'
   36 | class TF1;
      |       ^~~
validation/DelphesValidation.cpp:1199:127: error: invalid use of incomplete type 'class TF1'
 1199 |   TF1 *f2 = new TF1("f2", "gaus", f1->GetParameter(1) - 2 * f1->GetParameter(2), f1->GetParameter(1) + 2 * f1->GetParameter(2));
      |                                                                                                                               ^
In file included from validation/DelphesValidation.cpp:32:
/usr/include/root/TGraph.h:36:7: note: forward declaration of 'class TF1'
   36 | class TF1;
      |       ^~~
validation/DelphesValidation.cpp:1202:20: error: invalid use of incomplete type 'class TF1'
 1202 |   Double_t sig = f2->GetParameter(2);
      |                    ^~
In file included from validation/DelphesValidation.cpp:32:
/usr/include/root/TGraph.h:36:7: note: forward declaration of 'class TF1'
   36 | class TF1;
      |       ^~~
validation/DelphesValidation.cpp:1203:23: error: invalid use of incomplete type 'class TF1'
 1203 |   Double_t sigErr = f2->GetParError(2);
      |                       ^~
In file included from validation/DelphesValidation.cpp:32:
/usr/include/root/TGraph.h:36:7: note: forward declaration of 'class TF1'
   36 | class TF1;
      |       ^~~
validation/DelphesValidation.cpp:1205:3: warning: possible problem detected in invocation of 'operator delete' [-Wdelete-incomplete]
 1205 |   delete f1;
      |   ^~~~~~~~~
validation/DelphesValidation.cpp:1196:8: warning: 'f1' has incomplete type
 1196 |   TF1 *f1 = new TF1("f1", "gaus", hist->GetMean() - 2 * hist->GetRMS(), hist->GetMean() + 2 * hist->GetRMS());
      |        ^~
In file included from validation/DelphesValidation.cpp:32:
/usr/include/root/TGraph.h:36:7: note: forward declaration of 'class TF1'
   36 | class TF1;
      |       ^~~
validation/DelphesValidation.cpp:1205:3: note: neither the destructor nor the class-specific 'operator delete' will be called, even if they are declared when the class is defined
 1205 |   delete f1;
      |   ^~~~~~~~~
validation/DelphesValidation.cpp:1206:3: warning: possible problem detected in invocation of 'operator delete' [-Wdelete-incomplete]
 1206 |   delete f2;
      |   ^~~~~~~~~
validation/DelphesValidation.cpp:1199:8: warning: 'f2' has incomplete type
 1199 |   TF1 *f2 = new TF1("f2", "gaus", f1->GetParameter(1) - 2 * f1->GetParameter(2), f1->GetParameter(1) + 2 * f1->GetParameter(2));
      |        ^~
In file included from validation/DelphesValidation.cpp:32:
/usr/include/root/TGraph.h:36:7: note: forward declaration of 'class TF1'
   36 | class TF1;
      |       ^~~
validation/DelphesValidation.cpp:1206:3: note: neither the destructor nor the class-specific 'operator delete' will be called, even if they are declared when the class is defined
 1206 |   delete f2;
      |   ^~~~~~~~~
validation/DelphesValidation.cpp: In function 'void DelphesValidation(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)':
validation/DelphesValidation.cpp:1497:17: warning: unused variable 'branchParticleBJet' [-Wunused-variable]
 1497 |   TClonesArray *branchParticleBJet = treeReaderBJet->UseBranch("Particle");
      |                 ^~~~~~~~~~~~~~~~~~
validation/DelphesValidation.cpp:1500:17: warning: unused variable 'branchParticleCJet' [-Wunused-variable]
 1500 |   TClonesArray *branchParticleCJet = treeReaderCJet->UseBranch("Particle");



the system compiller and the ROOT packages fro the Fedora repositories are used.

Not sure if the issue has been fixed in the recent prereleases, as I use
CentOS8/CentOS7 and the builds for those systems are fine OK.

Best regards,
Andrii

Change History (2)

comment:1 by Pavel Demin, 4 years ago

This error was already discussed in #1448 and the fix is in the git repository.

Please try the latest version from the following link:

​​https://github.com/delphes/delphes/archive/master.zip

comment:2 by Andrii, 4 years ago

Resolution: fixed
Status: newclosed

Hi @pavel,

OK,. It actually works with the latest atg.

Andrii

Version 0, edited 4 years ago by Andrii (next)
Note: See TracTickets for help on using tickets.