Bug#1016240: xeus-python: FTBFS: xdebugger.cpp:278:18: error: ‘clog’ is not a member of ‘std’

Lucas Nussbaum lucas at debian.org
Fri Jul 29 17:26:28 BST 2022


Source: xeus-python
Version: 0.12.5-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220728 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> /usr/bin/c++ -DGUID_LIBUUID -DJSON_DIAGNOSTICS=0 -DJSON_USE_IMPLICIT_CONVERSIONS=1 -DXEUS_PYTHON_EXPORTS -Dxeus_python_EXPORTS -I/<<PKGBUILDDIR>>/include -isystem /usr/include/python3.10 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wunused-parameter -Wextra -Wreorder -std=c++14 -fPIC -Wunused-parameter -Wextra -Wreorder -MD -MT CMakeFiles/xeus-python.dir/src/xinput.cpp.o -MF CMakeFiles/xeus-python.dir/src/xinput.cpp.o.d -o CMakeFiles/xeus-python.dir/src/xinput.cpp.o -c /<<PKGBUILDDIR>>/src/xinput.cpp
> /<<PKGBUILDDIR>>/src/xdebugger.cpp: In member function ‘bool xpyt::debugger::start_debugpy()’:
> /<<PKGBUILDDIR>>/src/xdebugger.cpp:278:18: error: ‘clog’ is not a member of ‘std’
>   278 |             std::clog << "Exception raised when trying to import debugpy" << std::endl;
>       |                  ^~~~
> /<<PKGBUILDDIR>>/src/xdebugger.cpp:35:1: note: ‘std::clog’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
>    34 | #include "xinternal_utils.hpp"
>   +++ |+#include <iostream>
>    35 | 
> /<<PKGBUILDDIR>>/src/xdebugger.cpp:281:22: error: ‘clog’ is not a member of ‘std’
>   281 |                 std::clog << traceback[i] << std::endl;
>       |                      ^~~~
> /<<PKGBUILDDIR>>/src/xdebugger.cpp:281:22: note: ‘std::clog’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
> /<<PKGBUILDDIR>>/src/xdebugger.cpp:283:18: error: ‘clog’ is not a member of ‘std’
>   283 |             std::clog << ename << " - " << evalue << std::endl;
>       |                  ^~~~
> /<<PKGBUILDDIR>>/src/xdebugger.cpp:283:18: note: ‘std::clog’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
> [ 32%] Building CXX object CMakeFiles/xeus-python.dir/src/xinterpreter.cpp.o
> /usr/bin/c++ -DGUID_LIBUUID -DJSON_DIAGNOSTICS=0 -DJSON_USE_IMPLICIT_CONVERSIONS=1 -DXEUS_PYTHON_EXPORTS -Dxeus_python_EXPORTS -I/<<PKGBUILDDIR>>/include -isystem /usr/include/python3.10 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wunused-parameter -Wextra -Wreorder -std=c++14 -fPIC -Wunused-parameter -Wextra -Wreorder -MD -MT CMakeFiles/xeus-python.dir/src/xinterpreter.cpp.o -MF CMakeFiles/xeus-python.dir/src/xinterpreter.cpp.o.d -o CMakeFiles/xeus-python.dir/src/xinterpreter.cpp.o -c /<<PKGBUILDDIR>>/src/xinterpreter.cpp
> make[3]: *** [CMakeFiles/xeus-python.dir/build.make:107: CMakeFiles/xeus-python.dir/src/xdebugger.cpp.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/07/28/xeus-python_0.12.5-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220728;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220728&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 marking 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