Bug#957661: palp: ftbfs with GCC-10
Matthias Klose
doko at debian.org
Fri Apr 17 12:08:17 BST 2020
Package: src:palp
Version: 2.1-5
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/palp_2.1-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
[...]
615 | wo[0] = woG = (int *) malloc(WM*3*sizeof(int));
| ^~~~~~~~~~~~~~~~~~~~~~~~
gcc -DPACKAGE_NAME=\"palp\" -DPACKAGE_TARNAME=\"palp\" -DPACKAGE_VERSION=\"2.1\" -DPACKAGE_STRING=\"palp\ 2.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"palp\" -DVERSION=\"2.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DPOLY_Dmax=11 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o mori_11d_x-Vertex.o `test -f 'Vertex.c' || echo './'`Vertex.c
LG.c: In function ‘WIndex_HTrace’:
LG.c:657:77: warning: ‘__builtin_memset’ writing 16388 bytes into a region of size 16384 [-Wstringop-overflow=]
657 | for(i=0;i<=N;i++) mask[i]=1<<i; for(i=0;i<=WM;i++) woG[i]=woS[i]=woA[i]=0;
| ~~~~~~^~
LG.c:655:28: note: at offset 32768 to an object with size 49152 allocated by ‘malloc’ here
655 | wo[0] = woG = (int *) malloc(WM*3*sizeof(int));
| ^~~~~~~~~~~~~~~~~~~~~~~~
gcc -DPACKAGE_NAME=\"palp\" -DPACKAGE_TARNAME=\"palp\" -DPACKAGE_VERSION=\"2.1\" -DPACKAGE_STRING=\"palp\ 2.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"palp\" -DVERSION=\"2.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DPOLY_Dmax=11 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o mori_11d_x-Polynf.o `test -f 'Polynf.c' || echo './'`Polynf.c
gcc -DPACKAGE_NAME=\"palp\" -DPACKAGE_TARNAME=\"palp\" -DPACKAGE_VERSION=\"2.1\" -DPACKAGE_STRING=\"palp\ 2.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"palp\" -DVERSION=\"2.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DPOLY_Dmax=11 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o mori_11d_x-mori.o `test -f 'mori.c' || echo './'`mori.c
gcc -DPACKAGE_NAME=\"palp\" -DPACKAGE_TARNAME=\"palp\" -DPACKAGE_VERSION=\"2.1\" -DPACKAGE_STRING=\"palp\ 2.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"palp\" -DVERSION=\"2.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DPOLY_Dmax=11 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o mori_11d_x-MoriCone.o `test -f 'MoriCone.c' || echo './'`MoriCone.c
MoriCone.c: In function ‘ReadInt’:
MoriCone.c:1418:24: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1418 | ungetc(c,inFILE); fscanf(inFILE,"%d",&n);
| ^~~~~~~~~~~~~~~~~~~~~~
gcc -DPACKAGE_NAME=\"palp\" -DPACKAGE_TARNAME=\"palp\" -DPACKAGE_VERSION=\"2.1\" -DPACKAGE_STRING=\"palp\ 2.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"palp\" -DVERSION=\"2.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DPOLY_Dmax=11 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o mori_11d_x-SingularInput.o `test -f 'SingularInput.c' || echo './'`SingularInput.c
SingularInput.c: In function ‘Read_HyperSurf’:
SingularInput.c:49:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
49 | fgets(string, sizeof string, stdin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SingularInput.c:58:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
58 | fgets(string, maxline ,stream);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DPACKAGE_NAME=\"palp\" -DPACKAGE_TARNAME=\"palp\" -DPACKAGE_VERSION=\"2.1\" -DPACKAGE_STRING=\"palp\ 2.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"palp\" -DVERSION=\"2.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -DPOLY_Dmax=11 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o mori_11d_x-LG.o `test -f 'LG.c' || echo './'`LG.c
LG.c: In function ‘Read_WZ_PP’:
LG.c:38:6: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
38 | fscanf(inFILE,"%d",I);
| ^~~~~~~~~~~~~~~~~~~~~
LG.c:41:17: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
41 | if(IsDigit(C)) fscanf(inFILE,"%d",&I[i]); else break;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
LG.c: In function ‘Read_Weight’:
LG.c:182:6: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
182 | fscanf(inFILE,"%d",I);
| ^~~~~~~~~~~~~~~~~~~~~
LG.c:185:17: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
185 | if(IsDigit(c)) fscanf(inFILE,"%d",&I[i]); else break;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DPOLY_Dmax=4 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o poly-4d.x poly_4d_x-Coord.o poly_4d_x-Rat.o poly_4d_x-Vertex.o poly_4d_x-Polynf.o poly_4d_x-poly.o poly_4d_x-LG.o
gcc -DPOLY_Dmax=4 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o class-4d.x class_4d_x-Coord.o class_4d_x-Rat.o class_4d_x-Vertex.o class_4d_x-Polynf.o class_4d_x-class.o class_4d_x-Subpoly.o class_4d_x-Subadd.o class_4d_x-Subdb.o
gcc -DPOLY_Dmax=4 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o cws-4d.x cws_4d_x-Coord.o cws_4d_x-Rat.o cws_4d_x-Vertex.o cws_4d_x-Polynf.o cws_4d_x-cws.o cws_4d_x-LG.o
gcc -DPOLY_Dmax=4 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o nef-4d.x nef_4d_x-Coord.o nef_4d_x-Rat.o nef_4d_x-Vertex.o nef_4d_x-Polynf.o nef_4d_x-nef.o nef_4d_x-E_Poly.o nef_4d_x-Nefpart.o nef_4d_x-LG.o
gcc -DPOLY_Dmax=4 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o mori-4d.x mori_4d_x-Coord.o mori_4d_x-Rat.o mori_4d_x-Vertex.o mori_4d_x-Polynf.o mori_4d_x-mori.o mori_4d_x-MoriCone.o mori_4d_x-SingularInput.o mori_4d_x-LG.o
/usr/bin/ld: mori_4d_x-MoriCone.o:./Mori.h:150: multiple definition of `nr_SR_elements'; mori_4d_x-mori.o:./Mori.h:150: first defined here
/usr/bin/ld: mori_4d_x-SingularInput.o:./Mori.h:150: multiple definition of `nr_SR_elements'; mori_4d_x-mori.o:./Mori.h:150: first defined here
/usr/bin/ld: mori_4d_x-SingularInput.o: in function `HyperSurfSingular':
./SingularInput.c:85: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
collect2: error: ld returned 1 exit status
make[1]: *** [GNUmakefile:712: mori-4d.x] Error 1
make[1]: *** Waiting for unfinished jobs....
LG.c: In function ‘Fast_c9_VaHo’:
LG.c:617:77: warning: ‘__builtin_memset’ writing 16388 bytes into a region of size 16384 [-Wstringop-overflow=]
617 | for(i=0;i<=N;i++) mask[i]=1<<i; for(i=0;i<=WM;i++) woG[i]=woS[i]=woA[i]=0;
| ~~~~~~^~
LG.c:615:28: note: at offset 32768 to an object with size 49152 allocated by ‘malloc’ here
615 | wo[0] = woG = (int *) malloc(WM*3*sizeof(int));
| ^~~~~~~~~~~~~~~~~~~~~~~~
LG.c: In function ‘WIndex_HTrace’:
LG.c:657:77: warning: ‘__builtin_memset’ writing 16388 bytes into a region of size 16384 [-Wstringop-overflow=]
657 | for(i=0;i<=N;i++) mask[i]=1<<i; for(i=0;i<=WM;i++) woG[i]=woS[i]=woA[i]=0;
| ~~~~~~^~
LG.c:655:28: note: at offset 32768 to an object with size 49152 allocated by ‘malloc’ here
655 | wo[0] = woG = (int *) malloc(WM*3*sizeof(int));
| ^~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:6: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the debian-science-maintainers
mailing list