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

Bug#984274: marked as done (openclonk: ftbfs with GCC-11)



Your message dated Fri, 23 Dec 2022 17:20:56 +0000
with message-id <E1p8lj6-008FKl-Kv@fasolo.debian.org>
and subject line Bug#984274: fixed in openclonk 8.1-3
has caused the Debian Bug report #984274,
regarding openclonk: 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 owner@bugs.debian.org
immediately.)


-- 
984274: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984274
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:openclonk
Version: 8.1-2
Severity: normal
Tags: sid bookworm
User: debian-gcc@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/openclonk_8.1-2_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/script/C4AulCompiler.cpp:1100:31: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1100 |                         AddBCC(n->loc, AB_CFUNCTION, reinterpret_cast<intptr_t>(v._getFunction()));
      |                         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/script/C4AulCompiler.cpp:1101:17: note: here
 1101 |                 default:
      |                 ^~~~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
[ 15%] Built target c4group
[ 17%] Building CXX object CMakeFiles/libc4script.dir/src/script/C4AulFunc.cpp.o
/usr/bin/c++ -DCOMPILED_AS_C4LIBRARY -DHAVE_CONFIG_H -DNDEBUG -DOC_SYSTEM_DATA_DIR=\"/usr/share/games/openclonk\" -I/<<PKGBUILDDIR>>/build -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/build/libc4script_autogen/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/<<PKGBUILDDIR>>/src -isystem /usr/include/SDL2 -isystem /<<PKGBUILDDIR>>/thirdparty -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++14 -Wall -Wextra -Wredundant-decls -Wendif-labels -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Winit-self -Wsign-promo -Wno-reorder -Wno-unused-parameter -Wnon-virtual-dtor -Woverloaded-virtual -Wformat-security -std=gnu++14 -o CMakeFiles/libc4script.dir/src/script/C4AulFunc.cpp.o -c /<<PKGBUILDDIR>>/src/script/C4AulFunc.cpp
/<<PKGBUILDDIR>>/src/script/C4AulExec.cpp: In member function ‘void C4AulProfiler::Show()’:
/<<PKGBUILDDIR>>/src/script/C4AulExec.cpp:1004:36: warning: typedef ‘EntryList’ locally defined but not used [-Wunused-local-typedefs]
 1004 |         typedef std::vector<Entry> EntryList;
      |                                    ^~~~~~~~~
[ 17%] Building CXX object CMakeFiles/libc4script.dir/src/script/C4AulLink.cpp.o
/usr/bin/c++ -DCOMPILED_AS_C4LIBRARY -DHAVE_CONFIG_H -DNDEBUG -DOC_SYSTEM_DATA_DIR=\"/usr/share/games/openclonk\" -I/<<PKGBUILDDIR>>/build -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/build/libc4script_autogen/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/<<PKGBUILDDIR>>/src -isystem /usr/include/SDL2 -isystem /<<PKGBUILDDIR>>/thirdparty -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++14 -Wall -Wextra -Wredundant-decls -Wendif-labels -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Winit-self -Wsign-promo -Wno-reorder -Wno-unused-parameter -Wnon-virtual-dtor -Woverloaded-virtual -Wformat-security -std=gnu++14 -o CMakeFiles/libc4script.dir/src/script/C4AulLink.cpp.o -c /<<PKGBUILDDIR>>/src/script/C4AulLink.cpp
[ 17%] Building CXX object CMakeFiles/libc4script.dir/src/script/C4AulParse.cpp.o
/usr/bin/c++ -DCOMPILED_AS_C4LIBRARY -DHAVE_CONFIG_H -DNDEBUG -DOC_SYSTEM_DATA_DIR=\"/usr/share/games/openclonk\" -I/<<PKGBUILDDIR>>/build -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/build/libc4script_autogen/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/<<PKGBUILDDIR>>/src -isystem /usr/include/SDL2 -isystem /<<PKGBUILDDIR>>/thirdparty -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++14 -Wall -Wextra -Wredundant-decls -Wendif-labels -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Winit-self -Wsign-promo -Wno-reorder -Wno-unused-parameter -Wnon-virtual-dtor -Woverloaded-virtual -Wformat-security -std=gnu++14 -o CMakeFiles/libc4script.dir/src/script/C4AulParse.cpp.o -c /<<PKGBUILDDIR>>/src/script/C4AulParse.cpp
[ 17%] Building CXX object CMakeFiles/libc4script.dir/src/script/C4AulScriptFunc.cpp.o
/usr/bin/c++ -DCOMPILED_AS_C4LIBRARY -DHAVE_CONFIG_H -DNDEBUG -DOC_SYSTEM_DATA_DIR=\"/usr/share/games/openclonk\" -I/<<PKGBUILDDIR>>/build -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/build/libc4script_autogen/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/<<PKGBUILDDIR>>/src -isystem /usr/include/SDL2 -isystem /<<PKGBUILDDIR>>/thirdparty -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++14 -Wall -Wextra -Wredundant-decls -Wendif-labels -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Winit-self -Wsign-promo -Wno-reorder -Wno-unused-parameter -Wnon-virtual-dtor -Woverloaded-virtual -Wformat-security -std=gnu++14 -o CMakeFiles/libc4script.dir/src/script/C4AulScriptFunc.cpp.o -c /<<PKGBUILDDIR>>/src/script/C4AulScriptFunc.cpp
In file included from /<<PKGBUILDDIR>>/src/script/C4AulDebug.h:21,
                 from /<<PKGBUILDDIR>>/src/script/C4AulParse.cpp:22:
