[Debichem-devel] Bug#897492: psi4: FTBFS: pybind11.h:1010:105: error: cannot convert 'void (psi::SuperFunctional::*)(int) const' to 'void (psi::Functional::*)(int) const' in return
Lucas Nussbaum
lucas at debian.org
Wed May 2 21:04:49 BST 2018
Source: psi4
Version: 1:1.1-5
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20180502 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/builddir/psi4-core-prefix/src/psi4-core-build/src && /usr/bin/c++ -Dcore_EXPORTS -I/<<PKGBUILDDIR>>/psi4/include -I/<<PKGBUILDDIR>>/psi4/src -isystem /usr/include/python3.6m -fopenmp -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -std=c++11 -std=c++11 -o CMakeFiles/core.dir/export_functional.cc.o -c /<<PKGBUILDDIR>>/psi4/src/export_functional.cc
> In file included from /<<PKGBUILDDIR>>/psi4/include/psi4/pybind11.h:10:0,
> from /<<PKGBUILDDIR>>/psi4/src/export_functional.cc:29:
> /usr/include/pybind11/pybind11.h: In instantiation of 'Return (Derived::* pybind11::method_adaptor(Return (Class::*)(Args ...) const))(Args ...) const [with Derived = psi::Functional; Return = void; Class = psi::SuperFunctional; Args = {int}]':
> /usr/include/pybind11/pybind11.h:1085:45: required from 'pybind11::class_<type_, options>& pybind11::class_<type_, options>::def(const char*, Func&&, const Extra& ...) [with Func = void (psi::SuperFunctional::*)(int) const; Extra = {char [10]}; type_ = psi::Functional; options = {std::shared_ptr<psi::Functional>}]'
> /<<PKGBUILDDIR>>/psi4/src/export_functional.cc:112:74: required from here
> /usr/include/pybind11/pybind11.h:1010:105: error: cannot convert 'void (psi::SuperFunctional::*)(int) const' to 'void (psi::Functional::*)(int) const' in return
> auto method_adaptor(Return (Class::*pmf)(Args...) const) -> Return (Derived::*)(Args...) const { return pmf; }
> ^~~
> make[6]: *** [src/CMakeFiles/core.dir/build.make:131: src/CMakeFiles/core.dir/export_functional.cc.o] Error 1
The full build log is available from:
http://aws-logs.debian.net/2018/05/02/psi4_1.1-5_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Debichem-devel
mailing list