[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
Gilles Filippini
pini at debian.org
Mon May 14 15:19:10 BST 2018
Control: forwarded -1 https://github.com/psi4/psi4/issues/852
On Wed, 2 May 2018 22:04:49 +0200 Lucas Nussbaum <lucas at debian.org> wrote:
> 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
This is upstream bug #852:
https://github.com/psi4/psi4/issues/852
Regards,
_g.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 508 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debichem-devel/attachments/20180514/9ec0f815/attachment.sig>
More information about the Debichem-devel
mailing list