Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-oscars.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-x86_64-1684323916.799152/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-oscars.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-oscars-2.2.0-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-oscars.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-x86_64-1684323916.799152/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-oscars.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-oscars-2.2.0-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-oscars.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-x86_64-1684323916.799152/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-oscars.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2SrJly + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf oscars-2.2.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/oscars-2.2.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd oscars-2.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.I1VO0p + umask 022 + cd /builddir/build/BUILD + cd oscars-2.2.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib.linux-x86_64-3.9 creating build/lib.linux-x86_64-3.9/oscars copying oscars/__init__.py -> build/lib.linux-x86_64-3.9/oscars copying oscars/plots_mpl.py -> build/lib.linux-x86_64-3.9/oscars copying oscars/plots3d_mpl.py -> build/lib.linux-x86_64-3.9/oscars copying oscars/parametric_surfaces.py -> build/lib.linux-x86_64-3.9/oscars copying oscars/util.py -> build/lib.linux-x86_64-3.9/oscars copying oscars/fit.py -> build/lib.linux-x86_64-3.9/oscars copying oscars/bl.py -> build/lib.linux-x86_64-3.9/oscars copying oscars/lut.py -> build/lib.linux-x86_64-3.9/oscars copying oscars/brightness.py -> build/lib.linux-x86_64-3.9/oscars copying oscars/twiss.py -> build/lib.linux-x86_64-3.9/oscars copying oscars/me.py -> build/lib.linux-x86_64-3.9/oscars copying oscars/srwl_uti_brightness.py -> build/lib.linux-x86_64-3.9/oscars running build_ext building 'oscars.sr' extension creating build/temp.linux-x86_64-3.9 creating build/temp.linux-x86_64-3.9/src gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/OSCARSPY.cc -o build/temp.linux-x86_64-3.9/src/OSCARSPY.o -std=c++11 -O3 -fPIC -pthread src/OSCARSPY.cc: In function ‘std::string OSCARSPY::GetVersionString()’: src/OSCARSPY.cc:26:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 6 has type ‘long int’ [-Wformat=] 26 | sprintf(ver, "%i.%i.%i.%s", OSCARS_VMAJOR, OSCARS_VMINOR, OSCARS_REVISION, OSCARS_RELEASE); | ~^ | | | char* | %ld In file included from src/OSCARSPY.cc:13: include/OSCARSPY.h: At global scope: include/OSCARSPY.h:104:20: warning: ‘PyObject* OSCARSPY::Py_CERR(PyObject*, PyObject*, PyObject*)’ defined but not used [-Wunused-function] 104 | static PyObject* Py_CERR (PyObject* self, PyObject* args, PyObject *keywds) | ^~~~~~~ include/OSCARSPY.h:91:20: warning: ‘PyObject* OSCARSPY::Py_COUT(PyObject*, PyObject*, PyObject*)’ defined but not used [-Wunused-function] 91 | static PyObject* Py_COUT (PyObject* self, PyObject* args, PyObject *keywds) | ^~~~~~~ include/OSCARSPY.h:85:20: warning: ‘PyObject* OSCARSPY::Py_SetSeed(PyObject*, PyObject*)’ defined but not used [-Wunused-function] 85 | static PyObject* Py_SetSeed (PyObject* self, PyObject* arg) { | ^~~~~~~~~~ include/OSCARSPY.h:84:20: warning: ‘PyObject* OSCARSPY::Py_RandomNormal()’ defined but not used [-Wunused-function] 84 | static PyObject* Py_RandomNormal () { return Py_BuildValue("d", gRandomA->Normal()); } | ^~~~~~~~~~~~~~~ include/OSCARSPY.h:83:20: warning: ‘PyObject* OSCARSPY::Py_Random()’ defined but not used [-Wunused-function] 83 | static PyObject* Py_Random () { return Py_BuildValue("d", gRandomA->Uniform()); } | ^~~~~~~~~ include/OSCARSPY.h:81:20: warning: ‘PyObject* OSCARSPY::Py_Mu0()’ defined but not used [-Wunused-function] 81 | static PyObject* Py_Mu0() { return Py_BuildValue("d", TOSCARS::Mu0()); } | ^~~~~~ include/OSCARSPY.h:80:20: warning: ‘PyObject* OSCARSPY::Py_Epsilon0()’ defined but not used [-Wunused-function] 80 | static PyObject* Py_Epsilon0() { return Py_BuildValue("d", TOSCARS::Epsilon0()); } | ^~~~~~~~~~~ include/OSCARSPY.h:79:20: warning: ‘PyObject* OSCARSPY::Py_Me()’ defined but not used [-Wunused-function] 79 | static PyObject* Py_Me() { return Py_BuildValue("d", TOSCARS::Me()); } | ^~~~~ include/OSCARSPY.h:78:20: warning: ‘PyObject* OSCARSPY::Py_Qe()’ defined but not used [-Wunused-function] 78 | static PyObject* Py_Qe() { return Py_BuildValue("d", TOSCARS::Qe()); } | ^~~~~ include/OSCARSPY.h:77:20: warning: ‘PyObject* OSCARSPY::Py_Hbar()’ defined but not used [-Wunused-function] 77 | static PyObject* Py_Hbar() { return Py_BuildValue("d", TOSCARS::Hbar()); } | ^~~~~~~ include/OSCARSPY.h:76:20: warning: ‘PyObject* OSCARSPY::Py_H()’ defined but not used [-Wunused-function] 76 | static PyObject* Py_H() { return Py_BuildValue("d", TOSCARS::H()); } | ^~~~ include/OSCARSPY.h:75:20: warning: ‘PyObject* OSCARSPY::Py_C()’ defined but not used [-Wunused-function] 75 | static PyObject* Py_C() { return Py_BuildValue("d", TOSCARS::C()); } | ^~~~ include/OSCARSPY.h:74:20: warning: ‘PyObject* OSCARSPY::Py_E()’ defined but not used [-Wunused-function] 74 | static PyObject* Py_E() { return Py_BuildValue("d", TOSCARS::E()); } | ^~~~ include/OSCARSPY.h:73:20: warning: ‘PyObject* OSCARSPY::Py_Alpha()’ defined but not used [-Wunused-function] 73 | static PyObject* Py_Alpha() { return Py_BuildValue("d", TOSCARS::Alpha()); } | ^~~~~~~~ include/OSCARSPY.h:72:20: warning: ‘PyObject* OSCARSPY::Py_Pi()’ defined but not used [-Wunused-function] 72 | static PyObject* Py_Pi() { return Py_BuildValue("d", TOSCARS::Pi()); } | ^~~~~ include/OSCARSPY.h:71:20: warning: ‘PyObject* OSCARSPY::Py_Version()’ defined but not used [-Wunused-function] 71 | static PyObject* Py_Version () { return Py_BuildValue("s", GetVersionString().c_str());} | ^~~~~~~~~~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/OSCARSSR.cc -o build/temp.linux-x86_64-3.9/src/OSCARSSR.o -std=c++11 -O3 -fPIC -pthread src/OSCARSSR.cc: In member function ‘void OSCARSSR::CalculateSpectrum(const TVector3D&, TSpectrumContainer&, const string&, double, const TVector3D&, const TVector3D&, int, int, int, int, std::vector, double, int, int, int)’: src/OSCARSSR.cc:1701:29: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 1701 | } catch (std::exception e) { | ^ src/OSCARSSR.cc: In member function ‘void OSCARSSR::CalculateSpectrumPoints(TParticleA&, const TVector3D&, TSpectrumContainer&, size_t, size_t, bool&, const string&, double, const TVector3D&, const TVector3D&, double, int, int, double, int)’: src/OSCARSSR.cc:1933:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare] 1933 | for (size_t i = iThread; i < NSpectrumPoints; i += NThreads) { | ~~^~~~~~~~~~~~~~~~~ src/OSCARSSR.cc:1964:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare] 1964 | for (int iT = 0; iT != NTPoints; ++iT) { | ~~~^~~~~~~~~~~ src/OSCARSSR.cc: In member function ‘void OSCARSSR::CalculateSpectrumPoints_Y(TParticleA&, const TVector3D&, TSpectrumContainer&, size_t, size_t, bool&, const string&, double, const TVector3D&, const TVector3D&, double, int, int, double, int)’: src/OSCARSSR.cc:2160:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare] 2160 | for (size_t i = iThread; i < NSpectrumPoints; i += NThreads) { | ~~^~~~~~~~~~~~~~~~~ src/OSCARSSR.cc:2197:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare] 2197 | for (int iT = 0; iT != NTPoints; ++iT) { | ~~~^~~~~~~~~~~ src/OSCARSSR.cc: In member function ‘void OSCARSSR::CalculateSpectrumThreads(TParticleA&, const TVector3D&, TSpectrumContainer&, int, const string&, double, const TVector3D&, const TVector3D&, double, int, int, double, int)’: src/OSCARSSR.cc:2325:18: warning: unused variable ‘iLast’ [-Wunused-variable] 2325 | size_t const iLast = it < NRemainder ? iFirst + NPerThread : iFirst + NPerThread - 1; | ^~~~~ src/OSCARSSR.cc: In member function ‘void OSCARSSR::CalculatePowerDensity(const TSurfacePoints&, T3DScalarContainer&, int, bool, double, int, int, int, int, int, int, std::vector, int)’: src/OSCARSSR.cc:2670:29: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 2670 | } catch (std::exception e) { | ^ src/OSCARSSR.cc: In member function ‘void OSCARSSR::CalculatePowerDensityPoints(TParticleA&, const TSurfacePoints&, T3DScalarContainer&, size_t, size_t, bool&, bool, double, int, int, double, int)’: src/OSCARSSR.cc:2886:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare] 2886 | for (int iT = 0; iT != NTPoints; ++iT) { | ~~~^~~~~~~~~~~ src/OSCARSSR.cc:2862:12: warning: unused variable ‘ThisSum’ [-Wunused-variable] 2862 | double ThisSum = -1; | ^~~~~~~ src/OSCARSSR.cc: In member function ‘void OSCARSSR::CalculatePowerDensitySTL(const TVector3D&, double, int, int, int, int, int, int, std::vector, int)’: src/OSCARSSR.cc:3173:29: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 3173 | } catch (std::exception e) { | ^ src/OSCARSSR.cc: In member function ‘void OSCARSSR::CalculatePowerDensityPointsSTL(const TVector3D&, TParticleA&, TSTLContainer&, size_t, size_t, bool&, double, int, int, double, int)’: src/OSCARSSR.cc:3423:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare] 3423 | for (int iT = 0; iT != NTPoints; ++iT) { | ~~~^~~~~~~~~~~ src/OSCARSSR.cc:3399:12: warning: unused variable ‘ThisSum’ [-Wunused-variable] 3399 | double ThisSum = -1; | ^~~~~~~ src/OSCARSSR.cc: In member function ‘double OSCARSSR::CalculateTotalPower(double, int, int, int)’: src/OSCARSSR.cc:3713:29: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 3713 | } catch (std::exception e) { | ^ src/OSCARSSR.cc: In member function ‘double OSCARSSR::CalculateTotalPower(TParticleA&, double, int, int, int)’: src/OSCARSSR.cc:3784:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare] 3784 | for (int iT = 0; iT != NTPoints; ++iT) { | ~~~^~~~~~~~~~~ src/OSCARSSR.cc:3759:10: warning: unused variable ‘ThisSum’ [-Wunused-variable] 3759 | double ThisSum = -1; | ^~~~~~~ src/OSCARSSR.cc:3761:10: warning: variable ‘LastLevel’ set but not used [-Wunused-but-set-variable] 3761 | int LastLevel = 0; | ^~~~~~~~~ src/OSCARSSR.cc: In member function ‘void OSCARSSR::CalculateFlux(const TSurfacePoints&, double, T3DScalarContainer&, const string&, double, const TVector3D&, const TVector3D&, int, int, int, int, std::vector, double, int, int, int, int)’: src/OSCARSSR.cc:3930:29: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 3930 | } catch (std::exception e) { | ^ src/OSCARSSR.cc: In member function ‘void OSCARSSR::CalculateFluxPoints(TParticleA&, const TSurfacePoints&, double, T3DScalarContainer&, size_t, size_t, bool&, const string&, double, const TVector3D&, const TVector3D&, double, int, int, double, int)’: src/OSCARSSR.cc:4194:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare] 4194 | for (int iT = 0; iT != NTPoints; ++iT) { | ~~~^~~~~~~~~~~ src/OSCARSSR.cc:4178:10: warning: unused variable ‘PhaseSatisfied’ [-Wunused-variable] 4178 | bool PhaseSatisfied = true; | ^~~~~~~~~~~~~~ src/OSCARSSR.cc: In member function ‘void OSCARSSR::CalculateElectricFieldTimeDomain(const TVector3D&, T3DScalarContainer&)’: src/OSCARSSR.cc:4458:29: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 4458 | } catch (std::exception e) { | ^ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/OSCARSSR_Python.cc -o build/temp.linux-x86_64-3.9/src/OSCARSSR_Python.o -std=c++11 -O3 -fPIC -pthread src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_AddMagneticField(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:593:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 593 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:603:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 603 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_AddMagneticFieldInterpolated(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:782:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 782 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:793:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 793 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:814:30: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 814 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:817:35: warning: catching polymorphic type ‘class std::ios_base::failure’ by value [-Wcatch-value=] 817 | } catch (std::ifstream::failure e) { | ^ src/OSCARSSR_Python.cc:820:30: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 820 | } catch (std::out_of_range e) { | ^ src/OSCARSSR_Python.cc:823:34: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 823 | } catch (std::invalid_argument e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_AddMagneticFieldFunction(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:920:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 920 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:931:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 931 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:940:34: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 940 | } catch (std::invalid_argument e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_AddMagneticFieldGaussian(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:1056:30: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 1056 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:1064:30: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 1064 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:1073:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 1073 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:1083:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 1083 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_AddMagneticFieldUniform(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:1207:30: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 1207 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:1216:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 1216 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:1226:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 1226 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:1236:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 1236 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_AddMagneticFieldIdealUndulator(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:1366:30: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 1366 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:1374:30: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 1374 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:1383:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 1383 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:1393:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 1393 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_AddMagneticFieldIdealEPU(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:1548:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 1548 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:1556:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 1556 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:1565:30: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 1565 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:1574:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 1574 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:1584:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 1584 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_AddMagneticFieldQuadrupole(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:1832:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 1832 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:1842:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 1842 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_GetBField(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:1953:30: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 1953 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:1962:29: warning: catching polymorphic type ‘class std::logic_error’ by value [-Wcatch-value=] 1962 | } catch (std::logic_error e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_AddElectricField(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:2160:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 2160 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:2171:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 2171 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_AddElectricFieldInterpolated(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:2335:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 2335 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:2346:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 2346 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_AddElectricFieldFunction(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:2461:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 2461 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:2472:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 2472 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:2481:34: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 2481 | } catch (std::invalid_argument e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_AddElectricFieldGaussian(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:2596:30: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 2596 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:2604:30: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 2604 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:2613:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 2613 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:2623:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 2623 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_AddElectricFieldUniform(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:2751:30: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 2751 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:2760:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 2760 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:2770:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 2770 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:2780:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 2780 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_AddElectricFieldIdealUndulator(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:2916:30: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 2916 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:2924:30: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 2924 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:2933:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 2933 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:2943:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 2943 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_GetEField(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:3066:30: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 3066 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:3076:29: warning: catching polymorphic type ‘class std::logic_error’ by value [-Wcatch-value=] 3076 | } catch (std::logic_error e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_WriteMagneticField(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:3276:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 3276 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:3286:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 3286 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:3296:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 3296 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:3305:37: warning: catching polymorphic type ‘class std::ios_base::failure’ by value [-Wcatch-value=] 3305 | } catch (std::ifstream::failure e) { | ^ src/OSCARSSR_Python.cc:3308:32: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 3308 | } catch (std::out_of_range e) { | ^ src/OSCARSSR_Python.cc:3311:36: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 3311 | } catch (std::invalid_argument e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_WriteElectricField(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:3452:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 3452 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:3462:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 3462 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:3472:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 3472 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_AddParticleBeam(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:3829:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 3829 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:3846:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 3846 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:3856:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 3856 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:3867:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 3867 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:3878:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 3878 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:3906:36: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 3906 | } catch (std::invalid_argument e) { | ^ src/OSCARSSR_Python.cc:3928:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 3928 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:3944:20: warning: comparison with string literal results in unspecified behavior [-Waddress] 3944 | if (Distribution != "") { | ~~~~~~~~~~~~~^~~~~ src/OSCARSSR_Python.cc:3947:36: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 3947 | } catch (std::invalid_argument e) { | ^ src/OSCARSSR_Python.cc:3973:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 3973 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:3982:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 3982 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:3991:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 3991 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:4003:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 4003 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:4034:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 4034 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:4055:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 4055 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_SetParticleBeamSize(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:4144:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 4144 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:4154:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 4154 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:4164:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 4164 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_SetTwissParameters(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:4312:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 4312 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:4321:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 4321 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:4330:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 4330 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:4342:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 4342 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_SetNewParticle(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:4634:30: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 4634 | } catch (std::out_of_range e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_AddDriftVolume_Box(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:4932:30: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 4932 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:4941:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 4941 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:4951:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 4951 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_SetTrajectoryCalculation(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:5142:34: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 5142 | } catch (std::invalid_argument e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_CalculateTrajectory(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:5205:30: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 5205 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:5208:30: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 5208 | } catch (std::out_of_range e) { | ^ src/OSCARSSR_Python.cc:5211:33: warning: catching polymorphic type ‘class std::underflow_error’ by value [-Wcatch-value=] 5211 | } catch (std::underflow_error e) { | ^ src/OSCARSSR_Python.cc:5231:30: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 5231 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:5234:35: warning: catching polymorphic type ‘class std::ios_base::failure’ by value [-Wcatch-value=] 5234 | } catch (std::ifstream::failure e) { | ^ src/OSCARSSR_Python.cc:5237:34: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 5237 | } catch (std::invalid_argument e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_SetTrajectory(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:5412:22: warning: comparison with string literal results in unspecified behavior [-Waddress] 5412 | if (InFileNameText != "" && InFileNameBinary != "") { | ~~~~~~~~~~~~~~~^~~~~ src/OSCARSSR_Python.cc:5412:48: warning: comparison with string literal results in unspecified behavior [-Waddress] 5412 | if (InFileNameText != "" && InFileNameBinary != "") { | ~~~~~~~~~~~~~~~~~^~~~~ src/OSCARSSR_Python.cc:5417:49: warning: comparison with string literal results in unspecified behavior [-Waddress] 5417 | if (PListTrajectory != 0x0 && (InFileNameText != "" || InFileNameBinary != "")) { | ~~~~~~~~~~~~~~~^~~~~ src/OSCARSSR_Python.cc:5417:75: warning: comparison with string literal results in unspecified behavior [-Waddress] 5417 | if (PListTrajectory != 0x0 && (InFileNameText != "" || InFileNameBinary != "")) { | ~~~~~~~~~~~~~~~~~^~~~~ src/OSCARSSR_Python.cc:5424:24: warning: comparison with string literal results in unspecified behavior [-Waddress] 5424 | if (InFileNameText != "" || InFileNameBinary != "") { | ~~~~~~~~~~~~~~~^~~~~ src/OSCARSSR_Python.cc:5424:50: warning: comparison with string literal results in unspecified behavior [-Waddress] 5424 | if (InFileNameText != "" || InFileNameBinary != "") { | ~~~~~~~~~~~~~~~~~^~~~~ src/OSCARSSR_Python.cc:5516:30: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 5516 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:5519:35: warning: catching polymorphic type ‘class std::ios_base::failure’ by value [-Wcatch-value=] 5519 | } catch (std::ifstream::failure e) { | ^ src/OSCARSSR_Python.cc:5522:34: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 5522 | } catch (std::invalid_argument e) { | ^ src/OSCARSSR_Python.cc:5525:30: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 5525 | } catch (std::out_of_range e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_CalculateSpectrum(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:5770:30: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 5770 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:5781:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 5781 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:5793:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 5793 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:5892:30: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 5892 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:5895:30: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 5895 | } catch (std::out_of_range e) { | ^ src/OSCARSSR_Python.cc:5898:34: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 5898 | } catch (std::invalid_argument e) { | ^ src/OSCARSSR_Python.cc:5901:33: warning: catching polymorphic type ‘class std::underflow_error’ by value [-Wcatch-value=] 5901 | } catch (std::underflow_error e) { | ^ src/OSCARSSR_Python.cc:5904:27: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 5904 | } catch (std::exception e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_CalculateTotalPower(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:6028:30: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 6028 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:6031:30: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 6031 | } catch (std::out_of_range e) { | ^ src/OSCARSSR_Python.cc:6034:33: warning: catching polymorphic type ‘class std::underflow_error’ by value [-Wcatch-value=] 6034 | } catch (std::underflow_error e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_CalculatePowerDensity(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:6184:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 6184 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:6195:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 6195 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:6212:34: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 6212 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:6309:30: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 6309 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:6312:30: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 6312 | } catch (std::out_of_range e) { | ^ src/OSCARSSR_Python.cc:6315:34: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 6315 | } catch (std::invalid_argument e) { | ^ src/OSCARSSR_Python.cc:6318:33: warning: catching polymorphic type ‘class std::underflow_error’ by value [-Wcatch-value=] 6318 | } catch (std::underflow_error e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_CalculatePowerDensityRectangle(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:6592:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 6592 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:6603:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 6603 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:6625:36: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 6625 | } catch (std::invalid_argument e) { | ^ src/OSCARSSR_Python.cc:6643:36: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 6643 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:6734:30: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 6734 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:6737:30: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 6737 | } catch (std::out_of_range e) { | ^ src/OSCARSSR_Python.cc:6740:34: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 6740 | } catch (std::invalid_argument e) { | ^ src/OSCARSSR_Python.cc:6743:33: warning: catching polymorphic type ‘class std::underflow_error’ by value [-Wcatch-value=] 6743 | } catch (std::underflow_error e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_AddSTL(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:6889:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 6889 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:6900:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 6900 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:6910:34: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 6910 | } catch (std::invalid_argument e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_CalculatePowerDensitySTL(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:7059:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 7059 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:7130:30: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 7130 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:7133:30: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 7133 | } catch (std::out_of_range e) { | ^ src/OSCARSSR_Python.cc:7136:34: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 7136 | } catch (std::invalid_argument e) { | ^ src/OSCARSSR_Python.cc:7139:33: warning: catching polymorphic type ‘class std::underflow_error’ by value [-Wcatch-value=] 7139 | } catch (std::underflow_error e) { | ^ src/OSCARSSR_Python.cc:7010:13: warning: unused variable ‘Dim’ [-Wunused-variable] 7010 | int const Dim = 3; | ^~~ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_CalculatePowerDensityLine(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:7437:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 7437 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:7447:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 7447 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:7492:30: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 7492 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:7495:30: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 7495 | } catch (std::out_of_range e) { | ^ src/OSCARSSR_Python.cc:7498:34: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 7498 | } catch (std::invalid_argument e) { | ^ src/OSCARSSR_Python.cc:7501:33: warning: catching polymorphic type ‘class std::underflow_error’ by value [-Wcatch-value=] 7501 | } catch (std::underflow_error e) { | ^ src/OSCARSSR_Python.cc:7525:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 7525 | for (size_t i = 0; i != NPoints; ++i) { | ~~^~~~~~~~~~ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_CalculateFlux(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:7710:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 7710 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:7721:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 7721 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:7738:34: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 7738 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:7815:30: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 7815 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:7818:30: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 7818 | } catch (std::out_of_range e) { | ^ src/OSCARSSR_Python.cc:7821:34: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 7821 | } catch (std::invalid_argument e) { | ^ src/OSCARSSR_Python.cc:7824:33: warning: catching polymorphic type ‘class std::underflow_error’ by value [-Wcatch-value=] 7824 | } catch (std::underflow_error e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_CalculateFluxRectangle(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:8104:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 8104 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:8115:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 8115 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:8138:36: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 8138 | } catch (std::invalid_argument e) { | ^ src/OSCARSSR_Python.cc:8156:36: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 8156 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:8182:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 8182 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:8194:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 8194 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:8290:30: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 8290 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:8293:30: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 8293 | } catch (std::out_of_range e) { | ^ src/OSCARSSR_Python.cc:8296:34: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 8296 | } catch (std::invalid_argument e) { | ^ src/OSCARSSR_Python.cc:8299:33: warning: catching polymorphic type ‘class std::underflow_error’ by value [-Wcatch-value=] 8299 | } catch (std::underflow_error e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_WriteSpectrum(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:8408:37: warning: catching polymorphic type ‘class std::ios_base::failure’ by value [-Wcatch-value=] 8408 | } catch (std::ifstream::failure e) { | ^ src/OSCARSSR_Python.cc:8418:37: warning: catching polymorphic type ‘class std::ios_base::failure’ by value [-Wcatch-value=] 8418 | } catch (std::ifstream::failure e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_AverageSpectra(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:8549:36: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 8549 | } catch (std::invalid_argument e) { | ^ src/OSCARSSR_Python.cc:8552:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 8552 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:8559:36: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 8559 | } catch (std::invalid_argument e) { | ^ src/OSCARSSR_Python.cc:8562:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 8562 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:8569:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 8569 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:8579:37: warning: catching polymorphic type ‘class std::ios_base::failure’ by value [-Wcatch-value=] 8579 | } catch (std::ifstream::failure e) { | ^ src/OSCARSSR_Python.cc:8589:37: warning: catching polymorphic type ‘class std::ios_base::failure’ by value [-Wcatch-value=] 8589 | } catch (std::ifstream::failure e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_AverageT3DScalars(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:8804:30: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 8804 | } catch (std::length_error e) { | ^ src/OSCARSSR_Python.cc:8807:34: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 8807 | } catch (std::invalid_argument e) { | ^ src/OSCARSSR_Python.cc: In function ‘PyObject* OSCARSSR_CalculateElectricFieldTimeDomain(OSCARSSRObject*, PyObject*, PyObject*)’: src/OSCARSSR_Python.cc:9081:30: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 9081 | } catch (std::length_error e) { | ^ In file included from src/OSCARSSR_Python.cc:15: include/OSCARSSR_Python.h: At global scope: include/OSCARSSR_Python.h:30:18: warning: ‘PyObject* OSCARSSR_Pi(OSCARSSRObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 30 | static PyObject* OSCARSSR_Pi (OSCARSSRObject* self, PyObject* arg); | ^~~~~~~~~~~ include/OSCARSSR_Python.h:31:18: warning: ‘PyObject* OSCARSSR_Qe(OSCARSSRObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 31 | static PyObject* OSCARSSR_Qe (OSCARSSRObject* self, PyObject* arg); | ^~~~~~~~~~~ include/OSCARSSR_Python.h:32:18: warning: ‘PyObject* OSCARSSR_Me(OSCARSSRObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 32 | static PyObject* OSCARSSR_Me (OSCARSSRObject* self, PyObject* arg); | ^~~~~~~~~~~ include/OSCARSSR_Python.h:33:18: warning: ‘PyObject* OSCARSSR_C(OSCARSSRObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 33 | static PyObject* OSCARSSR_C (OSCARSSRObject* self, PyObject* arg); | ^~~~~~~~~~ include/OSCARSSR_Python.h:34:18: warning: ‘PyObject* OSCARSSR_Random(OSCARSSRObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 34 | static PyObject* OSCARSSR_Random (OSCARSSRObject* self, PyObject* arg); | ^~~~~~~~~~~~~~~ include/OSCARSSR_Python.h:35:18: warning: ‘PyObject* OSCARSSR_RandomNormal(OSCARSSRObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 35 | static PyObject* OSCARSSR_RandomNormal (OSCARSSRObject* self, PyObject* arg); | ^~~~~~~~~~~~~~~~~~~~~ include/OSCARSSR_Python.h:36:18: warning: ‘PyObject* OSCARSSR_SetSeed(OSCARSSRObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 36 | static PyObject* OSCARSSR_SetSeed (OSCARSSRObject* self, PyObject* arg); | ^~~~~~~~~~~~~~~~ include/OSCARSSR_Python.h:121:18: warning: ‘PyObject* OSCARSSR_COUT(OSCARSSRObject*, PyObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 121 | static PyObject* OSCARSSR_COUT (OSCARSSRObject* self, PyObject* args, PyObject *keywds); | ^~~~~~~~~~~~~ include/OSCARSSR_Python.h:122:18: warning: ‘PyObject* OSCARSSR_CERR(OSCARSSRObject*, PyObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 122 | static PyObject* OSCARSSR_CERR (OSCARSSRObject* self, PyObject* args, PyObject *keywds); | ^~~~~~~~~~~~~ src/OSCARSSR_Python.cc:7628:18: warning: ‘PyObject* OSCARSSR_CalculateFlux(OSCARSSRObject*, PyObject*, PyObject*)’ defined but not used [-Wunused-function] 7628 | static PyObject* OSCARSSR_CalculateFlux (OSCARSSRObject* self, PyObject* args, PyObject *keywds) | ^~~~~~~~~~~~~~~~~~~~~~ src/OSCARSSR_Python.cc:1635:18: warning: ‘PyObject* OSCARSSR_AddMagneticFieldHalbach(OSCARSSRObject*, PyObject*, PyObject*)’ defined but not used [-Wunused-function] 1635 | static PyObject* OSCARSSR_AddMagneticFieldHalbach (OSCARSSRObject* self, PyObject* args, PyObject* keywds) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/T3DScalarContainer.cc -o build/temp.linux-x86_64-3.9/src/T3DScalarContainer.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TDriftBox.cc -o build/temp.linux-x86_64-3.9/src/TDriftBox.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TDriftVolumeContainer.cc -o build/temp.linux-x86_64-3.9/src/TDriftVolumeContainer.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TField3D_Gaussian.cc -o build/temp.linux-x86_64-3.9/src/TField3D_Gaussian.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TField3D_Grid.cc -o build/temp.linux-x86_64-3.9/src/TField3D_Grid.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TField3D_Halbach.cc -o build/temp.linux-x86_64-3.9/src/TField3D_Halbach.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TField3D_IdealEPU.cc -o build/temp.linux-x86_64-3.9/src/TField3D_IdealEPU.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TField3D_IdealUndulator.cc -o build/temp.linux-x86_64-3.9/src/TField3D_IdealUndulator.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TField3D_Quadrupole.cc -o build/temp.linux-x86_64-3.9/src/TField3D_Quadrupole.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TField3D_UniformBox.cc -o build/temp.linux-x86_64-3.9/src/TField3D_UniformBox.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TFieldContainer.cc -o build/temp.linux-x86_64-3.9/src/TFieldContainer.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TFieldPythonFunction.cc -o build/temp.linux-x86_64-3.9/src/TFieldPythonFunction.o -std=c++11 -O3 -fPIC -pthread In file included from /usr/include/python3.9/Python.h:141, from include/TFieldPythonFunction.h:10, from src/TFieldPythonFunction.cc:1: src/TFieldPythonFunction.cc: In member function ‘virtual TVector3D TFieldPythonFunction::GetF(const TVector3D&, double) const’: /usr/include/python3.9/ceval.h:24:66: warning: ‘PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations] 24 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) | ^ src/TFieldPythonFunction.cc:77:27: note: in expansion of macro ‘PyEval_CallObject’ 77 | PyObject* OutputTuple = PyEval_CallObject(fPythonFunction, InputTuple); | ^~~~~~~~~~~~~~~~~ /usr/include/python3.9/ceval.h:17:43: note: declared here 17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/TFieldPythonFunction.cc:3: include/OSCARSPY.h: At global scope: include/OSCARSPY.h:104:20: warning: ‘PyObject* OSCARSPY::Py_CERR(PyObject*, PyObject*, PyObject*)’ defined but not used [-Wunused-function] 104 | static PyObject* Py_CERR (PyObject* self, PyObject* args, PyObject *keywds) | ^~~~~~~ include/OSCARSPY.h:91:20: warning: ‘PyObject* OSCARSPY::Py_COUT(PyObject*, PyObject*, PyObject*)’ defined but not used [-Wunused-function] 91 | static PyObject* Py_COUT (PyObject* self, PyObject* args, PyObject *keywds) | ^~~~~~~ include/OSCARSPY.h:85:20: warning: ‘PyObject* OSCARSPY::Py_SetSeed(PyObject*, PyObject*)’ defined but not used [-Wunused-function] 85 | static PyObject* Py_SetSeed (PyObject* self, PyObject* arg) { | ^~~~~~~~~~ include/OSCARSPY.h:84:20: warning: ‘PyObject* OSCARSPY::Py_RandomNormal()’ defined but not used [-Wunused-function] 84 | static PyObject* Py_RandomNormal () { return Py_BuildValue("d", gRandomA->Normal()); } | ^~~~~~~~~~~~~~~ include/OSCARSPY.h:83:20: warning: ‘PyObject* OSCARSPY::Py_Random()’ defined but not used [-Wunused-function] 83 | static PyObject* Py_Random () { return Py_BuildValue("d", gRandomA->Uniform()); } | ^~~~~~~~~ include/OSCARSPY.h:81:20: warning: ‘PyObject* OSCARSPY::Py_Mu0()’ defined but not used [-Wunused-function] 81 | static PyObject* Py_Mu0() { return Py_BuildValue("d", TOSCARS::Mu0()); } | ^~~~~~ include/OSCARSPY.h:80:20: warning: ‘PyObject* OSCARSPY::Py_Epsilon0()’ defined but not used [-Wunused-function] 80 | static PyObject* Py_Epsilon0() { return Py_BuildValue("d", TOSCARS::Epsilon0()); } | ^~~~~~~~~~~ include/OSCARSPY.h:79:20: warning: ‘PyObject* OSCARSPY::Py_Me()’ defined but not used [-Wunused-function] 79 | static PyObject* Py_Me() { return Py_BuildValue("d", TOSCARS::Me()); } | ^~~~~ include/OSCARSPY.h:78:20: warning: ‘PyObject* OSCARSPY::Py_Qe()’ defined but not used [-Wunused-function] 78 | static PyObject* Py_Qe() { return Py_BuildValue("d", TOSCARS::Qe()); } | ^~~~~ include/OSCARSPY.h:77:20: warning: ‘PyObject* OSCARSPY::Py_Hbar()’ defined but not used [-Wunused-function] 77 | static PyObject* Py_Hbar() { return Py_BuildValue("d", TOSCARS::Hbar()); } | ^~~~~~~ include/OSCARSPY.h:76:20: warning: ‘PyObject* OSCARSPY::Py_H()’ defined but not used [-Wunused-function] 76 | static PyObject* Py_H() { return Py_BuildValue("d", TOSCARS::H()); } | ^~~~ include/OSCARSPY.h:75:20: warning: ‘PyObject* OSCARSPY::Py_C()’ defined but not used [-Wunused-function] 75 | static PyObject* Py_C() { return Py_BuildValue("d", TOSCARS::C()); } | ^~~~ include/OSCARSPY.h:74:20: warning: ‘PyObject* OSCARSPY::Py_E()’ defined but not used [-Wunused-function] 74 | static PyObject* Py_E() { return Py_BuildValue("d", TOSCARS::E()); } | ^~~~ include/OSCARSPY.h:73:20: warning: ‘PyObject* OSCARSPY::Py_Alpha()’ defined but not used [-Wunused-function] 73 | static PyObject* Py_Alpha() { return Py_BuildValue("d", TOSCARS::Alpha()); } | ^~~~~~~~ include/OSCARSPY.h:72:20: warning: ‘PyObject* OSCARSPY::Py_Pi()’ defined but not used [-Wunused-function] 72 | static PyObject* Py_Pi() { return Py_BuildValue("d", TOSCARS::Pi()); } | ^~~~~ include/OSCARSPY.h:71:20: warning: ‘PyObject* OSCARSPY::Py_Version()’ defined but not used [-Wunused-function] 71 | static PyObject* Py_Version () { return Py_BuildValue("s", GetVersionString().c_str());} | ^~~~~~~~~~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TOMATH.cc -o build/temp.linux-x86_64-3.9/src/TOMATH.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TParticleA.cc -o build/temp.linux-x86_64-3.9/src/TParticleA.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TParticleBeam.cc -o build/temp.linux-x86_64-3.9/src/TParticleBeam.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TParticleBeamContainer.cc -o build/temp.linux-x86_64-3.9/src/TParticleBeamContainer.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TParticleTrajectoryInterpolated.cc -o build/temp.linux-x86_64-3.9/src/TParticleTrajectoryInterpolated.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TParticleTrajectoryInterpolatedPoints.cc -o build/temp.linux-x86_64-3.9/src/TParticleTrajectoryInterpolatedPoints.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TParticleTrajectoryPoint.cc -o build/temp.linux-x86_64-3.9/src/TParticleTrajectoryPoint.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TParticleTrajectoryPoints.cc -o build/temp.linux-x86_64-3.9/src/TParticleTrajectoryPoints.o -std=c++11 -O3 -fPIC -pthread src/TParticleTrajectoryPoints.cc: In member function ‘void TParticleTrajectoryPoints::ReadFromFileBinary(const string&, const string&)’: src/TParticleTrajectoryPoints.cc:716:16: warning: unused variable ‘NColumns’ [-Wunused-variable] 716 | size_t const NColumns = FormatVector.size(); | ^~~~~~~~ In file included from src/TParticleTrajectoryPoints.cc:13: include/TOMATH.h: In instantiation of ‘T TOMATH::TSpline1D3::GetDerivative(int) const [with T = TVector3D]’: src/TParticleTrajectoryPoints.cc:833:36: required from here include/TOMATH.h:135:13: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 135 | if (i >= fYPP.size()-1) { | ~~^~~~~~~~~~~~~~~~ src/TParticleTrajectoryPoints.cc: In member function ‘void TParticleTrajectoryPoints::ReadFromFileFormat(const string&, const string&)’: src/TParticleTrajectoryPoints.cc:642:19: warning: ‘T’ may be used uninitialized in this function [-Wmaybe-uninitialized] 642 | this->AddPoint(X, B, BP, T); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~ src/TParticleTrajectoryPoints.cc: In member function ‘void TParticleTrajectoryPoints::ReadFromFileBinary(const string&, const string&)’: src/TParticleTrajectoryPoints.cc:795:21: warning: ‘T’ may be used uninitialized in this function [-Wmaybe-uninitialized] 795 | this->AddPoint(X, B, BP, T); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TRandomA.cc -o build/temp.linux-x86_64-3.9/src/TRandomA.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TSTLContainer.cc -o build/temp.linux-x86_64-3.9/src/TSTLContainer.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TSpectrumContainer.cc -o build/temp.linux-x86_64-3.9/src/TSpectrumContainer.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TSurfaceOfPoints.cc -o build/temp.linux-x86_64-3.9/src/TSurfaceOfPoints.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TSurfacePoint.cc -o build/temp.linux-x86_64-3.9/src/TSurfacePoint.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TSurfacePoints_3D.cc -o build/temp.linux-x86_64-3.9/src/TSurfacePoints_3D.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TSurfacePoints_Rectangle.cc -o build/temp.linux-x86_64-3.9/src/TSurfacePoints_Rectangle.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TTriangle3D.cc -o build/temp.linux-x86_64-3.9/src/TTriangle3D.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TTriangle3DContainer.cc -o build/temp.linux-x86_64-3.9/src/TTriangle3DContainer.o -std=c++11 -O3 -fPIC -pthread src/TTriangle3DContainer.cc: In member function ‘void TTriangle3DContainer::ReadSTLFile(const string&, double, const TVector3D&, const TVector3D&, const string&)’: src/TTriangle3DContainer.cc:137:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 137 | for (int i = 0; i < NTriangles; ++i) { | ~~^~~~~~~~~~~~ src/TTriangle3DContainer.cc: In member function ‘void TTriangle3DContainer::WriteSTLFile(const string&)’: src/TTriangle3DContainer.cc:253:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 253 | for (int i = 0; i < NTriangles; ++i) { | ~~^~~~~~~~~~~~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TVector2D.cc -o build/temp.linux-x86_64-3.9/src/TVector2D.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TVector3D.cc -o build/temp.linux-x86_64-3.9/src/TVector3D.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TVector3DC.cc -o build/temp.linux-x86_64-3.9/src/TVector3DC.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TVector4D.cc -o build/temp.linux-x86_64-3.9/src/TVector4D.o -std=c++11 -O3 -fPIC -pthread g++ -shared -g -g -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-x86_64-3.9/src/OSCARSPY.o build/temp.linux-x86_64-3.9/src/OSCARSSR.o build/temp.linux-x86_64-3.9/src/OSCARSSR_Python.o build/temp.linux-x86_64-3.9/src/T3DScalarContainer.o build/temp.linux-x86_64-3.9/src/TDriftBox.o build/temp.linux-x86_64-3.9/src/TDriftVolumeContainer.o build/temp.linux-x86_64-3.9/src/TField3D_Gaussian.o build/temp.linux-x86_64-3.9/src/TField3D_Grid.o build/temp.linux-x86_64-3.9/src/TField3D_Halbach.o build/temp.linux-x86_64-3.9/src/TField3D_IdealEPU.o build/temp.linux-x86_64-3.9/src/TField3D_IdealUndulator.o build/temp.linux-x86_64-3.9/src/TField3D_Quadrupole.o build/temp.linux-x86_64-3.9/src/TField3D_UniformBox.o build/temp.linux-x86_64-3.9/src/TFieldContainer.o build/temp.linux-x86_64-3.9/src/TFieldPythonFunction.o build/temp.linux-x86_64-3.9/src/TOMATH.o build/temp.linux-x86_64-3.9/src/TParticleA.o build/temp.linux-x86_64-3.9/src/TParticleBeam.o build/temp.linux-x86_64-3.9/src/TParticleBeamContainer.o build/temp.linux-x86_64-3.9/src/TParticleTrajectoryInterpolated.o build/temp.linux-x86_64-3.9/src/TParticleTrajectoryInterpolatedPoints.o build/temp.linux-x86_64-3.9/src/TParticleTrajectoryPoint.o build/temp.linux-x86_64-3.9/src/TParticleTrajectoryPoints.o build/temp.linux-x86_64-3.9/src/TRandomA.o build/temp.linux-x86_64-3.9/src/TSTLContainer.o build/temp.linux-x86_64-3.9/src/TSpectrumContainer.o build/temp.linux-x86_64-3.9/src/TSurfaceOfPoints.o build/temp.linux-x86_64-3.9/src/TSurfacePoint.o build/temp.linux-x86_64-3.9/src/TSurfacePoints_3D.o build/temp.linux-x86_64-3.9/src/TSurfacePoints_Rectangle.o build/temp.linux-x86_64-3.9/src/TTriangle3D.o build/temp.linux-x86_64-3.9/src/TTriangle3DContainer.o build/temp.linux-x86_64-3.9/src/TVector2D.o build/temp.linux-x86_64-3.9/src/TVector3D.o build/temp.linux-x86_64-3.9/src/TVector3DC.o build/temp.linux-x86_64-3.9/src/TVector4D.o -L/usr/lib64 -o build/lib.linux-x86_64-3.9/oscars/sr.cpython-39-x86_64-linux-gnu.so building 'oscars.th' extension gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/OSCARSPY.cc -o build/temp.linux-x86_64-3.9/src/OSCARSPY.o -std=c++11 -O3 -fPIC -pthread src/OSCARSPY.cc: In function ‘std::string OSCARSPY::GetVersionString()’: src/OSCARSPY.cc:26:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 6 has type ‘long int’ [-Wformat=] 26 | sprintf(ver, "%i.%i.%i.%s", OSCARS_VMAJOR, OSCARS_VMINOR, OSCARS_REVISION, OSCARS_RELEASE); | ~^ | | | char* | %ld In file included from src/OSCARSPY.cc:13: include/OSCARSPY.h: At global scope: include/OSCARSPY.h:104:20: warning: ‘PyObject* OSCARSPY::Py_CERR(PyObject*, PyObject*, PyObject*)’ defined but not used [-Wunused-function] 104 | static PyObject* Py_CERR (PyObject* self, PyObject* args, PyObject *keywds) | ^~~~~~~ include/OSCARSPY.h:91:20: warning: ‘PyObject* OSCARSPY::Py_COUT(PyObject*, PyObject*, PyObject*)’ defined but not used [-Wunused-function] 91 | static PyObject* Py_COUT (PyObject* self, PyObject* args, PyObject *keywds) | ^~~~~~~ include/OSCARSPY.h:85:20: warning: ‘PyObject* OSCARSPY::Py_SetSeed(PyObject*, PyObject*)’ defined but not used [-Wunused-function] 85 | static PyObject* Py_SetSeed (PyObject* self, PyObject* arg) { | ^~~~~~~~~~ include/OSCARSPY.h:84:20: warning: ‘PyObject* OSCARSPY::Py_RandomNormal()’ defined but not used [-Wunused-function] 84 | static PyObject* Py_RandomNormal () { return Py_BuildValue("d", gRandomA->Normal()); } | ^~~~~~~~~~~~~~~ include/OSCARSPY.h:83:20: warning: ‘PyObject* OSCARSPY::Py_Random()’ defined but not used [-Wunused-function] 83 | static PyObject* Py_Random () { return Py_BuildValue("d", gRandomA->Uniform()); } | ^~~~~~~~~ include/OSCARSPY.h:81:20: warning: ‘PyObject* OSCARSPY::Py_Mu0()’ defined but not used [-Wunused-function] 81 | static PyObject* Py_Mu0() { return Py_BuildValue("d", TOSCARS::Mu0()); } | ^~~~~~ include/OSCARSPY.h:80:20: warning: ‘PyObject* OSCARSPY::Py_Epsilon0()’ defined but not used [-Wunused-function] 80 | static PyObject* Py_Epsilon0() { return Py_BuildValue("d", TOSCARS::Epsilon0()); } | ^~~~~~~~~~~ include/OSCARSPY.h:79:20: warning: ‘PyObject* OSCARSPY::Py_Me()’ defined but not used [-Wunused-function] 79 | static PyObject* Py_Me() { return Py_BuildValue("d", TOSCARS::Me()); } | ^~~~~ include/OSCARSPY.h:78:20: warning: ‘PyObject* OSCARSPY::Py_Qe()’ defined but not used [-Wunused-function] 78 | static PyObject* Py_Qe() { return Py_BuildValue("d", TOSCARS::Qe()); } | ^~~~~ include/OSCARSPY.h:77:20: warning: ‘PyObject* OSCARSPY::Py_Hbar()’ defined but not used [-Wunused-function] 77 | static PyObject* Py_Hbar() { return Py_BuildValue("d", TOSCARS::Hbar()); } | ^~~~~~~ include/OSCARSPY.h:76:20: warning: ‘PyObject* OSCARSPY::Py_H()’ defined but not used [-Wunused-function] 76 | static PyObject* Py_H() { return Py_BuildValue("d", TOSCARS::H()); } | ^~~~ include/OSCARSPY.h:75:20: warning: ‘PyObject* OSCARSPY::Py_C()’ defined but not used [-Wunused-function] 75 | static PyObject* Py_C() { return Py_BuildValue("d", TOSCARS::C()); } | ^~~~ include/OSCARSPY.h:74:20: warning: ‘PyObject* OSCARSPY::Py_E()’ defined but not used [-Wunused-function] 74 | static PyObject* Py_E() { return Py_BuildValue("d", TOSCARS::E()); } | ^~~~ include/OSCARSPY.h:73:20: warning: ‘PyObject* OSCARSPY::Py_Alpha()’ defined but not used [-Wunused-function] 73 | static PyObject* Py_Alpha() { return Py_BuildValue("d", TOSCARS::Alpha()); } | ^~~~~~~~ include/OSCARSPY.h:72:20: warning: ‘PyObject* OSCARSPY::Py_Pi()’ defined but not used [-Wunused-function] 72 | static PyObject* Py_Pi() { return Py_BuildValue("d", TOSCARS::Pi()); } | ^~~~~ include/OSCARSPY.h:71:20: warning: ‘PyObject* OSCARSPY::Py_Version()’ defined but not used [-Wunused-function] 71 | static PyObject* Py_Version () { return Py_BuildValue("s", GetVersionString().c_str());} | ^~~~~~~~~~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/OSCARSTH.cc -o build/temp.linux-x86_64-3.9/src/OSCARSTH.o -std=c++11 -O3 -fPIC -pthread src/OSCARSTH.cc: In member function ‘TVector2D OSCARSTH::UndulatorFluxOnAxisK(double, double, double, int) const’: src/OSCARSTH.cc:344:16: warning: unused variable ‘sigx’ [-Wunused-variable] 344 | double const sigx = sqrt(Emittance[0] * Beta[0]); | ^~~~ src/OSCARSTH.cc:345:16: warning: unused variable ‘sigy’ [-Wunused-variable] 345 | double const sigy = sqrt(Emittance[1] * Beta[1]); | ^~~~ src/OSCARSTH.cc:369:16: warning: unused variable ‘sigr’ [-Wunused-variable] 369 | double const sigr = 1 / TOSCARS::FourPi() * sqrt(Lambda * Period * NPeriods); | ^~~~ src/OSCARSTH.cc: In member function ‘TVector2D OSCARSTH::UndulatorFluxK(double, double, int, int) const’: src/OSCARSTH.cc:443:16: warning: unused variable ‘sigx’ [-Wunused-variable] 443 | double const sigx = sqrt(Emittance[0] * Beta[0]); | ^~~~ src/OSCARSTH.cc:444:16: warning: unused variable ‘sigy’ [-Wunused-variable] 444 | double const sigy = sqrt(Emittance[1] * Beta[1]); | ^~~~ src/OSCARSTH.cc:446:16: warning: unused variable ‘sigxp’ [-Wunused-variable] 446 | double const sigxp = sqrt(Emittance[0] / Beta[0]); | ^~~~~ src/OSCARSTH.cc:447:16: warning: unused variable ‘sigyp’ [-Wunused-variable] 447 | double const sigyp = sqrt(Emittance[1] / Beta[1]); | ^~~~~ src/OSCARSTH.cc:451:16: warning: unused variable ‘Lambda’ [-Wunused-variable] 451 | double const Lambda = Period / (2 * Gamma * Gamma) * (1. + K2 / 2.) / (double) N; | ^~~~~~ src/OSCARSTH.cc: In member function ‘TVector2D OSCARSTH::UndulatorPowerDensity(double, double, int, T3DScalarContainer&) const’: src/OSCARSTH.cc:533:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 533 | for (int ip = 0; ip != PowerDensityContainer.GetNPoints(); ++ip) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/OSCARSTH.cc: In member function ‘TVector2D OSCARSTH::UndulatorCoherentFluxK(double, double, int, int) const’: src/OSCARSTH.cc:883:16: warning: unused variable ‘Fu’ [-Wunused-variable] 883 | double const Fu = TOSCARS::Pi() * TOSCARS::Alpha() * NPeriods * 0.001 * Current / TOSCARS::Qe() * Qn; | ^~ src/OSCARSTH.cc: In member function ‘TVector2D OSCARSTH::UndulatorBrightnessK(double, double, int, int) const’: src/OSCARSTH.cc:949:16: warning: unused variable ‘Fu’ [-Wunused-variable] 949 | double const Fu = TOSCARS::Pi() * TOSCARS::Alpha() * NPeriods * 0.001 * Current / TOSCARS::Qe() * Qn; | ^~ src/OSCARSTH.cc: In member function ‘void OSCARSTH::WigglerFluxK(double, double, int, const TSurfacePoints&, double, T3DScalarContainer&, int, int) const’: src/OSCARSTH.cc:1087:16: warning: unused variable ‘BeamEnergyGeV’ [-Wunused-variable] 1087 | double const BeamEnergyGeV = fParticleBeam.GetE0(); | ^~~~~~~~~~~~~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/OSCARSTH_Python.cc -o build/temp.linux-x86_64-3.9/src/OSCARSTH_Python.o -std=c++11 -O3 -fPIC -pthread src/OSCARSTH_Python.cc: In function ‘PyObject* OSCARSTH_DipoleSpectrum(OSCARSTHObject*, PyObject*, PyObject*)’: src/OSCARSTH_Python.cc:440:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 440 | } catch (std::length_error e) { | ^ src/OSCARSTH_Python.cc:450:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 450 | } catch (std::length_error e) { | ^ src/OSCARSTH_Python.cc: In function ‘PyObject* OSCARSTH_UndulatorFlux(OSCARSTHObject*, PyObject*, PyObject*)’: src/OSCARSTH_Python.cc:864:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 864 | } catch (std::length_error e) { | ^ src/OSCARSTH_Python.cc:881:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 881 | } catch (std::length_error e) { | ^ src/OSCARSTH_Python.cc: In function ‘PyObject* OSCARSTH_UndulatorFluxOnAxis(OSCARSTHObject*, PyObject*, PyObject*)’: src/OSCARSTH_Python.cc:1108:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 1108 | } catch (std::length_error e) { | ^ src/OSCARSTH_Python.cc:1125:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 1125 | } catch (std::length_error e) { | ^ src/OSCARSTH_Python.cc: In function ‘PyObject* OSCARSTH_UndulatorPowerDensity(OSCARSTHObject*, PyObject*, PyObject*)’: src/OSCARSTH_Python.cc:1406:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 1406 | } catch (std::length_error e) { | ^ src/OSCARSTH_Python.cc:1418:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 1418 | } catch (std::length_error e) { | ^ src/OSCARSTH_Python.cc:1484:10: warning: unused variable ‘result’ [-Wunused-variable] 1484 | double result = 0; | ^~~~~~ src/OSCARSTH_Python.cc: In function ‘PyObject* OSCARSTH_UndulatorCoherentFluxFraction(OSCARSTHObject*, PyObject*, PyObject*)’: src/OSCARSTH_Python.cc:1680:34: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 1680 | } catch (std::length_error e) { | ^ src/OSCARSTH_Python.cc:1697:34: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 1697 | } catch (std::length_error e) { | ^ src/OSCARSTH_Python.cc:1741:34: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 1741 | } catch (std::invalid_argument e) { | ^ src/OSCARSTH_Python.cc: In function ‘PyObject* OSCARSTH_UndulatorCoherentFlux(OSCARSTHObject*, PyObject*, PyObject*)’: src/OSCARSTH_Python.cc:1918:34: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 1918 | } catch (std::length_error e) { | ^ src/OSCARSTH_Python.cc:1935:34: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 1935 | } catch (std::length_error e) { | ^ src/OSCARSTH_Python.cc:1979:34: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 1979 | } catch (std::invalid_argument e) { | ^ src/OSCARSTH_Python.cc: In function ‘PyObject* OSCARSTH_UndulatorBrightness(OSCARSTHObject*, PyObject*, PyObject*)’: src/OSCARSTH_Python.cc:2156:34: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 2156 | } catch (std::length_error e) { | ^ src/OSCARSTH_Python.cc:2173:34: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 2173 | } catch (std::length_error e) { | ^ src/OSCARSTH_Python.cc:2217:34: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 2217 | } catch (std::invalid_argument e) { | ^ src/OSCARSTH_Python.cc: In function ‘PyObject* OSCARSTH_WigglerSpectrum(OSCARSTHObject*, PyObject*, PyObject*)’: src/OSCARSTH_Python.cc:2542:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 2542 | } catch (std::length_error e) { | ^ src/OSCARSTH_Python.cc:2552:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 2552 | } catch (std::length_error e) { | ^ src/OSCARSTH_Python.cc: In function ‘PyObject* OSCARSTH_WigglerFluxRectangle(OSCARSTHObject*, PyObject*, PyObject*)’: src/OSCARSTH_Python.cc:2903:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 2903 | } catch (std::length_error e) { | ^ src/OSCARSTH_Python.cc:2914:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 2914 | } catch (std::length_error e) { | ^ src/OSCARSTH_Python.cc:2958:36: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 2958 | } catch (std::invalid_argument e) { | ^ src/OSCARSTH_Python.cc:2970:36: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 2970 | } catch (std::length_error e) { | ^ src/OSCARSTH_Python.cc: In function ‘PyObject* OSCARSTH_AddParticleBeam(OSCARSTHObject*, PyObject*, PyObject*)’: src/OSCARSTH_Python.cc:3411:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 3411 | } catch (std::length_error e) { | ^ src/OSCARSTH_Python.cc:3428:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 3428 | } catch (std::length_error e) { | ^ src/OSCARSTH_Python.cc:3438:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 3438 | } catch (std::length_error e) { | ^ src/OSCARSTH_Python.cc:3449:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 3449 | } catch (std::length_error e) { | ^ src/OSCARSTH_Python.cc:3460:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 3460 | } catch (std::length_error e) { | ^ src/OSCARSTH_Python.cc:3488:36: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 3488 | } catch (std::invalid_argument e) { | ^ src/OSCARSTH_Python.cc:3510:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 3510 | } catch (std::length_error e) { | ^ src/OSCARSTH_Python.cc:3545:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 3545 | } catch (std::length_error e) { | ^ src/OSCARSTH_Python.cc:3554:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 3554 | } catch (std::length_error e) { | ^ src/OSCARSTH_Python.cc:3563:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 3563 | } catch (std::length_error e) { | ^ src/OSCARSTH_Python.cc:3575:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 3575 | } catch (std::length_error e) { | ^ src/OSCARSTH_Python.cc:3606:32: warning: catching polymorphic type ‘class std::length_error’ by value [-Wcatch-value=] 3606 | } catch (std::length_error e) { | ^ In file included from src/OSCARSTH_Python.cc:15: include/OSCARSTH_Python.h: At global scope: include/OSCARSTH_Python.h:35:18: warning: ‘PyObject* OSCARSTH_DipoleSpectrumPoint(OSCARSTHObject*, PyObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 35 | static PyObject* OSCARSTH_DipoleSpectrumPoint (OSCARSTHObject* self, PyObject* args, PyObject* keywds); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/OSCARSTH_Python.cc:17: include/OSCARSPY.h:104:20: warning: ‘PyObject* OSCARSPY::Py_CERR(PyObject*, PyObject*, PyObject*)’ defined but not used [-Wunused-function] 104 | static PyObject* Py_CERR (PyObject* self, PyObject* args, PyObject *keywds) | ^~~~~~~ include/OSCARSPY.h:91:20: warning: ‘PyObject* OSCARSPY::Py_COUT(PyObject*, PyObject*, PyObject*)’ defined but not used [-Wunused-function] 91 | static PyObject* Py_COUT (PyObject* self, PyObject* args, PyObject *keywds) | ^~~~~~~ include/OSCARSPY.h:85:20: warning: ‘PyObject* OSCARSPY::Py_SetSeed(PyObject*, PyObject*)’ defined but not used [-Wunused-function] 85 | static PyObject* Py_SetSeed (PyObject* self, PyObject* arg) { | ^~~~~~~~~~ include/OSCARSPY.h:84:20: warning: ‘PyObject* OSCARSPY::Py_RandomNormal()’ defined but not used [-Wunused-function] 84 | static PyObject* Py_RandomNormal () { return Py_BuildValue("d", gRandomA->Normal()); } | ^~~~~~~~~~~~~~~ include/OSCARSPY.h:83:20: warning: ‘PyObject* OSCARSPY::Py_Random()’ defined but not used [-Wunused-function] 83 | static PyObject* Py_Random () { return Py_BuildValue("d", gRandomA->Uniform()); } | ^~~~~~~~~ include/OSCARSPY.h:81:20: warning: ‘PyObject* OSCARSPY::Py_Mu0()’ defined but not used [-Wunused-function] 81 | static PyObject* Py_Mu0() { return Py_BuildValue("d", TOSCARS::Mu0()); } | ^~~~~~ include/OSCARSPY.h:80:20: warning: ‘PyObject* OSCARSPY::Py_Epsilon0()’ defined but not used [-Wunused-function] 80 | static PyObject* Py_Epsilon0() { return Py_BuildValue("d", TOSCARS::Epsilon0()); } | ^~~~~~~~~~~ include/OSCARSPY.h:79:20: warning: ‘PyObject* OSCARSPY::Py_Me()’ defined but not used [-Wunused-function] 79 | static PyObject* Py_Me() { return Py_BuildValue("d", TOSCARS::Me()); } | ^~~~~ include/OSCARSPY.h:78:20: warning: ‘PyObject* OSCARSPY::Py_Qe()’ defined but not used [-Wunused-function] 78 | static PyObject* Py_Qe() { return Py_BuildValue("d", TOSCARS::Qe()); } | ^~~~~ include/OSCARSPY.h:77:20: warning: ‘PyObject* OSCARSPY::Py_Hbar()’ defined but not used [-Wunused-function] 77 | static PyObject* Py_Hbar() { return Py_BuildValue("d", TOSCARS::Hbar()); } | ^~~~~~~ include/OSCARSPY.h:76:20: warning: ‘PyObject* OSCARSPY::Py_H()’ defined but not used [-Wunused-function] 76 | static PyObject* Py_H() { return Py_BuildValue("d", TOSCARS::H()); } | ^~~~ include/OSCARSPY.h:75:20: warning: ‘PyObject* OSCARSPY::Py_C()’ defined but not used [-Wunused-function] 75 | static PyObject* Py_C() { return Py_BuildValue("d", TOSCARS::C()); } | ^~~~ include/OSCARSPY.h:74:20: warning: ‘PyObject* OSCARSPY::Py_E()’ defined but not used [-Wunused-function] 74 | static PyObject* Py_E() { return Py_BuildValue("d", TOSCARS::E()); } | ^~~~ include/OSCARSPY.h:73:20: warning: ‘PyObject* OSCARSPY::Py_Alpha()’ defined but not used [-Wunused-function] 73 | static PyObject* Py_Alpha() { return Py_BuildValue("d", TOSCARS::Alpha()); } | ^~~~~~~~ include/OSCARSPY.h:72:20: warning: ‘PyObject* OSCARSPY::Py_Pi()’ defined but not used [-Wunused-function] 72 | static PyObject* Py_Pi() { return Py_BuildValue("d", TOSCARS::Pi()); } | ^~~~~ include/OSCARSPY.h:71:20: warning: ‘PyObject* OSCARSPY::Py_Version()’ defined but not used [-Wunused-function] 71 | static PyObject* Py_Version () { return Py_BuildValue("s", GetVersionString().c_str());} | ^~~~~~~~~~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/T3DScalarContainer.cc -o build/temp.linux-x86_64-3.9/src/T3DScalarContainer.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TDriftBox.cc -o build/temp.linux-x86_64-3.9/src/TDriftBox.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TDriftVolumeContainer.cc -o build/temp.linux-x86_64-3.9/src/TDriftVolumeContainer.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TField3D_Gaussian.cc -o build/temp.linux-x86_64-3.9/src/TField3D_Gaussian.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TField3D_Grid.cc -o build/temp.linux-x86_64-3.9/src/TField3D_Grid.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TField3D_Halbach.cc -o build/temp.linux-x86_64-3.9/src/TField3D_Halbach.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TField3D_IdealEPU.cc -o build/temp.linux-x86_64-3.9/src/TField3D_IdealEPU.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TField3D_IdealUndulator.cc -o build/temp.linux-x86_64-3.9/src/TField3D_IdealUndulator.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TField3D_Quadrupole.cc -o build/temp.linux-x86_64-3.9/src/TField3D_Quadrupole.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TField3D_UniformBox.cc -o build/temp.linux-x86_64-3.9/src/TField3D_UniformBox.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TFieldContainer.cc -o build/temp.linux-x86_64-3.9/src/TFieldContainer.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TFieldPythonFunction.cc -o build/temp.linux-x86_64-3.9/src/TFieldPythonFunction.o -std=c++11 -O3 -fPIC -pthread In file included from /usr/include/python3.9/Python.h:141, from include/TFieldPythonFunction.h:10, from src/TFieldPythonFunction.cc:1: src/TFieldPythonFunction.cc: In member function ‘virtual TVector3D TFieldPythonFunction::GetF(const TVector3D&, double) const’: /usr/include/python3.9/ceval.h:24:66: warning: ‘PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations] 24 | PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL) | ^ src/TFieldPythonFunction.cc:77:27: note: in expansion of macro ‘PyEval_CallObject’ 77 | PyObject* OutputTuple = PyEval_CallObject(fPythonFunction, InputTuple); | ^~~~~~~~~~~~~~~~~ /usr/include/python3.9/ceval.h:17:43: note: declared here 17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/TFieldPythonFunction.cc:3: include/OSCARSPY.h: At global scope: include/OSCARSPY.h:104:20: warning: ‘PyObject* OSCARSPY::Py_CERR(PyObject*, PyObject*, PyObject*)’ defined but not used [-Wunused-function] 104 | static PyObject* Py_CERR (PyObject* self, PyObject* args, PyObject *keywds) | ^~~~~~~ include/OSCARSPY.h:91:20: warning: ‘PyObject* OSCARSPY::Py_COUT(PyObject*, PyObject*, PyObject*)’ defined but not used [-Wunused-function] 91 | static PyObject* Py_COUT (PyObject* self, PyObject* args, PyObject *keywds) | ^~~~~~~ include/OSCARSPY.h:85:20: warning: ‘PyObject* OSCARSPY::Py_SetSeed(PyObject*, PyObject*)’ defined but not used [-Wunused-function] 85 | static PyObject* Py_SetSeed (PyObject* self, PyObject* arg) { | ^~~~~~~~~~ include/OSCARSPY.h:84:20: warning: ‘PyObject* OSCARSPY::Py_RandomNormal()’ defined but not used [-Wunused-function] 84 | static PyObject* Py_RandomNormal () { return Py_BuildValue("d", gRandomA->Normal()); } | ^~~~~~~~~~~~~~~ include/OSCARSPY.h:83:20: warning: ‘PyObject* OSCARSPY::Py_Random()’ defined but not used [-Wunused-function] 83 | static PyObject* Py_Random () { return Py_BuildValue("d", gRandomA->Uniform()); } | ^~~~~~~~~ include/OSCARSPY.h:81:20: warning: ‘PyObject* OSCARSPY::Py_Mu0()’ defined but not used [-Wunused-function] 81 | static PyObject* Py_Mu0() { return Py_BuildValue("d", TOSCARS::Mu0()); } | ^~~~~~ include/OSCARSPY.h:80:20: warning: ‘PyObject* OSCARSPY::Py_Epsilon0()’ defined but not used [-Wunused-function] 80 | static PyObject* Py_Epsilon0() { return Py_BuildValue("d", TOSCARS::Epsilon0()); } | ^~~~~~~~~~~ include/OSCARSPY.h:79:20: warning: ‘PyObject* OSCARSPY::Py_Me()’ defined but not used [-Wunused-function] 79 | static PyObject* Py_Me() { return Py_BuildValue("d", TOSCARS::Me()); } | ^~~~~ include/OSCARSPY.h:78:20: warning: ‘PyObject* OSCARSPY::Py_Qe()’ defined but not used [-Wunused-function] 78 | static PyObject* Py_Qe() { return Py_BuildValue("d", TOSCARS::Qe()); } | ^~~~~ include/OSCARSPY.h:77:20: warning: ‘PyObject* OSCARSPY::Py_Hbar()’ defined but not used [-Wunused-function] 77 | static PyObject* Py_Hbar() { return Py_BuildValue("d", TOSCARS::Hbar()); } | ^~~~~~~ include/OSCARSPY.h:76:20: warning: ‘PyObject* OSCARSPY::Py_H()’ defined but not used [-Wunused-function] 76 | static PyObject* Py_H() { return Py_BuildValue("d", TOSCARS::H()); } | ^~~~ include/OSCARSPY.h:75:20: warning: ‘PyObject* OSCARSPY::Py_C()’ defined but not used [-Wunused-function] 75 | static PyObject* Py_C() { return Py_BuildValue("d", TOSCARS::C()); } | ^~~~ include/OSCARSPY.h:74:20: warning: ‘PyObject* OSCARSPY::Py_E()’ defined but not used [-Wunused-function] 74 | static PyObject* Py_E() { return Py_BuildValue("d", TOSCARS::E()); } | ^~~~ include/OSCARSPY.h:73:20: warning: ‘PyObject* OSCARSPY::Py_Alpha()’ defined but not used [-Wunused-function] 73 | static PyObject* Py_Alpha() { return Py_BuildValue("d", TOSCARS::Alpha()); } | ^~~~~~~~ include/OSCARSPY.h:72:20: warning: ‘PyObject* OSCARSPY::Py_Pi()’ defined but not used [-Wunused-function] 72 | static PyObject* Py_Pi() { return Py_BuildValue("d", TOSCARS::Pi()); } | ^~~~~ include/OSCARSPY.h:71:20: warning: ‘PyObject* OSCARSPY::Py_Version()’ defined but not used [-Wunused-function] 71 | static PyObject* Py_Version () { return Py_BuildValue("s", GetVersionString().c_str());} | ^~~~~~~~~~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TOMATH.cc -o build/temp.linux-x86_64-3.9/src/TOMATH.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TParticleA.cc -o build/temp.linux-x86_64-3.9/src/TParticleA.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TParticleBeam.cc -o build/temp.linux-x86_64-3.9/src/TParticleBeam.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TParticleBeamContainer.cc -o build/temp.linux-x86_64-3.9/src/TParticleBeamContainer.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TParticleTrajectoryInterpolated.cc -o build/temp.linux-x86_64-3.9/src/TParticleTrajectoryInterpolated.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TParticleTrajectoryInterpolatedPoints.cc -o build/temp.linux-x86_64-3.9/src/TParticleTrajectoryInterpolatedPoints.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TParticleTrajectoryPoint.cc -o build/temp.linux-x86_64-3.9/src/TParticleTrajectoryPoint.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TParticleTrajectoryPoints.cc -o build/temp.linux-x86_64-3.9/src/TParticleTrajectoryPoints.o -std=c++11 -O3 -fPIC -pthread src/TParticleTrajectoryPoints.cc: In member function ‘void TParticleTrajectoryPoints::ReadFromFileBinary(const string&, const string&)’: src/TParticleTrajectoryPoints.cc:716:16: warning: unused variable ‘NColumns’ [-Wunused-variable] 716 | size_t const NColumns = FormatVector.size(); | ^~~~~~~~ In file included from src/TParticleTrajectoryPoints.cc:13: include/TOMATH.h: In instantiation of ‘T TOMATH::TSpline1D3::GetDerivative(int) const [with T = TVector3D]’: src/TParticleTrajectoryPoints.cc:833:36: required from here include/TOMATH.h:135:13: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 135 | if (i >= fYPP.size()-1) { | ~~^~~~~~~~~~~~~~~~ src/TParticleTrajectoryPoints.cc: In member function ‘void TParticleTrajectoryPoints::ReadFromFileFormat(const string&, const string&)’: src/TParticleTrajectoryPoints.cc:642:19: warning: ‘T’ may be used uninitialized in this function [-Wmaybe-uninitialized] 642 | this->AddPoint(X, B, BP, T); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~ src/TParticleTrajectoryPoints.cc: In member function ‘void TParticleTrajectoryPoints::ReadFromFileBinary(const string&, const string&)’: src/TParticleTrajectoryPoints.cc:795:21: warning: ‘T’ may be used uninitialized in this function [-Wmaybe-uninitialized] 795 | this->AddPoint(X, B, BP, T); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TRandomA.cc -o build/temp.linux-x86_64-3.9/src/TRandomA.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TSTLContainer.cc -o build/temp.linux-x86_64-3.9/src/TSTLContainer.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TSpectrumContainer.cc -o build/temp.linux-x86_64-3.9/src/TSpectrumContainer.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TSurfaceOfPoints.cc -o build/temp.linux-x86_64-3.9/src/TSurfaceOfPoints.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TSurfacePoint.cc -o build/temp.linux-x86_64-3.9/src/TSurfacePoint.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TSurfacePoints_3D.cc -o build/temp.linux-x86_64-3.9/src/TSurfacePoints_3D.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TSurfacePoints_Rectangle.cc -o build/temp.linux-x86_64-3.9/src/TSurfacePoints_Rectangle.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TTriangle3D.cc -o build/temp.linux-x86_64-3.9/src/TTriangle3D.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TTriangle3DContainer.cc -o build/temp.linux-x86_64-3.9/src/TTriangle3DContainer.o -std=c++11 -O3 -fPIC -pthread src/TTriangle3DContainer.cc: In member function ‘void TTriangle3DContainer::ReadSTLFile(const string&, double, const TVector3D&, const TVector3D&, const string&)’: src/TTriangle3DContainer.cc:137:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 137 | for (int i = 0; i < NTriangles; ++i) { | ~~^~~~~~~~~~~~ src/TTriangle3DContainer.cc: In member function ‘void TTriangle3DContainer::WriteSTLFile(const string&)’: src/TTriangle3DContainer.cc:253:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 253 | for (int i = 0; i < NTriangles; ++i) { | ~~^~~~~~~~~~~~ gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TVector2D.cc -o build/temp.linux-x86_64-3.9/src/TVector2D.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TVector3D.cc -o build/temp.linux-x86_64-3.9/src/TVector3D.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TVector3DC.cc -o build/temp.linux-x86_64-3.9/src/TVector3DC.o -std=c++11 -O3 -fPIC -pthread gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -Iinclude -I/usr/include/python3.9 -c src/TVector4D.cc -o build/temp.linux-x86_64-3.9/src/TVector4D.o -std=c++11 -O3 -fPIC -pthread g++ -shared -g -g -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-x86_64-3.9/src/OSCARSPY.o build/temp.linux-x86_64-3.9/src/OSCARSTH.o build/temp.linux-x86_64-3.9/src/OSCARSTH_Python.o build/temp.linux-x86_64-3.9/src/T3DScalarContainer.o build/temp.linux-x86_64-3.9/src/TDriftBox.o build/temp.linux-x86_64-3.9/src/TDriftVolumeContainer.o build/temp.linux-x86_64-3.9/src/TField3D_Gaussian.o build/temp.linux-x86_64-3.9/src/TField3D_Grid.o build/temp.linux-x86_64-3.9/src/TField3D_Halbach.o build/temp.linux-x86_64-3.9/src/TField3D_IdealEPU.o build/temp.linux-x86_64-3.9/src/TField3D_IdealUndulator.o build/temp.linux-x86_64-3.9/src/TField3D_Quadrupole.o build/temp.linux-x86_64-3.9/src/TField3D_UniformBox.o build/temp.linux-x86_64-3.9/src/TFieldContainer.o build/temp.linux-x86_64-3.9/src/TFieldPythonFunction.o build/temp.linux-x86_64-3.9/src/TOMATH.o build/temp.linux-x86_64-3.9/src/TParticleA.o build/temp.linux-x86_64-3.9/src/TParticleBeam.o build/temp.linux-x86_64-3.9/src/TParticleBeamContainer.o build/temp.linux-x86_64-3.9/src/TParticleTrajectoryInterpolated.o build/temp.linux-x86_64-3.9/src/TParticleTrajectoryInterpolatedPoints.o build/temp.linux-x86_64-3.9/src/TParticleTrajectoryPoint.o build/temp.linux-x86_64-3.9/src/TParticleTrajectoryPoints.o build/temp.linux-x86_64-3.9/src/TRandomA.o build/temp.linux-x86_64-3.9/src/TSTLContainer.o build/temp.linux-x86_64-3.9/src/TSpectrumContainer.o build/temp.linux-x86_64-3.9/src/TSurfaceOfPoints.o build/temp.linux-x86_64-3.9/src/TSurfacePoint.o build/temp.linux-x86_64-3.9/src/TSurfacePoints_3D.o build/temp.linux-x86_64-3.9/src/TSurfacePoints_Rectangle.o build/temp.linux-x86_64-3.9/src/TTriangle3D.o build/temp.linux-x86_64-3.9/src/TTriangle3DContainer.o build/temp.linux-x86_64-3.9/src/TVector2D.o build/temp.linux-x86_64-3.9/src/TVector3D.o build/temp.linux-x86_64-3.9/src/TVector3DC.o build/temp.linux-x86_64-3.9/src/TVector4D.o -L/usr/lib64 -o build/lib.linux-x86_64-3.9/oscars/th.cpython-39-x86_64-linux-gnu.so running build_scripts creating build/scripts-3.9 copying and adjusting bin/plot_spectra.py -> build/scripts-3.9 copying and adjusting bin/plot_flux.py -> build/scripts-3.9 changing mode of build/scripts-3.9/plot_spectra.py from 644 to 755 changing mode of build/scripts-3.9/plot_flux.py from 644 to 755 + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.T2rU1M + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64 ++ dirname /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64 + cd oscars-2.2.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64 running install /usr/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr creating /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9 creating /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages creating /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars copying build/lib.linux-x86_64-3.9/oscars/parametric_surfaces.py -> /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars copying build/lib.linux-x86_64-3.9/oscars/fit.py -> /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars copying build/lib.linux-x86_64-3.9/oscars/lut.py -> /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars copying build/lib.linux-x86_64-3.9/oscars/bl.py -> /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars copying build/lib.linux-x86_64-3.9/oscars/th.cpython-39-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars copying build/lib.linux-x86_64-3.9/oscars/plots3d_mpl.py -> /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars copying build/lib.linux-x86_64-3.9/oscars/__init__.py -> /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars copying build/lib.linux-x86_64-3.9/oscars/sr.cpython-39-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars copying build/lib.linux-x86_64-3.9/oscars/util.py -> /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars copying build/lib.linux-x86_64-3.9/oscars/plots_mpl.py -> /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars copying build/lib.linux-x86_64-3.9/oscars/brightness.py -> /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars copying build/lib.linux-x86_64-3.9/oscars/me.py -> /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars copying build/lib.linux-x86_64-3.9/oscars/twiss.py -> /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars copying build/lib.linux-x86_64-3.9/oscars/srwl_uti_brightness.py -> /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars byte-compiling /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars/parametric_surfaces.py to parametric_surfaces.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars/fit.py to fit.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars/lut.py to lut.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars/bl.py to bl.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars/plots3d_mpl.py to plots3d_mpl.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars/util.py to util.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars/plots_mpl.py to plots_mpl.cpython-39.pyc /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:32: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:39: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:46: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:257: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:699: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:701: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:703: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:782: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:784: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:786: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:901: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:961: SyntaxWarning: "is not" with a literal. Did you mean "!="? byte-compiling /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars/brightness.py to brightness.cpython-39.pyc /usr/lib64/python3.9/site-packages/oscars/brightness.py:224: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:251: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:769: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:772: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:772: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:904: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:907: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:907: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1018: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1022: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1026: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1030: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1034: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1130: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1133: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1133: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1206: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1209: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1209: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1290: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1293: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1293: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1412: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1448: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1451: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1451: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1470: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1497: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1500: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1500: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1653: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1656: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1656: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1700: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1703: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1703: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1873: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1876: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1876: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1920: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1923: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1923: SyntaxWarning: "is not" with a literal. Did you mean "!="? byte-compiling /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars/me.py to me.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars/twiss.py to twiss.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars/srwl_uti_brightness.py to srwl_uti_brightness.cpython-39.pyc writing byte-compilation script '/tmp/tmplw_12upc.py' /usr/bin/python3 /tmp/tmplw_12upc.py /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:32: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:39: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:46: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:257: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:699: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:701: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:703: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:782: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:784: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:786: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:901: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:961: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:224: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:251: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:769: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:772: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:772: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:904: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:907: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:907: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1018: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1022: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1026: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1030: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1034: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1130: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1133: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1133: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1206: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1209: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1209: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1290: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1293: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1293: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1412: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1448: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1451: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1451: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1470: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1497: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1500: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1500: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1653: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1656: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1656: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1700: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1703: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1703: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1873: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1876: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1876: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1920: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1923: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1923: SyntaxWarning: "is not" with a literal. Did you mean "!="? removing /tmp/tmplw_12upc.py running install_data creating /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/oscars creating /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/oscars/data creating /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/oscars/data/srw creating /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/oscars/data/srw/brilliance copying oscars/data/srw/brilliance/gwSrwBrilUndHarmUnivDiv.txt -> /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/oscars/data/srw/brilliance copying oscars/data/srw/brilliance/gwSrwBrilUndHarmUnivFlux.txt -> /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/oscars/data/srw/brilliance copying oscars/data/srw/brilliance/gwSrwBrilUndHarmUnivSize.txt -> /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/oscars/data/srw/brilliance running install_egg_info running egg_info writing oscars.egg-info/PKG-INFO writing dependency_links to oscars.egg-info/dependency_links.txt writing top-level names to oscars.egg-info/top_level.txt reading manifest file 'oscars.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'oscars.egg-info/SOURCES.txt' Copying oscars.egg-info to /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars-2.2.0-py3.9.egg-info running install_scripts creating /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/bin copying build/scripts-3.9/plot_flux.py -> /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/bin copying build/scripts-3.9/plot_spectra.py -> /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/bin changing mode of /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/bin/plot_flux.py to 755 changing mode of /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/bin/plot_spectra.py to 755 + install -d -m755 /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64//usr/share/doc/python-oscars + '[' -d doc ']' + cp -arf doc /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64//usr/share/doc/python-oscars + '[' -d docs ']' + '[' -d example ']' + '[' -d examples ']' + pushd /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64 ~/build/BUILDROOT/python-oscars-2.2.0-1.x86_64 ~/build/BUILD/oscars-2.2.0 + '[' -d usr/lib ']' + '[' -d usr/lib64 ']' + find usr/lib64 -type f -printf '/%h/%f\n' + '[' -d usr/bin ']' + find usr/bin -type f -printf '/%h/%f\n' + '[' -d usr/sbin ']' + touch doclist.lst + '[' -d usr/share/man ']' + popd ~/build/BUILD/oscars-2.2.0 + mv /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/filelist.lst . + mv /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/doclist.lst . + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 2.2.0-1 --unique-debug-suffix -2.2.0-1.x86_64 --unique-debug-src-base python-oscars-2.2.0-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/oscars-2.2.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars/th.cpython-39-x86_64-linux-gnu.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars/sr.cpython-39-x86_64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars/th.cpython-39-x86_64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9/site-packages/oscars/sr.cpython-39-x86_64-linux-gnu.so 2097 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib64/python3.9 using /usr/bin/python3.9 /usr/lib64/python3.9/site-packages/oscars/brightness.py:224: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:251: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:769: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:772: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:772: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:904: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:907: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:907: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1018: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1022: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1026: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1030: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1034: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1130: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1133: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1133: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1206: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1209: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1209: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1290: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1293: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1293: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1412: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1448: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1451: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1451: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1470: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1497: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1500: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1500: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1653: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1656: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1656: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1700: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1703: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1703: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1873: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1876: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1876: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1920: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1923: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1923: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:32: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:39: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:46: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:257: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:699: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:701: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:703: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:782: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:784: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:786: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:901: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:961: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:224: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:251: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:769: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:772: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:772: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:904: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:907: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:907: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1018: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1022: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1026: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1030: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1034: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1130: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1133: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1133: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1206: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1209: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1209: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1290: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1293: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1293: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1412: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1448: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1451: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1451: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1470: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1497: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1500: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1500: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1653: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1656: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1656: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1700: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1703: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1703: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1873: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1876: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1876: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1920: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1923: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/brightness.py:1923: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:32: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:39: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:46: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:257: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:699: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:701: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:703: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:782: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:784: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:786: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:901: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.9/site-packages/oscars/plots_mpl.py:961: SyntaxWarning: "is not" with a literal. Did you mean "!="? Bytecompiling .py files below /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib/debug/usr/lib64/python3.9 using /usr/bin/python3.9 + /usr/lib/rpm/brp-python-hardlink Processing files: python3-oscars-2.2.0-1.noarch error: Directory not found: /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib/python3.9/site-packages/* RPM build errors: Directory not found: /builddir/build/BUILDROOT/python-oscars-2.2.0-1.x86_64/usr/lib/python3.9/site-packages/* Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-oscars.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-oscars.spec