Acknowledgement sent
to Matthias Klose <[email protected]>:
New Bug report received and forwarded. Copy sent to ChangZhuo Chen (陳昌倬) <[email protected]>.
(Mon, 17 Feb 2025 17:21:50 GMT) (full text, mbox, link).
Package: src:jq
Version: 1.7.1-3
Severity: important
Tags: sid forky
User: [email protected]
Usertags: ftbfs-gcc-15
[This bug is NOT 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.
The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/jq_1.7.1-3_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.
To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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-15/porting_to.html
[...]
1778 | {f_strptime, "strptime", 2},
| ^~~~~~~~~~
src/builtin.c:1778:4: note: (near initialization for 'function_list[120].fptr')
src/builtin.c:1425:11: note: 'f_strptime' declared here
1425 | static jv f_strptime(jq_state *jq, jv a, jv b) {
| ^~~~~~~~~~
src/builtin.c:1779:4: error: initialization of 'jv (*)(void)' from incompatible pointer type 'jv (*)(jq_state *, jv, jv)' [-Wincompatible-pointer-types]
1779 | {f_strftime, "strftime", 2},
| ^~~~~~~~~~
src/builtin.c:1779:4: note: (near initialization for 'function_list[121].fptr')
src/builtin.c:1611:11: note: 'f_strftime' declared here
1611 | static jv f_strftime(jq_state *jq, jv a, jv b) {
| ^~~~~~~~~~
src/builtin.c:1780:4: error: initialization of 'jv (*)(void)' from incompatible pointer type 'jv (*)(jq_state *, jv, jv)' [-Wincompatible-pointer-types]
1780 | {f_strflocaltime, "strflocaltime", 2},
| ^~~~~~~~~~~~~~~
src/builtin.c:1780:4: note: (near initialization for 'function_list[122].fptr')
src/builtin.c:1646:11: note: 'f_strflocaltime' declared here
1646 | static jv f_strflocaltime(jq_state *jq, jv a, jv b) {
| ^~~~~~~~~~~~~~~
src/builtin.c:1781:4: error: initialization of 'jv (*)(void)' from incompatible pointer type 'jv (*)(jq_state *, jv)' [-Wincompatible-pointer-types]
1781 | {f_mktime, "mktime", 1},
| ^~~~~~~~
src/builtin.c:1781:4: note: (near initialization for 'function_list[123].fptr')
src/builtin.c:1520:11: note: 'f_mktime' declared here
1520 | static jv f_mktime(jq_state *jq, jv a) {
| ^~~~~~~~
src/builtin.c:1782:4: error: initialization of 'jv (*)(void)' from incompatible pointer type 'jv (*)(jq_state *, jv)' [-Wincompatible-pointer-types]
1782 | {f_gmtime, "gmtime", 1},
| ^~~~~~~~
src/builtin.c:1782:4: note: (near initialization for 'function_list[124].fptr')
src/builtin.c:1537:11: note: 'f_gmtime' declared here
1537 | static jv f_gmtime(jq_state *jq, jv a) {
| ^~~~~~~~
src/builtin.c:1783:4: error: initialization of 'jv (*)(void)' from incompatible pointer type 'jv (*)(jq_state *, jv)' [-Wincompatible-pointer-types]
1783 | {f_localtime, "localtime", 1},
| ^~~~~~~~~~~
src/builtin.c:1783:4: note: (near initialization for 'function_list[125].fptr')
src/builtin.c:1574:11: note: 'f_localtime' declared here
1574 | static jv f_localtime(jq_state *jq, jv a) {
| ^~~~~~~~~~~
src/builtin.c:1784:4: error: initialization of 'jv (*)(void)' from incompatible pointer type 'jv (*)(jq_state *, jv)' [-Wincompatible-pointer-types]
1784 | {f_now, "now", 1},
| ^~~~~
src/builtin.c:1784:4: note: (near initialization for 'function_list[126].fptr')
src/builtin.c:1676:11: note: 'f_now' declared here
1676 | static jv f_now(jq_state *jq, jv a) {
| ^~~~~
src/builtin.c:1785:4: error: initialization of 'jv (*)(void)' from incompatible pointer type 'jv (*)(jq_state *, jv)' [-Wincompatible-pointer-types]
1785 | {f_current_filename, "input_filename", 1},
| ^~~~~~~~~~~~~~~~~~
src/builtin.c:1785:4: note: (near initialization for 'function_list[127].fptr')
src/builtin.c:1690:11: note: 'f_current_filename' declared here
1690 | static jv f_current_filename(jq_state *jq, jv a) {
| ^~~~~~~~~~~~~~~~~~
src/builtin.c:1786:4: error: initialization of 'jv (*)(void)' from incompatible pointer type 'jv (*)(jq_state *, jv)' [-Wincompatible-pointer-types]
1786 | {f_current_line, "input_line_number", 1},
| ^~~~~~~~~~~~~~
src/builtin.c:1786:4: note: (near initialization for 'function_list[128].fptr')
src/builtin.c:1699:11: note: 'f_current_line' declared here
1699 | static jv f_current_line(jq_state *jq, jv a) {
| ^~~~~~~~~~~~~~
make[2]: *** [Makefile:1013: src/builtin.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/build/reproducible-path/jq-1.7.1'
make[1]: *** [Makefile:783: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/jq-1.7.1'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:26: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.