Package: src:tcm Version: 2.20+TSQD-5 Severity: normal Tags: sid bullseye User: debian-...@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/tcm_2.20+TSQD-5_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 [...] from cpdiagram.h:26, from dpdiagram.h:26, from dpwindow.c:24: /<<PKGBUILDDIR>>/src/gl/llist.h: In member function ‘int List<T>::next()’: /<<PKGBUILDDIR>>/src/gl/llist.h:106:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 106 | if (current) current=current->next; return (current != 0); } | ^~ /<<PKGBUILDDIR>>/src/gl/llist.h:106:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 106 | if (current) current=current->next; return (current != 0); } | ^~~~~~ /<<PKGBUILDDIR>>/src/gl/llist.h: In member function ‘int List<T>::prev()’: /<<PKGBUILDDIR>>/src/gl/llist.h:110:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 110 | if (current) current=current->prev; return (current != 0); } | ^~ /<<PKGBUILDDIR>>/src/gl/llist.h:110:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 110 | if (current) current=current->prev; return (current != 0); } | ^~~~~~ /usr/bin/ar cr libtcmpv.a cpdcomponentnode.o cpdinterfacenode.o cpddependencyedge.o cpdrealizationedge.o dpdresourcenode.o dpdcommunicationedge.o cpdiagram.o cpgraph.o cpviewer.o cpwindow.o dpdiagram.o dpwindow.o chmod a+rx libtcmpv.a /usr/bin/ranlib libtcmpv.a /bin/mv -f libtcmpv.a /<<PKGBUILDDIR>>/lib make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/sd/pv' ( cd ./gd ; /usr/bin/make tcmd) make[4]: Entering directory '/<<PKGBUILDDIR>>/src/sd/gd' /usr/bin/g++ -Wall -g -O2 -DCONFIG_INSTALL=\"/etc/tcm/\" -DTCM_INSTALL_DIR=\"/usr\" -DTCM_INSTALL_LIB=\"/usr/lib/\" -DTCM_INSTALL_SHARE=\"/usr/share/doc/tcm-doc/\" -DCONFIG_FILE=\"tcm.conf\" -DHELP_DIR=\"/usr/share/doc/tcm-doc/help/\" -DCOLOR_FILE=\"colorrgb.txt\" -DBANNER_FILE=\"banner.ps\" -I. -I/<<PKGBUILDDIR>>/src/bitmaps -I/<<PKGBUILDDIR>>/src/gl -I/<<PKGBUILDDIR>>/src/ui -I/<<PKGBUILDDIR>>/src/ed -I/<<PKGBUILDDIR>>/src/dg -I/<<PKGBUILDDIR>>/src/tb -I/usr/X11R6/LessTif/Motif1.2/include -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I../dv -DLINUX -c tcmd.c In file included from /<<PKGBUILDDIR>>/src/ui/application.h:26, from tcmd.c:22: /<<PKGBUILDDIR>>/src/gl/llist.h: In member function ‘int List<T>::next()’: /<<PKGBUILDDIR>>/src/gl/llist.h:106:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 106 | if (current) current=current->next; return (current != 0); } | ^~ /<<PKGBUILDDIR>>/src/gl/llist.h:106:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 106 | if (current) current=current->next; return (current != 0); } | ^~~~~~ /<<PKGBUILDDIR>>/src/gl/llist.h: In member function ‘int List<T>::prev()’: /<<PKGBUILDDIR>>/src/gl/llist.h:110:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 110 | if (current) current=current->prev; return (current != 0); } | ^~ /<<PKGBUILDDIR>>/src/gl/llist.h:110:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 110 | if (current) current=current->prev; return (current != 0); } | ^~~~~~ /usr/bin/g++ -Wall -g -O2 -DCONFIG_INSTALL=\"/etc/tcm/\" -DTCM_INSTALL_DIR=\"/usr\" -DTCM_INSTALL_LIB=\"/usr/lib/\" -DTCM_INSTALL_SHARE=\"/usr/share/doc/tcm-doc/\" -DCONFIG_FILE=\"tcm.conf\" -DHELP_DIR=\"/usr/share/doc/tcm-doc/help/\" -DCOLOR_FILE=\"colorrgb.txt\" -DBANNER_FILE=\"banner.ps\" -I. -I/<<PKGBUILDDIR>>/src/bitmaps -I/<<PKGBUILDDIR>>/src/gl -I/<<PKGBUILDDIR>>/src/ui -I/<<PKGBUILDDIR>>/src/ed -I/<<PKGBUILDDIR>>/src/dg -I/<<PKGBUILDDIR>>/src/tb -I/usr/X11R6/LessTif/Motif1.2/include -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I../dv -DLINUX tcmd.o -o tcmd \ -I../dv -I../bv -I../tr -I../fv \ -L/<<PKGBUILDDIR>>/lib -L/usr/X11R6/LessTif/Motif1.2/lib -L/usr/X11R6/lib /<<PKGBUILDDIR>>/lib/libtcmgd.a /<<PKGBUILDDIR>>/lib/libtcmtr.a \ /<<PKGBUILDDIR>>/lib/libtcmdv.a /<<PKGBUILDDIR>>/lib/libtcmbv.a /<<PKGBUILDDIR>>/lib/libtcmfv.a \ /<<PKGBUILDDIR>>/lib/libtcmpv.a \ /<<PKGBUILDDIR>>/lib/libdiagram.a /<<PKGBUILDDIR>>/lib/libeditor.a \ /<<PKGBUILDDIR>>/lib/libgui.a /<<PKGBUILDDIR>>/lib/libglobal.a -lXm -lXt -lX11 /usr/bin/ld: /<<PKGBUILDDIR>>/lib/libtcmbv.a(adsedgelabel.tab.o):(.bss+0xa0): multiple definition of `propname'; /<<PKGBUILDDIR>>/lib/libtcmbv.a(adssemantics.o):/<<PKGBUILDDIR>>/src/sd/bv/adsedgelabelevaluationparse.h:20: first defined here /usr/bin/ld: /<<PKGBUILDDIR>>/lib/libtcmbv.a(adsedgelabel.tab.o):(.bss+0x1040): multiple definition of `proptype'; /<<PKGBUILDDIR>>/lib/libtcmbv.a(adssemantics.o):/<<PKGBUILDDIR>>/src/sd/bv/adsedgelabelevaluationparse.h:19: first defined here /usr/bin/ld: /<<PKGBUILDDIR>>/lib/libtcmbv.a(adsedgelabelevaluation.tab.o):(.bss+0x0): multiple definition of `x'; /<<PKGBUILDDIR>>/lib/libtcmbv.a(adssemantics.o):/<<PKGBUILDDIR>>/src/sd/bv/adsedgelabelevaluationparse.h:8: first defined here /usr/bin/ld: /<<PKGBUILDDIR>>/lib/libtcmbv.a(adsedgelabelevaluation.tab.o):(.bss+0x20): multiple definition of `proptype'; /<<PKGBUILDDIR>>/lib/libtcmbv.a(adssemantics.o):/<<PKGBUILDDIR>>/src/sd/bv/adsedgelabelevaluationparse.h:19: first defined here /usr/bin/ld: /<<PKGBUILDDIR>>/lib/libtcmbv.a(adsedgelabelevaluation.tab.o):(.bss+0x340): multiple definition of `propname'; /<<PKGBUILDDIR>>/lib/libtcmbv.a(adssemantics.o):/<<PKGBUILDDIR>>/src/sd/bv/adsedgelabelevaluationparse.h:20: first defined here /usr/bin/ld: /<<PKGBUILDDIR>>/lib/libtcmbv.a(adsedgelabelevaluation.tab.o):(.bss+0x980): multiple definition of `boollist'; /<<PKGBUILDDIR>>/lib/libtcmbv.a(adssemantics.o):/<<PKGBUILDDIR>>/src/sd/bv/adsedgelabelevaluationparse.h:21: first defined here /usr/bin/ld: /<<PKGBUILDDIR>>/lib/libtcmbv.a(adsedgelabelevaluation.tab.o):(.bss+0xca0): multiple definition of `count'; /<<PKGBUILDDIR>>/lib/libtcmbv.a(adssemantics.o):/<<PKGBUILDDIR>>/src/sd/bv/adsedgelabelevaluationparse.h:22: first defined here /usr/bin/ld: /<<PKGBUILDDIR>>/lib/libtcmbv.a(adsedgelabelevaluation.tab.o):(.bss+0xca4): multiple definition of `isin'; /<<PKGBUILDDIR>>/lib/libtcmbv.a(adssemantics.o):/<<PKGBUILDDIR>>/src/sd/bv/adsedgelabelevaluationparse.h:23: first defined here /usr/bin/ld: /<<PKGBUILDDIR>>/lib/libtcmbv.a(adsedgelabelevaluation.tab.o):(.bss+0xca8): multiple definition of `outcome'; /<<PKGBUILDDIR>>/lib/libtcmbv.a(adssemantics.o):/<<PKGBUILDDIR>>/src/sd/bv/adsedgelabelevaluationparse.h:25: first defined here /usr/bin/ld: /<<PKGBUILDDIR>>/lib/libtcmbv.a(adsedgelabelevaluation.tab.o):(.bss+0xcc0): multiple definition of `temp'; /<<PKGBUILDDIR>>/lib/libtcmbv.a(adsedgelabel.tab.o):(.bss+0x20): first defined here /usr/bin/ld: /<<PKGBUILDDIR>>/lib/libtcmbv.a(adsedgelabelevaluation.o):(.bss+0x28): multiple definition of `x'; /<<PKGBUILDDIR>>/lib/libtcmbv.a(adssemantics.o):/<<PKGBUILDDIR>>/src/sd/bv/adsedgelabelevaluationparse.h:8: first defined here collect2: error: ld returned 1 exit status make[4]: *** [Makefile:34: tcmd] Error 1 make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/sd/gd' make[3]: *** [Makefile:10: tcmd] Error 2 make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/sd' make[2]: *** [Makefile:29: tcmd] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>/src' make[1]: *** [Makefile:113: execs] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:30: build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2