/<<PKGBUILDDIR>>/src/network/C4NetIO.h: In member function ‘void C4NetIOPacket::SetAddr(const addr_t&)’:
/<<PKGBUILDDIR>>/src/network/C4NetIO.h:327:61: warning: implicitly-declared ‘constexpr C4NetIO::EndpointAddress& C4NetIO::EndpointAddress::operator=(const C4NetIO::EndpointAddress&)’ is deprecated [-Wdeprecated-copy]
  327 |         void SetAddr(const C4NetIO::addr_t &naddr) { addr = naddr; }
      |                                                             ^~~~~
/<<PKGBUILDDIR>>/src/network/C4NetIO.h:140:17: note: because ‘C4NetIO::EndpointAddress’ has user-provided ‘C4NetIO::EndpointAddress::EndpointAddress(const C4NetIO::EndpointAddress&)’
  140 |                 EndpointAddress(const EndpointAddress &other) : HostAddress() { SetAddress(other); }
      |                 ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/network/C4NetIO.h: In member function ‘void C4NetIOUDP::Peer::SetAltAddr(const addr_t&)’:
/<<PKGBUILDDIR>>/src/network/C4NetIO.h:818:74: warning: implicitly-declared ‘constexpr C4NetIO::EndpointAddress& C4NetIO::EndpointAddress::operator=(const C4NetIO::EndpointAddress&)’ is deprecated [-Wdeprecated-copy]
  818 |                 void SetAltAddr(const C4NetIO::addr_t &naddr2) { addr2 = naddr2; }
      |                                                                          ^~~~~~
/<<PKGBUILDDIR>>/src/network/C4NetIO.h:140:17: note: because ‘C4NetIO::EndpointAddress’ has user-provided ‘C4NetIO::EndpointAddress::EndpointAddress(const C4NetIO::EndpointAddress&)’
  140 |                 EndpointAddress(const EndpointAddress &other) : HostAddress() { SetAddress(other); }
      |                 ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/script/C4AulParse.cpp: In member function ‘std::unique_ptr<aul::ast::Expr> C4AulParse::Parse_Expression(int)’:
/<<PKGBUILDDIR>>/src/script/C4AulParse.cpp:1608:95: error: ‘numeric_limits’ is not a member of ‘std’
 1608 |                                                 end = ::aul::ast::IntLit::New(TokenSPos, std::numeric_limits<int32_t>::max());
      |                                                                                               ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/script/C4AulParse.cpp:1608:117: error: expected primary-expression before ‘>’ token
 1608 |                                                 end = ::aul::ast::IntLit::New(TokenSPos, std::numeric_limits<int32_t>::max());
      |                                                                                                                     ^
/<<PKGBUILDDIR>>/src/script/C4AulParse.cpp:1608:120: error: ‘::max’ has not been declared; did you mean ‘std::max’?
 1608 |                                                 end = ::aul::ast::IntLit::New(TokenSPos, std::numeric_limits<int32_t>::max());
      |                                                                                                                        ^~~
      |                                                                                                                        std::max
In file included from /usr/include/c++/11/algorithm:62,
                 from /<<PKGBUILDDIR>>/src/C4Include.h:41,
                 from /<<PKGBUILDDIR>>/src/script/C4AulParse.cpp:18:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/<<PKGBUILDDIR>>/src/script/C4AulParse.cpp:1388:20: warning: unused variable ‘FoundFn’ [-Wunused-variable]
 1388 |         C4AulFunc *FoundFn = nullptr;
      |                    ^~~~~~~
/<<PKGBUILDDIR>>/src/script/C4AulParse.cpp: At global scope:
/<<PKGBUILDDIR>>/src/script/C4AulParse.cpp:1376:13: warning: ‘bool GetPropertyByS(const C4PropList*, const char*, C4Value&)’ defined but not used [-Wunused-function]
 1376 | static bool GetPropertyByS(const C4PropList * p, const char * s, C4Value & v)
      |             ^~~~~~~~~~~~~~
make[3]: *** [CMakeFiles/libc4script.dir/build.make:241: CMakeFiles/libc4script.dir/src/script/C4AulParse.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[2]: *** [CMakeFiles/Makefile2:198: CMakeFiles/libc4script.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[1]: *** [Makefile:174: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/build'
dh_auto_build: error: cd build && make -j4 VERBOSE=1 returned exit code 2
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: openclonk
Source-Version: 8.1-3
Done: Bo YU <tsu.yubo@gmail.com>

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

Debian distribution maintenance software
pp.
Bo YU <tsu.yubo@gmail.com> (supplier of updated openclonk 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: Fri, 23 Dec 2022 21:49:46 +0800
Source: openclonk
Architecture: source
Version: 8.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Bo YU <tsu.yubo@gmail.com>
Closes: 984274 996841
Changes:
 openclonk (8.1-3) unstable; urgency=medium
 .
   * QA upload.
   * Fix FTCBFS: Pass -DIMPORT_NATIVE_TOOLS=path-to-native-build.
     Thanks to Helmut Grohne. (Closes: #996841)
   * Fix ftbfs on GCC-11. (Closes: #984274)
Checksums-Sha1:
 8466775dea617a12e0d407c609e6a7b594f2b856 2293 openclonk_8.1-3.dsc
 aaf4ff16f6b218100df9550e7c23180345e421c3 8036 openclonk_8.1-3.debian.tar.xz
 e4a7b1952d94a1ab624f1a6e02ac0915edcc4fda 18037 openclonk_8.1-3_source.buildinfo
Checksums-Sha256:
 bc43cde494e347b36d4286c2f610bc84f5a3dc35f2d91b82278498aa461f78a0 2293 openclonk_8.1-3.dsc
 05fbb7d82a88b37217f0478c3d60e06c72ce6ec4f3fb08260729431bd06b3b62 8036 openclonk_8.1-3.debian.tar.xz
 33f0b3980e60f3e2b12774ee205ff91ee1ae80b0d51574fc31f17b671f2383d6 18037 openclonk_8.1-3_source.buildinfo
Files:
 0a867fafe1face399846adc2dade3b33 2293 games optional openclonk_8.1-3.dsc
 48d0ec17dab8f40cf4cbeb670c4f619e 8036 games optional openclonk_8.1-3.debian.tar.xz
 3dc4be7159ad0ced154f516666b36837 18037 games optional openclonk_8.1-3_source.buildinfo

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

iQIzBAEBCgAdFiEEkjZVexcMh/iCHArDweDZLphvfH4FAmOl21EACgkQweDZLphv
fH4KgQ//ch3Z9XfL0r5eLITmSxk8op8ohRCqVLa1O8hmNZQYxoUa2ilZJESjpeao
VGi6SlDw/E+SEPLvPY6OPLz1ZRiw2EXauQbtgXoFdPdd7qx9p5TC8MkKjELeXduJ
YPGPX4FcC9mLskIojL5erNd1GalNHCM2NJ3nj2SUzKkgHVBa5h3VBX5Q/WoJ+2iQ
2UylaOmL/a3vPFpOhLdl2jwyZAdQmmOQzvXuXyO6hk6xvyPtn3WCKrtKuecluq7L
viYgoYK2L0C25LjSeIYudY3hgOEPMm784xDoLYsCx+BrNopxRN2+eKE9wjnFqnmD
miCULGz6qn/9oQwvkgPjELoJXxVOI41YXtZvT9iU9DDrG/1kPD3IQ80x7XnnMVzj
O3zDB4tLzhH6hE94Lr54rA3C68VxDVyKTA7CSSJIy+vM9Ldmr40u/ncQQIPxhiMm
38mJPK1EGLhEbjBNQSJz/ctnCJ7Kt6dxSCrgz8EGAGQQJwD91VyYekiN3kGmPQug
9NI7j5daHK0vmz7/cK/aOSIBqMOmoi3TcqbKLIoi0jtMi1lvig29F0P792NT/Rtt
XzeFkLRJ1iGKV1zeZi8Y2PKbVXv93P/JZEDBgBhTSFyu9EC7Fei3VdwNPTC4wI59
odesLgv4GOJdqyyuD/zS9EcGx0Tl66aqnCip2406p5tqDz4GJ3s=
=wz7X
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: