Your message dated Sun, 21 Aug 2022 14:49:18 +0000
with message-id <[email protected]>
and subject line Bug#1012987: fixed in libpodofo 0.9.8+dfsg-3
has caused the Debian Bug report #1012987,
regarding libpodofo: ftbfs with GCC-12
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.)


-- 
1012987: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012987
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:libpodofo
Version: 0.9.8+dfsg-2
Severity: normal
Tags: sid bookworm
User: [email protected]
Usertags: ftbfs-gcc-12

[This bug is targeted to the upcoming bookworm 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-12/g++-12, but succeeds to build with gcc-11/g++-11. The
severity of this report will be raised before the bookworm release.

The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/gcc12/libpodofo_0.9.8+dfsg-2_unstable_gcc12.log
The last lines of the build log are at the end of this report.

To build with GCC 11, either set CC=gcc-11 CXX=g++-11 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-11/porting_to.html

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
   25 |     ost << x;
      |     ~~~~^~~~
/usr/include/c++/12/ostream:615:5: note: candidate: ‘template<class _Traits> 
std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, 
_Traits>&, const char*)’
  615 |     operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
      |     ^~~~~~~~
/usr/include/c++/12/ostream:615:5: note:   template argument 
deduction/substitution failed:
/usr/include/cppunit/tools/StringHelper.h:25:9: note:   cannot convert ‘x’ 
(type ‘const PoDoFo::PdfString’) to type ‘const char*’
   25 |     ost << x;
      |     ~~~~^~~~
/usr/include/c++/12/ostream:628:5: note: candidate: ‘template<class _Traits> 
std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, 
_Traits>&, const signed char*)’
  628 |     operator<<(basic_ostream<char, _Traits>& __out, const signed char* 
__s)
      |     ^~~~~~~~
/usr/include/c++/12/ostream:628:5: note:   template argument 
deduction/substitution failed:
/usr/include/cppunit/tools/StringHelper.h:25:9: note:   cannot convert ‘x’ 
(type ‘const PoDoFo::PdfString’) to type ‘const signed char*’
   25 |     ost << x;
      |     ~~~~^~~~
/usr/include/c++/12/ostream:633:5: note: candidate: ‘template<class _Traits> 
std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, 
_Traits>&, const unsigned char*)’
  633 |     operator<<(basic_ostream<char, _Traits>& __out, const unsigned 
char* __s)
      |     ^~~~~~~~
/usr/include/c++/12/ostream:633:5: note:   template argument 
deduction/substitution failed:
/usr/include/cppunit/tools/StringHelper.h:25:9: note:   cannot convert ‘x’ 
(type ‘const PoDoFo::PdfString’) to type ‘const unsigned char*’
   25 |     ost << x;
      |     ~~~~^~~~
/usr/include/c++/12/ostream:754:5: note: candidate: ‘template<class _Ostream, 
class _Tp> _Ostream&& std::operator<<(_Ostream&&, const _Tp&)’
  754 |     operator<<(_Ostream&& __os, const _Tp& __x)
      |     ^~~~~~~~
/usr/include/c++/12/ostream:754:5: note:   template argument 
deduction/substitution failed:
/usr/include/c++/12/ostream: In substitution of ‘template<class _Ostream, class 
_Tp> _Ostream&& std::operator<<(_Ostream&&, const _Tp&) [with _Ostream = 
std::__cxx11::basic_ostringstream<char>&; _Tp = PoDoFo::PdfString]’:
/usr/include/cppunit/tools/StringHelper.h:25:9:   required from ‘typename 
std::enable_if<(! std::is_enum<_Tp>::value), std::__cxx11::basic_string<char> 
>::type CppUnit::StringHelper::toString(const T&) [with T = PoDoFo::PdfString; 
typename std::enable_if<(! std::is_enum<_Tp>::value), 
std::__cxx11::basic_string<char> >::type = std::__cxx11::basic_string<char>]’
/usr/include/cppunit/TestAssert.h:74:50:   required from ‘static std::string 
CppUnit::assertion_traits<T>::toString(const T&) [with T = PoDoFo::PdfString; 
std::string = std::__cxx11::basic_string<char>]’
/usr/include/cppunit/TestAssert.h:168:58:   required from ‘void 
CppUnit::assertEquals(const T&, const T&, SourceLine, const std::string&) [with 
T = PoDoFo::PdfString; std::string = std::__cxx11::basic_string<char>]’
/<<PKGBUILDDIR>>/test/unit/StringTest.cpp:182:5:   required from here
/usr/include/c++/12/ostream:754:5: error: no type named ‘type’ in ‘struct 
std::enable_if<false, void>’
In file included from /usr/include/c++/12/memory:77,
                 from /usr/include/cppunit/extensions/HelperMacros.h:16:
/usr/include/cppunit/tools/StringHelper.h: In instantiation of ‘typename 
std::enable_if<(! std::is_enum<_Tp>::value), std::__cxx11::basic_string<char> 
>::type CppUnit::StringHelper::toString(const T&) [with T = PoDoFo::PdfString; 
typename std::enable_if<(! std::is_enum<_Tp>::value), 
std::__cxx11::basic_string<char> >::type = std::__cxx11::basic_string<char>]’:
/usr/include/cppunit/TestAssert.h:74:50:   required from ‘static std::string 
CppUnit::assertion_traits<T>::toString(const T&) [with T = PoDoFo::PdfString; 
std::string = std::__cxx11::basic_string<char>]’
/usr/include/cppunit/TestAssert.h:168:58:   required from ‘void 
CppUnit::assertEquals(const T&, const T&, SourceLine, const std::string&) [with 
T = PoDoFo::PdfString; std::string = std::__cxx11::basic_string<char>]’
/<<PKGBUILDDIR>>/test/unit/StringTest.cpp:182:5:   required from here
/usr/include/c++/12/bits/shared_ptr.h:70:5: note: candidate: ‘template<class 
_Ch, class _Tr, class _Tp, __gnu_cxx::_Lock_policy _Lp> 
std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, 
_Traits>&, const __shared_ptr<_Tp, _Lp>&)’
   70 |     operator<<(std::basic_ostream<_Ch, _Tr>& __os,
      |     ^~~~~~~~
/usr/include/c++/12/bits/shared_ptr.h:70:5: note:   template argument 
deduction/substitution failed:
/usr/include/cppunit/tools/StringHelper.h:25:9: note:   ‘const 
PoDoFo::PdfString’ is not derived from ‘const std::__shared_ptr<_Tp, _Lp>’
   25 |     ost << x;
      |     ~~~~^~~~
In file included from /<<PKGBUILDDIR>>/src/podofo/base/PdfCompilerCompat.h:72,
                 from /<<PKGBUILDDIR>>/src/podofo/base/PdfDefines.h:44,
                 from /<<PKGBUILDDIR>>/src/podofo/podofo-base.h:40,
                 from /<<PKGBUILDDIR>>/src/podofo/podofo.h:47,
                 from /<<PKGBUILDDIR>>/test/unit/StringTest.cpp:23:
/usr/include/c++/12/cstddef:123:5: note: candidate: ‘template<class 
_IntegerType> constexpr std::__byte_op_t<_IntegerType> std::operator<<(byte, 
_IntegerType)’
  123 |     operator<<(byte __b, _IntegerType __shift) noexcept
      |     ^~~~~~~~
/usr/include/c++/12/cstddef:123:5: note:   template argument 
deduction/substitution failed:
/usr/include/cppunit/tools/StringHelper.h:25:5: note:   cannot convert ‘ost’ 
(type ‘CppUnit::OStringStream’ {aka ‘std::__cxx11::basic_ostringstream<char>’}) 
to type ‘std::byte’
   25 |     ost << x;
      |     ^~~
[100%] Building CXX object test/unit/CMakeFiles/podofo-test.dir/DateTest.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/unit && /usr/bin/c++ 
-DPODOFO_HAVE_GCC_SYMBOL_VISIBILITY -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu 
-I/<<PKGBUILDDIR>>/src -I/usr/include/cppunit -I/usr/include/lua5.1 
-I/<<PKGBUILDDIR>>/src/podofo -I/usr/include/freetype2 -I/src -I/src/os -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall 
-Woverloaded-virtual -Wswitch -Wcast-qual -Wwrite-strings -Wredundant-decls 
-Wreorder -Wno-deprecated-declarations   -W -fvisibility=hidden -g -MD -MT 
test/unit/CMakeFiles/podofo-test.dir/DateTest.cpp.o -MF 
CMakeFiles/podofo-test.dir/DateTest.cpp.o.d -o 
CMakeFiles/podofo-test.dir/DateTest.cpp.o -c 
/<<PKGBUILDDIR>>/test/unit/DateTest.cpp
make[3]: *** [test/unit/CMakeFiles/podofo-test.dir/build.make:275: 
test/unit/CMakeFiles/podofo-test.dir/StringTest.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:1115: 
test/unit/CMakeFiles/podofo-test.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install 
--strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: libpodofo
Source-Version: 0.9.8+dfsg-3
Done: Mattia Rizzolo <[email protected]>

We believe that the bug you reported is fixed in the latest version of
libpodofo, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mattia Rizzolo <[email protected]> (supplier of updated libpodofo package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 21 Aug 2022 16:22:05 +0200
Source: libpodofo
Architecture: source
Version: 0.9.8+dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Mattia Rizzolo <[email protected]>
Changed-By: Mattia Rizzolo <[email protected]>
Closes: 1012987
Changes:
 libpodofo (0.9.8+dfsg-3) unstable; urgency=medium
 .
   [ YOKOTA Hiroshi ]
   * Fix declaration of operator<< for PoDoFo::PdfString.  Closes: #1012987
 .
   [ Mattia Rizzolo ]
   * Bump Standards-Version to 4.6.1, no changes needed.
Checksums-Sha1:
 9bf2d79c464944cdcdf9b57832f51c46225a3473 2170 libpodofo_0.9.8+dfsg-3.dsc
 6a8b82b9740cddfa8ffec115c343e74bec4dab2a 9704 
libpodofo_0.9.8+dfsg-3.debian.tar.xz
 2538b6816f2611fd19e71f47a587bb459146ebce 9908 
libpodofo_0.9.8+dfsg-3_amd64.buildinfo
Checksums-Sha256:
 4525808717854b44e92b8ab226daa71bf3b7ffa4f9a2cffeef4a687172403896 2170 
libpodofo_0.9.8+dfsg-3.dsc
 818485cf4f7e88af1027a3c5326f5c241239325b87b7976b86755304562b6ade 9704 
libpodofo_0.9.8+dfsg-3.debian.tar.xz
 28dd07c605285d4d07eaa68d20c74ad859260516d9aad59f71a885561318c039 9908 
libpodofo_0.9.8+dfsg-3_amd64.buildinfo
Files:
 b674487ea312bfcbe20a75b3c508be5f 2170 libdevel optional 
libpodofo_0.9.8+dfsg-3.dsc
 0825faba7584fa7207df2ad767676fce 9704 libdevel optional 
libpodofo_0.9.8+dfsg-3.debian.tar.xz
 e87c86c69d4792b37f5f72801143cc1b 9908 libdevel optional 
libpodofo_0.9.8+dfsg-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAmMCQTwACgkQCBa54Yx2
K61JURAAsgT4JNDn3HMsww0xAWFL6R6UaLf+vC3hCoVGFy3oi0KFDfgzr5cZ2Jcp
ZYi5ru8M8sDRmvJmgJoVwbcwTIkTAu6YL+RfzsQCzVhOEZ8ukIZ3bOxPoxmDPJAA
QLhZnK9PHd0wvSFZb/Odos6UeTOFVmnSvCRKn8f6VvAevi7PKqEr5zb92Y8UO0zi
DoG5nEPfPmQ0JGzMm55kDJFPADEqKTffk9wpmSRlMLavlzxT1VAhWbzgj09H9YUh
XK36K6MTgfH45mLyWL/eKuJwy1p2ykz8jPiDxZjm+ltYRk8UjZlv+VAe/fqPpqWL
AV5jH5A9eyzp9XRlPjuaBonO8DIHP35zruUlNQeuF8pCJ4RL19jsXetJGgU6vHcL
el0LsYoi4dWJ6+jX+5mILUMCfXgOa9em1T9UbzEARu3dh26uotiMXirA3MIbuDr7
mnP4INMtg63mrLGO10NOYedHtTQE6XluAwiPJxejdVst74Cj07lYOXQ1I0Ah5lQw
LjxJ05jWld6+Fgg+3tDniC91Irm4mmgwLpbO63uPm9lAPiyol34zWHSWK4wvurqj
VZFIrJictEpApeh/bHjnMVU6K5bKjATdubDQAU7cWIeAYza6EzVtg0zPQtH79Wnf
D057oCRA6k+dMSw6k/imKboumutFPQsQMxkEIqZu12eWuDh/CR4=
=TfTk
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to