Bug#1016942: ptl: autopkgtest regression: ‘strlen’ was not declared in this scope
Paul Gevers
elbrus at debian.org
Wed Aug 10 08:11:37 BST 2022
Source: ptl
Version: 2.3.3-1
Severity: serious
User: debian-ci at lists.debian.org
Usertags: regression
Dear maintainer(s),
With a recent change in testing the autopkgtest of ptl started to fail.
Paul
https://ci.debian.net/packages/p/ptl/
https://ci.debian.net/data/autopkgtest/testing/ppc64el/p/ptl/24565458/log.gz
autopkgtest [07:07:19]: test examples: [-----------------------
-- The C compiler identification is GNU 12.1.0
-- The CXX compiler identification is GNU 12.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- OpenCV not found! Skipping example 'extended/rotation'
-- Configuring done
-- Generating done
-- Build files have been written to:
/tmp/autopkgtest-lxc.xiql938s/downtmp/autopkgtest_tmp/builddir
[ 10%] Building CXX object minimal/CMakeFiles/ptl-minimal.dir/minimal.cc.o
In file included from /usr/include/PTL/PTL.hh:23,
from
/tmp/autopkgtest-lxc.xiql938s/downtmp/autopkgtest_tmp/minimal/minimal.cc:22:
/usr/include/PTL/Backtrace.hh: In static member function ‘static void
PTL::Backtrace::Message(int, siginfo_t*, std::ostream&)’:
/usr/include/PTL/Backtrace.hh:511:12: error: ‘strlen’ was not declared
in this scope
511 | if(strlen(itr) == 0)
| ^~~~~~
/usr/include/PTL/Backtrace.hh:191:1: note: ‘strlen’ is defined in header
‘<cstring>’; did you forget to ‘#include <cstring>’?
190 | # include <regex>
+++ |+#include <cstring>
191 | # include <set>
make[2]: *** [minimal/CMakeFiles/ptl-minimal.dir/build.make:76:
minimal/CMakeFiles/ptl-minimal.dir/minimal.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:173:
minimal/CMakeFiles/ptl-minimal.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
autopkgtest [07:07:24]: test examples: -----------------------]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20220810/f0de8a7f/attachment-0001.sig>
More information about the debian-science-maintainers
mailing list