Bug#977222: dolfin: FTBFS: error: ‘min_element’ is not a member of =?UTF-8?Q?=E2=80=98std=E2=80=99; ?= did you mean ‘tuple_element’?

Sebastian Ramacher sramacher at debian.org
Sat Dec 12 19:03:58 GMT 2020


Source: dolfin
Version: 2019.2.0~git20200629.946dbd3+lfs-3
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher at debian.org

dolfin failed to build with:
| cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/dolfin" && /usr/bin/c++ -DDOLFIN_VERSION=\"2019.2.0.dev0\" -DHAS_CHOLMOD -DHAS_HDF5 -DHAS_MPI -DHAS_PETSC -DHAS_SCOTCH -DHAS_SLEPC -DHAS_UMFPACK -DHAS_ZLIB -DNDEBUG -Ddolfin_EXPORTS -I"/<<PKGBUILDDIR>>" -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu" -isystem /usr/lib/python3/dist-packages/ffc/backends/ufc -isystem /usr/include/eigen3 -isystem /usr/include/hdf5/openmpi -isystem /usr/include/suitesparse -isystem /usr/include/scotch -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/petscdir/petsc3.14/x86_64-linux-gnu-real/include -isystem /usr/lib/slepcdir/slepc3.14/x86_64-linux-gnu-real/include -fpermissive -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -g -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/dolfin.dir/geometry/MeshPointIntersection.cpp.o -c "/<<PKGBUILDDIR>>/dolfin/geometry/MeshPointIntersection.cpp"
| /<<PKGBUILDDIR>>/dolfin/geometry/IntersectionConstruction.cpp: In static member function ‘static std::vector<dolfin::Point> dolfin::IntersectionConstruction::intersection_segment_segment_2d(const dolfin::Point&, const dolfin::Point&, const dolfin::Point&, const dolfin::Point&)’:
| /<<PKGBUILDDIR>>/dolfin/geometry/IntersectionConstruction.cpp:442:24: error: ‘min_element’ is not a member of ‘std’; did you mean ‘tuple_element’?
|   442 |   const auto it = std::min_element(oo.begin(), oo.end());
|       |                        ^~~~~~~~~~~
|       |                        tuple_element
| make[4]: *** [dolfin/CMakeFiles/dolfin.dir/build.make:1203: dolfin/CMakeFiles/dolfin.dir/geometry/IntersectionConstruction.cpp.o] Error 1

https://buildd.debian.org/status/fetch.php?pkg=dolfin&arch=amd64&ver=2019.2.0%7Egit20200629.946dbd3%2Blfs-3%2Bb2&stamp=1607782416&raw=0

Cheers
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20201212/ef9a3a87/attachment.sig>


More information about the debian-science-maintainers mailing list