Your message dated Thu, 11 Nov 2021 15:48:52 +0000
with message-id <e1mlcjo-000drw...@fasolo.debian.org>
and subject line Bug#984239: fixed in mir 1.8.0+dfsg1-19
has caused the Debian Bug report #984239,
regarding mir: ftbfs with GCC-11
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 ow...@bugs.debian.org
immediately.)
--
984239: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984239
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:mir
Version: 1.8.0+dfsg1-15
Severity: normal
Tags: sid bookworm
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-11
[This bug is not targeted to the upcoming bullseye 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-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.
The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/mir_1.8.0+dfsg1-15_unstable_gcc11.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.
[...]
/<<PKGBUILDDIR>>/src/core/geometry/rectangles.cpp:71:49: error:
‘numeric_limits’ is not a member of ‘std’
71 |
geom::DeltaY{std::numeric_limits<int>::max()}};
| ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/core/geometry/rectangles.cpp:71:64: error: no matching
function for call to
‘mir::geometry::detail::IntWrapper<mir::geometry::DeltaYTag>::IntWrapper(<brace-enclosed
initializer list>)’
71 |
geom::DeltaY{std::numeric_limits<int>::max()}};
| ^~~
In file included from /<<PKGBUILDDIR>>/include/core/mir/geometry/point.h:22,
from
/<<PKGBUILDDIR>>/include/core/mir/geometry/rectangles.h:22,
from /<<PKGBUILDDIR>>/src/core/geometry/rectangles.cpp:19:
/<<PKGBUILDDIR>>/include/core/mir/geometry/dimensions.h:46:24: note: candidate:
‘template<class AnyInteger> constexpr
mir::geometry::detail::IntWrapper<Tag>::IntWrapper(AnyInteger) [with AnyInteger
= AnyInteger; Tag = mir::geometry::DeltaYTag]’
46 | explicit constexpr IntWrapper(AnyInteger value) :
value(static_cast<ValueType>(value)) {}
| ^~~~~~~~~~
/<<PKGBUILDDIR>>/include/core/mir/geometry/dimensions.h:46:24: note: template
argument deduction/substitution failed:
/<<PKGBUILDDIR>>/include/core/mir/geometry/dimensions.h:42:15: note: candidate:
‘constexpr mir::geometry::detail::IntWrapper<Tag>::IntWrapper(const
mir::geometry::detail::IntWrapper<Tag>&) [with Tag = mir::geometry::DeltaYTag]’
42 | constexpr IntWrapper(IntWrapper const& that) = default;
| ^~~~~~~~~~
/<<PKGBUILDDIR>>/include/core/mir/geometry/dimensions.h:42:15: note:
conversion of argument 1 would be ill-formed:
/<<PKGBUILDDIR>>/include/core/mir/geometry/dimensions.h:41:15: note: candidate:
‘constexpr mir::geometry::detail::IntWrapper<Tag>::IntWrapper() [with Tag =
mir::geometry::DeltaYTag]’
41 | constexpr IntWrapper() : value(0) {}
| ^~~~~~~~~~
/<<PKGBUILDDIR>>/include/core/mir/geometry/dimensions.h:41:15: note:
candidate expects 0 arguments, 1 provided
/<<PKGBUILDDIR>>/src/core/geometry/rectangles.cpp:71:43: error: expected
primary-expression before ‘{’ token
71 |
geom::DeltaY{std::numeric_limits<int>::max()}};
| ^
/<<PKGBUILDDIR>>/src/core/geometry/rectangles.cpp:70:24: warning: unused
variable ‘min_dp’ [-Wunused-variable]
70 | geom::Displacement
min_dp{geom::DeltaX{std::numeric_limits<int>::max()},
| ^~~~~~
/<<PKGBUILDDIR>>/src/core/geometry/rectangles.cpp: At global scope:
/<<PKGBUILDDIR>>/src/core/geometry/rectangles.cpp:73:5: error: expected
unqualified-id before ‘for’
73 | for (auto const& rect : rectangles)
| ^~~
/<<PKGBUILDDIR>>/src/core/geometry/rectangles.cpp:110:5: error: ‘point’ does
not name a type
110 | point = ret_point;
| ^~~~~
/<<PKGBUILDDIR>>/src/core/geometry/rectangles.cpp:111:1: error: expected
declaration before ‘}’ token
111 | }
| ^
make[4]: *** [src/core/CMakeFiles/mircore.dir/build.make:150:
src/core/CMakeFiles/mircore.dir/geometry/rectangles.cpp.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-amd64'
make[3]: *** [CMakeFiles/Makefile2:3424: src/core/CMakeFiles/mircore.dir/all]
Error 2
make[3]: *** Waiting for unfinished jobs....
[ 3%] Linking CXX static library libmircapnproto.a
cd /<<PKGBUILDDIR>>/build-amd64/src/capnproto && /usr/bin/cmake -P
CMakeFiles/mircapnproto.dir/cmake_clean_target.cmake
cd /<<PKGBUILDDIR>>/build-amd64/src/capnproto && /usr/bin/cmake -E
cmake_link_script CMakeFiles/mircapnproto.dir/link.txt --verbose=1
gcc-ar qc libmircapnproto.a CMakeFiles/mircapnproto.dir/mir_event.capnp.c++.o
CMakeFiles/mircapnproto.dir/mir_input_config.capnp.c++.o
gcc-ranlib libmircapnproto.a
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-amd64'
[ 3%] Built target mircapnproto
[ 3%] Linking CXX static library libkms_utils.a
cd /<<PKGBUILDDIR>>/build-amd64/src/platforms/common/server/kms-utils &&
/usr/bin/cmake -P CMakeFiles/kms_utils.dir/cmake_clean_target.cmake
cd /<<PKGBUILDDIR>>/build-amd64/src/platforms/common/server/kms-utils &&
/usr/bin/cmake -E cmake_link_script CMakeFiles/kms_utils.dir/link.txt
--verbose=1
gcc-ar qc libkms_utils.a CMakeFiles/kms_utils.dir/drm_mode_resources.cpp.o
CMakeFiles/kms_utils.dir/kms_connector.cpp.o
gcc-ranlib libkms_utils.a
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-amd64'
[ 3%] Built target kms_utils
[ 3%] Linking CXX static library libGMock.a
/usr/bin/cmake -P CMakeFiles/GMock.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/GMock.dir/link.txt --verbose=1
gcc-ar qc libGMock.a
CMakeFiles/GMock.dir/usr/src/googletest/googlemock/src/gmock-all.cc.o
gcc-ranlib libGMock.a
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-amd64'
[ 3%] Built target GMock
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-amd64'
make[2]: *** [Makefile:163: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-amd64'
dh_auto_build: error: cd build-amd64 && make -j4 "INSTALL=install
--strip-program=true" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:92: override_dh_auto_build-arch] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:13: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--- End Message ---
--- Begin Message ---
Source: mir
Source-Version: 1.8.0+dfsg1-19
Done: Mike Gabriel <sunwea...@debian.org>
We believe that the bug you reported is fixed in the latest version of
mir, 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 984...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mike Gabriel <sunwea...@debian.org> (supplier of updated mir 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 11 Nov 2021 09:35:39 +0100
Source: mir
Architecture: source
Version: 1.8.0+dfsg1-19
Distribution: unstable
Urgency: medium
Maintainer: Debian Mir Team <team+...@tracker.debian.org>
Changed-By: Mike Gabriel <sunwea...@debian.org>
Closes: 984239
Changes:
mir (1.8.0+dfsg1-19) unstable; urgency=medium
.
[ Marius Gripsgard ]
* debian/patches:
+ Add 0006_Fix-FTBFS-when-building-with-gcc-11.patch,
0007_Fix-more-missing-includes-for-GCC-11.patch and
0008_Fix-more-missing-includes-for-GCC-11.patch. Fix FTBFS when building
with gcc 11. (Closes: 984239).
.
[ Mike Gabriel ]
* debian/control:
+ Bump Standards-Version: to 4.6.0. No changes needed.
* debian/patches:
+ Comply with patch naming scheme. (See d/p/README).
+ Mark Debian-specific patches as such.
+ Add 0009_use-python3.patch. 'python' is not a valid shebang interpreter
anymore.
* debian/control:
+ Shorten synopsis of libmirwayland* bin:pkgs.
+ Add to R (mir-doc): python3 and python3-pil (for png2header.py script in
examples/ folder).
* debian/source/lintian-overrides:
+ Ignore several very-long-line-lengh-in-source-file reports. Thanks
lintian, but these are ok.
Checksums-Sha1:
0bb809e0fefc1d9a1b1a4ba831d1ee178a319216 5868 mir_1.8.0+dfsg1-19.dsc
60e96419499ff84d7438b3e1f0c758948995a2eb 69564 mir_1.8.0+dfsg1-19.debian.tar.xz
a1ac85cd10a5a87d390665ed47cf78d107d4d9a3 13969
mir_1.8.0+dfsg1-19_source.buildinfo
Checksums-Sha256:
4efccda871375855dead17db1ca819db7a3b7ecfb266064d32e9b2e986672e0d 5868
mir_1.8.0+dfsg1-19.dsc
695f5eca1d1adc5c1fdb86e2f651bd1f9ecf1c99f90859c1c6f9448c7abf0beb 69564
mir_1.8.0+dfsg1-19.debian.tar.xz
89fd03902e549d6b196ea3dcf34e33e06ff9550c6d13ffc62fabdb5133b793df 13969
mir_1.8.0+dfsg1-19_source.buildinfo
Files:
8fcf1453ff2faea51a591474d007376c 5868 x11 optional mir_1.8.0+dfsg1-19.dsc
befcec5f09361a2d93d775a9b09326d6 69564 x11 optional
mir_1.8.0+dfsg1-19.debian.tar.xz
518f415179aa3cb9316b7842b4ff34e4 13969 x11 optional
mir_1.8.0+dfsg1-19_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJJBAEBCAAzFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmGNOScVHHN1bndlYXZl
ckBkZWJpYW4ub3JnAAoJEJr0azAldxsxmrkQAKG+uxYPKnNBGpTvmyXeEkNTaia6
7RB9tkIdnyKDAssY3RtlK9GXhD9x2XiEfKDvuysIA+Ziy93wEm2CxcjFMhFDXLHP
bKJird3Et4H9l8CKIb3AgKk/dC2/5jtlewQXrdqE7i1QGCCmtbjAl7i4iTw6n/3G
r4yXMcIMK1k5hpBZn5R8m0x+zGuZBOkGgy0DrxDQRZsEkNlzi7Q47q/pLAS3nQlb
YqLyTuc4iaSqs8fY2mT+q60ehusQuD/daOA1zolcqdiujknaU68SGYD9p2CVpIsy
haevLeyV6vxhCwmC9VdrcIZMpd02ZglyodlnqU4R3F96xkVOBHFk36JhggYWpIqo
4nYb2c4fbtIboF29LFIVzKvvtC6ToadoxTFnR79K+1ZheorU3q1+KD+P3XetmlaM
sQCKVTy8cXdMuM7tp0GVFNkeOkAKBCxmW0NbNtQgxo2owHFY9FY2kcixGzO7B3xe
CYeRHORd5mcH7j3Jn/tlEr8tXkz7MgNwMbVnBgarnc6ulLDxljYyb9bQ4TBQauGD
cOYzP34vjpc0LPHNqcNtEwOnVCBng2q6v0zd5LRi3SDduKDiwpYUlnXod9Dch+mc
lpGT/8X4yAyY08v08ncZheN7q/swcS+zViGHCuAhO3F9s39OCi3cyBAFOXbslpEG
GP/zwu76nbE6Sv2L
=K4XP
-----END PGP SIGNATURE-----
--- End Message ---