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

Bug#984053: marked as done (etl: ftbfs with GCC-11)



Your message dated Sun, 06 Mar 2022 06:04:00 +0000
with message-id <E1nQjzs-0004SZ-Dn@fasolo.debian.org>
and subject line Bug#984053: fixed in etl 1.4.0-2
has caused the Debian Bug report #984053,
regarding etl: 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.)


-- 
984053: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984053
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:etl
Version: 1.4.0-1
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/etl_1.4.0-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.

[...]
g++ -DHAVE_CONFIG_H -I. -I../ETL  -I.. -I../ETL -Wdate-time -D_FORTIFY_SOURCE=2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -W -Wall -O2 -DNDEBUG -I.. -I../ETL -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -W -Wall -O2 -DNDEBUG -c -o hermite.o hermite.cpp
angle.cpp: In function ‘int angle_test()’:
angle.cpp:205:17: error: reference to ‘hermite’ is ambiguous
  205 |                 hermite<angle> hermie(a,b,b.dist(a),b.dist(a));
      |                 ^~~~~~~
In file included from ../ETL/hermite:32,
                 from angle.cpp:29:
../ETL/_hermite.h:135:7: note: candidates are: ‘template<class V, class T> class etl::hermite’
  135 | class hermite : public bezier<V,T>
      |       ^~~~~~~
In file included from /usr/include/c++/11/cmath:1927,
                 from ../ETL/_fixed.h:33,
                 from ../ETL/_curve_func.h:33,
                 from ../ETL/angle:31,
                 from angle.cpp:26:
/usr/include/c++/11/bits/specfun.h:918:5: note:                 ‘template<class _Tp> typename __gnu_cxx::__promote<_Tp>::__type std::hermite(unsigned int, _Tp)’
  918 |     hermite(unsigned int __n, _Tp __x)
      |     ^~~~~~~
angle.cpp:205:30: error: expected primary-expression before ‘>’ token
  205 |                 hermite<angle> hermie(a,b,b.dist(a),b.dist(a));
      |                              ^
angle.cpp:205:32: error: ‘hermie’ was not declared in this scope
  205 |                 hermite<angle> hermie(a,b,b.dist(a),b.dist(a));
      |                                ^~~~~~
make[3]: *** [Makefile:677: angle.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from ../ETL/bezier:32,
                 from ../ETL/_hermite.h:32,
                 from ../ETL/hermite:32,
                 from hermite.cpp:25:
../ETL/_bezier.h: In instantiation of ‘etl::bezier_base<V, T>::value_type etl::bezier_base<V, T>::operator()(etl::bezier_base<V, T>::time_type) const [with V = float; T = etl::fixed_base<int, 12>; etl::bezier_base<V, T>::value_type = float; etl::bezier_base<V, T>::time_type = etl::fixed_base<int, 12>]’:
hermite.cpp:151:14:   required from here
../ETL/_bezier.h:98:18: warning: implicitly-declared ‘constexpr etl::fixed_base<int, 12>& etl::fixed_base<int, 12>::operator=(const etl::fixed_base<int, 12>&)’ is deprecated [-Wdeprecated-copy]
   98 |                 t=(t-r)/(s-r);
      |                 ~^~~~~~~~~~~~
In file included from ../ETL/_curve_func.h:33,
                 from ../ETL/_bezier.h:33,
                 from ../ETL/bezier:32,
                 from ../ETL/_hermite.h:32,
                 from ../ETL/hermite:32,
                 from hermite.cpp:25:
../ETL/_fixed.h:181:1: note: because ‘etl::fixed_base<int, 12>’ has user-provided ‘etl::fixed_base<T, FIXED_BITS>::fixed_base(const _fixed&) [with T = int; unsigned int FIXED_BITS = 12; etl::fixed_base<T, FIXED_BITS>::_fixed = etl::fixed_base<int, 12>]’
  181 | fixed_base<T,FIXED_BITS>::fixed_base(const _fixed &x):_data(x._data)
      | ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../ETL/bezier:32,
                 from ../ETL/_hermite.h:32,
                 from ../ETL/hermite:32,
                 from hermite.cpp:25:
../ETL/_bezier.h: In instantiation of ‘etl::bezier_base<V, T>::value_type etl::bezier_base<V, T>::operator()(etl::bezier_base<V, T>::time_type) const [with V = etl::angle; T = etl::fixed_base<int, 12>; etl::bezier_base<V, T>::value_type = etl::angle; etl::bezier_base<V, T>::time_type = etl::fixed_base<int, 12>]’:
hermite.cpp:192:16:   required from here
../ETL/_bezier.h:98:18: warning: implicitly-declared ‘constexpr etl::fixed_base<int, 12>& etl::fixed_base<int, 12>::operator=(const etl::fixed_base<int, 12>&)’ is deprecated [-Wdeprecated-copy]
   98 |                 t=(t-r)/(s-r);
      |                 ~^~~~~~~~~~~~
In file included from ../ETL/_curve_func.h:33,
                 from ../ETL/_bezier.h:33,
                 from ../ETL/bezier:32,
                 from ../ETL/_hermite.h:32,
                 from ../ETL/hermite:32,
                 from hermite.cpp:25:
../ETL/_fixed.h:181:1: note: because ‘etl::fixed_base<int, 12>’ has user-provided ‘etl::fixed_base<T, FIXED_BITS>::fixed_base(const _fixed&) [with T = int; unsigned int FIXED_BITS = 12; etl::fixed_base<T, FIXED_BITS>::_fixed = etl::fixed_base<int, 12>]’
  181 | fixed_base<T,FIXED_BITS>::fixed_base(const _fixed &x):_data(x._data)
      | ^~~~~~~~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/test'
make[2]: *** [Makefile:1005: check-am] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/test'
make[1]: *** [Makefile:516: check-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j4 check VERBOSE=1 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: etl
Source-Version: 1.4.0-2
Done: Stuart Prescott <stuart@debian.org>

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

Debian distribution maintenance software
pp.
Stuart Prescott <stuart@debian.org> (supplier of updated etl 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: SHA256

Format: 1.8
Date: Sun, 06 Mar 2022 16:49:38 +1100
Source: etl
Architecture: source
Version: 1.4.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Stuart Prescott <stuart@debian.org>
Closes: 984053
Changes:
 etl (1.4.0-2) unstable; urgency=medium
 .
   * Team upload.
   * Backport fix from upstream to provide compatibility with GCC-11, with
     thanks to Rodolfo Ribeiro Gomes for pointing out the relevant commit
     (Closes: #984053)
Checksums-Sha1:
 e554c9e55a7b332f8acacf7b7df7f2991ff8884d 1864 etl_1.4.0-2.dsc
 ee2cb060e9e219c890e9ec8842da855855432f66 4776 etl_1.4.0-2.debian.tar.xz
 7904beb18d1acbe371716e89b9c056124813c404 5810 etl_1.4.0-2_amd64.buildinfo
Checksums-Sha256:
 74c5fffef6b26df76ef84c5e0e2c58ad552a9c8eeb3caf7c5ce831bacc8535f5 1864 etl_1.4.0-2.dsc
 62434f509be246fefe4257e29755ba6337d02a850ffb168cafe0ab1efa2f3964 4776 etl_1.4.0-2.debian.tar.xz
 59d3ebecf88e0042175e39b2a42701e5fbd7db28cdc0d540e9d70434e404c309 5810 etl_1.4.0-2_amd64.buildinfo
Files:
 2f13189eaed2d4adf0d40ecb7665f0b7 1864 libdevel optional etl_1.4.0-2.dsc
 d3f55092d2daf0d05cb90d40c72b363a 4776 libdevel optional etl_1.4.0-2.debian.tar.xz
 010c2668cb4af5574c3e5b28433e18d5 5810 libdevel optional etl_1.4.0-2_amd64.buildinfo

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

iQIzBAEBCAAdFiEEkOLSwa0Uaht+u4kdu8F+uxOW8vcFAmIkTEAACgkQu8F+uxOW
8vck5w//d1K7wd2R5VTCY36npo3U9/OsIK+ulhBG2jIcnyX/ngD2YDSCXtvbUyk5
WJCCyTb8Hos5NVGA5HFxdTfoaxHTFPtEvTnWm5efIB5RbwzehPRobehO224WMrAB
OWu1dqmeFbHazPrnSTgF0DoMkxb4h//pz3YH4eJ2GQ/a8zzQXWgkgHvD9JMEJfau
2SWwJKWe3f1jHc40ra6aHxEdFgm7mubZozUvFZIGw05lunW1zi4vE/00RLruwcLR
YlHDxC3woTtryrjRQEaxIKNFBsLVp2Ab3rKfZyF1Q9vjwCQcwxyaZfN6G4N3vstx
99C3JJtzxn0g5s6XBm+1fPKfanWre4N6qzY/9BWOwIAPWN3wXlTqaxqcGNqtx6TU
e0hAAWNg7GnkBFvDsxHHwlwnXn/UibJP2WcwdfLDDJCNxedEJKXcFhuaCqofVeFj
txlja2Bpk/gA9T6Pr2S4Rd0IWG/rhqHRuTy/TKPgfW5x969f+/CiSJZjqwUf3zwv
Dzc5afOTJF7pEteBvujl46jmCMA4UBm2FW0mSS8bmsawRtcXClzO6QKVbwqYHZGH
W3c+NaNtwDC91uHSNIN6rsnVcBIIckXeBkDC8KGCXPwobfxXadYbkK5VdqHUwIIA
0RIscCx3Opu1CVchmccuc5Of6Fto9ikUh4/KkFpHZeQ09HGaDik=
=VfqL
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: