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
Fix circular dependency between FWCore/Framework and FWCore/ParameterSet #18117
Fix circular dependency between FWCore/Framework and FWCore/ParameterSet #18117
Conversation
A circular dependency had been introduced between the packages FWCore/Framework and FWCore/ParameterSet. The header files causing the cycle turned out not to be needed after switching the algorithm used to determine the type of base class of a module.
A new Pull Request was created by @Dr15Jones (Chris Jones) for master. It involves the following packages: FWCore/Framework @cmsbuild, @smuzaffar, @Dr15Jones, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are listed here #13028 |
please test |
The tests are being triggered in jenkins. |
NOTE: it is likely that this will cause problems with other code in CMSSW because that other code was getting needed header files implicitly rather than explicitly. I will fix those problems in this pull request once the testing finds them. |
-1 Tested at: 39a067c You can see the results of the tests here: I found follow errors while testing this PR Failed tests: Build
I found an error when building: >> Compiling edm plugin /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-03-28-2300/src/RecoJets/JetProducers/plugins/SubJetProducer.cc >> Compiling edm plugin /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-03-28-2300/src/RecoJets/JetProducers/plugins/BasicToPFJet.cc >> Compiling edm plugin /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-03-28-2300/src/RecoJets/JetProducers/plugins/VirtualJetProducer.cc >> Compiling edm plugin /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-03-28-2300/src/RecoJets/JetProducers/plugins/CompoundJetProducer.cc /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-03-28-2300/src/RecoJets/JetProducers/plugins/BasicToPFJet.cc: In member function 'virtual void BasicToPFJet::produce(edm::Event&, const edm::EventSetup&)': /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-03-28-2300/src/RecoJets/JetProducers/plugins/BasicToPFJet.cc:53:8: error: invalid use of incomplete type 'class edm::Event' Event.getByToken(inputToken_, BasicJetColl); ^ In file included from /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-03-28-2300/src/FWCore/Framework/interface/Principal.h:27:0, from /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-03-28-2300/src/FWCore/Framework/interface/EventPrincipal.h:23, from /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-03-28-2300/src/FWCore/Framework/interface/OccurrenceTraits.h:13, |
Comparison not run due to Build errors (RelVals and Igprof tests were also skipped) |
+1 |
+1 |
+1 |
+1 |
Comparison job queued. |
+1 |
@davidlange6 all the non-core labels are only there because I had to add missing header files. |
fix include for edm::one::EDAnalyzer as a result of #18117
Removed the unnecessary dependency of FWCore/ParameterSet on FWCore/Framework. No functionality was lost due to this change.