[pkg-crosswire-devel] Bug#1074845: bibledit-cloud: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:22:58 BST 2024
Package: src:bibledit-cloud
Version: 5.1.015-1
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14
[This bug is targeted to the upcoming trixie 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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/bibledit-cloud_5.1.015-1_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 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-14/porting_to.html
[...]
| ^~~~~~~~~~~~
filter/url.cpp:1165:16: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
1165 | CURLFORM_COPYNAME, "uploadedZipFile",
| ^~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/curl/curl.h:2509:3: note: declared here
2509 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
| ^~~~~~~~~~~~~~~~~
filter/url.cpp:1166:16: warning: ‘CURLFORM_FILE’ is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations]
1166 | CURLFORM_FILE, filename.c_str(),
| ^~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/curl/curl.h:2518:3: note: declared here
2518 | CURLFORM_FILE CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"),
| ^~~~~~~~~~~~~
filter/url.cpp:1164:15: warning: ‘CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
1164 | curl_formadd(&formpost, &lastptr,
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
1165 | CURLFORM_COPYNAME, "uploadedZipFile",
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1166 | CURLFORM_FILE, filename.c_str(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1167 | CURLFORM_END);
| ~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/curl/curl.h:2584:1: note: declared here
2584 | curl_formadd(struct curl_httppost **httppost,
| ^~~~~~~~~~~~
filter/url.cpp:1175:29: warning: ‘CURLOPT_HTTPPOST’ is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations]
1175 | curl_easy_setopt (curl, CURLOPT_HTTPPOST, formpost);
| ^~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/curl/curl.h:1195:3: note: declared here
1195 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24,
| ^~~~~~~~~~~~~~~~~
filter/url.cpp:1200:19: warning: ‘void curl_formfree(curl_httppost*)’ is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations]
1200 | curl_formfree (formpost);
| ~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/x86_64-linux-gnu/curl/curl.h:2620:1: note: declared here
2620 | curl_formfree(struct curl_httppost *form);
| ^~~~~~~~~~~~~
g++ -std=c++17 -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fno-var-tracking -g -I/usr/include/x86_64-linux-gnu -I/usr/include/libxml2 -DUTF8PROC_EXPORTS -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o filter/archive.o filter/archive.cpp
g++ -std=c++17 -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fno-var-tracking -g -I/usr/include/x86_64-linux-gnu -I/usr/include/libxml2 -DUTF8PROC_EXPORTS -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o filter/text.o filter/text.cpp
g++ -std=c++17 -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fno-var-tracking -g -I/usr/include/x86_64-linux-gnu -I/usr/include/libxml2 -DUTF8PROC_EXPORTS -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o filter/passage.o filter/passage.cpp
g++ -std=c++17 -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fno-var-tracking -g -I/usr/include/x86_64-linux-gnu -I/usr/include/libxml2 -DUTF8PROC_EXPORTS -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o filter/css.o filter/css.cpp
g++ -std=c++17 -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fno-var-tracking -g -I/usr/include/x86_64-linux-gnu -I/usr/include/libxml2 -DUTF8PROC_EXPORTS -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o filter/git.o filter/git.cpp
g++ -std=c++17 -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fno-var-tracking -g -I/usr/include/x86_64-linux-gnu -I/usr/include/libxml2 -DUTF8PROC_EXPORTS -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o filter/html.o filter/html.cpp
g++ -std=c++17 -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fno-var-tracking -g -I/usr/include/x86_64-linux-gnu -I/usr/include/libxml2 -DUTF8PROC_EXPORTS -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o filter/diff.o filter/diff.cpp
g++ -std=c++17 -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fno-var-tracking -g -I/usr/include/x86_64-linux-gnu -I/usr/include/libxml2 -DUTF8PROC_EXPORTS -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o filter/shell.o filter/shell.cpp
g++ -std=c++17 -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fno-var-tracking -g -I/usr/include/x86_64-linux-gnu -I/usr/include/libxml2 -DUTF8PROC_EXPORTS -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o filter/merge.o filter/merge.cpp
g++ -std=c++17 -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fno-var-tracking -g -I/usr/include/x86_64-linux-gnu -I/usr/include/libxml2 -DUTF8PROC_EXPORTS -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o filter/date.o filter/date.cpp
g++ -std=c++17 -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fno-var-tracking -g -I/usr/include/x86_64-linux-gnu -I/usr/include/libxml2 -DUTF8PROC_EXPORTS -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o filter/memory.o filter/memory.cpp
g++ -std=c++17 -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fno-var-tracking -g -I/usr/include/x86_64-linux-gnu -I/usr/include/libxml2 -DUTF8PROC_EXPORTS -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o filter/webview.o filter/webview.cpp
In file included from ./dtl/dtl.hpp:44,
from filter/diff.cpp:32:
./dtl/Diff.hpp: In member function ‘void dtl::Diff<elem, sequence, comparator>::enableTrivial() const’:
./dtl/Diff.hpp:169:27: error: assignment of member ‘trivial’ in read-only object
169 | this->trivial = true;
| ~~~~~~~~~~~~~~^~~~~~
make[2]: *** [Makefile:3788: filter/diff.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from ./dtl/dtl.hpp:44,
from filter/merge.cpp:27:
./dtl/Diff.hpp: In member function ‘void dtl::Diff<elem, sequence, comparator>::enableTrivial() const’:
./dtl/Diff.hpp:169:27: error: assignment of member ‘trivial’ in read-only object
169 | this->trivial = true;
| ~~~~~~~~~~~~~~^~~~~~
make[2]: *** [Makefile:3788: filter/merge.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:1470: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:6: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the pkg-crosswire-devel
mailing list