Bug#1077412: pcl: FTBFS: test_mesh_common_functions.h:74:47: error: ‘setw’ is not a member of ‘std’
Lucas Nussbaum
lucas at debian.org
Mon Jul 29 06:44:20 BST 2024
Source: pcl
Version: 1.14.0+dfsg-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240728 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/geometry && /usr/bin/c++ -DPCL_TEST_GEOMETRY_BINARY_DIR=\"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/geometry\" -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -I/<<PKGBUILDDIR>>/test/include -I/<<PKGBUILDDIR>>/global_tests/include -I/<<PKGBUILDDIR>>/geometry/include -I/<<PKGBUILDDIR>>/common/include -isystem /usr/include/ni -isystem /usr/include/openni2 -isystem /<<PKGBUILDDIR>>/recognition/include/pcl/recognition/3rdparty -isystem /usr/src/gtest -isystem /usr/include/eigen3 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g1 -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -std=c++14 -fopenmp -MD -MT test/geometry/CMakeFiles/test_mesh_data.dir/test_mesh_data.cpp.o -MF CMakeFiles/test_mesh_data.dir/test_mesh_data.cpp.o.d -o CMakeFiles/test_mesh_data.dir/test_mesh_data.cpp.o -c /<<PKGBUILDDIR>>/test/geometry/test_mesh_data.cpp
> In file included from /<<PKGBUILDDIR>>/test/geometry/test_mesh_data.cpp:43:
> /<<PKGBUILDDIR>>/test/geometry/test_mesh_common_functions.h: In function ‘bool hasFaces(const MeshT&, const std::vector<typename MeshT::VertexIndices>&, bool)’:
> /<<PKGBUILDDIR>>/test/geometry/test_mesh_common_functions.h:74:47: error: ‘setw’ is not a member of ‘std’
> 74 | if (verbose) std::cerr << "Face " << std::setw (2) << i << ": ";
> | ^~~~
> /<<PKGBUILDDIR>>/test/geometry/test_mesh_common_functions.h:1:1: note: ‘std::setw’ is defined in header ‘<iomanip>’; this is probably fixable by adding ‘#include <iomanip>’
> +++ |+#include <iomanip>
> 1 | /*
> /<<PKGBUILDDIR>>/test/geometry/test_mesh_common_functions.h:81:38: error: ‘setw’ is not a member of ‘std’
> 81 | if (verbose) std::cerr << std::setw (2) << circ.getTargetIndex () << " ";
> | ^~~~
> /<<PKGBUILDDIR>>/test/geometry/test_mesh_common_functions.h:81:38: note: ‘std::setw’ is defined in header ‘<iomanip>’; this is probably fixable by adding ‘#include <iomanip>’
> /<<PKGBUILDDIR>>/test/geometry/test_mesh_common_functions.h:100:38: error: ‘setw’ is not a member of ‘std’
> 100 | if (verbose) std::cerr << std::setw (2) << faces [i][j] << " ";
> | ^~~~
> /<<PKGBUILDDIR>>/test/geometry/test_mesh_common_functions.h:100:38: note: ‘std::setw’ is defined in header ‘<iomanip>’; this is probably fixable by adding ‘#include <iomanip>’
> /<<PKGBUILDDIR>>/test/geometry/test_mesh_common_functions.h: In function ‘bool hasFaces(const MeshT&, const std::vector<std::vector<int> >&, bool)’:
> /<<PKGBUILDDIR>>/test/geometry/test_mesh_common_functions.h:136:47: error: ‘setw’ is not a member of ‘std’
> 136 | if (verbose) std::cerr << "Face " << std::setw (2) << i << ": ";
> | ^~~~
> /<<PKGBUILDDIR>>/test/geometry/test_mesh_common_functions.h:136:47: note: ‘std::setw’ is defined in header ‘<iomanip>’; this is probably fixable by adding ‘#include <iomanip>’
> /<<PKGBUILDDIR>>/test/geometry/test_mesh_common_functions.h:143:38: error: ‘setw’ is not a member of ‘std’
> 143 | if (verbose) std::cerr << std::setw (2) << vdc [circ.getTargetIndex ().get ()] << " ";
> | ^~~~
> /<<PKGBUILDDIR>>/test/geometry/test_mesh_common_functions.h:143:38: note: ‘std::setw’ is defined in header ‘<iomanip>’; this is probably fixable by adding ‘#include <iomanip>’
> /<<PKGBUILDDIR>>/test/geometry/test_mesh_common_functions.h:162:38: error: ‘setw’ is not a member of ‘std’
> 162 | if (verbose) std::cerr << std::setw (2) << faces [i][j] << " ";
> | ^~~~
> /<<PKGBUILDDIR>>/test/geometry/test_mesh_common_functions.h:162:38: note: ‘std::setw’ is defined in header ‘<iomanip>’; this is probably fixable by adding ‘#include <iomanip>’
> [ 7%] Linking CXX executable test_common_point_type_construction_runtime
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/common && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_common_point_type_construction_runtime.dir/link.txt --verbose=1
> /usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g1 -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -Wl,-z,relro -Wl,-z,now CMakeFiles/test_common_point_type_construction_runtime.dir/test_point_type_construction.cpp.o -o test_common_point_type_construction_runtime ../../lib/x86_64-linux-gnu/libpcl_gtest.a ../../lib/x86_64-linux-gnu/libpcl_common.so.1.14.0 -latomic /usr/lib/gcc/x86_64-linux-gnu/14/libgomp.so /usr/lib/x86_64-linux-gnu/libpthread.a -lm -latomic
> In file included from /<<PKGBUILDDIR>>/test/geometry/test_mesh_circulators.cpp:46:
> /<<PKGBUILDDIR>>/test/geometry/test_mesh_common_functions.h: In function ‘bool hasFaces(const MeshT&, const std::vector<typename MeshT::VertexIndices>&, bool)’:
> /<<PKGBUILDDIR>>/test/geometry/test_mesh_common_functions.h:74:47: error: ‘setw’ is not a member of ‘std’
> 74 | if (verbose) std::cerr << "Face " << std::setw (2) << i << ": ";
> | ^~~~
> /<<PKGBUILDDIR>>/test/geometry/test_mesh_common_functions.h:1:1: note: ‘std::setw’ is defined in header ‘<iomanip>’; this is probably fixable by adding ‘#include <iomanip>’
> +++ |+#include <iomanip>
> 1 | /*
> /<<PKGBUILDDIR>>/test/geometry/test_mesh_common_functions.h:81:38: error: ‘setw’ is not a member of ‘std’
> 81 | if (verbose) std::cerr << std::setw (2) << circ.getTargetIndex () << " ";
> | ^~~~
> /<<PKGBUILDDIR>>/test/geometry/test_mesh_common_functions.h:81:38: note: ‘std::setw’ is defined in header ‘<iomanip>’; this is probably fixable by adding ‘#include <iomanip>’
> /<<PKGBUILDDIR>>/test/geometry/test_mesh_common_functions.h:100:38: error: ‘setw’ is not a member of ‘std’
> 100 | if (verbose) std::cerr << std::setw (2) << faces [i][j] << " ";
> | ^~~~
> /<<PKGBUILDDIR>>/test/geometry/test_mesh_common_functions.h:100:38: note: ‘std::setw’ is defined in header ‘<iomanip>’; this is probably fixable by adding ‘#include <iomanip>’
> /<<PKGBUILDDIR>>/test/geometry/test_mesh_common_functions.h: In function ‘bool hasFaces(const MeshT&, const std::vector<std::vector<int> >&, bool)’:
> /<<PKGBUILDDIR>>/test/geometry/test_mesh_common_functions.h:136:47: error: ‘setw’ is not a member of ‘std’
> 136 | if (verbose) std::cerr << "Face " << std::setw (2) << i << ": ";
> | ^~~~
> /<<PKGBUILDDIR>>/test/geometry/test_mesh_common_functions.h:136:47: note: ‘std::setw’ is defined in header ‘<iomanip>’; this is probably fixable by adding ‘#include <iomanip>’
> /<<PKGBUILDDIR>>/test/geometry/test_mesh_common_functions.h:143:38: error: ‘setw’ is not a member of ‘std’
> 143 | if (verbose) std::cerr << std::setw (2) << vdc [circ.getTargetIndex ().get ()] << " ";
> | ^~~~
> /<<PKGBUILDDIR>>/test/geometry/test_mesh_common_functions.h:143:38: note: ‘std::setw’ is defined in header ‘<iomanip>’; this is probably fixable by adding ‘#include <iomanip>’
> /<<PKGBUILDDIR>>/test/geometry/test_mesh_common_functions.h:162:38: error: ‘setw’ is not a member of ‘std’
> 162 | if (verbose) std::cerr << std::setw (2) << faces [i][j] << " ";
> | ^~~~
> /<<PKGBUILDDIR>>/test/geometry/test_mesh_common_functions.h:162:38: note: ‘std::setw’ is defined in header ‘<iomanip>’; this is probably fixable by adding ‘#include <iomanip>’
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> [ 7%] Built target test_common_point_type_construction_runtime
> make -f test/geometry/CMakeFiles/test_mesh_get_boundary.dir/build.make test/geometry/CMakeFiles/test_mesh_get_boundary.dir/depend
> make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/test/geometry /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/geometry /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/geometry/CMakeFiles/test_mesh_get_boundary.dir/DependInfo.cmake "--color="
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> make -f test/geometry/CMakeFiles/test_mesh_get_boundary.dir/build.make test/geometry/CMakeFiles/test_mesh_get_boundary.dir/build
> make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> [ 7%] Building CXX object test/geometry/CMakeFiles/test_mesh_get_boundary.dir/test_mesh_get_boundary.cpp.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/geometry && /usr/bin/c++ -DPCL_TEST_GEOMETRY_BINARY_DIR=\"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/geometry\" -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -I/<<PKGBUILDDIR>>/test/include -I/<<PKGBUILDDIR>>/global_tests/include -I/<<PKGBUILDDIR>>/geometry/include -I/<<PKGBUILDDIR>>/common/include -isystem /usr/include/ni -isystem /usr/include/openni2 -isystem /<<PKGBUILDDIR>>/recognition/include/pcl/recognition/3rdparty -isystem /usr/src/gtest -isystem /usr/include/eigen3 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g1 -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -std=c++14 -fopenmp -MD -MT test/geometry/CMakeFiles/test_mesh_get_boundary.dir/test_mesh_get_boundary.cpp.o -MF CMakeFiles/test_mesh_get_boundary.dir/test_mesh_get_boundary.cpp.o.d -o CMakeFiles/test_mesh_get_boundary.dir/test_mesh_get_boundary.cpp.o -c /<<PKGBUILDDIR>>/test/geometry/test_mesh_get_boundary.cpp
> make[3]: *** [test/geometry/CMakeFiles/test_mesh_circulators.dir/build.make:79: test/geometry/CMakeFiles/test_mesh_circulators.dir/test_mesh_circulators.cpp.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/07/28/pcl_1.14.0+dfsg-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240728;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240728&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
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!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the debian-science-maintainers
mailing list