[Pkg-electronics-devel] Bug#1074862: camv-rnd: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:23:38 BST 2024
Package: src:camv-rnd
Version: 1.1.4-4
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/camv-rnd_1.1.4-4_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
[...]
lpr exporter (printer) yes, PLUGIN [export_lpr]
export sheets to png yes, PLUGIN [export_png]
export sheets to ps/eps yes, PLUGIN [export_ps]
export sheets to svg yes, PLUGIN [export_svg]
IO plugins (file formats):
native tEDAx layer format yes, buildin [io_tedax]
standard drawing tools yes, buildin [std_tools]
GUI:
base dialogs yes, PLUGIN [dialogs]
Graphical User Interface yes, PLUGIN [gui]
Configuration complete, ready to compile.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build
make -j8
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cd src && make all
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
make revcheck
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
cd ../scconfig && ./revtest Rev.stamp < Rev.tab
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make all_exe
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
/usr/lib/librnd4/scconfig/cquote -n camv_conf_internal < conf_core.lht > conf_internal.c
/usr/lib/librnd4/scconfig/cquote -n camv_menu_internal < menu.lht > menu_internal.c
cd ../src_plugins && /usr/lib/librnd4/puplug buildin.c "-" < ../src_plugins/.builtin.pups > ../src/buildin.c
gcc -c -I.. -I../src -Dinline= -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_LARGE_FILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I../src_3rd -I/usr/include -g -O3 -DNDEBUG -I/usr/include/librnd4 -I/usr/include/librnd4/librnd/src_3rd -o data.o data.c
gcc -c -I.. -I../src -Dinline= -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_LARGE_FILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I../src_3rd -I/usr/include -g -O3 -DNDEBUG -I/usr/include/librnd4 -I/usr/include/librnd4/librnd/src_3rd -o event.o event.c
gcc -c -I.. -I../src -Dinline= -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_LARGE_FILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I../src_3rd -I/usr/include -g -O3 -DNDEBUG -I/usr/include/librnd4 -I/usr/include/librnd4/librnd/src_3rd -o obj_any.o obj_any.c
gcc -c -I.. -I../src -Dinline= -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_LARGE_FILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I../src_3rd -I/usr/include -g -O3 -DNDEBUG -I/usr/include/librnd4 -I/usr/include/librnd4/librnd/src_3rd -o obj_arc.o obj_arc.c
gcc -c -I.. -I../src -Dinline= -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_LARGE_FILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I../src_3rd -I/usr/include -g -O3 -DNDEBUG -I/usr/include/librnd4 -I/usr/include/librnd4/librnd/src_3rd -o obj_line.o obj_line.c
gcc -c -I.. -I../src -Dinline= -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_LARGE_FILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I../src_3rd -I/usr/include -g -O3 -DNDEBUG -I/usr/include/librnd4 -I/usr/include/librnd4/librnd/src_3rd -o obj_poly.o obj_poly.c
gcc -c -I.. -I../src -Dinline= -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_LARGE_FILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I../src_3rd -I/usr/include -g -O3 -DNDEBUG -I/usr/include/librnd4 -I/usr/include/librnd4/librnd/src_3rd -o obj_grp.o obj_grp.c
gcc -c -I.. -I../src -Dinline= -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_LARGE_FILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I../src_3rd -I/usr/include -g -O3 -DNDEBUG -I/usr/include/librnd4 -I/usr/include/librnd4/librnd/src_3rd -o obj_text.o obj_text.c
gcc -c -I.. -I../src -Dinline= -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_LARGE_FILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I../src_3rd -I/usr/include -g -O3 -DNDEBUG -I/usr/include/librnd4 -I/usr/include/librnd4/librnd/src_3rd -o gui_act.o gui_act.c
gcc -c -I.. -I../src -Dinline= -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_LARGE_FILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I../src_3rd -I/usr/include -g -O3 -DNDEBUG -I/usr/include/librnd4 -I/usr/include/librnd4/librnd/src_3rd -o draw.o draw.c
data.c: In function ‘camv_layer_append_to_design’:
data.c:86:76: error: passing argument 3 of ‘vtp0_insert_len’ from incompatible pointer type [-Wincompatible-pointer-types]
86 | vtp0_insert_len(&camv->layers, camv->grp_idx_last, &layer, 1);
| ^~~~~~
| |
| camv_layer_t ** {aka struct camv_layer_s **}
In file included from /usr/include/librnd4/librnd/src_3rd/genvector/vtp0.h:23,
from /usr/include/librnd4/librnd/core/unit.h:34,
from /usr/include/librnd4/librnd/core/event.h:30,
from data.c:31:
/usr/include/librnd4/librnd/src_3rd/genvector/genvector_impl.h:68:95: note: expected ‘void **’ but argument is of type ‘camv_layer_t **’ {aka ‘struct camv_layer_s **’}
68 | GVT_FUNC GVT_ELEM_TYPE *GVT(insert_len)(GVTTYPE *vect, GVT_SIZE_TYPE from_idx, GVT_ELEM_TYPE *src, GVT_SIZE_TYPE len);
data.c: In function ‘camv_sublayer_append_after’:
data.c:101:45: error: passing argument 3 of ‘vtp0_insert_len’ from incompatible pointer type [-Wincompatible-pointer-types]
101 | vtp0_insert_len(&camv->layers, idx, &layer, 1);
| ^~~~~~
| |
| camv_layer_t ** {aka struct camv_layer_s **}
/usr/include/librnd4/librnd/src_3rd/genvector/genvector_impl.h:68:95: note: expected ‘void **’ but argument is of type ‘camv_layer_t **’ {aka ‘struct camv_layer_s **’}
68 | GVT_FUNC GVT_ELEM_TYPE *GVT(insert_len)(GVTTYPE *vect, GVT_SIZE_TYPE from_idx, GVT_ELEM_TYPE *src, GVT_SIZE_TYPE len);
make[3]: *** [Makefile:108: data.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:24: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:2: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:18: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the Pkg-electronics-devel
mailing list