[Debian-med-packaging] Bug#1059139: shasta: FTBFS: error: ‘reverse’ is not a member of ‘std’

Sebastian Ramacher sramacher at debian.org
Wed Dec 20 11:21:06 GMT 2023


Source: shasta
Version: 0.11.1-3
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher at debian.org

https://buildd.debian.org/status/fetch.php?pkg=shasta&arch=amd64&ver=0.11.1-3%2Bb1&stamp=1702936288&raw=0

[  3%] Building CXX object dynamicLibrary/CMakeFiles/shastaDynamicLibrary.dir/__/src/AlignmentGraph.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/dynamicLibrary && /usr/bin/c++ -DBOOST_ALLOW_DEPRECATED_HEADERS -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DBUILD_ID=0.11.1 -DNDEBUG -DSHASTA_PYTHON_API -I/<<PKGBUILDDIR>>/dynamicLibrary/../src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC   -std=c++20 -Wall -Wconversion -Wno-unused-result -Wno-trigraphs -g0 -O3 -mcx16 -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/pybind11/include  -MD -MT dynamicLibrary/CMakeFiles/shastaDynamicLibrary.dir/__/src/AssembledSegment.cpp.o -MF CMakeFiles/shastaDynamicLibrary.dir/__/src/AssembledSegment.cpp.o.d -o CMakeFiles/shastaDynamicLibrary.dir/__/src/AssembledSegment.cpp.o -c /<<PKGBUILDDIR>>/src/AssembledSegment.cpp
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/dynamicLibrary && /usr/bin/c++ -DBOOST_ALLOW_DEPRECATED_HEADERS -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DBUILD_ID=0.11.1 -DNDEBUG -DSHASTA_PYTHON_API -I/<<PKGBUILDDIR>>/dynamicLibrary/../src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC   -std=c++20 -Wall -Wconversion -Wno-unused-result -Wno-trigraphs -g0 -O3 -mcx16 -I/usr/include/python3.11 -I/usr/lib/python3/dist-packages/pybind11/include  -MD -MT dynamicLibrary/CMakeFiles/shastaDynamicLibrary.dir/__/src/AlignmentGraph.cpp.o -MF CMakeFiles/shastaDynamicLibrary.dir/__/src/AlignmentGraph.cpp.o.d -o CMakeFiles/shastaDynamicLibrary.dir/__/src/AlignmentGraph.cpp.o -c /<<PKGBUILDDIR>>/src/AlignmentGraph.cpp
In file included from /<<PKGBUILDDIR>>/src/AlignmentGraph.hpp:23,
                 from /<<PKGBUILDDIR>>/src/AlignmentGraph.cpp:3:
/<<PKGBUILDDIR>>/src/CompactUndirectedGraph.hpp: In member function ‘void shasta::CompactUndirectedGraph<Vertex, Edge>::doneAddingEdges()’:
/<<PKGBUILDDIR>>/src/CompactUndirectedGraph.hpp:573:14: error: ‘reverse’ is not a member of ‘std’
  573 |         std::reverse(
      |              ^~~~~~~
[  3%] Building CXX object staticLibrary/CMakeFiles/shastaStaticLibrary.dir/__/src/AlignmentGraph.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/staticLibrary && /usr/bin/c++ -DBOOST_ALLOW_DEPRECATED_HEADERS -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DBUILD_ID=0.11.1 -DNDEBUG -I/<<PKGBUILDDIR>>/staticLibrary/../src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2   -std=c++20 -Wall -Wconversion -Wno-unused-result -Wno-trigraphs -g0 -O3 -mcx16 -MD -MT staticLibrary/CMakeFiles/shastaStaticLibrary.dir/__/src/AlignmentGraph.cpp.o -MF CMakeFiles/shastaStaticLibrary.dir/__/src/AlignmentGraph.cpp.o.d -o CMakeFiles/shastaStaticLibrary.dir/__/src/AlignmentGraph.cpp.o -c /<<PKGBUILDDIR>>/src/AlignmentGraph.cpp
[  4%] Building CXX object staticLibrary/CMakeFiles/shastaStaticLibrary.dir/__/src/AssembledSegment.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/staticLibrary && /usr/bin/c++ -DBOOST_ALLOW_DEPRECATED_HEADERS -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DBUILD_ID=0.11.1 -DNDEBUG -I/<<PKGBUILDDIR>>/staticLibrary/../src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2   -std=c++20 -Wall -Wconversion -Wno-unused-result -Wno-trigraphs -g0 -O3 -mcx16 -MD -MT staticLibrary/CMakeFiles/shastaStaticLibrary.dir/__/src/AssembledSegment.cpp.o -MF CMakeFiles/shastaStaticLibrary.dir/__/src/AssembledSegment.cpp.o.d -o CMakeFiles/shastaStaticLibrary.dir/__/src/AssembledSegment.cpp.o -c /<<PKGBUILDDIR>>/src/AssembledSegment.cpp
In file included from /<<PKGBUILDDIR>>/src/AlignmentGraph.hpp:25:
/<<PKGBUILDDIR>>/src/shortestPath.hpp: In function ‘void shasta::findShortestPath(Graph&, typename Graph::vertex_descriptor, typename Graph::vertex_descriptor, std::vector<typename Graph::vertex_descriptor>&, FindShortestPathQueue<Graph>&)’:
/<<PKGBUILDDIR>>/src/shortestPath.hpp:131:18: error: ‘reverse’ is not a member of ‘std’
  131 |             std::reverse(path.begin(), path.end());
      |                  ^~~~~~~
make[4]: *** [dynamicLibrary/CMakeFiles/shastaDynamicLibrary.dir/build.make:107: dynamicLibrary/CMakeFiles/shastaDynamicLibrary.dir/__/src/AlignmentGraph.cpp.o] Error 1
make[4]: *** Waiting for unfinished jobs....
[  4%] Building CXX object staticLibrary/CMakeFiles/shastaStaticLibrary.dir/__/src/Assembler.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/staticLibrary && /usr/bin/c++ -DBOOST_ALLOW_DEPRECATED_HEADERS -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DBUILD_ID=0.11.1 -DNDEBUG -I/<<PKGBUILDDIR>>/staticLibrary/../src -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2   -std=c++20 -Wall -Wconversion -Wno-unused-result -Wno-trigraphs -g0 -O3 -mcx16 -MD -MT staticLibrary/CMakeFiles/shastaStaticLibrary.dir/__/src/Assembler.cpp.o -MF CMakeFiles/shastaStaticLibrary.dir/__/src/Assembler.cpp.o.d -o CMakeFiles/shastaStaticLibrary.dir/__/src/Assembler.cpp.o -c /<<PKGBUILDDIR>>/src/Assembler.cpp
In file included from /<<PKGBUILDDIR>>/src/AlignmentGraph.hpp:23,
                 from /<<PKGBUILDDIR>>/src/AlignmentGraph.cpp:3:
/<<PKGBUILDDIR>>/src/CompactUndirectedGraph.hpp: In member function ‘void shasta::CompactUndirectedGraph<Vertex, Edge>::doneAddingEdges()’:
/<<PKGBUILDDIR>>/src/CompactUndirectedGraph.hpp:573:14: error: ‘reverse’ is not a member of ‘std’
  573 |         std::reverse(
      |              ^~~~~~~
In file included from /<<PKGBUILDDIR>>/src/AlignmentGraph.hpp:25:
/<<PKGBUILDDIR>>/src/shortestPath.hpp: In function ‘void shasta::findShortestPath(Graph&, typename Graph::vertex_descriptor, typename Graph::vertex_descriptor, std::vector<typename Graph::vertex_descriptor>&, FindShortestPathQueue<Graph>&)’:
/<<PKGBUILDDIR>>/src/shortestPath.hpp:131:18: error: ‘reverse’ is not a member of ‘std’
  131 |             std::reverse(path.begin(), path.end());
      |                  ^~~~~~~
make[4]: *** [staticLibrary/CMakeFiles/shastaStaticLibrary.dir/build.make:107: staticLibrary/CMakeFiles/shastaStaticLibrary.dir/__/src/AlignmentGraph.cpp.o] Error 1

Cheers
-- 
Sebastian Ramacher



More information about the Debian-med-packaging mailing list