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

Bug#984262: marked as done (o3dgc: ftbfs with GCC-11)



Your message dated Tue, 03 May 2022 06:49:06 +0000
with message-id <E1nlmLK-000CUO-Ti@fasolo.debian.org>
and subject line Bug#984262: fixed in o3dgc 0~20131011-5
has caused the Debian Bug report #984262,
regarding o3dgc: 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.)


-- 
984262: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984262
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:o3dgc
Version: 0~20131011-4
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/o3dgc_0~20131011-4_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.

[...]
      |                                                                                                 ^
[ 80%] Linking CXX static library libo3dgc_dec_lib.a
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
[ 80%] Built target o3dgc_dec_lib
make[4]: Entering directory '/<<PKGBUILDDIR>>/src'
Scanning dependencies of target test_o3dgc
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[4]: Entering directory '/<<PKGBUILDDIR>>/src'
[ 90%] Building CXX object test/CMakeFiles/test_o3dgc.dir/src/main.cpp.o
In file included from /<<PKGBUILDDIR>>/src/test/src/main.cpp:37:
/<<PKGBUILDDIR>>/src/test/../o3dgc_decode_lib/inc/o3dgcSC3DMCDecoder.h: In member function ‘o3dgc::O3DGCErrorCode o3dgc::SC3DMCDecoder<T>::SetIterator(long unsigned int)’:
/<<PKGBUILDDIR>>/src/test/../o3dgc_decode_lib/inc/o3dgcSC3DMCDecoder.h:66:97: warning: no return statement in function returning non-void [-Wreturn-type]
   66 |         O3DGCErrorCode              SetIterator(unsigned long iterator) { m_iterator = iterator;}
      |                                                                                                 ^
In file included from /<<PKGBUILDDIR>>/src/test/src/main.cpp:41:
/<<PKGBUILDDIR>>/src/test/../o3dgc_decode_lib/inc/o3dgcDynamicVectorDecoder.h: In member function ‘o3dgc::O3DGCErrorCode o3dgc::DynamicVectorDecoder::SetIterator(long unsigned int)’:
/<<PKGBUILDDIR>>/src/test/../o3dgc_decode_lib/inc/o3dgcDynamicVectorDecoder.h:54:97: warning: no return statement in function returning non-void [-Wreturn-type]
   54 |         O3DGCErrorCode              SetIterator(unsigned long iterator) { m_iterator = iterator;}
      |                                                                                                 ^
/<<PKGBUILDDIR>>/src/test/src/main.cpp: In function ‘int testDynamicVectorCompression()’:
/<<PKGBUILDDIR>>/src/test/src/main.cpp:517:23: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘const long unsigned int’ [-Wsign-compare]
  517 |     for(long n = 0; n < N; ++n)
      |                     ~~^~~
/<<PKGBUILDDIR>>/src/test/src/main.cpp:510:25: warning: unused variable ‘S’ [-Wunused-variable]
  510 |     const unsigned long S = D*N;
      |                         ^
/<<PKGBUILDDIR>>/src/test/src/main.cpp: In function ‘bool LoadIFS(const string&, std::vector<o3dgc::Vec3<float> >&, std::vector<o3dgc::Vec2<float> >&, std::vector<o3dgc::Vec3<float> >&, std::vector<o3dgc::Vec3<long unsigned int> >&, std::vector<long unsigned int>&)’:
/<<PKGBUILDDIR>>/src/test/src/main.cpp:1158:42: warning: unused variable ‘p’ [-Wunused-variable]
 1158 |                 for(unsigned long i = 0, p = 0; i < n; ++i)
      |                                          ^
/<<PKGBUILDDIR>>/src/test/src/main.cpp:1168:42: warning: unused variable ‘p’ [-Wunused-variable]
 1168 |                 for(unsigned long i = 0, p = 0; i < n; ++i)
      |                                          ^
/<<PKGBUILDDIR>>/src/test/src/main.cpp:1181:42: warning: unused variable ‘p’ [-Wunused-variable]
 1181 |                 for(unsigned long i = 0, p = 0; i < n; ++i)
      |                                          ^
/<<PKGBUILDDIR>>/src/test/src/main.cpp:1194:42: warning: unused variable ‘p’ [-Wunused-variable]
 1194 |                 for(unsigned long i = 0, p = 0; i < n; ++i)
      |                                          ^
/<<PKGBUILDDIR>>/src/test/src/main.cpp:1209:46: warning: unused variable ‘p’ [-Wunused-variable]
 1209 |                     for(unsigned long i = 0, p = 0; i < n; ++i)
      |                                              ^
In file included from /<<PKGBUILDDIR>>/src/test/../o3dgc_decode_lib/inc/o3dgcSC3DMCDecoder.h:109,
                 from /<<PKGBUILDDIR>>/src/test/src/main.cpp:37:
/<<PKGBUILDDIR>>/src/test/../o3dgc_decode_lib/inc/o3dgcSC3DMCDecoder.inl: In instantiation of ‘o3dgc::O3DGCErrorCode o3dgc::SC3DMCDecoder<T>::DecodeIntArray(long int*, long unsigned int, long unsigned int, long unsigned int, const o3dgc::IndexedFaceSet<T>&, o3dgc::O3DGCSC3DMCPredictionMode&, const o3dgc::BinaryStream&) [with T = long unsigned int]’:
/<<PKGBUILDDIR>>/src/test/../o3dgc_decode_lib/inc/o3dgcSC3DMCDecoder.inl:210:13:   required from ‘o3dgc::O3DGCErrorCode o3dgc::SC3DMCDecoder<T>::DecodePlayload(o3dgc::IndexedFaceSet<T>&, const o3dgc::BinaryStream&) [with T = long unsigned int]’
/<<PKGBUILDDIR>>/src/test/src/main.cpp:459:40:   required from here
/<<PKGBUILDDIR>>/src/test/../o3dgc_decode_lib/inc/o3dgcSC3DMCDecoder.inl:252:29: warning: unused variable ‘size’ [-Wunused-variable]
  252 |         const unsigned long size             = numIntArray * dimIntArray;
      |                             ^~~~
In file included from /usr/include/c++/11/map:60,
                 from /<<PKGBUILDDIR>>/src/test/src/main.cpp:29:
/usr/include/c++/11/bits/stl_tree.h: In instantiation of ‘static const _Key& std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_S_key(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type) [with _Key = o3dgc::Vec3<long unsigned int>; _Val = std::pair<const o3dgc::Vec3<long unsigned int>, long unsigned int>; _KeyOfValue = std::_Select1st<std::pair<const o3dgc::Vec3<long unsigned int>, long unsigned int> >; _Compare = IVec3Cmp; _Alloc = std::allocator<std::pair<const o3dgc::Vec3<long unsigned int>, long unsigned int> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type = const std::_Rb_tree_node<std::pair<const o3dgc::Vec3<long unsigned int>, long unsigned int> >*]’:
/usr/include/c++/11/bits/stl_tree.h:2433:62:   required from ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<const o3dgc::Vec3<long unsigned int>&>, std::tuple<>}; _Key = o3dgc::Vec3<long unsigned int>; _Val = std::pair<const o3dgc::Vec3<long unsigned int>, long unsigned int>; _KeyOfValue = std::_Select1st<std::pair<const o3dgc::Vec3<long unsigned int>, long unsigned int> >; _Compare = IVec3Cmp; _Alloc = std::allocator<std::pair<const o3dgc::Vec3<long unsigned int>, long unsigned int> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator = std::_Rb_tree<o3dgc::Vec3<long unsigned int>, std::pair<const o3dgc::Vec3<long unsigned int>, long unsigned int>, std::_Select1st<std::pair<const o3dgc::Vec3<long unsigned int>, long un
 signed int> >, IVec3Cmp, std::allocator<std::pair<const o3dgc::Vec3<long unsigned int>, long unsigned int> > >::iterator; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator = std::_Rb_tree<o3dgc::Vec3<long unsigned int>, std::pair<const o3dgc::Vec3<long unsigned int>, long unsigned int>, std::_Select1st<std::pair<const o3dgc::Vec3<long unsigned int>, long unsigned int> >, IVec3Cmp, std::allocator<std::pair<const o3dgc::Vec3<long unsigned int>, long unsigned int> > >::const_iterator]’
/usr/include/c++/11/bits/stl_map.h:501:37:   required from ‘std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = o3dgc::Vec3<long unsigned int>; _Tp = long unsigned int; _Compare = IVec3Cmp; _Alloc = std::allocator<std::pair<const o3dgc::Vec3<long unsigned int>, long unsigned int> >; std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type = long unsigned int; std::map<_Key, _Tp, _Compare, _Alloc>::key_type = o3dgc::Vec3<long unsigned int>]’
/<<PKGBUILDDIR>>/src/test/src/main.cpp:849:40:   required from here
/usr/include/c++/11/bits/stl_tree.h:770:15: error: static assertion failed: comparison object must be invocable as const
  770 |               is_invocable_v<const _Compare&, const _Key&, const _Key&>,
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/11/bits/stl_tree.h:770:15: note: ‘std::is_invocable_v<const IVec3Cmp&, const o3dgc::Vec3<long unsigned int>&, const o3dgc::Vec3<long unsigned int>&>’ evaluates to false
make[4]: *** [test/CMakeFiles/test_o3dgc.dir/build.make:82: test/CMakeFiles/test_o3dgc.dir/src/main.cpp.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: *** [CMakeFiles/Makefile2:259: test/CMakeFiles/test_o3dgc.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:103: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [debian/rules:31: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:22: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: o3dgc
Source-Version: 0~20131011-5
Done: Nilesh Patra <nilesh@debian.org>

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

Debian distribution maintenance software
pp.
Nilesh Patra <nilesh@debian.org> (supplier of updated o3dgc 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: Tue, 03 May 2022 06:13:29 +0000
Source: o3dgc
Architecture: source
Version: 0~20131011-5
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Nilesh Patra <nilesh@debian.org>
Closes: 984262
Changes:
 o3dgc (0~20131011-5) unstable; urgency=medium
 .
   * QA Upload.
   * Add patch to fix GCC-11 FTBFS (Closes: #984262)
   * Bump Standards-Version to 4.6.0 (no changes needed)
   * Add "Rules-Requires-Root: no"
   * d/copyright: Make d/* copyright Expat, cleanup
   * Simplify d/rules, debian/libo3dgc-dev.install
   * Remove un-needed d/*.dirs
   * Install test file as example
   * Add a simple autopkgtest
   * Add patch to fix help exit return code in example file
Checksums-Sha1:
 0450a55054d1befad458a6d93b3cdd24b02ad9a3 1903 o3dgc_0~20131011-5.dsc
 63b86fa0f42d839959365ae5e73c64ed6d1e98a5 4056 o3dgc_0~20131011-5.debian.tar.xz
 9bd2360b89717c84e0d4b074a15cb96327642706 6550 o3dgc_0~20131011-5_amd64.buildinfo
Checksums-Sha256:
 3b1f42db9f1913ab975bf77447561bf5a81395074b589f00b54aca752d6e3c89 1903 o3dgc_0~20131011-5.dsc
 a0e13f15d1e2c514e212a5a23ad7bc37e2ab6c79e14c60eeceaaf6286737423c 4056 o3dgc_0~20131011-5.debian.tar.xz
 a3faf9e834a9358bd70525849823aa2c2621364df9316c03154b4e6507e01f33 6550 o3dgc_0~20131011-5_amd64.buildinfo
Files:
 cb416afbb338c15fe4db455002cefd20 1903 libs optional o3dgc_0~20131011-5.dsc
 6440353ee613e5f779af9b95ab74ccb6 4056 libs optional o3dgc_0~20131011-5.debian.tar.xz
 f052510b4cefd43ca287222e0031afa7 6550 libs optional o3dgc_0~20131011-5_amd64.buildinfo

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

iQJGBAEBCgAwFiEEPpmlJvXcwMu/HO6mALrnSzQzafEFAmJwy9USHG5pbGVzaEBk
ZWJpYW4ub3JnAAoJEAC650s0M2nxpqEQAJpVlrYwkSJVDlT2aIUlX4aSczHSj3GN
yCejT0fmhCu3IxTaW7UB1gdNTRiTJHUCGVdlwmQZ6IRrehNWma+hofuGW0DkNy5D
dulQ9Mrnkq+rhulBssfQPzfMXgnXi+C1HqBwblsFjfP6JxzwsWkOYbE7kvHvNgnw
b1MQE//edOmTs+YKLfMGQmb/UHty+UWLSJJAV6ymYHYlXpXba/X2tBddtA9W5IwY
LinrJT36R3UkoFwNQwu6hKvCBgK7EL8Ytk1QPVaGJ2fgp0OA2LIj/FszpahnRIzx
km2UXHv1urMCfkS3ILp/OsM2HEHkw/GzQKbAZu/B34qSMt1v44gIjPa6tzfJ89Wo
No1Bvbuil8XW3thNxQjzFCHZsNMBQR4XjobWgXBG9AgbTM195CTj+L+Fsq6IRfhn
qAilvYTAo9JEjxmqo1HIFrqBdHB4aPNoBXkP2zYXqeRzviH+7aq6b2s2/AGCMqKY
v02ZfLaOXaU8TBdHJtqlP0pvrvvgjk/m/V43jBwXL3qBCo5QE7LLGEgYDDa4ZZvm
RIMI8gciUWJmGIKtxQoqUUiJBTzcjbaU/m4MmOpgN4UA+FUhirHiU+UUEYNpTjAe
/jblwN9W2vQIDk4ov4sJxxtfpoodyGOQ5RaXvVB0eiLSPlEXf6zcIf7mheZLEjOL
KY4MH9+2GjIx
=kre6
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: