Bug#925840: thepeg: ftbfs with GCC-9
Matthias Klose
doko at debian.org
Wed Mar 27 19:48:17 GMT 2019
Package: src:thepeg
Version: 1.8.0-4
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-9
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-9/g++-9, but succeeds to build with gcc-8/g++-8. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc9-20190321/thepeg_1.8.0-4_unstable_gcc9.log
The last lines of the build log are at the end of this report.
To build with GCC 9, either set CC=gcc-9 CXX=g++-9 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-9/porting_to.html
GCC 9 also passes the linker option --as-needed by default; typical
build issues are passing libraries before object files to the linker,
or underlinking of convenience libraries built from the same source.
[...]
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../Config -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -ansi -pedantic -Wall -W -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o SpinorWaveFunction.lo SpinorWaveFunction.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../Config -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -ansi -pedantic -Wall -W -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c SpinorBarWaveFunction.cc -fPIC -DPIC -o .libs/SpinorBarWaveFunction.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../Config -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -ansi -pedantic -Wall -W -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c RSSpinorBarWaveFunction.cc -fPIC -DPIC -o .libs/RSSpinorBarWaveFunction.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../Config -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -ansi -pedantic -Wall -W -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c RSSpinorWaveFunction.cc -fPIC -DPIC -o .libs/RSSpinorWaveFunction.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../Config -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -ansi -pedantic -Wall -W -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c SpinorWaveFunction.cc -fPIC -DPIC -o .libs/SpinorWaveFunction.o
In file included from ../../include/ThePEG/Config/Complex.h:16,
from ../../include/ThePEG/Config/ThePEG.h:31,
from ../../include/ThePEG/Utilities/Direction.h:13,
from ../../include/ThePEG/Vectors/LorentzVector.h:20,
from ../../include/ThePEG/Vectors/Lorentz5Vector.h:14,
from WaveFunctionBase.h:14,
from SpinorBarWaveFunction.h:14,
from SpinorBarWaveFunction.cc:16:
/usr/include/c++/9/complex: In instantiation of 'std::complex<double>& std::complex<double>::operator=(const std::complex<_Tp>&) [with _Tp = ThePEG::Qty<0, 0, 0, 1, 4, 1>]':
SpinorBarWaveFunction.h:104:35: required from here
/usr/include/c++/9/complex:1319:19: error: 'const struct std::complex<ThePEG::Qty<0, 0, 0, 1, 4, 1> >' has no member named '__rep'
1319 | _M_value = __z.__rep();
| ~~~~^~~~~
In file included from ../../include/ThePEG/Config/Complex.h:16,
from ../../include/ThePEG/Config/ThePEG.h:31,
from ../../include/ThePEG/Utilities/Direction.h:13,
from ../../include/ThePEG/Vectors/LorentzVector.h:20,
from ../../include/ThePEG/Vectors/Lorentz5Vector.h:14,
from WaveFunctionBase.h:14,
from RSSpinorWaveFunction.h:13,
from RSSpinorWaveFunction.cc:14:
/usr/include/c++/9/complex: In instantiation of 'std::complex<double>& std::complex<double>::operator=(const std::complex<_Tp>&) [with _Tp = ThePEG::Qty<0, 0, 0, 1, 4, 1>]':
RSSpinorWaveFunction.h:131:34: required from here
/usr/include/c++/9/complex:1319:19: error: 'const struct std::complex<ThePEG::Qty<0, 0, 0, 1, 4, 1> >' has no member named '__rep'
1319 | _M_value = __z.__rep();
| ~~~~^~~~~
In file included from ../../include/ThePEG/Config/Complex.h:16,
from ../../include/ThePEG/Config/ThePEG.h:31,
from ../../include/ThePEG/Utilities/Direction.h:13,
from ../../include/ThePEG/Vectors/LorentzVector.h:20,
from ../../include/ThePEG/Vectors/Lorentz5Vector.h:14,
from WaveFunctionBase.h:14,
from RSSpinorBarWaveFunction.h:14,
from RSSpinorBarWaveFunction.cc:14:
/usr/include/c++/9/complex: In instantiation of 'std::complex<double>& std::complex<double>::operator=(const std::complex<_Tp>&) [with _Tp = ThePEG::Qty<0, 0, 0, 1, 4, 1>]':
RSSpinorBarWaveFunction.h:131:34: required from here
/usr/include/c++/9/complex:1319:19: error: 'const struct std::complex<ThePEG::Qty<0, 0, 0, 1, 4, 1> >' has no member named '__rep'
1319 | _M_value = __z.__rep();
| ~~~~^~~~~
In file included from ../../include/ThePEG/Config/Complex.h:16,
from ../../include/ThePEG/Config/ThePEG.h:31,
from ../../include/ThePEG/Utilities/Direction.h:13,
from ../../include/ThePEG/Vectors/LorentzVector.h:20,
from ../../include/ThePEG/Vectors/Lorentz5Vector.h:14,
from WaveFunctionBase.h:14,
from SpinorWaveFunction.h:14,
from SpinorWaveFunction.cc:16:
/usr/include/c++/9/complex: In instantiation of 'std::complex<double>& std::complex<double>::operator=(const std::complex<_Tp>&) [with _Tp = ThePEG::Qty<0, 0, 0, 1, 4, 1>]':
SpinorWaveFunction.h:105:35: required from here
/usr/include/c++/9/complex:1319:19: error: 'const struct std::complex<ThePEG::Qty<0, 0, 0, 1, 4, 1> >' has no member named '__rep'
1319 | _M_value = __z.__rep();
| ~~~~^~~~~
make[3]: *** [Makefile:452: RSSpinorWaveFunction.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [Makefile:452: SpinorBarWaveFunction.lo] Error 1
make[3]: *** [Makefile:452: RSSpinorBarWaveFunction.lo] Error 1
make[3]: *** [Makefile:452: SpinorWaveFunction.lo] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/Helicity/WaveFunction'
make[2]: *** [Makefile:539: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/Helicity'
make[1]: *** [Makefile:426: all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j4 returned exit code 2
make: *** [debian/rules:18: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
More information about the debian-science-maintainers
mailing list