Your message dated Sun, 16 Jul 2023 09:49:12 +0200
with message-id <[email protected]>
and subject line Re: pktanon: ftbfs with GCC-13
has caused the Debian Bug report #1037821,
regarding pktanon: ftbfs with GCC-13
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1037821: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037821
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:pktanon
Version: 2~git20160407.0.2bde4f2+dfsg-10
Severity: normal
Tags: sid trixie
User: [email protected]
Usertags: ftbfs-gcc-13

[This bug is targeted to the upcoming trixie release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-13/g++-13, but succeeds to build with gcc-12/g++-12. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2023/05/22/logs/pktanon_2~git20160407.0.2bde4f2+dfsg-10_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 13, either set CC=gcc-13 CXX=g++-13 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-13/porting_to.html

[...]
   83 |     checksum_protocols.reserve(included_protocols.size());
      |                                                   ^~~~
transformations/TransformationsConfigurator.cpp:85:36: error: ‘begin’ was not 
declared in this scope; did you mean ‘std::begin’?
   85 |     for (auto included_protocol :  included_protocols)
      |                                    ^~~~~~~~~~~~~~~~~~
      |                                    std::begin
/usr/include/c++/13/bits/range_access.h:114:37: note: ‘std::begin’ declared here
  114 |   template<typename _Tp> const _Tp* begin(const valarray<_Tp>&) 
noexcept;
      |                                     ^~~~~
transformations/TransformationsConfigurator.cpp:85:36: error: ‘end’ was not 
declared in this scope; did you mean ‘std::end’?
   85 |     for (auto included_protocol :  included_protocols)
      |                                    ^~~~~~~~~~~~~~~~~~
      |                                    std::end
/usr/include/c++/13/bits/range_access.h:116:37: note: ‘std::end’ declared here
  116 |   template<typename _Tp> const _Tp* end(const valarray<_Tp>&) noexcept;
      |                                     ^~~
transformations/TransformationsConfigurator.cpp:99:32: error: no matching 
function for call to ‘generate_phf(int&, size_t&)’
   99 |     auto hash_fn = generate_phf(included_protocols, table_size);
      |                    ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./PHF.h:53:35: note: candidate: ‘template<class UINT> std::function<unsigned 
int(unsigned int)> pktanon::generate_phf(std::unordered_map<UINT, 
Transformation*>&, std::size_t&)’
   53 | std::function<unsigned(unsigned)> generate_phf(std::unordered_map<UINT, 
Transformation*>& keys_values,  std::size_t& table_size)
      |                                   ^~~~~~~~~~~~
./PHF.h:53:35: note:   template argument deduction/substitution failed:
transformations/TransformationsConfigurator.cpp:99:32: note:   mismatched types 
‘std::unordered_map<UINT, pktanon::Transformation*>’ and ‘int’
   99 |     auto hash_fn = generate_phf(included_protocols, table_size);
      |                    ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
transformations/TransformationsConfigurator.cpp:105:36: error: ‘begin’ was not 
declared in this scope; did you mean ‘std::begin’?
  105 |     for (auto included_protocol :  included_protocols)
      |                                    ^~~~~~~~~~~~~~~~~~
      |                                    std::begin
/usr/include/c++/13/bits/range_access.h:114:37: note: ‘std::begin’ declared here
  114 |   template<typename _Tp> const _Tp* begin(const valarray<_Tp>&) 
noexcept;
      |                                     ^~~~~
transformations/TransformationsConfigurator.cpp:105:36: error: ‘end’ was not 
declared in this scope; did you mean ‘std::end’?
  105 |     for (auto included_protocol :  included_protocols)
      |                                    ^~~~~~~~~~~~~~~~~~
      |                                    std::end
/usr/include/c++/13/bits/range_access.h:116:37: note: ‘std::end’ declared here
  116 |   template<typename _Tp> const _Tp* end(const valarray<_Tp>&) noexcept;
      |                                     ^~~
anonprimitives/AnonConstOverwriteRange.cpp:39:1: error: no declaration matches 
‘pktanon::AnonConstOverwriteRange::AnonConstOverwriteRange(int, int, uint8_t)’
   39 | AnonConstOverwriteRange::AnonConstOverwriteRange(int range_begin, int 
range_length, uint8_t value):
      | ^~~~~~~~~~~~~~~~~~~~~~~
anonprimitives/AnonConstOverwriteRange.h:16:7: note: candidates are: 
‘pktanon::AnonConstOverwriteRange::AnonConstOverwriteRange(const 
pktanon::AnonConstOverwriteRange&)’
   16 | class AnonConstOverwriteRange : public AnonPrimitive
      |       ^~~~~~~~~~~~~~~~~~~~~~~
anonprimitives/AnonConstOverwriteRange.h:21:3: note:                 
‘pktanon::AnonConstOverwriteRange::AnonConstOverwriteRange(int, int, int)’
   21 |   AnonConstOverwriteRange ( int range_begin,  int range_length,  
uint8_t value );
      |   ^~~~~~~~~~~~~~~~~~~~~~~
anonprimitives/AnonConstOverwriteRange.h:16:7: note: ‘class 
pktanon::AnonConstOverwriteRange’ defined here
   16 | class AnonConstOverwriteRange : public AnonPrimitive
      |       ^~~~~~~~~~~~~~~~~~~~~~~
anonprimitives/AnonConstOverwriteRange.cpp: In member function ‘virtual 
pktanon::AnonPrimitive::ANON_RESULT 
pktanon::AnonConstOverwriteRange::anonymize_chain(void*, unsigned int) const’:
anonprimitives/AnonConstOverwriteRange.cpp:47:39: error: ‘value’ was not 
declared in this scope
   47 |   memset(((uint8_t*)buf)+range_begin, value, std::min(range_length, 
(int) len-range_begin));
      |                                       ^~~~~
anonprimitives/AnonConstOverwriteRange.cpp: In member function ‘virtual 
pktanon::AnonPrimitive::ANON_RESULT 
pktanon::AnonConstOverwriteRange::anonymize_internal(const void*, void*, 
unsigned int) const’:
anonprimitives/AnonConstOverwriteRange.cpp:54:44: error: ‘value’ was not 
declared in this scope
   54 |   memset(((uint8_t*)dst_buff)+range_begin, value, 
std::min(range_length, (int) len-range_begin));
      |                                            ^~~~~
make[2]: *** [Makefile:717: anonprimitives/AnonConstOverwriteRange.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:717: 
transformations/DefaultTransformationsConfigurator.o] Error 1
make[2]: *** [Makefile:717: transformations/TransformationsConfigurator.o] 
Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/libpktanon'
make[1]: *** [Makefile:486: all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:18: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message --- This has been fixed a while ago by uploading 2~git20160407.0.2bde4f2+dfsg-11. Closing this ticket.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---

Reply via email to