Your message dated Tue, 23 Jul 2019 08:38:43 +0000
with message-id <[email protected]>
and subject line Bug#925660: fixed in cpprest 2.10.14-2
has caused the Debian Bug report #925660,
regarding cpprest: ftbfs with GCC-9
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.)
--
925660: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925660
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:cpprest
Version: 2.10.11-1
Severity: normal
Tags: sid bullseye
User: [email protected]
Usertags: ftbfs-gcc-9
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-9/g++-9, but succeeds to build with gcc-8/g++-8. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc9-20190321/cpprest_2.10.11-1_unstable_gcc9.log
The last lines of the build log are at the end of this report.
To build with GCC 9, either set CC=gcc-9 CXX=g++-9 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-9/porting_to.html
GCC 9 also passes the linker option --as-needed by default; typical
build issues are passing libraries before object files to the linker,
or underlinking of convenience libraries built from the same source.
[...]
6852 | bool operator<(SafeInt<T, E> lhs, U rhs) SAFEINT_NOTHROW
| ~~~~~~~~~~~~~~^~~
In file included from /<<PKGBUILDDIR>>/Release/include/cpprest/http_msg.h:16,
from
/<<PKGBUILDDIR>>/Release/include/cpprest/details/http_helpers.h:19,
from /<<PKGBUILDDIR>>/Release/src/pch/stdafx.h:101,
from
/<<PKGBUILDDIR>>/Release/src/http/client/http_client.cpp:16:
/<<PKGBUILDDIR>>/Release/include/cpprest/containerstream.h: In instantiation of
'size_t
Concurrency::streams::details::basic_container_buffer<_CollectionType>::read(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*,
size_t, bool) [with _CollectionType = std::vector<unsigned char>; size_t =
long unsigned int;
Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType
= unsigned char]':
/<<PKGBUILDDIR>>/Release/include/cpprest/containerstream.h:207:45: required
from 'pplx::task<long unsigned int>
Concurrency::streams::details::basic_container_buffer<_CollectionType>::_getn(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*,
size_t) [with _CollectionType = std::vector<unsigned char>;
Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType
= unsigned char; size_t = long unsigned int]'
/<<PKGBUILDDIR>>/Release/include/cpprest/containerstream.h:205:32: required
from here
/<<PKGBUILDDIR>>/Release/include/cpprest/containerstream.h:397:44: error:
implicitly-declared 'constexpr msl::safeint3::SafeInt<long unsigned
int>::SafeInt(const msl::safeint3::SafeInt<long unsigned int>&)' is deprecated
[-Werror=deprecated-copy]
397 | size_t newPos = m_current_position + read_size;
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from
/<<PKGBUILDDIR>>/Release/include/cpprest/details/basic_types.h:31,
from /<<PKGBUILDDIR>>/Release/src/pch/stdafx.h:77,
from
/<<PKGBUILDDIR>>/Release/src/http/client/http_client.cpp:16:
/<<PKGBUILDDIR>>/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note:
because 'msl::safeint3::SafeInt<long unsigned int>' has user-provided
'msl::safeint3::SafeInt<T, E>& msl::safeint3::SafeInt<T, E>::operator=(const
msl::safeint3::SafeInt<T, E>&) [with T = long unsigned int; E =
msl::safeint3::SafeIntInternal::SafeIntExceptionHandler<msl::safeint3::SafeIntException>]'
6073 | SafeInt<T, E>& operator=(const SafeInt<T, E>& rhs) SAFEINT_NOTHROW
| ^~~~~~~~
/<<PKGBUILDDIR>>/Release/include/cpprest/details/SafeInt3.hpp:7229:46: note:
initializing argument 2 of 'msl::safeint3::SafeInt<T, E>
msl::safeint3::operator+(U, msl::safeint3::SafeInt<T, E>) [with T = long
unsigned int; U = long unsigned int; E =
msl::safeint3::SafeIntInternal::SafeIntExceptionHandler<msl::safeint3::SafeIntException>]'
7229 | SafeInt<T, E> operator+(U lhs, SafeInt<T, E> rhs) SAFEINT_CPP_THROW
| ~~~~~~~~~~~~~~^~~
In file included from /<<PKGBUILDDIR>>/Release/include/cpprest/http_msg.h:16,
from
/<<PKGBUILDDIR>>/Release/include/cpprest/details/http_helpers.h:19,
from /<<PKGBUILDDIR>>/Release/src/pch/stdafx.h:101,
from
/<<PKGBUILDDIR>>/Release/src/http/client/http_client.cpp:16:
/<<PKGBUILDDIR>>/Release/include/cpprest/containerstream.h: In instantiation of
'size_t
Concurrency::streams::details::basic_container_buffer<_CollectionType>::read(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*,
size_t, bool) [with _CollectionType = std::__cxx11::basic_string<char>; size_t
= long unsigned int;
Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType
= char]':
/<<PKGBUILDDIR>>/Release/include/cpprest/containerstream.h:207:45: required
from 'pplx::task<long unsigned int>
Concurrency::streams::details::basic_container_buffer<_CollectionType>::_getn(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*,
size_t) [with _CollectionType = std::__cxx11::basic_string<char>;
Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType
= char; size_t = long unsigned int]'
/<<PKGBUILDDIR>>/Release/include/cpprest/containerstream.h:205:32: required
from here
/<<PKGBUILDDIR>>/Release/include/cpprest/containerstream.h:397:44: error:
implicitly-declared 'constexpr msl::safeint3::SafeInt<long unsigned
int>::SafeInt(const msl::safeint3::SafeInt<long unsigned int>&)' is deprecated
[-Werror=deprecated-copy]
397 | size_t newPos = m_current_position + read_size;
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from
/<<PKGBUILDDIR>>/Release/include/cpprest/details/basic_types.h:31,
from /<<PKGBUILDDIR>>/Release/src/pch/stdafx.h:77,
from
/<<PKGBUILDDIR>>/Release/src/http/client/http_client.cpp:16:
/<<PKGBUILDDIR>>/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note:
because 'msl::safeint3::SafeInt<long unsigned int>' has user-provided
'msl::safeint3::SafeInt<T, E>& msl::safeint3::SafeInt<T, E>::operator=(const
msl::safeint3::SafeInt<T, E>&) [with T = long unsigned int; E =
msl::safeint3::SafeIntInternal::SafeIntExceptionHandler<msl::safeint3::SafeIntException>]'
6073 | SafeInt<T, E>& operator=(const SafeInt<T, E>& rhs) SAFEINT_NOTHROW
| ^~~~~~~~
/<<PKGBUILDDIR>>/Release/include/cpprest/details/SafeInt3.hpp:7229:46: note:
initializing argument 2 of 'msl::safeint3::SafeInt<T, E>
msl::safeint3::operator+(U, msl::safeint3::SafeInt<T, E>) [with T = long
unsigned int; U = long unsigned int; E =
msl::safeint3::SafeIntInternal::SafeIntExceptionHandler<msl::safeint3::SafeIntException>]'
7229 | SafeInt<T, E> operator+(U lhs, SafeInt<T, E> rhs) SAFEINT_CPP_THROW
| ~~~~~~~~~~~~~~^~~
/<<PKGBUILDDIR>>/Release/include/cpprest/details/SafeInt3.hpp: In instantiation
of 'msl::safeint3::SafeInt<T, E> msl::safeint3::SafeInt<T,
E>::Min(msl::safeint3::SafeInt<T, E>, T) const [with T = long unsigned int; E =
msl::safeint3::SafeIntInternal::SafeIntExceptionHandler<msl::safeint3::SafeIntException>]':
/<<PKGBUILDDIR>>/Release/include/cpprest/containerstream.h:395:65: required
from 'size_t
Concurrency::streams::details::basic_container_buffer<_CollectionType>::read(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*,
size_t, bool) [with _CollectionType = std::vector<unsigned char>; size_t =
long unsigned int;
Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType
= unsigned char]'
/<<PKGBUILDDIR>>/Release/include/cpprest/containerstream.h:207:45: required
from 'pplx::task<long unsigned int>
Concurrency::streams::details::basic_container_buffer<_CollectionType>::_getn(Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType*,
size_t) [with _CollectionType = std::vector<unsigned char>;
Concurrency::streams::details::basic_container_buffer<_CollectionType>::_CharType
= unsigned char; size_t = long unsigned int]'
/<<PKGBUILDDIR>>/Release/include/cpprest/containerstream.h:205:32: required
from here
/<<PKGBUILDDIR>>/Release/include/cpprest/details/SafeInt3.hpp:6724:22: error:
implicitly-declared 'constexpr msl::safeint3::SafeInt<long unsigned
int>::SafeInt(const msl::safeint3::SafeInt<long unsigned int>&)' is deprecated
[-Werror=deprecated-copy]
6724 | T tmp = test < m_int ? (T)test : m_int;
| ~~~~~^~~~~~~
/<<PKGBUILDDIR>>/Release/include/cpprest/details/SafeInt3.hpp:6073:20: note:
because 'msl::safeint3::SafeInt<long unsigned int>' has user-provided
'msl::safeint3::SafeInt<T, E>& msl::safeint3::SafeInt<T, E>::operator=(const
msl::safeint3::SafeInt<T, E>&) [with T = long unsigned int; E =
msl::safeint3::SafeIntInternal::SafeIntExceptionHandler<msl::safeint3::SafeIntException>]'
6073 | SafeInt<T, E>& operator=(const SafeInt<T, E>& rhs) SAFEINT_NOTHROW
| ^~~~~~~~
/<<PKGBUILDDIR>>/Release/include/cpprest/details/SafeInt3.hpp:6852:30: note:
initializing argument 1 of 'bool
msl::safeint3::operator<(msl::safeint3::SafeInt<T, E>, U) [with T = long
unsigned int; U = long unsigned int; E =
msl::safeint3::SafeIntInternal::SafeIntExceptionHandler<msl::safeint3::SafeIntException>]'
6852 | bool operator<(SafeInt<T, E> lhs, U rhs) SAFEINT_NOTHROW
| ~~~~~~~~~~~~~~^~~
cc1plus: all warnings being treated as errors
make[3]: *** [Release/src/CMakeFiles/cpprest.dir/build.make:105:
Release/src/CMakeFiles/cpprest.dir/http/common/http_helpers.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
cc1plus: all warnings being treated as errors
make[3]: *** [Release/src/CMakeFiles/cpprest.dir/build.make:79:
Release/src/CMakeFiles/cpprest.dir/http/client/http_client_msg.cpp.o] Error 1
cc1plus: all warnings being treated as errors
make[3]: *** [Release/src/CMakeFiles/cpprest.dir/build.make:92:
Release/src/CMakeFiles/cpprest.dir/http/common/http_compression.cpp.o] Error 1
cc1plus: all warnings being treated as errors
make[3]: *** [Release/src/CMakeFiles/cpprest.dir/build.make:66:
Release/src/CMakeFiles/cpprest.dir/http/client/http_client.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:118: Release/src/CMakeFiles/cpprest.dir/all]
Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:144: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: cd obj-x86_64-linux-gnu && make -j4 returned exit code 2
make: *** [debian/rules:11: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit
status 2
--- End Message ---
--- Begin Message ---
Source: cpprest
Source-Version: 2.10.14-2
We believe that the bug you reported is fixed in the latest version of
cpprest, 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.
Gianfranco Costamagna <[email protected]> (supplier of updated cpprest
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: SHA256
Format: 1.8
Date: Tue, 23 Jul 2019 09:39:44 +0200
Source: cpprest
Binary: libcpprest2.10 libcpprest-dev libcpprest-doc
Architecture: source
Version: 2.10.14-2
Distribution: unstable
Urgency: medium
Maintainer: Gianfranco Costamagna <[email protected]>
Changed-By: Gianfranco Costamagna <[email protected]>
Description:
libcpprest-dev - Development files for C++ REST SDK / Casablanca
libcpprest-doc - Reference manual for C++ REST SDK / Casablanca
libcpprest2.10 - Shared library for C++ REST SDK / Casablanca
Closes: 925660
Changes:
cpprest (2.10.14-2) unstable; urgency=medium
.
* Do not error on new gcc-9 build errors. (Closes: #925660)
Checksums-Sha1:
14cc92747f9df2afc8a045ea7b495133e91ab326 2243 cpprest_2.10.14-2.dsc
65d9d10f348645eed5981e4795d5032b1a16caa3 8452 cpprest_2.10.14-2.debian.tar.xz
03426ad4a3bfd7203963dedb29818c6f21022187 11269
cpprest_2.10.14-2_source.buildinfo
Checksums-Sha256:
9074d292bc47acee57d5d57e52cd1010c8ca414a8961bb0d0366ec8289609c13 2243
cpprest_2.10.14-2.dsc
fceda9d65b9816155c71cb2c75b00cb54108e4bb39f0b168bcc7190f23f5a594 8452
cpprest_2.10.14-2.debian.tar.xz
52bb38eb6c6b011f2660e66136be143271ed1fbfc355dd6f45cb6f84d6280b41 11269
cpprest_2.10.14-2_source.buildinfo
Files:
a80da9546eb9bde30e8da375ceaf1409 2243 libs optional cpprest_2.10.14-2.dsc
73398cad9aabdf4d2538b80dc33066bf 8452 libs optional
cpprest_2.10.14-2.debian.tar.xz
5e22804a16feab6c1942996bac38ee8b 11269 libs optional
cpprest_2.10.14-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEkpeKbhleSSGCX3/w808JdE6fXdkFAl02vpMACgkQ808JdE6f
XdkjGA//fovYYVgu/j9D4KotB1I3E/D2B4m6z4SImY3fLi/qdsUHTAnp+aK9y2yo
bxi6Gv70aPu8fOfZaL51dBw6RdpkPh+bZTNO/q4OdwiZQLRsuGhnvjodp4g00CLi
bwvbB+dMSPoeDGC8kIRsYTHpPiMF0C73rNlOPm/5JQ1RQh25HKRo/1vFYGcJ3nOu
ZaxhOrYUF4zaG6GyMkga1DDWa/10znTfnbuqXXi4hSIRGXxtw6TFXxhVZlfu19WJ
E8SyEa3YANlaylkgAe4FaDJG55kRASBdeF0rwvrIpGggFqc/u1AWWfrZaMar+cr1
XrP6y+r+IXwD2ugJuSJcTwFlZzgYfMTbp+cigeiViRCYeZm4LptUpAwpdfDXeZh/
sILmXhmCi71BlzJMHe7Q9Wp5nHpgw4bdDlEXhgvp/oSikwHlWGs1lXIEkFoCiAz5
B5SxW9y67EDvtxo5UxSmF+Zs7OL/Ts7kuv73+1sdCpZn42cJM7miO+/4x8eR3rLD
8IqbeU3DzRESOdH8m5TK723Vuv9T0jMhdaRndir2EFOFZ6htRacCWMNZtWrq9nz6
oZHNSB4pNnnbsiomJoa86XBAjy1b7mPMvIVCO57j5qWU+8teiuS9Va+Ld3VXJ2ED
jwyIVernAG2tdg0ttlN4d7NGm88Urliug/pvVy8iFVJ5xoHBbV8=
=AnDF
-----END PGP SIGNATURE-----
--- End Message ---