Bug#1077346: adios2: FTBFS: TestADIOSSelection.cpp:100:31: error: ‘setw’ is not a member of ‘std’
Lucas Nussbaum
lucas at debian.org
Sun Jul 28 17:14:55 BST 2024
Source: adios2
Version: 2.9.2+dfsg1-13
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240727 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> /usr/bin/c++ -I/<<PKGBUILDDIR>>/bindings/CXX11 -I/<<PKGBUILDDIR>>/source -I/<<PKGBUILDDIR>>/build-serial/source -I/<<PKGBUILDDIR>>/bindings/C -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++14 -DGTEST_HAS_PTHREAD=1 -MD -MT testing/adios2/interface/CMakeFiles/Test.Interface.Selection.Serial.dir/TestADIOSSelection.cpp.o -MF testing/adios2/interface/CMakeFiles/Test.Interface.Selection.Serial.dir/TestADIOSSelection.cpp.o.d -o testing/adios2/interface/CMakeFiles/Test.Interface.Selection.Serial.dir/TestADIOSSelection.cpp.o -c /<<PKGBUILDDIR>>/testing/adios2/interface/TestADIOSSelection.cpp
> /<<PKGBUILDDIR>>/testing/adios2/interface/TestADIOSSelection.cpp: In function ‘std::ostream& operator<<(std::ostream&, const MultiArray<T, 2>&)’:
> /<<PKGBUILDDIR>>/testing/adios2/interface/TestADIOSSelection.cpp:100:31: error: ‘setw’ is not a member of ‘std’
> 100 | os << " " << std::setw(2) << arr[{i, j}];
> | ^~~~
> /<<PKGBUILDDIR>>/testing/adios2/interface/TestADIOSSelection.cpp:7:1: note: ‘std::setw’ is defined in header ‘<iomanip>’; this is probably fixable by adding ‘#include <iomanip>’
> 6 | #include <array>
> +++ |+#include <iomanip>
> 7 | #include <initializer_list>
> [363/619] /usr/bin/c++ -I/<<PKGBUILDDIR>>/bindings/CXX11 -I/<<PKGBUILDDIR>>/source -I/<<PKGBUILDDIR>>/build-serial/source -I/<<PKGBUILDDIR>>/bindings/C -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++14 -DGTEST_HAS_PTHREAD=1 -MD -MT testing/adios2/interface/CMakeFiles/Test.Interface.NoMpi.Serial.dir/TestADIOSNoMpi.cpp.o -MF testing/adios2/interface/CMakeFiles/Test.Interface.NoMpi.Serial.dir/TestADIOSNoMpi.cpp.o.d -o testing/adios2/interface/CMakeFiles/Test.Interface.NoMpi.Serial.dir/TestADIOSNoMpi.cpp.o -c /<<PKGBUILDDIR>>/testing/adios2/interface/TestADIOSNoMpi.cpp
> [364/619] /usr/bin/c++ -I/<<PKGBUILDDIR>>/bindings/CXX11 -I/<<PKGBUILDDIR>>/source -I/<<PKGBUILDDIR>>/build-serial/source -I/<<PKGBUILDDIR>>/bindings/C -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++14 -DGTEST_HAS_PTHREAD=1 -MD -MT testing/adios2/interface/CMakeFiles/Test.Interface.Write.Serial.dir/TestADIOSInterfaceWrite.cpp.o -MF testing/adios2/interface/CMakeFiles/Test.Interface.Write.Serial.dir/TestADIOSInterfaceWrite.cpp.o.d -o testing/adios2/interface/CMakeFiles/Test.Interface.Write.Serial.dir/TestADIOSInterfaceWrite.cpp.o -c /<<PKGBUILDDIR>>/testing/adios2/interface/TestADIOSInterfaceWrite.cpp
> [365/619] /usr/bin/c++ -I/<<PKGBUILDDIR>>/bindings/CXX11 -I/<<PKGBUILDDIR>>/source -I/<<PKGBUILDDIR>>/build-serial/source -I/<<PKGBUILDDIR>>/bindings/C -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++14 -DGTEST_HAS_PTHREAD=1 -MD -MT testing/adios2/interface/CMakeFiles/Test.Interface.Interface.Serial.dir/TestADIOSInterface.cpp.o -MF testing/adios2/interface/CMakeFiles/Test.Interface.Interface.Serial.dir/TestADIOSInterface.cpp.o.d -o testing/adios2/interface/CMakeFiles/Test.Interface.Interface.Serial.dir/TestADIOSInterface.cpp.o -c /<<PKGBUILDDIR>>/testing/adios2/interface/TestADIOSInterface.cpp
> [366/619] /usr/bin/c++ -I/<<PKGBUILDDIR>>/bindings/CXX11 -I/<<PKGBUILDDIR>>/source -I/<<PKGBUILDDIR>>/build-serial/source -I/<<PKGBUILDDIR>>/bindings/C -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++14 -DGTEST_HAS_PTHREAD=1 -MD -MT testing/adios2/interface/CMakeFiles/Test.Interface.DefineVariable.Serial.dir/TestADIOSDefineVariable.cpp.o -MF testing/adios2/interface/CMakeFiles/Test.Interface.DefineVariable.Serial.dir/TestADIOSDefineVariable.cpp.o.d -o testing/adios2/interface/CMakeFiles/Test.Interface.DefineVariable.Serial.dir/TestADIOSDefineVariable.cpp.o -c /<<PKGBUILDDIR>>/testing/adios2/interface/TestADIOSDefineVariable.cpp
> [367/619] /usr/bin/c++ -I/<<PKGBUILDDIR>>/build-serial -I/<<PKGBUILDDIR>>/bindings/C -I/<<PKGBUILDDIR>>/source -I/<<PKGBUILDDIR>>/build-serial/source -I/<<PKGBUILDDIR>>/build-serial/thirdparty/KWSys/adios2sys -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++11 -MD -MT source/utils/CMakeFiles/bpls.dir/bpls/bpls.cpp.o -MF source/utils/CMakeFiles/bpls.dir/bpls/bpls.cpp.o.d -o source/utils/CMakeFiles/bpls.dir/bpls/bpls.cpp.o -c /<<PKGBUILDDIR>>/source/utils/bpls/bpls.cpp
> [368/619] /usr/bin/c++ -I/<<PKGBUILDDIR>>/bindings/CXX11 -I/<<PKGBUILDDIR>>/source -I/<<PKGBUILDDIR>>/build-serial/source -I/<<PKGBUILDDIR>>/bindings/C -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++14 -DGTEST_HAS_PTHREAD=1 -MD -MT testing/adios2/interface/CMakeFiles/Test.Interface.DefineAttribute.Serial.dir/TestADIOSDefineAttribute.cpp.o -MF testing/adios2/interface/CMakeFiles/Test.Interface.DefineAttribute.Serial.dir/TestADIOSDefineAttribute.cpp.o.d -o testing/adios2/interface/CMakeFiles/Test.Interface.DefineAttribute.Serial.dir/TestADIOSDefineAttribute.cpp.o -c /<<PKGBUILDDIR>>/testing/adios2/interface/TestADIOSDefineAttribute.cpp
> [369/619] /usr/bin/c++ -DADIOS2_PYTHON_MODULE_NAME=adios2_serial -Dadios2_py3_12_EXPORTS -I/<<PKGBUILDDIR>>/bindings/CXX11 -I/<<PKGBUILDDIR>>/source -I/<<PKGBUILDDIR>>/build-serial/source -isystem /usr/include/python3.12 -isystem /usr/lib/python3/dist-packages/numpy/core/include -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++11 -fPIC -fvisibility=hidden -MD -MT bindings/Python3.12/Python/CMakeFiles/adios2_py3.12.dir/py11glue.cpp.o -MF bindings/Python3.12/Python/CMakeFiles/adios2_py3.12.dir/py11glue.cpp.o.d -o bindings/Python3.12/Python/CMakeFiles/adios2_py3.12.dir/py11glue.cpp.o -c /<<PKGBUILDDIR>>/build-serial/build_source/bindings/Python3.12/Python/py11glue.cpp
> ninja: build stopped: subcommand failed.
> dh_auto_build: error: cd build-serial && LC_ALL=C.UTF-8 ninja -j8 -v returned exit code 1
> Traceback (most recent call last):
> File "/usr/bin/dh_ctest_build", line 33, in <module>
> sys.exit(load_entry_point('dh-cmake==0.6.2', 'console_scripts', 'dh_ctest_build')())
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/dhcmake/ctest.py", line 229, in build
> dhctest.build()
> File "/usr/lib/python3/dist-packages/dhcmake/common.py", line 50, in wrapped
> return func(self, *args, **kargs)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3/dist-packages/dhcmake/ctest.py", line 174, in build
> self.do_ctest_step("build", "dh_auto_build")
> File "/usr/lib/python3/dist-packages/dhcmake/ctest.py", line 99, in do_ctest_step
> self.do_cmd([cmd, *self.parsed_args])
> File "/usr/lib/python3/dist-packages/dhcmake/common.py", line 187, in do_cmd
> subprocess.run(args, stdout=self.stdout, stderr=self.stderr,
> File "/usr/lib/python3.12/subprocess.py", line 571, in run
> raise CalledProcessError(retcode, process.args,
> subprocess.CalledProcessError: Command '['dh_auto_build', '-O--ctest-testing-dir=build-serial', '--builddirectory=build-serial', '-O--ctest-build-suffix=-serial', '-O--buildsystem=cmake+ninja']' returned non-zero exit status 25.
> make[1]: *** [debian/rules:109: build_serial] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/07/27/adios2_2.9.2+dfsg1-13_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240727;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240727&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