[Pkg-electronics-devel] Bug#1075451: route-rnd: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:42:18 BST 2024
Package: src:route-rnd
Version: 0.9.2-2
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/route-rnd_0.9.2-2_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
[...]
../../src/plugins//rt_topo/trbs.c:165:35: error: assignment to ‘rtrnd_any_obj_t *’ {aka ‘union rtrnd_any_obj_s *’} from incompatible pointer type ‘rtrnd_line_t *’ {aka ‘struct rtrnd_line_s *’} [-Wincompatible-pointer-types]
165 | o = rtrnd_line_new(ly_out, NULL, NULL, last->x, last->y, cr->x, cr->y, rt_topo_cfg.wire_thick, 0);
| ^
../../src/plugins//rt_topo/trbs.c:172:27: error: assignment to ‘rtrnd_any_obj_t *’ {aka ‘union rtrnd_any_obj_s *’} from incompatible pointer type ‘rtrnd_line_t *’ {aka ‘struct rtrnd_line_s *’} [-Wincompatible-pointer-types]
172 | o = rtrnd_line_new(ly_out, NULL, NULL, ttn->end->pos.x, ttn->end->pos.y, last->x, last->y, rt_topo_cfg.wire_thick, 0);
| ^
make[2]: *** [<builtin>: ../../src/plugins//rt_topo/trbs.o] Error 1
make[2]: *** Waiting for unfinished jobs....
../../src/plugins//rt_topo/crbs.c: In function ‘crbs_point_new’:
../../src/plugins//rt_topo/crbs.c:86:2: warning: #warning TODO: do this allocation using ualloc stacks [-Wcpp]
86 | #warning TODO: do this allocation using ualloc stacks
| ^~~~~~~
../../src/plugins//rt_topo/crbs.c: In function ‘crbs_make_point’:
../../src/plugins//rt_topo/crbs.c:130:16: error: assignment to ‘rtrnd_any_obj_t *’ {aka ‘union rtrnd_any_obj_s *’} from incompatible pointer type ‘rtrnd_via_t *’ {aka ‘struct rtrnd_via_s *’} [-Wincompatible-pointer-types]
130 | p->obj = via;
| ^
In file included from ../../src/plugins//rt_topo/crbs.c:201:
../../src/plugins//rt_topo/crbs_cdt.c: At top level:
../../src/plugins//rt_topo/crbs_cdt.c:36:2: warning: #warning TODO: use libualloc for ctn [-Wcpp]
36 | #warning TODO: use libualloc for ctn
| ^~~~~~~
../../src/plugins//rt_topo/crbs_cdt.c: In function ‘rt_topo_crbs_cdt_create_points’:
../../src/plugins//rt_topo/crbs_cdt.c:145:2: warning: #warning handle all other types [-Wcpp]
145 | #warning handle all other types
| ^~~~~~~
../../src/plugins//rt_topo/crbs_cdt.c:184:2: warning: #warning TODO: this should be 0,0 for copper and clearance once grbs supports convex implicit attachments [-Wcpp]
184 | #warning TODO: this should be 0,0 for copper and clearance once grbs supports convex implicit attachments
| ^~~~~~~
../../src/plugins//rt_topo/crbs_cdt.c: In function ‘rt_topo_crbs_cdt_create_edges’:
../../src/plugins//rt_topo/crbs_cdt.c:199:2: warning: #warning TODO: use libualloc here [-Wcpp]
199 | #warning TODO: use libualloc here
| ^~~~~~~
In file included from ../../src/plugins//rt_topo/crbs.c:202:
../../src/plugins//rt_topo/crbs_route.c: In function ‘crbs_is_spiral’:
../../src/plugins//rt_topo/crbs_route.c:206:2: warning: #warning TODO: we should probably allow real spirals and deny only on the same orbit (some maze setup may have legit spiral) [-Wcpp]
206 | #warning TODO: we should probably allow real spirals and deny only on the same orbit (some maze setup may have legit spiral)
| ^~~~~~~
../../src/plugins//rt_topo/crbs_route.c: In function ‘crbs_next_hop’:
../../src/plugins//rt_topo/crbs_route.c:297:2: warning: #warning TODO: allocate this with ualloc stacks [-Wcpp]
297 | #warning TODO: allocate this with ualloc stacks
| ^~~~~~~
../../src/plugins//rt_topo/crbs_route.c: In function ‘crbs_ast_set_mark’:
../../src/plugins//rt_topo/crbs_route.c:433:2: warning: #warning TODO: allocate this with ualloc stacks [-Wcpp]
433 | #warning TODO: allocate this with ualloc stacks
| ^~~~~~~
../../src/plugins//rt_topo/crbs_route.c: In function ‘rt_topo_crbs_route_net’:
../../src/plugins//rt_topo/crbs_route.c:498:2: warning: #warning TODO: when det allocation is libualloc staks based, these two lines can be replaced with a stack reset: [-Wcpp]
498 | #warning TODO: when det allocation is libualloc staks based, these two lines can be replaced with a stack reset:
| ^~~~~~~
../../src/plugins//rt_topo/crbs_route.c:507:2: warning: #warning TODO: per net wire thickness [-Wcpp]
507 | #warning TODO: per net wire thickness
| ^~~~~~~
../../src/plugins//rt_topo/crbs_route.c: In function ‘rt_topo_crbs_layer’:
../../src/plugins//rt_topo/crbs_route.c:758:2: warning: #warning TODO: use libualloc [-Wcpp]
758 | #warning TODO: use libualloc
| ^~~~~~~
../../src/plugins//rt_topo/crbs.c: In function ‘crbs_draw_routes’:
../../src/plugins//rt_topo/crbs.c:267:27: error: assignment to ‘rtrnd_any_obj_t *’ {aka ‘union rtrnd_any_obj_s *’} from incompatible pointer type ‘rtrnd_line_t *’ {aka ‘struct rtrnd_line_s *’} [-Wincompatible-pointer-types]
267 | o = rtrnd_line_new(ly_out, NULL, (ctn == NULL ? NULL : ctn->net), l->x1, l->y1, l->x2, l->y2, rt_topo_cfg.wire_thick, 0);
| ^
../../src/plugins//rt_topo/crbs.c:281:27: error: assignment to ‘rtrnd_any_obj_t *’ {aka ‘union rtrnd_any_obj_s *’} from incompatible pointer type ‘rtrnd_arc_t *’ {aka ‘struct rtrnd_arc_s *’} [-Wincompatible-pointer-types]
281 | o = rtrnd_arc_new(ly_out, NULL, (ctn == NULL ? NULL : ctn->net), a->parent_pt->x, a->parent_pt->y, a->r, a->sa, a->da, rt_topo_cfg.wire_thick, 0);
| ^
make[2]: *** [<builtin>: ../../src/plugins//rt_topo/crbs.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/route-rnd'
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:14: build] Error 255
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the Pkg-electronics-devel
mailing list