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

Bug#984198: marked as done (liborcus: ftbfs with GCC-11)



Your message dated Thu, 23 Sep 2021 18:48:35 +0000
with message-id <E1mTTlr-0007de-P6@fasolo.debian.org>
and subject line Bug#984198: fixed in liborcus 0.16.1-4
has caused the Debian Bug report #984198,
regarding liborcus: 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.)


-- 
984198: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984198
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:liborcus
Version: 0.16.1-3
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/liborcus_0.16.1-3_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.

[...]
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I./include -D__ORCUS_BUILDING_DLL=1 -DSRCDIR=\"../..\" -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -Wshadow -DSIZEOF_VOID_P=8 -O2 -D__ORCUS_ODS -D__ORCUS_XLSX -D__ORCUS_XLS_XML -D__ORCUS_GNUMERIC -I/usr/include/mdds-1.5 -D__ORCUS_SPREADSHEET_MODEL -D__ORCUS_PYTHON_CSV -D__ORCUS_PYTHON_XLSX -D__ORCUS_PYTHON_ODS -D__ORCUS_PYTHON_XLS_XML -D__ORCUS_PYTHON_GNUMERIC -c orcus_import_xlsx.cpp  -fPIC -DPIC -o .libs/liborcus_0.16_la-orcus_import_xlsx.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I./include -D__ORCUS_BUILDING_DLL=1 -DSRCDIR=\"../..\" -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -Wshadow -DSIZEOF_VOID_P=8 -O2 -D__ORCUS_ODS -D__ORCUS_XLSX -D__ORCUS_XLS_XML -D__ORCUS_GNUMERIC -I/usr/include/mdds-1.5 -D__ORCUS_SPREADSHEET_MODEL -D__ORCUS_PYTHON_CSV -D__ORCUS_PYTHON_XLSX -D__ORCUS_PYTHON_ODS -D__ORCUS_PYTHON_XLS_XML -D__ORCUS_PYTHON_GNUMERIC -c opc_context.cpp -o liborcus_0.16_la-opc_context.o >/dev/null 2>&1
orcus_xlsx.cpp: In function ‘size_t orcus::{anonymous}::get_schema_rank(orcus::schema_t)’:
orcus_xlsx.cpp:313:35: error: ‘numeric_limits’ was not declared in this scope
  313 |     return it == rank_map.end() ? numeric_limits<size_t>::max() : it->second;
      |                                   ^~~~~~~~~~~~~~
orcus_xlsx.cpp:313:56: error: expected primary-expression before ‘>’ token
  313 |     return it == rank_map.end() ? numeric_limits<size_t>::max() : it->second;
      |                                                        ^
orcus_xlsx.cpp:313:63: error: no matching function for call to ‘max()’
  313 |     return it == rank_map.end() ? numeric_limits<size_t>::max() : it->second;
      |                                                               ^
In file included from /usr/include/c++/11/vector:60,
                 from ../../include/orcus/types.hpp:12,
                 from ../../include/orcus/interface.hpp:12,
                 from ../../include/orcus/orcus_xlsx.hpp:11,
                 from orcus_xlsx.cpp:8:
/usr/include/c++/11/bits/stl_algobase.h:254:5: note: candidate: ‘template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)’
  254 |     max(const _Tp& __a, const _Tp& __b)
      |     ^~~
/usr/include/c++/11/bits/stl_algobase.h:254:5: note:   template argument deduction/substitution failed:
orcus_xlsx.cpp:313:63: note:   candidate expects 2 arguments, 0 provided
  313 |     return it == rank_map.end() ? numeric_limits<size_t>::max() : it->second;
      |                                                               ^
In file included from /usr/include/c++/11/vector:60,
                 from ../../include/orcus/types.hpp:12,
                 from ../../include/orcus/interface.hpp:12,
                 from ../../include/orcus/orcus_xlsx.hpp:11,
                 from orcus_xlsx.cpp:8:
/usr/include/c++/11/bits/stl_algobase.h:300:5: note: candidate: ‘template<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)’
  300 |     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
/usr/include/c++/11/bits/stl_algobase.h:300:5: note:   template argument deduction/substitution failed:
orcus_xlsx.cpp:313:63: note:   candidate expects 3 arguments, 0 provided
  313 |     return it == rank_map.end() ? numeric_limits<size_t>::max() : it->second;
      |                                                               ^
In file included from /usr/include/c++/11/functional:65,
                 from ../../include/orcus/global.hpp:15,
                 from orcus_xlsx.cpp:11:
/usr/include/c++/11/bits/stl_algo.h:3461:5: note: candidate: ‘template<class _Tp> constexpr _Tp std::max(std::initializer_list<_Tp>)’
 3461 |     max(initializer_list<_Tp> __l)
      |     ^~~
/usr/include/c++/11/bits/stl_algo.h:3461:5: note:   template argument deduction/substitution failed:
orcus_xlsx.cpp:313:63: note:   candidate expects 1 argument, 0 provided
  313 |     return it == rank_map.end() ? numeric_limits<size_t>::max() : it->second;
      |                                                               ^
In file included from /usr/include/c++/11/functional:65,
                 from ../../include/orcus/global.hpp:15,
                 from orcus_xlsx.cpp:11:
/usr/include/c++/11/bits/stl_algo.h:3467:5: note: candidate: ‘template<class _Tp, class _Compare> constexpr _Tp std::max(std::initializer_list<_Tp>, _Compare)’
 3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/usr/include/c++/11/bits/stl_algo.h:3467:5: note:   template argument deduction/substitution failed:
orcus_xlsx.cpp:313:63: note:   candidate expects 2 arguments, 0 provided
  313 |     return it == rank_map.end() ? numeric_limits<size_t>::max() : it->second;
      |                                                               ^
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I./include -D__ORCUS_BUILDING_DLL=1 -DSRCDIR=\"../..\" -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -Wshadow -DSIZEOF_VOID_P=8 -O2 -D__ORCUS_ODS -D__ORCUS_XLSX -D__ORCUS_XLS_XML -D__ORCUS_GNUMERIC -I/usr/include/mdds-1.5 -D__ORCUS_SPREADSHEET_MODEL -D__ORCUS_PYTHON_CSV -D__ORCUS_PYTHON_XLSX -D__ORCUS_PYTHON_ODS -D__ORCUS_PYTHON_XLS_XML -D__ORCUS_PYTHON_GNUMERIC -c orcus_import_xlsx.cpp -o liborcus_0.16_la-orcus_import_xlsx.o >/dev/null 2>&1
make[4]: *** [Makefile:2173: liborcus_0.16_la-orcus_xlsx.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I./include -D__ORCUS_BUILDING_DLL=1 -DSRCDIR=\"../..\" -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -Wshadow -DSIZEOF_VOID_P=8 -O2 -D__ORCUS_ODS -D__ORCUS_XLSX -D__ORCUS_XLS_XML -D__ORCUS_GNUMERIC -I/usr/include/mdds-1.5 -D__ORCUS_SPREADSHEET_MODEL -D__ORCUS_PYTHON_CSV -D__ORCUS_PYTHON_XLSX -D__ORCUS_PYTHON_ODS -D__ORCUS_PYTHON_XLS_XML -D__ORCUS_PYTHON_GNUMERIC -c opc_reader.cpp -o liborcus_0.16_la-opc_reader.o >/dev/null 2>&1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/liborcus'
make[3]: *** [Makefile:2155: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:1263: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:1172: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: liborcus
Source-Version: 0.16.1-4
Done: Rene Engelhard <rene@debian.org>

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

Debian distribution maintenance software
pp.
Rene Engelhard <rene@debian.org> (supplier of updated liborcus 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: Thu, 23 Sep 2021 20:13:31 +0200
Source: liborcus
Architecture: source
Version: 0.16.1-4
Distribution: unstable
Urgency: medium
Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Changed-By: Rene Engelhard <rene@debian.org>
Closes: 984198
Changes:
 liborcus (0.16.1-4) unstable; urgency=medium
 .
   [ Rene Engelhard ]
   * debian/patches/limits.diff: add missing #include <limits> to fix
     build with GCC11 (from LO tree) (closes: #984198)
 .
   [ Debian Janitor ]
   * Trim trailing whitespace.
   * Update standards version to 4.5.1, no changes needed.
Checksums-Sha1:
 5bd75165d2d1abf28863fab5df52514dfc73fadc 2922 liborcus_0.16.1-4.dsc
 b2ba8fb3becee0115b9f0b4667c3b97f7ad6a92f 9032 liborcus_0.16.1-4.debian.tar.xz
 2890c0897b0d99dd23a7634c951b8eaedcedc4db 7709 liborcus_0.16.1-4_source.buildinfo
Checksums-Sha256:
 5ba97e0428d419f568f4a005c1f96b7215a6bb27b668c8eb62c0ee571aaf2c86 2922 liborcus_0.16.1-4.dsc
 404b47af7dbecd923ee7f7cec15614c8be19cbc621a03bc57c45838a25960aa3 9032 liborcus_0.16.1-4.debian.tar.xz
 d6aeec70d02f87f3e30686190c2d78105e1ce33199cc35166dfb3fe1d00206a2 7709 liborcus_0.16.1-4_source.buildinfo
Files:
 827698e2c7ca14c139deea963c551778 2922 libs optional liborcus_0.16.1-4.dsc
 9f62368a09351133decd523748f8086e 9032 libs optional liborcus_0.16.1-4.debian.tar.xz
 e9271641c0a1afbca522ee71be517e95 7709 libs optional liborcus_0.16.1-4_source.buildinfo

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

iQJEBAEBCgAuFiEE4S3qRnUGcM+pYIAdCqBFcdA+PnAFAmFMxnIQHHJlbmVAZGVi
aWFuLm9yZwAKCRAKoEVx0D4+cKhvEACFcpI/goXQMaT31f903JEUpPcI5GicEdEK
pN1+bzG1JkwTpNO8jJQ86onG6qaFr7e2Z/Cy/RI4pRyrOiz881bwVT/XA4Ckl00j
MrYYXKtcuEIAbefuXWqZCnixQ6BM98AhpZS4jl+zeWHG7VBkGor5ev09j6Tdcpuz
GrE07onBBBrPaSczCNRcLzjA/ovWL9AaS+9HzMq+73hk+trZ1zr+1dOiC5qk/Mqg
4IXifj5ypTRZpf0ErfERnEDT38ZIgbB4bq4utc4HPXk39WAB0FFGsNopves6Zfty
vcrY61n1RHYj6xkedUMoUVWM3NJqy3uk3VVumi11ZesBe8eMKJGlDaW+9dx3MTAW
oQ78x9zG+CjyC8e2yDBmCYdsDyWFghhKgw7ekh+DLfpSXI5CmDN/pgGEEVBHvkdK
dk4CLxorfB3D7CLcxmX08M+H6HW6DcYx2hK+Zdmxdjdoe5y+wBI5JWB0CzfDE/l9
/rT/iiVvpIhGa2BJOZgaY1TTZ265N+eYZ5DW/QP7jt5Y8tkAULSBP77MejnARLfh
sQFVeyjXnDPil0GeGNbwOvuWTtvoSDouealU2aPqb/osraU7qZz8WVw9JmBwWwXX
vvlcTIHg93FAtistijXR2dx0demqWL5QBNvKkMZROcp439OaUjl70D/3bdcygA4s
BAssK1k/uA==
=e6Qy
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: