Your message dated Thu, 23 Dec 2021 04:48:32 +0000
with message-id <e1n0g1o-0002qu...@fasolo.debian.org>
and subject line Bug#984050: fixed in endless-sky 0.9.8-1.2
has caused the Debian Bug report #984050,
regarding endless-sky: 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.)


-- 
984050: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984050
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:endless-sky
Version: 0.9.8-1.1
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/endless-sky_0.9.8-1.1_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.

[...]
source/AI.cpp: In member function 'void AI::Step(const PlayerInfo&)':
source/AI.cpp:571:57: warning: loop variable 'ptr' of type 'const 
std::weak_ptr<const Ship>&' binds to a temporary constructed from type 'const 
std::weak_ptr<Ship>' [-Wrange-loop-construct]
  571 |                         for(const weak_ptr<const Ship> &ptr : 
it->GetEscorts())
      |                                                         ^~~
source/AI.cpp:571:57: note: use non-reference type 'const std::weak_ptr<const 
Ship>' to make the copy explicit or 'const std::weak_ptr<Ship>&' to prevent 
copying
source/AI.cpp: In member function 'void AI::MoveIndependent(Ship&, Command&) 
const':
source/AI.cpp:1154:57: warning: loop variable 'escort' of type 'const 
std::weak_ptr<const Ship>&' binds to a temporary constructed from type 'const 
std::weak_ptr<Ship>' [-Wrange-loop-construct]
 1154 |                         for(const weak_ptr<const Ship> &escort : 
ship.GetEscorts())
      |                                                         ^~~~~~
source/AI.cpp:1154:57: note: use non-reference type 'const std::weak_ptr<const 
Ship>' to make the copy explicit or 'const std::weak_ptr<Ship>&' to prevent 
copying
g++ -o build/release/Body.o -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -O3 
-Wdate-time -D_FORTIFY_SOURCE=2 source/Body.cpp
g++ -o build/release/CaptureOdds.o -c -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++11 -Wall -O3 -Wdate-time -D_FORTIFY_SOURCE=2 
source/CaptureOdds.cpp
g++ -o build/release/CargoHold.o -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -O3 
-Wdate-time -D_FORTIFY_SOURCE=2 source/CargoHold.cpp
g++ -o build/release/CollisionSet.o -c -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++11 -Wall -O3 -Wdate-time -D_FORTIFY_SOURCE=2 
source/CollisionSet.cpp
g++ -o build/release/Color.o -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -O3 
-Wdate-time -D_FORTIFY_SOURCE=2 source/Color.cpp
g++ -o build/release/Command.o -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -O3 
-Wdate-time -D_FORTIFY_SOURCE=2 source/Command.cpp
g++ -o build/release/ConditionSet.o -c -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++11 -Wall -O3 -Wdate-time -D_FORTIFY_SOURCE=2 
source/ConditionSet.cpp
g++ -o build/release/Conversation.o -c -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++11 -Wall -O3 -Wdate-time -D_FORTIFY_SOURCE=2 
source/Conversation.cpp
g++ -o build/release/ConversationPanel.o -c -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++11 -Wall -O3 -Wdate-time -D_FORTIFY_SOURCE=2 
source/ConversationPanel.cpp
g++ -o build/release/DataFile.o -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -O3 
-Wdate-time -D_FORTIFY_SOURCE=2 source/DataFile.cpp
g++ -o build/release/DataNode.o -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -O3 
-Wdate-time -D_FORTIFY_SOURCE=2 source/DataNode.cpp
g++ -o build/release/DataWriter.o -c -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++11 -Wall -O3 -Wdate-time -D_FORTIFY_SOURCE=2 
source/DataWriter.cpp
g++ -o build/release/Date.o -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -O3 
-Wdate-time -D_FORTIFY_SOURCE=2 source/Date.cpp
g++ -o build/release/Depreciation.o -c -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++11 -Wall -O3 -Wdate-time -D_FORTIFY_SOURCE=2 
source/Depreciation.cpp
g++ -o build/release/Dialog.o -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -O3 
-Wdate-time -D_FORTIFY_SOURCE=2 source/Dialog.cpp
g++ -o build/release/DistanceMap.o -c -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++11 -Wall -O3 -Wdate-time -D_FORTIFY_SOURCE=2 
source/DistanceMap.cpp
g++ -o build/release/DrawList.o -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -O3 
-Wdate-time -D_FORTIFY_SOURCE=2 source/DrawList.cpp
g++ -o build/release/Effect.o -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -O3 
-Wdate-time -D_FORTIFY_SOURCE=2 source/Effect.cpp
g++ -o build/release/Engine.o -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -O3 
-Wdate-time -D_FORTIFY_SOURCE=2 source/Engine.cpp
g++ -o build/release/EscortDisplay.o -c -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++11 -Wall -O3 -Wdate-time -D_FORTIFY_SOURCE=2 
source/EscortDisplay.cpp
g++ -o build/release/File.o -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -O3 
-Wdate-time -D_FORTIFY_SOURCE=2 source/File.cpp
g++ -o build/release/Files.o -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -O3 
-Wdate-time -D_FORTIFY_SOURCE=2 source/Files.cpp
g++ -o build/release/FillShader.o -c -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++11 -Wall -O3 -Wdate-time -D_FORTIFY_SOURCE=2 
source/FillShader.cpp
g++ -o build/release/Fleet.o -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -O3 
-Wdate-time -D_FORTIFY_SOURCE=2 source/Fleet.cpp
g++ -o build/release/Flotsam.o -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -O3 
-Wdate-time -D_FORTIFY_SOURCE=2 source/Flotsam.cpp
g++ -o build/release/FogShader.o -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -O3 
-Wdate-time -D_FORTIFY_SOURCE=2 source/FogShader.cpp
g++ -o build/release/Font.o -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -O3 
-Wdate-time -D_FORTIFY_SOURCE=2 source/Font.cpp
g++ -o build/release/FontSet.o -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -O3 
-Wdate-time -D_FORTIFY_SOURCE=2 source/FontSet.cpp
g++ -o build/release/Format.o -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -O3 
-Wdate-time -D_FORTIFY_SOURCE=2 source/Format.cpp
g++ -o build/release/FrameTimer.o -c -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++11 -Wall -O3 -Wdate-time -D_FORTIFY_SOURCE=2 
source/FrameTimer.cpp
g++ -o build/release/Galaxy.o -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -O3 
-Wdate-time -D_FORTIFY_SOURCE=2 source/Galaxy.cpp
g++ -o build/release/GameData.o -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -O3 
-Wdate-time -D_FORTIFY_SOURCE=2 source/GameData.cpp
g++ -o build/release/GameEvent.o -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -O3 
-Wdate-time -D_FORTIFY_SOURCE=2 source/GameEvent.cpp
g++ -o build/release/Government.o -c -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++11 -Wall -O3 -Wdate-time -D_FORTIFY_SOURCE=2 
source/Government.cpp
g++ -o build/release/HailPanel.o -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -O3 
-Wdate-time -D_FORTIFY_SOURCE=2 source/HailPanel.cpp
g++ -o build/release/Hardpoint.o -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -O3 
-Wdate-time -D_FORTIFY_SOURCE=2 source/Hardpoint.cpp
g++ -o build/release/HiringPanel.o -c -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++11 -Wall -O3 -Wdate-time -D_FORTIFY_SOURCE=2 
source/HiringPanel.cpp
g++ -o build/release/ImageBuffer.o -c -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++11 -Wall -O3 -Wdate-time -D_FORTIFY_SOURCE=2 
source/ImageBuffer.cpp
g++ -o build/release/Information.o -c -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++11 -Wall -O3 -Wdate-time -D_FORTIFY_SOURCE=2 
source/Information.cpp
g++ -o build/release/Interface.o -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -O3 
-Wdate-time -D_FORTIFY_SOURCE=2 source/Interface.cpp
g++ -o build/release/ItemInfoDisplay.o -c -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++11 -Wall -O3 -Wdate-time -D_FORTIFY_SOURCE=2 
source/ItemInfoDisplay.cpp
g++ -o build/release/LineShader.o -c -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++11 -Wall -O3 -Wdate-time -D_FORTIFY_SOURCE=2 
source/LineShader.cpp
g++ -o build/release/LoadPanel.o -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -O3 
-Wdate-time -D_FORTIFY_SOURCE=2 source/LoadPanel.cpp
g++ -o build/release/LocationFilter.o -c -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++11 -Wall -O3 -Wdate-time -D_FORTIFY_SOURCE=2 
source/LocationFilter.cpp
g++ -o build/release/LogbookPanel.o -c -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++11 -Wall -O3 -Wdate-time -D_FORTIFY_SOURCE=2 
source/LogbookPanel.cpp
g++ -o build/release/MainPanel.o -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -O3 
-Wdate-time -D_FORTIFY_SOURCE=2 source/MainPanel.cpp
g++ -o build/release/MapDetailPanel.o -c -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=c++11 -Wall -O3 -Wdate-time -D_FORTIFY_SOURCE=2 
source/MapDetailPanel.cpp
source/MapDetailPanel.cpp: In member function 'virtual bool 
MapDetailPanel::Click(int, int, int)':
source/MapDetailPanel.cpp:240:35: error: 'numeric_limits' was not declared in 
this scope
  240 |                 double distance = numeric_limits<double>::infinity();
      |                                   ^~~~~~~~~~~~~~
source/MapDetailPanel.cpp:240:50: error: expected primary-expression before 
'double'
  240 |                 double distance = numeric_limits<double>::infinity();
      |                                                  ^~~~~~
scons: *** [build/release/MapDetailPanel.o] Error 1
scons: building terminated because of errors.
make[1]: *** [debian/rules:14: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: endless-sky
Source-Version: 0.9.8-1.2
Done: Adrian Bunk <b...@debian.org>

We believe that the bug you reported is fixed in the latest version of
endless-sky, 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.
Adrian Bunk <b...@debian.org> (supplier of updated endless-sky 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: SHA512

Format: 1.8
Date: Thu, 09 Dec 2021 19:56:16 +0200
Source: endless-sky
Architecture: source
Version: 0.9.8-1.2
Distribution: unstable
Urgency: medium
Maintainer: Michael Zahniser <mzahni...@gmail.com>
Changed-By: Adrian Bunk <b...@debian.org>
Closes: 984050
Changes:
 endless-sky (0.9.8-1.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Add upstream fix for FTBFS with gcc 11. (Closes: #984050)
Checksums-Sha1:
 efde8e57fce246b8b7993a62dee9935b38d41436 1936 endless-sky_0.9.8-1.2.dsc
 94ef316d5e4e81c66c9020ac982dfd6d435f2048 16396 
endless-sky_0.9.8-1.2.debian.tar.xz
Checksums-Sha256:
 f5db8d86f2c626b1e42540f8bcf40b3ef22214323cce23bf84afab6d549a0050 1936 
endless-sky_0.9.8-1.2.dsc
 25ddb53934a23f9fd4714e251d3ab814d8c706db42585dd527fa962bc7ff8683 16396 
endless-sky_0.9.8-1.2.debian.tar.xz
Files:
 d7d957625c8ae0b1217d3292d0c01c6f 1936 games optional endless-sky_0.9.8-1.2.dsc
 ad68633c3da1844db172f0f693135005 16396 games optional 
endless-sky_0.9.8-1.2.debian.tar.xz

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

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmGyRPAACgkQiNJCh6LY
mLFVEhAAu83j3xnMA2K+JmE7FWwzlsdw3DOKIzSe4arvm0AhWdQuTCbZIVf7Ke9o
PQoyE29sZlKofDNJBmod/EexZkBPkGDaJI90JL5vDeA77t3fN4QD43D9BmUwKouV
A/GqteZOo8m+YTnqQVZJElBGYYS59I9Xs8t/TeJGAkqQz66LoSIxXJ02H9J4cY6c
xQClNjXdAD8v8PpQZ9BK36wl/62UlhxQbw+VAjxEXjjrW2yrHEh8z9Ouhz8Vcldo
CQWMa3oO9ZJoItJGw9UMKKIMwKFoIRNl8gAC6fo9pn/PKvsgL8p+pfj0g3bRDytH
3yxdvR2HT506OgepmbDEDhn0vSDpaiUeIh6XSL8RcZ3/A+JKmIoRR+O1kMImtYKF
2O868of3GP3/zXvTIqc1+Beohaj9Y+i6EgdqisI2RwP20spvdBD/MOW+Xf6jDdiC
QmAXHQu0HH3n0+YXpTt5t32zGLK5TLxmsBj/0fhfO5jwCzi3Tg+igJaYzaQHW2ou
tU29NsNKfJhDg0tus7wCVIoLpBFEfvAcSKTOIgoNt7E41AhWlACKybQQXx5EgBiK
YyrcoBPRHxFE6jsnkkC5rIVL7gpdjaxMYNiG9nQWGiwHeFl6YwhkVqK0NheCzlzp
FDGuJLG0a8B+fM9fcplrZzrFh+XB9BbjVSIveCrB3hxVa7AqQYs=
=MvWr
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to