Skip to content

Instantly share code, notes, and snippets.

@iarspider
Created July 12, 2019 11:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iarspider/3e9292f2bf3b52d3781a5b06ea673827 to your computer and use it in GitHub Desktop.
Save iarspider/3e9292f2bf3b52d3781a5b06ea673827 to your computer and use it in GitHub Desktop.
RapidSim build log
Dependee "/mnt/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/build/generators/rapidsim-1.4.4/src/rapidsim-1.4.4-build/src/CMakeFiles/RapidSim.exe.dir/DependInfo.cmake" is newer than depender "/mnt/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/build/generators/rapidsim-1.4.4/src/rapidsim-1.4.4-build/src/CMakeFiles/RapidSim.exe.dir/depend.internal".
Dependee "/mnt/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/build/generators/rapidsim-1.4.4/src/rapidsim-1.4.4-build/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/mnt/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/build/generators/rapidsim-1.4.4/src/rapidsim-1.4.4-build/src/CMakeFiles/RapidSim.exe.dir/depend.internal".
Scanning dependencies of target RapidSim.exe
[ 4%] Building CXX object src/CMakeFiles/RapidSim.exe.dir/RapidAcceptance.cc.o
[ 9%] Building CXX object src/CMakeFiles/RapidSim.exe.dir/RapidAcceptanceLHCb.cc.o
[ 13%] Building CXX object src/CMakeFiles/RapidSim.exe.dir/RapidBeamData.cc.o
[ 18%] Building CXX object src/CMakeFiles/RapidSim.exe.dir/RapidConfig.cc.o
[ 22%] Building CXX object src/CMakeFiles/RapidSim.exe.dir/RapidCut.cc.o
[ 27%] Building CXX object src/CMakeFiles/RapidSim.exe.dir/RapidDecay.cc.o
[ 31%] Building CXX object src/CMakeFiles/RapidSim.exe.dir/RapidExternalEvtGen.cc.o
In file included from /build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/install/MCGenerators/evtgen/1.7.0/x86_64-centos7-gcc9-dbg/include/EvtGenBase/EvtParticle.hh:26,
from /mnt/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/build/generators/rapidsim-1.4.4/src/rapidsim/1.4.4/src/RapidExternalEvtGen.cc:14:
/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/install/MCGenerators/evtgen/1.7.0/x86_64-centos7-gcc9-dbg/include/EvtGenBase/EvtVector4R.hh: In function ‘EvtVector4R operator*(double, const EvtVector4R&)’:
/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/install/MCGenerators/evtgen/1.7.0/x86_64-centos7-gcc9-dbg/include/EvtGenBase/EvtVector4R.hh:122:24: error: implicitly-declared ‘constexpr EvtVector4R::EvtVector4R(const EvtVector4R&)’ is deprecated [-Werror=deprecated-copy]
122 | return EvtVector4R(v2)*=c
| ^
/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/install/MCGenerators/evtgen/1.7.0/x86_64-centos7-gcc9-dbg/include/EvtGenBase/EvtVector4R.hh:85:21: note: because ‘EvtVector4R’ has user-provided ‘EvtVector4R& EvtVector4R::operator=(const EvtVector4R&)’
85 | inline EvtVector4R& EvtVector4R::operator=(const EvtVector4R& v2){
| ^~~~~~~~~~~
/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/install/MCGenerators/evtgen/1.7.0/x86_64-centos7-gcc9-dbg/include/EvtGenBase/EvtVector4R.hh:122:27: error: implicitly-declared ‘constexpr EvtVector4R::EvtVector4R(const EvtVector4R&)’ is deprecated [-Werror=deprecated-copy]
122 | return EvtVector4R(v2)*=c
| ^
/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/install/MCGenerators/evtgen/1.7.0/x86_64-centos7-gcc9-dbg/include/EvtGenBase/EvtVector4R.hh:85:21: note: because ‘EvtVector4R’ has user-provided ‘EvtVector4R& EvtVector4R::operator=(const EvtVector4R&)’
85 | inline EvtVector4R& EvtVector4R::operator=(const EvtVector4R& v2){
| ^~~~~~~~~~~
/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/install/MCGenerators/evtgen/1.7.0/x86_64-centos7-gcc9-dbg/include/EvtGenBase/EvtVector4R.hh: In function ‘EvtVector4R operator*(const EvtVector4R&, double)’:
/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/install/MCGenerators/evtgen/1.7.0/x86_64-centos7-gcc9-dbg/include/EvtGenBase/EvtVector4R.hh:127:24: error: implicitly-declared ‘constexpr EvtVector4R::EvtVector4R(const EvtVector4R&)’ is deprecated [-Werror=deprecated-copy]
127 | return EvtVector4R(v2)*=c
| ^
/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/install/MCGenerators/evtgen/1.7.0/x86_64-centos7-gcc9-dbg/include/EvtGenBase/EvtVector4R.hh:85:21: note: because ‘EvtVector4R’ has user-provided ‘EvtVector4R& EvtVector4R::operator=(const EvtVector4R&)’
85 | inline EvtVector4R& EvtVector4R::operator=(const EvtVector4R& v2){
| ^~~~~~~~~~~
/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/install/MCGenerators/evtgen/1.7.0/x86_64-centos7-gcc9-dbg/include/EvtGenBase/EvtVector4R.hh:127:27: error: implicitly-declared ‘constexpr EvtVector4R::EvtVector4R(const EvtVector4R&)’ is deprecated [-Werror=deprecated-copy]
127 | return EvtVector4R(v2)*=c
| ^
/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/install/MCGenerators/evtgen/1.7.0/x86_64-centos7-gcc9-dbg/include/EvtGenBase/EvtVector4R.hh:85:21: note: because ‘EvtVector4R’ has user-provided ‘EvtVector4R& EvtVector4R::operator=(const EvtVector4R&)’
85 | inline EvtVector4R& EvtVector4R::operator=(const EvtVector4R& v2){
| ^~~~~~~~~~~
/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/install/MCGenerators/evtgen/1.7.0/x86_64-centos7-gcc9-dbg/include/EvtGenBase/EvtVector4R.hh: In function ‘EvtVector4R operator/(const EvtVector4R&, double)’:
/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/install/MCGenerators/evtgen/1.7.0/x86_64-centos7-gcc9-dbg/include/EvtGenBase/EvtVector4R.hh:132:24: error: implicitly-declared ‘constexpr EvtVector4R::EvtVector4R(const EvtVector4R&)’ is deprecated [-Werror=deprecated-copy]
132 | return EvtVector4R(v2)/=c
| ^
/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/install/MCGenerators/evtgen/1.7.0/x86_64-centos7-gcc9-dbg/include/EvtGenBase/EvtVector4R.hh:85:21: note: because ‘EvtVector4R’ has user-provided ‘EvtVector4R& EvtVector4R::operator=(const EvtVector4R&)’
85 | inline EvtVector4R& EvtVector4R::operator=(const EvtVector4R& v2){
| ^~~~~~~~~~~
/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/install/MCGenerators/evtgen/1.7.0/x86_64-centos7-gcc9-dbg/include/EvtGenBase/EvtVector4R.hh:132:27: error: implicitly-declared ‘constexpr EvtVector4R::EvtVector4R(const EvtVector4R&)’ is deprecated [-Werror=deprecated-copy]
132 | return EvtVector4R(v2)/=c
| ^
/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/install/MCGenerators/evtgen/1.7.0/x86_64-centos7-gcc9-dbg/include/EvtGenBase/EvtVector4R.hh:85:21: note: because ‘EvtVector4R’ has user-provided ‘EvtVector4R& EvtVector4R::operator=(const EvtVector4R&)’
85 | inline EvtVector4R& EvtVector4R::operator=(const EvtVector4R& v2){
| ^~~~~~~~~~~
/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/install/MCGenerators/evtgen/1.7.0/x86_64-centos7-gcc9-dbg/include/EvtGenBase/EvtVector4R.hh: In function ‘EvtVector4R operator-(const EvtVector4R&, const EvtVector4R&)’:
/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/install/MCGenerators/evtgen/1.7.0/x86_64-centos7-gcc9-dbg/include/EvtGenBase/EvtVector4R.hh:170:24: error: implicitly-declared ‘constexpr EvtVector4R::EvtVector4R(const EvtVector4R&)’ is deprecated [-Werror=deprecated-copy]
170 | return EvtVector4R(v1)-=v2
| ^
/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/install/MCGenerators/evtgen/1.7.0/x86_64-centos7-gcc9-dbg/include/EvtGenBase/EvtVector4R.hh:85:21: note: because ‘EvtVector4R’ has user-provided ‘EvtVector4R& EvtVector4R::operator=(const EvtVector4R&)’
85 | inline EvtVector4R& EvtVector4R::operator=(const EvtVector4R& v2){
| ^~~~~~~~~~~
/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/install/MCGenerators/evtgen/1.7.0/x86_64-centos7-gcc9-dbg/include/EvtGenBase/EvtVector4R.hh:170:27: error: implicitly-declared ‘constexpr EvtVector4R::EvtVector4R(const EvtVector4R&)’ is deprecated [-Werror=deprecated-copy]
170 | return EvtVector4R(v1)-=v2
| ^~
/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/install/MCGenerators/evtgen/1.7.0/x86_64-centos7-gcc9-dbg/include/EvtGenBase/EvtVector4R.hh:85:21: note: because ‘EvtVector4R’ has user-provided ‘EvtVector4R& EvtVector4R::operator=(const EvtVector4R&)’
85 | inline EvtVector4R& EvtVector4R::operator=(const EvtVector4R& v2){
| ^~~~~~~~~~~
/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/install/MCGenerators/evtgen/1.7.0/x86_64-centos7-gcc9-dbg/include/EvtGenBase/EvtVector4R.hh: In function ‘EvtVector4R operator+(const EvtVector4R&, const EvtVector4R&)’:
/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/install/MCGenerators/evtgen/1.7.0/x86_64-centos7-gcc9-dbg/include/EvtGenBase/EvtVector4R.hh:175:24: error: implicitly-declared ‘constexpr EvtVector4R::EvtVector4R(const EvtVector4R&)’ is deprecated [-Werror=deprecated-copy]
175 | return EvtVector4R(v1)+=v2
| ^
/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/install/MCGenerators/evtgen/1.7.0/x86_64-centos7-gcc9-dbg/include/EvtGenBase/EvtVector4R.hh:85:21: note: because ‘EvtVector4R’ has user-provided ‘EvtVector4R& EvtVector4R::operator=(const EvtVector4R&)’
85 | inline EvtVector4R& EvtVector4R::operator=(const EvtVector4R& v2){
| ^~~~~~~~~~~
/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/install/MCGenerators/evtgen/1.7.0/x86_64-centos7-gcc9-dbg/include/EvtGenBase/EvtVector4R.hh:175:27: error: implicitly-declared ‘constexpr EvtVector4R::EvtVector4R(const EvtVector4R&)’ is deprecated [-Werror=deprecated-copy]
175 | return EvtVector4R(v1)+=v2
| ^~
/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/install/MCGenerators/evtgen/1.7.0/x86_64-centos7-gcc9-dbg/include/EvtGenBase/EvtVector4R.hh:85:21: note: because ‘EvtVector4R’ has user-provided ‘EvtVector4R& EvtVector4R::operator=(const EvtVector4R&)’
85 | inline EvtVector4R& EvtVector4R::operator=(const EvtVector4R& v2){
| ^~~~~~~~~~~
/mnt/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/build/generators/rapidsim-1.4.4/src/rapidsim/1.4.4/src/RapidExternalEvtGen.cc: In member function ‘virtual bool RapidExternalEvtGen::decay(std::vector<RapidParticle*>&)’:
/mnt/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/build/generators/rapidsim-1.4.4/src/rapidsim/1.4.4/src/RapidExternalEvtGen.cc:38:62: error: implicitly-declared ‘constexpr EvtVector4R::EvtVector4R(const EvtVector4R&)’ is deprecated [-Werror=deprecated-copy]
38 | theParent = EvtParticleFactory::particleFactory(theId, pInit)
| ^
In file included from /build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/install/MCGenerators/evtgen/1.7.0/x86_64-centos7-gcc9-dbg/include/EvtGenBase/EvtParticle.hh:26,
from /mnt/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/build/generators/rapidsim-1.4.4/src/rapidsim/1.4.4/src/RapidExternalEvtGen.cc:14:
/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/install/MCGenerators/evtgen/1.7.0/x86_64-centos7-gcc9-dbg/include/EvtGenBase/EvtVector4R.hh:85:21: note: because ‘EvtVector4R’ has user-provided ‘EvtVector4R& EvtVector4R::operator=(const EvtVector4R&)’
85 | inline EvtVector4R& EvtVector4R::operator=(const EvtVector4R& v2){
| ^~~~~~~~~~~
In file included from /mnt/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/build/generators/rapidsim-1.4.4/src/rapidsim/1.4.4/src/RapidExternalEvtGen.cc:15:
/build/jenkins/workspace/lcg_release_latest/BUILDTYPE/Debug/COMPILER/gcc9binutils/LABEL/centos7/install/MCGenerators/evtgen/1.7.0/x86_64-centos7-gcc9-dbg/include/EvtGenBase/EvtParticleFactory.hh:39:21: note: initializing argument 2 of ‘static EvtParticle* EvtParticleFactory::particleFactory(EvtId, EvtVector4R)’
39 | EvtVector4R p4)
| ~~~~~~~~~~~~^~
cc1plus: all warnings being treated as errors
make[5]: *** [src/CMakeFiles/RapidSim.exe.dir/RapidExternalEvtGen.cc.o] Error 1
[ 36%] Building CXX object src/CMakeFiles/RapidSim.exe.dir/RapidHistWriter.cc.o
[ 40%] Building CXX object src/CMakeFiles/RapidSim.exe.dir/RapidIPSmearGauss.cc.o
[ 45%] Building CXX object src/CMakeFiles/RapidSim.exe.dir/RapidMomentumSmearEnergyGauss.cc.o
[ 50%] Building CXX object src/CMakeFiles/RapidSim.exe.dir/RapidMomentumSmearGauss.cc.o
[ 54%] Building CXX object src/CMakeFiles/RapidSim.exe.dir/RapidMomentumSmearGaussPtEtaDep.cc.o
[ 59%] Building CXX object src/CMakeFiles/RapidSim.exe.dir/RapidMomentumSmearHisto.cc.o
[ 63%] Building CXX object src/CMakeFiles/RapidSim.exe.dir/RapidPID.cc.o
[ 68%] Building CXX object src/CMakeFiles/RapidSim.exe.dir/RapidParam.cc.o
[ 72%] Building CXX object src/CMakeFiles/RapidSim.exe.dir/RapidParticle.cc.o
[ 77%] Building CXX object src/CMakeFiles/RapidSim.exe.dir/RapidParticleData.cc.o
[ 81%] Building CXX object src/CMakeFiles/RapidSim.exe.dir/RapidVertex.cc.o
[ 86%] Building CXX object src/CMakeFiles/RapidSim.exe.dir/RooGounarisSakurai.cc.o
[ 90%] Building CXX object src/CMakeFiles/RapidSim.exe.dir/RooRelBreitWigner.cc.o
[ 95%] Building CXX object src/CMakeFiles/RapidSim.exe.dir/RapidSim.C.o
make[5]: Target `src/CMakeFiles/RapidSim.exe.dir/build' not remade because of errors.
make[4]: *** [src/CMakeFiles/RapidSim.exe.dir/all] Error 2
make[4]: Target `all' not remade because of errors.
make[3]: *** [all] Error 2
make[3]: Target `default_target' not remade because of errors.
@dcraik
Copy link

dcraik commented Jul 12, 2019

The warnings all seem to come from EvtGen so I think all we can do to fix this in RapidSim is stop treating them as errors.
@tomlatham is this a known issue for EvtGen?

@tomlatham
Copy link

We have not yet tried building with gcc 9 (we are currently using gcc 8 and clang 8) but I was anyway aware that there are problems such as the above non-compliance with the "rule of all or nothing". I'm in the process of modernising the code base but as you might imagine that's quite a task. Indeed I suggest that you stop treating them as errors for the time being.
BTW, I've converted the EvtGen build system to CMake, so I'll be putting together a patch for RapidSim's CMakeLists very soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment