[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1012916: marked as done (dymo-cups-drivers: ftbfs with GCC-12)



Your message dated Mon, 15 Aug 2022 15:05:10 +0000
with message-id <E1oNbeQ-00GtBI-6H@fasolo.debian.org>
and subject line Bug#1012916: fixed in dymo-cups-drivers 1.4.0-12
has caused the Debian Bug report #1012916,
regarding dymo-cups-drivers: 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 owner@bugs.debian.org
immediately.)


-- 
1012916: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012916
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:dymo-cups-drivers
Version: 1.4.0-11
Severity: normal
Tags: sid bookworm
User: debian-gcc@lists.debian.org
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/dymo-cups-drivers_1.4.0-11_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.

[...]
  598 |     operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s)
      |     ^~~~~~~~
/usr/include/c++/12/ostream:598:5: note:   template argument deduction/substitution failed:
/usr/include/cppunit/tools/StringHelper.h:25:9: note:   mismatched types ‘const _CharT*’ and ‘std::vector<unsigned char>’
   25 |     ost << x;
      |     ~~~~^~~~
/usr/include/c++/12/bits/ostream.tcc:302:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const char*)’
  302 |     operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s)
      |     ^~~~~~~~
/usr/include/c++/12/bits/ostream.tcc:302:5: note:   template argument deduction/substitution failed:
/usr/include/cppunit/tools/StringHelper.h:25:9: note:   cannot convert ‘x’ (type ‘const std::vector<unsigned char>’) to type ‘const char*’
   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 std::vector<unsigned char>’) 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 std::vector<unsigned char>’) 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 std::vector<unsigned char>’) 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 = std::vector<unsigned char>]’:
/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 = std::vector<unsigned char>; 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 = std::vector<unsigned char>; 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 = std::vector<unsigned char>; std::string = std::__cxx11::basic_string<char>]’
TestLabelWriterLanguageMonitor.cpp:73:3:   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 = std::vector<unsigned char>; 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 = std::vector<unsigned char>; 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 = std::vector<unsigned char>; std::string = std::__cxx11::basic_string<char>]’
TestLabelWriterLanguageMonitor.cpp:73:3:   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 std::vector<unsigned char>’ is not derived from ‘const std::__shared_ptr<_Tp, _Lp>’
   25 |     ost << x;
      |     ~~~~^~~~
make[5]: *** [Makefile:610: TestLabelWriterLanguageMonitor.o] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/lw/tests'
make[4]: *** [Makefile:965: check-am] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/lw/tests'
make[3]: *** [Makefile:570: check-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/lw'
make[2]: *** [Makefile:355: check-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:365: check-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j8 check "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1 returned exit code 2
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: dymo-cups-drivers
Source-Version: 1.4.0-12
Done: Thorsten Alteholz <debian@alteholz.de>

We believe that the bug you reported is fixed in the latest version of
dymo-cups-drivers, 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 1012916@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thorsten Alteholz <debian@alteholz.de> (supplier of updated dymo-cups-drivers 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Sun, 14 Aug 2022 18:03:02 +0200
Source: dymo-cups-drivers
Architecture: source
Version: 1.4.0-12
Distribution: unstable
Urgency: medium
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Changed-By: Thorsten Alteholz <debian@alteholz.de>
Closes: 1012916
Changes:
 dymo-cups-drivers (1.4.0-12) unstable; urgency=medium
 .
   * add patch to be able to compile with gcc12
     (Closes: #1012916)
     (until a better solution is available the tests)
     (are just disabled)
Checksums-Sha1:
 25acc31b83aeb983767937c04e0b55fff8524460 2344 dymo-cups-drivers_1.4.0-12.dsc
 05ecd8a49050aad78ca7b2c0415cc8de9c5b0df1 8728 dymo-cups-drivers_1.4.0-12.debian.tar.xz
 46d4473ef5f7d5f649b8afcc4fc08db6b5a96f54 8092 dymo-cups-drivers_1.4.0-12_amd64.buildinfo
Checksums-Sha256:
 c4a98d9fb1d840aa988bcd2d1ee0c5f2c969a09eeae071b66bcfb8ad91e2864b 2344 dymo-cups-drivers_1.4.0-12.dsc
 d748522ccdf760267bfae55d70aec2e0f2956e82b032555b565562cf5f68af6c 8728 dymo-cups-drivers_1.4.0-12.debian.tar.xz
 f66b0390d64c503e79f270b9395a89a9f8b238d28fcaf7eb6be1dcfc6450f2b6 8092 dymo-cups-drivers_1.4.0-12_amd64.buildinfo
Files:
 f6afd2d889f70517f5f1d1cb1a6485db 2344 text optional dymo-cups-drivers_1.4.0-12.dsc
 544eb2cdd08c88130f1455a98dc32359 8728 text optional dymo-cups-drivers_1.4.0-12.debian.tar.xz
 fe75af1262be9e7d09515e3701adce59 8092 text optional dymo-cups-drivers_1.4.0-12_amd64.buildinfo

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

iQKnBAEBCgCRFiEEYgH7/9u94Hgi6ruWlvysDTh7WEcFAmL5QbtfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYy
MDFGQkZGREJCREUwNzgyMkVBQkI5Njk2RkNBQzBEMzg3QjU4NDcTHGRlYmlhbkBh
bHRlaG9sei5kZQAKCRCW/KwNOHtYRxoFD/9MrJ3alv6k5yy5IhM4pToj4m+8imWr
a2ew37vj6IHkBCn9UHgIGJoEB13pPaUhwPocGeLYM3xKaZliF3W9LoqoXbB4/vfE
aweKwwKRqFoWZNn23aH/imfsSy149rhWmFc9wWQHy6z8CdIiaxo2kwwOLDU2dA69
2gfIObwieYEYayLd/sQw2vZaYZQEGXhzleb9xXZD3QfUIni1Xk+kZ4Z5Pp3QNi4G
2ZuDGhwnRgjsPt/VnlLktITES/MN6NOC37Vgldi/C5c1JUgs1cLI7zcoGyAYvZE4
ttYxjAbpmgZnYF2NfoO4Uqz3Nild+PORlhn54BLjqhkemoGWF2hSKauh8NZ1S5JC
5IWTUeb8kbG4QzRWInf7MPVcpyb6HV6JT4XXHiXiULPvkCTtgvFh1Pnv/h5Ma0Ug
Kc9ihC4nQKbgRKUFaOqa4y8Mc8uWHxgEA3k/vtz1UOQ/OzkCN+A16QVLjKBjZcG6
9Y011xXCwJJ1KQk4d9qXbqVrki1mHDUq4EXq0r5mgtGA1PrQnioyMICSwbI7+5RG
SeTRyJTZmtMXhK6heFbLP4AUmL//rLQT+Bn3y12k0m1jl6VTp3gWH+y024sDc7zF
sDS938/PGGsikiqFycs2uEiTl9JsKPawoQw3dun14Lcqslj1pfcl3pN0e0/ZfvkE
GT2djFkpzwoExg==
=zapl
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: