D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/baz/rpmbuild/SRPMS/route-rnd-0.9.2-1.mga.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/baz/rpmbuild/tmp/rpm-tmp.D4lMcI + umask 022 + cd /home/baz/rpmbuild/BUILD/route-rnd-0.9.2-build + test -d /home/baz/rpmbuild/BUILD/route-rnd-0.9.2-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/baz/rpmbuild/BUILD/route-rnd-0.9.2-build + /usr/bin/rm -rf /home/baz/rpmbuild/BUILD/route-rnd-0.9.2-build + /usr/bin/mkdir -p /home/baz/rpmbuild/BUILD/route-rnd-0.9.2-build + /usr/bin/mkdir -p /home/baz/rpmbuild/BUILD/route-rnd-0.9.2-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/baz/rpmbuild/tmp/rpm-tmp.24cIMe + umask 022 + cd /home/baz/rpmbuild/BUILD/route-rnd-0.9.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/baz/rpmbuild/BUILD/route-rnd-0.9.2-build + rm -rf route-rnd-0.9.2 + /usr/lib/rpm/rpmuncompress -x /home/baz/rpmbuild/SOURCES/route-rnd-0.9.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd route-rnd-0.9.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + export 'CFLAGS=%{CFLAGS}: -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types' + CFLAGS='%{CFLAGS}: -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/baz/rpmbuild/tmp/rpm-tmp.rQ6Lg3 + umask 022 + cd /home/baz/rpmbuild/BUILD/route-rnd-0.9.2-build + cd route-rnd-0.9.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + ./configure Optional: if you want to deviate from defaults, you may want to edit your Makefile.conf now. + make cd src/route-rnd && make all make[1]: Entering directory '/home/baz/rpmbuild/BUILD/route-rnd-0.9.2-build/route-rnd-0.9.2/src/route-rnd' cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o main.o main.c cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o route-rnd.o route-rnd.c route-rnd.c: In function 'route_rnd_main': route-rnd.c:252:2: warning: #warning TODO: sanity checks and error reports [-Wcpp] 252 | #warning TODO: sanity checks and error reports | ^~~~~~~ cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o rtree.o rtree.c cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o compat_misc.o compat_misc.c cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o data.o data.c cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o io.o io.c cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o util_grid.o util_grid.c util_grid.c: In function 'rtrnd_raline_obj_mask_size_at': util_grid.c:281:2: warning: #warning TODO: lazy until gengeo2d is done [-Wcpp] 281 | #warning TODO: lazy until gengeo2d is done | ^~~~~~~ util_grid.c:282:25: warning: missing terminating ' character 282 | #warning TODO: if object's clearance is bigger than width, use that! | ^ util_grid.c:282:2: warning: #warning TODO: if object's clearance is bigger than width, use that! [-Wcpp] 282 | #warning TODO: if object's clearance is bigger than width, use that! | ^~~~~~~ util_grid.c:314:2: warning: #warning TODO [-Wcpp] 314 | #warning TODO | ^~~~~~~ cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o htdi.o htdi.c cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o util_rat.o util_rat.c cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o netseg.o netseg.c cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o find.o find.c find.c: In function 'isc_poly_poly': find.c:109:2: warning: #warning TODO: this ignores ctx->bloat [-Wcpp] 109 | #warning TODO: this ignores ctx->bloat | ^~~~~~~ find.c: In function 'rtrnd_find_exec': find.c:246:2: warning: #warning TODO: bbvia: consider span [-Wcpp] 246 | #warning TODO: bbvia: consider span | ^~~~~~~ find.c:259:2: warning: #warning TODO: bbvia: consider span [-Wcpp] 259 | #warning TODO: bbvia: consider span | ^~~~~~~ cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o rtpoly.o rtpoly.c cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o route_res.o route_res.c cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o conf.o conf.c cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o ../../src/plugins//buildin.o ../../src/plugins//buildin.c cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o ../../src/plugins//io_tedax/parse.o ../../src/plugins//io_tedax/parse.c cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o ../../src/plugins//io_tedax/io_tedax.o ../../src/plugins//io_tedax/io_tedax.c ../../src/plugins//io_tedax/io_tedax.c: In function 'tedax_load_via': ../../src/plugins//io_tedax/io_tedax.c:281:2: warning: #warning TODO: Ignores bbvia aspects [-Wcpp] 281 | #warning TODO: Ignores bbvia aspects | ^~~~~~~ ../../src/plugins//io_tedax/io_tedax.c: In function 'tedax_save_add': ../../src/plugins//io_tedax/io_tedax.c:491:2: warning: #warning TODO [-Wcpp] 491 | #warning TODO | ^~~~~~~ cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o ../../src/plugins//export_animator/export_animator.o ../../src/plugins//export_animator/export_animator.c cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o ../../src/plugins//export_svg/export_svg.o ../../src/plugins//export_svg/export_svg.c cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o ../../src/plugins//rt_horver/rt_horver.o ../../src/plugins//rt_horver/rt_horver.c ../../src/plugins//rt_horver/rt_horver.c: In function 'create_bus': ../../src/plugins//rt_horver/rt_horver.c:201:2: warning: #warning TODO: number of netsegs/2 oslt [-Wcpp] 201 | #warning TODO: number of netsegs/2 oslt | ^~~~~~~ cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o ../../src/plugins//rt_horver/escape.o ../../src/plugins//rt_horver/escape.c ../../src/plugins//rt_horver/escape.c: In function 'escape_obj_on_right_layer': ../../src/plugins//rt_horver/escape.c:128:2: warning: #warning TODO: this ignores bbvia [-Wcpp] 128 | #warning TODO: this ignores bbvia | ^~~~~~~ cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o ../../src/plugins//rt_horver/optimize.o ../../src/plugins//rt_horver/optimize.c ../../src/plugins//rt_horver/optimize.c: In function 'find_best_match': ../../src/plugins//rt_horver/optimize.c:205:2: warning: #warning TODO: consider +-1 majors on arm2 [-Wcpp] 205 | #warning TODO: consider +-1 majors on arm2 | ^~~~~~~ ../../src/plugins//rt_horver/optimize.c:219:2: warning: #warning TODO: straight connection is disabled for now for debugging [-Wcpp] 219 | #warning TODO: straight connection is disabled for now for debugging | ^~~~~~~ cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o ../../src/plugins//rt_horver/bus.o ../../src/plugins//rt_horver/bus.c cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o ../../src/plugins//rt_horver/hpkp.o ../../src/plugins//rt_horver/hpkp.c cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o ../../src/plugins//rt_topo/rt_topo.o ../../src/plugins//rt_topo/rt_topo.c cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o ../../src/plugins//rt_topo/vt2br.o ../../src/plugins//rt_topo/vt2br.c cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o ../../src/plugins//rt_topo/vtcr.o ../../src/plugins//rt_topo/vtcr.c cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o ../../src/plugins//rt_topo/vtve0.o ../../src/plugins//rt_topo/vtve0.c cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o ../../src/plugins//rt_topo/laa.o ../../src/plugins//rt_topo/laa.c ../../src/plugins//rt_topo/laa.c: In function 'layer_bits': ../../src/plugins//rt_topo/laa.c:79:2: warning: #warning TODO: this ignores bbvia [-Wcpp] 79 | #warning TODO: this ignores bbvia | ^~~~~~~ In file included from ../../src/plugins//rt_topo/laa.c:92: ../../src/plugins//rt_topo/laa1.c: In function 'laa_mst_add': ../../src/plugins//rt_topo/laa1.c:99:2: warning: #warning TODO: non-terminal poly heuristics [-Wcpp] 99 | #warning TODO: non-terminal poly heuristics | ^~~~~~~ ../../src/plugins//rt_topo/laa1.c: In function 'laa_2net': ../../src/plugins//rt_topo/laa1.c:181:2: warning: #warning TODO: free mst fields [-Wcpp] 181 | #warning TODO: free mst fields | ^~~~~~~ cc -O3 -DNDEBUG -I. -I../../src_3rd -I../../src/plugins -DCDT_COORD_T=double -Dcdt_precision=1000000.0 -I.. -c -o ../../src/plugins//rt_topo/trbs.o ../../src/plugins//rt_topo/trbs.c In file included from ../../src/plugins//rt_topo/trbs.c:42: ../../src/plugins//rt_topo/trbs_util.c: In function 'trbs_insert_point': ../../src/plugins//rt_topo/trbs_util.c:57:2: warning: #warning TODO need a list of objects [-Wcpp] 57 | #warning TODO need a list of objects | ^~~~~~~ In file included from ../../src/plugins//rt_topo/trbs.c:43: ../../src/plugins//rt_topo/trbs_cdt.c: In function 'rt_topo_trbs_cdt_init': ../../src/plugins//rt_topo/trbs_cdt.c:74:2: warning: #warning handle all other types [-Wcpp] 74 | #warning handle all other types | ^~~~~~~ ../../src/plugins//rt_topo/trbs_cdt.c: In function 'trbs_edge_cap_endp': ../../src/plugins//rt_topo/trbs_cdt.c:156:2: warning: #warning TODO: iterate over a list of endoint objects, e.g. a terminal is a via+poly [-Wcpp] 156 | #warning TODO: iterate over a list of endoint objects, e.g. a terminal is a via+poly | ^~~~~~~ ../../src/plugins//rt_topo/trbs_cdt.c:163:2: warning: #warning TODO: these for arc and line ignore mid-line non-perpendicular case where we lose more room [-Wcpp] 163 | #warning TODO: these for arc and line ignore mid-line non-perpendicular case where we lose more room | ^~~~~~~ ../../src/plugins//rt_topo/trbs_cdt.c:175:2: warning: #warning TODO: calculate poly vs. line crossing [-Wcpp] 175 | #warning TODO: calculate poly vs. line crossing | ^~~~~~~ In file included from ../../src/plugins//rt_topo/trbs.c:44: ../../src/plugins//rt_topo/trbs_vis.c: In function 'trbs_vis_jump_edge': ../../src/plugins//rt_topo/trbs_vis.c:370:36: error: returning 'point_t *' {aka 'struct point_s *'} from a function with incompatible return type 'trbs_cross_t *' {aka 'struct trbs_cross_s *'} [-Wincompatible-pointer-types] 370 | return trbs->target; | ~~~~^~~~~~~~ ../../src/plugins//rt_topo/trbs_vis.c: In function 'trbs_is_visible_from_edge': ../../src/plugins//rt_topo/trbs_vis.c:481:24: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 481 | if (cr == trbs->target) | ^~ ../../src/plugins//rt_topo/trbs_vis.c: In function 'trbs_is_visible_from_pt': ../../src/plugins//rt_topo/trbs_vis.c:517:2: warning: #warning TODO: according to Wojciech edges are CCW ordered so we do not need this search [-Wcpp] 517 | #warning TODO: according to Wojciech edges are CCW ordered so we do not need this search | ^~~~~~~ ../../src/plugins//rt_topo/trbs_vis.c: In function 'trbs_next_edge_from_edge': ../../src/plugins//rt_topo/trbs_vis.c:578:24: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 578 | if (cr == trbs->target) { | ^~ In file included from ../../src/plugins//rt_topo/trbs.c:45: ../../src/plugins//rt_topo/trbs_route.c: In function 'trbs_cr_coord': ../../src/plugins//rt_topo/trbs_route.c:37:16: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 37 | if (cr == trbs->target) { | ^~ ../../src/plugins//rt_topo/trbs_route.c: In function 'trbs_ast_heuristic': ../../src/plugins//rt_topo/trbs_route.c:54:16: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 54 | if (cr == trbs->target) | ^~ ../../src/plugins//rt_topo/trbs_route.c: In function 'trbs_ast_neighbor_pre': ../../src/plugins//rt_topo/trbs_route.c:80:2: warning: #warning TODO: per net wire thickness [-Wcpp] 80 | #warning TODO: per net wire thickness | ^~~~~~~ ../../src/plugins//rt_topo/trbs_route.c: In function 'trbs_ast_set_mark': ../../src/plugins//rt_topo/trbs_route.c:111:16: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 111 | if (cr == trbs->target) | ^~ ../../src/plugins//rt_topo/trbs_route.c: In function 'trbs_ast_get_mark': ../../src/plugins//rt_topo/trbs_route.c:122:16: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 122 | if (cr == trbs->target) | ^~ ../../src/plugins//rt_topo/trbs_route.c: In function 'rt_topo_trbs_route_net': ../../src/plugins//rt_topo/trbs_route.c:141:26: error: assignment to 'void * (*)(usrch_a_star_t *, void *)' {aka 'void * (*)(struct usrch_a_star_s *, void *)'} from incompatible pointer type 'void * (*)(usrch_a_star_t *, void *, rtrnd_net_t *)' {aka 'void * (*)(struct usrch_a_star_s *, void *, struct rtrnd_net_s *)'} [-Wincompatible-pointer-types] 141 | ast.neighbor_pre = trbs_ast_neighbor_pre; | ^ ../../src/plugins//rt_topo/trbs_route.c:191:2: warning: #warning TODO: per net wire thickness [-Wcpp] 191 | #warning TODO: per net wire thickness | ^~~~~~~ ../../src/plugins//rt_topo/trbs.c: In function 'trbs_draw_routes': ../../src/plugins//rt_topo/trbs.c:149:43: 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] 149 | o = rtrnd_line_new(ly_out, NULL, NULL, ttn->start->pos.x, ttn->start->pos.y, ttn->end->pos.x, ttn->end->pos.y, rt_topo_cfg.wire_thick, 0); | ^ ../../src/plugins//rt_topo/trbs.c:158: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] 158 | o = rtrnd_line_new(ly_out, NULL, NULL, ttn->start->pos.x, ttn->start->pos.y, cr->x, cr->y, rt_topo_cfg.wire_thick, 0); | ^ ../../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[1]: *** [: ../../src/plugins//rt_topo/trbs.o] Error 1 make[1]: Leaving directory '/home/baz/rpmbuild/BUILD/route-rnd-0.9.2-build/route-rnd-0.9.2/src/route-rnd' make: *** [Makefile:2: all] Error 2 error: Bad exit status from /home/baz/rpmbuild/tmp/rpm-tmp.rQ6Lg3 (%build) RPM build errors: Bad exit status from /home/baz/rpmbuild/tmp/rpm-tmp.rQ6Lg3 (%build) I: [iurt_root_command] ERROR: chroot