Package: src:f2j Version: 0.8.1+dfsg-4 Severity: normal Tags: sid bullseye User: [email protected] 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/f2j_0.8.1+dfsg-4_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 [...] 4817 | for(i=0; i<=MAX_ARRAY_DIM; i++) { | ^~~ gcc -Wall -DDEBUG_MEM -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I /<<PKGBUILDDIR>>/libbytecode -c f2jlex.c gcc -Wall -DDEBUG_MEM -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I /<<PKGBUILDDIR>>/libbytecode -c f2jmain.c gcc -Wall -DDEBUG_MEM -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I /<<PKGBUILDDIR>>/libbytecode -c codegen.c codegen.c: In function ‘emit’: codegen.c:112:7: warning: case value ‘0’ not in enumerated type ‘enum _nodetype’ [-Wswitch] 112 | case 0: | ^~~~ codegen.c:108:9: warning: variable ‘locals’ set but not used [-Wunused-but-set-variable] 108 | int locals; | ^~~~~~ codegen.c: In function ‘getNameFromCommonDesc’: codegen.c:1847:8: warning: comparison between pointer and zero character constant [-Wpointer-compare] 1847 | if(p == '\0') | ^~ codegen.c:1847:6: note: did you mean to dereference the pointer? 1847 | if(p == '\0') | ^ codegen.c: In function ‘getFieldDescFromCommonDesc’: codegen.c:1890:8: warning: comparison between pointer and zero character constant [-Wpointer-compare] 1890 | if(p == '\0') | ^~ codegen.c:1890:6: note: did you mean to dereference the pointer? 1890 | if(p == '\0') | ^ codegen.c: In function ‘data_string_emit’: codegen.c:3306:16: warning: variable ‘count’ set but not used [-Wunused-but-set-variable] 3306 | unsigned int count, size = 0; | ^~~~~ codegen.c: In function ‘LHS_bytecode_emit’: codegen.c:11009:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 11009 | (BOOL)isArg, class, name, desc, typenode->variable->astnode.ident.localvnum, FALSE); | ^ gcc -Wall -DDEBUG_MEM -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I /<<PKGBUILDDIR>>/libbytecode -c vcg_emitter.c vcg_emitter.c: In function ‘emit_vcg’: vcg_emitter.c:234:5: warning: case value ‘0’ not in enumerated type ‘enum _nodetype’ [-Wswitch] 234 | case 0: | ^~~~ gcc -Wall -DDEBUG_MEM -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I /<<PKGBUILDDIR>>/libbytecode -c typecheck.c typecheck.c: In function ‘typecheck’: typecheck.c:102:5: warning: case value ‘0’ not in enumerated type ‘enum _nodetype’ [-Wswitch] 102 | case 0: | ^~~~ gcc -Wall -DDEBUG_MEM -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I /<<PKGBUILDDIR>>/libbytecode -c optimize.c optimize.c: In function ‘optimize’: optimize.c:188:5: warning: case value ‘0’ not in enumerated type ‘enum _nodetype’ [-Wswitch] 188 | case 0: | ^~~~ gcc -Wall -DDEBUG_MEM -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I /<<PKGBUILDDIR>>/libbytecode -c globals.c gcc -Wall -DDEBUG_MEM -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I /<<PKGBUILDDIR>>/libbytecode -o f2java y.tab.o f2jlex.o f2jmain.o symtab.o codegen.o vcg_emitter.o dlist.o typecheck.o optimize.o globals.o f2jmem.o -L/<<PKGBUILDDIR>>/libbytecode -lbytecode -Wl,-z,relro -Wl,-z,now /usr/bin/ld: f2jlex.o:./src/opcodes.h:50: multiple definition of `array_spec_descriptor'; y.tab.o:./src/opcodes.h:50: first defined here /usr/bin/ld: f2jmain.o:./src/opcodes.h:50: multiple definition of `array_spec_descriptor'; y.tab.o:./src/opcodes.h:50: first defined here /usr/bin/ld: symtab.o:./src/opcodes.h:50: multiple definition of `array_spec_descriptor'; y.tab.o:./src/opcodes.h:50: first defined here /usr/bin/ld: codegen.o:./src/opcodes.h:50: multiple definition of `array_spec_descriptor'; y.tab.o:./src/opcodes.h:50: first defined here /usr/bin/ld: vcg_emitter.o:./src/opcodes.h:50: multiple definition of `array_spec_descriptor'; y.tab.o:./src/opcodes.h:50: first defined here /usr/bin/ld: dlist.o:./src/opcodes.h:50: multiple definition of `array_spec_descriptor'; y.tab.o:./src/opcodes.h:50: first defined here /usr/bin/ld: typecheck.o:./src/opcodes.h:50: multiple definition of `array_spec_descriptor'; y.tab.o:./src/opcodes.h:50: first defined here /usr/bin/ld: optimize.o:./src/optimize.c:49: multiple definition of `unit_name'; codegen.o:./src/codegen.c:28: first defined here /usr/bin/ld: optimize.o:./src/opcodes.h:50: multiple definition of `array_spec_descriptor'; y.tab.o:./src/opcodes.h:50: first defined here /usr/bin/ld: globals.o:./src/opcodes.h:50: multiple definition of `array_spec_descriptor'; y.tab.o:./src/opcodes.h:50: first defined here /usr/bin/ld: f2jmem.o:./src/opcodes.h:50: multiple definition of `array_spec_descriptor'; y.tab.o:./src/opcodes.h:50: first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:20: f2java] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>/src' make[1]: *** [Makefile:24: f2java] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j4 returned exit code 2 make: *** [debian/rules:12: build] Error 25 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 __ This is the maintainer address of Debian's Java team <https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>. Please use [email protected] for discussions and questions.
