Your message dated Wed, 3 Mar 2021 21:16:07 +0100
with message-id <[email protected]>
and subject line Re: Bug#984204: libreoffice: ftbfs with GCC-11
has caused the Debian Bug report #984209,
regarding libsynthesis: 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 [email protected]
immediately.)
--
984209: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984209
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:libsynthesis
Version: 3.4.0.47.5+syncevolution-1.5.3-1
Severity: normal
Tags: sid bookworm
User: [email protected]
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/libsynthesis_3.4.0.47.5+syncevolution-1.5.3-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.
[...]
628 | if (v > (byte*)fSan+fSanSize) return DB_Forbidden; // no access
behind the message
| ~ ^~~~
| )
sysync_SDK/Sources/san.cpp: In member function ‘sysync::TSyError
sysync::SanPackage::GetPackage(void*&, size_t&, void*, size_t)’:
sysync_SDK/Sources/san.cpp:661:3: error: reference to ‘byte’ is ambiguous
661 | byte len = (byte)fServerID.length(); // calulate the full
size
| ^~~~
In file included from /usr/include/c++/11/bits/stl_algobase.h:61,
from /usr/include/c++/11/bits/char_traits.h:39,
from /usr/include/c++/11/string:40,
from sysync_SDK/Sources/sync_include.h:54,
from sysync_SDK/Sources/san.cpp:67:
/usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: ‘enum
class std::byte’
404 | enum class byte : unsigned char;
| ^~~~
In file included from sysync_SDK/Sources/san.cpp:68:
sysync_SDK/Sources/san.h:32:24: note: ‘typedef unsigned char
byte’
32 | typedef unsigned char byte;
| ^~~~
sysync_SDK/Sources/san.cpp:662:38: error: ‘len’ was not declared in this scope
662 | sanSize= sizeof(TPackage) + len + fBodySize +
vendorSpecificSize;
| ^~~
sysync_SDK/Sources/san.cpp:677:3: error: reference to ‘byte’ is ambiguous
677 | byte* pp= (byte*)(tp+1); // = right after TPackage
| ^~~~
In file included from /usr/include/c++/11/bits/stl_algobase.h:61,
from /usr/include/c++/11/bits/char_traits.h:39,
from /usr/include/c++/11/string:40,
from sysync_SDK/Sources/sync_include.h:54,
from sysync_SDK/Sources/san.cpp:67:
/usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: ‘enum
class std::byte’
404 | enum class byte : unsigned char;
| ^~~~
In file included from sysync_SDK/Sources/san.cpp:68:
sysync_SDK/Sources/san.h:32:24: note: ‘typedef unsigned char
byte’
32 | typedef unsigned char byte;
| ^~~~
sysync_SDK/Sources/san.cpp:677:19: error: ‘pp’ was not declared in this scope;
did you mean ‘tp’?
677 | byte* pp= (byte*)(tp+1); // = right after TPackage
| ^~
| tp
sysync_SDK/Sources/san.cpp:677:24: error: reference to ‘byte’ is ambiguous
677 | byte* pp= (byte*)(tp+1); // = right after TPackage
| ^~~~
In file included from /usr/include/c++/11/bits/stl_algobase.h:61,
from /usr/include/c++/11/bits/char_traits.h:39,
from /usr/include/c++/11/string:40,
from sysync_SDK/Sources/sync_include.h:54,
from sysync_SDK/Sources/san.cpp:67:
/usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: ‘enum
class std::byte’
404 | enum class byte : unsigned char;
| ^~~~
In file included from sysync_SDK/Sources/san.cpp:68:
sysync_SDK/Sources/san.h:32:24: note: ‘typedef unsigned char
byte’
32 | typedef unsigned char byte;
| ^~~~
sysync_SDK/Sources/san.cpp:677:29: error: expected primary-expression before
‘)’ token
677 | byte* pp= (byte*)(tp+1); // = right after TPackage
| ^
make[3]: *** [Makefile:2471: sysync_SDK/Sources/libsynthesissdk_la-san.lo]
Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE=1 -include
../config.h -I./Targets/ReleasedProducts/SDK -I./sysync_SDK/Sources
-I./platform_adapters/linux/ -I./platform_adapters/unix_common/
-I./platform_adapters/ -I./sysync/ -I./syncml_tk/src/sml/inc/
-I./syncml_tk/src/sml/lib/inc/ -I./syncml_tk/src/sml/mgr/inc/ -Wdate-time
-D_FORTIFY_SOURCE=2 -fPIC -DPIC -Wall -Wno-unknown-pragmas
-Wno-unused-but-set-variable -Wno-misleading-indentation -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -c sysync_SDK/Sources/stringutil.cpp -o
sysync_SDK/Sources/libsynthesissdk_la-stringutil.o >/dev/null 2>&1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:494: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:401: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:10: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--- End Message ---
--- Begin Message ---
Version: 1:7.1.0~rc1-1
Hi,
Am 03.03.21 um 17:14 schrieb Matthias Klose:
> Package: src:libreoffice
> Version: 1:7.0.4-3
> Severity: normal
> Tags: sid bookworm
> User: [email protected]
> Usertags: ftbfs-gcc-11
>
> [This bug is not targeted to the upcoming bullseye release]
Neither is 7.0.4 relevant for bookworm. ;-)
7.1 has:
https://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-7.1.0.1&id=f6112bf4a0577db4c43370aafa37a073e73a94b1
and many other GCC11 fixes only done for 7.1.
So this is fixed in 7.1.0 rc1 which (and it's later versions) is in
Debian experimental since
[2020-12-17] Accepted libreoffice 1:7.1.0~rc1-1 (source) into
experimental (Rene Engelhard)
Regards,
Rene
--- End Message ---