[Pkg-electronics-devel] Bug#957664: pcb-rnd: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:08:23 BST 2020


Package: src:pcb-rnd
Version: 2.2.0-2
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10

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-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/pcb-rnd_2.2.0-2_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 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-10/porting_to.html

[...]
      | ^~~~
gcc -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I.. -I../src_3rd -I../src_3rd/liblihata -O3 -DNDEBUG    -o main.o main.c
gcc -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I.. -I../src_3rd -I../src_3rd/liblihata -O3 -DNDEBUG    -o pcb_menu_default.o pcb_menu_default.c
gcc -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I.. -I../src_3rd -I../src_3rd/liblihata -O3 -DNDEBUG    -o buildin.o buildin.c
../src_3rd/sphash/sphash  --prefix act_draw_keywords --out ../src_plugins/act_draw/keywords_sphash < ../src_plugins/act_draw/keywords.sphash
../src_3rd/sphash/sphash  --prefix act_draw_keywords --out ../src_plugins/act_draw/keywords_sphash < ../src_plugins/act_draw/keywords.sphash
../src_3rd/sphash/sphash  --prefix act_read_keywords --out ../src_plugins/act_read/keywords_sphash < ../src_plugins/act_read/keywords.sphash
../src_3rd/sphash/sphash  --prefix act_read_keywords --out ../src_plugins/act_read/keywords_sphash < ../src_plugins/act_read/keywords.sphash
../src_3rd/sphash/sphash  --prefix ddraft_fields --out ../src_plugins/ddraft/fields_sphash < ../src_plugins/ddraft/fields.sphash
../src_3rd/sphash/sphash  --prefix ddraft_fields --out ../src_plugins/ddraft/fields_sphash < ../src_plugins/ddraft/fields.sphash
gcc -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I.. -I../src_3rd -I../src_3rd/liblihata -O3 -DNDEBUG    -o ../src_plugins/draw_fab/draw_fab.o ../src_plugins/draw_fab/draw_fab.c
gcc -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I.. -I../src_3rd -I../src_3rd/liblihata -O3 -DNDEBUG    -o ../src_plugins/io_lihata/io_lihata.o ../src_plugins/io_lihata/io_lihata.c
gcc -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I.. -I../src_3rd -I../src_3rd/liblihata -O3 -DNDEBUG    -o ../src_plugins/mincut/rats_mincut.o ../src_plugins/mincut/rats_mincut.c
gcc -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I.. -I../src_3rd -I../src_3rd/liblihata -O3 -DNDEBUG    -o ../src_plugins/query/query.o ../src_plugins/query/query.c
gcc -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I.. -I../src_3rd -I../src_3rd/liblihata -O3 -DNDEBUG    -o ../src_plugins/query/query_access.o ../src_plugins/query/query_access.c
../src_plugins/query/query_access.c: In function ‘pcb_qry_list_all_pcb’:
../src_plugins/query/query_access.c:142:1: note: ‘#pragma message: TODO: ": rather do rtree search here to avoid recursion"’
  142 | TODO(": rather do rtree search here to avoid recursion")
      | ^~~~
../src_plugins/query/query_access.c: In function ‘pcb_qry_list_all_data’:
../src_plugins/query/query_access.c:156:1: note: ‘#pragma message: TODO: "buffer layers are not listed here"’
  156 | TODO("buffer layers are not listed here");
      | ^~~~
../src_plugins/query/query_access.c: In function ‘pcb_arc_len’:
../src_plugins/query/query_access.c:424:1: note: ‘#pragma message: TODO: ": this breaks for elliptics; see http://tutorial.math.lamar.edu/Classes/CalcII/ArcLength.aspx"’
  424 | TODO(": this breaks for elliptics; see http://tutorial.math.lamar.edu/Classes/CalcII/ArcLength.aspx")
      | ^~~~
../src_plugins/query/query_access.c: In function ‘field_rat’:
../src_plugins/query/query_access.c:574:1: note: ‘#pragma message: TODO: "TODO"’
  574 | TODO("TODO")
      | ^~~~
../src_plugins/query/query_access.c: In function ‘field_net’:
../src_plugins/query/query_access.c:646:1: note: ‘#pragma message: TODO: "TODO"’
  646 | TODO("TODO")
      | ^~~~
../src_plugins/query/query_access.c: In function ‘pcb_qry_obj_field’:
../src_plugins/query/query_access.c:759:1: note: ‘#pragma message: TODO: "layer TODO"’
  759 | TODO("layer TODO")
      | ^~~~
gcc -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I.. -I../src_3rd -I../src_3rd/liblihata -O3 -DNDEBUG    -o ../src_plugins/query/query_act.o ../src_plugins/query/query_act.c
gcc -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I.. -I../src_3rd -I../src_3rd/liblihata -O3 -DNDEBUG    -o ../src_plugins/query/query_exec.o ../src_plugins/query/query_exec.c
../src_plugins/query/query_exec.c: In function ‘pcb_qry_uninit’:
../src_plugins/query/query_exec.c:53:1: note: ‘#pragma message: TODO: ": free the iterator"’
   53 | TODO(": free the iterator")
      | ^~~~
gcc -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I.. -I../src_3rd -I../src_3rd/liblihata -O3 -DNDEBUG    -I../src_plugins/query -o ../src_plugins/query/query_l.o ../src_plugins/query/query_l.c
gcc -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I.. -I../src_3rd -I../src_3rd/liblihata -O3 -DNDEBUG    -I../src_plugins/query -o ../src_plugins/query/query_y.o ../src_plugins/query/query_y.c
gcc -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I.. -I../src_3rd -I../src_3rd/liblihata -O3 -DNDEBUG    -o ../src_plugins/query/basic_fnc.o ../src_plugins/query/basic_fnc.c
gcc -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I.. -I../src_3rd -I../src_3rd/liblihata -O3 -DNDEBUG    -o ../src_plugins/query/fields_sphash.o ../src_plugins/query/fields_sphash.c
gcc -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I.. -I../src_3rd -I../src_3rd/liblihata -O3 -DNDEBUG    -o ../src_plugins/report/report.o ../src_plugins/report/report.c
gcc -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I.. -I../src_3rd -I../src_3rd/liblihata -O3 -DNDEBUG    -o ../src_plugins/rubberband_orig/rubberband.o ../src_plugins/rubberband_orig/rubberband.c
../src_plugins/rubberband_orig/rubberband.c: In function ‘rbe_rotate’:
../src_plugins/rubberband_orig/rubberband.c:1297:1: note: ‘#pragma message: TODO: "TODO"’
 1297 | TODO("TODO")
      | ^~~~
gcc -shared -rdynamic -o ../src_plugins/ar_cpcb/ar_cpcb.so ../src_plugins/ar_cpcb/ar_cpcb.o    -Wl,-z,relro -rdynamic  
gcc -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I.. -I../src_3rd -I../src_3rd/liblihata -O3 -DNDEBUG    -o ../src_plugins/asm/asm.o ../src_plugins/asm/asm.c
gcc -shared -rdynamic -o ../src_plugins/autoplace/autoplace.so ../src_plugins/autoplace/autoplace.o ../src_plugins/autoplace/action.o    -Wl,-z,relro -rdynamic  
/usr/bin/ld: ../src_plugins/autoplace/action.o:./src/./rats_patch.h:56: multiple definition of `pcb_netlist_names'; ../src_plugins/autoplace/autoplace.o:./src/./rats_patch.h:56: first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:202: ../src_plugins/autoplace/autoplace.so] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:51: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:3: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:14: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Pkg-electronics-devel mailing list