[Debian-astro-maintainers] Bug#1075003: giza: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:27:57 BST 2024
Package: src:giza
Version: 1.4.1-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/giza_1.4.1-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
[...]
make[3]: Leaving directory '/<<PKGBUILDDIR>>/test'
make[3]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test
make -j8 check "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Making check in src
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
Making check in test
make[2]: Entering directory '/<<PKGBUILDDIR>>/test'
Making check in C
make[3]: Entering directory '/<<PKGBUILDDIR>>/test/C'
make test-arrow test-band test-box test-cairo-xw test-change-page test-circle test-colour-index test-environment test-error-bars test-format-number test-giza-xw test-line-cap test-line-style test-openclose test-pdf test-png test-points test-qtext test-rectangle test-set-line-width test-svg test-vector test-window test-XOpenDisplay
make[4]: Entering directory '/<<PKGBUILDDIR>>/test/C'
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o test-arrow.o test-arrow.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o test-band.o test-band.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o test-box.o test-box.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o test-cairo-xw.o test-cairo-xw.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o test-change-page.o test-change-page.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o test-circle.o test-circle.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o test-colour-index.o test-colour-index.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o test-environment.o test-environment.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o test-error-bars.o test-error-bars.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o test-format-number.o test-format-number.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o test-giza-xw.o test-giza-xw.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o test-line-cap.o test-line-cap.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o test-line-style.o test-line-style.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o test-openclose.o test-openclose.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o test-pdf.o test-pdf.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o test-png.o test-png.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o test-points.o test-points.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o test-qtext.o test-qtext.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o test-rectangle.o test-rectangle.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o test-set-line-width.o test-set-line-width.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o test-svg.o test-svg.c
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o test-vector.o test-vector.c
test-vector.c: In function ‘main’:
test-vector.c:55:28: error: passing argument 3 of ‘giza_vector_float’ from incompatible pointer type [-Wincompatible-pointer-types]
55 | giza_vector_float (n, m, hori, vert, 0, 1, 0, 1, scale, 0, affine, 1000.);
| ^~~~
| |
| float (*)[n]
In file included from test-vector.c:25:
../../src/giza.h:350:47: note: expected ‘const float *’ but argument is of type ‘float (*)[n]’
350 | giza_vector_float (int n, int m, const float* horizontal, const float* vertical,
| ~~~~~~~~~~~~~^~~~~~~~~~
test-vector.c:55:34: error: passing argument 4 of ‘giza_vector_float’ from incompatible pointer type [-Wincompatible-pointer-types]
55 | giza_vector_float (n, m, hori, vert, 0, 1, 0, 1, scale, 0, affine, 1000.);
| ^~~~
| |
| float (*)[n]
../../src/giza.h:350:72: note: expected ‘const float *’ but argument is of type ‘float (*)[n]’
350 | giza_vector_float (int n, int m, const float* horizontal, const float* vertical,
| ~~~~~~~~~~~~~^~~~~~~~
make[4]: *** [Makefile:635: test-vector.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/<<PKGBUILDDIR>>/test/C'
make[3]: *** [Makefile:742: check-am] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/test/C'
make[2]: *** [Makefile:370: check-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/test'
make[1]: *** [Makefile:474: check-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j8 check "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Debian-astro-maintainers
mailing list