--- Begin Message ---
Package: src:acfax
Version: 981011-17
Severity: normal
Tags: sid bullseye
User: debian-gcc@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/acfax_981011-17_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
[...]
FChooser.c: In function ‘ChildrenUpdate’:
FChooser.c:502:34: warning: unused variable ‘child_idea’ [-Wunused-variable]
502 | XtWidgetGeometry parent_idea,child_idea;
| ^~~~~~~~~~
FChooser.c:502:22: warning: unused variable ‘parent_idea’ [-Wunused-variable]
502 | XtWidgetGeometry parent_idea,child_idea;
| ^~~~~~~~~~~
FChooser.c: In function ‘DirectoryCallback’:
FChooser.c:596:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
596 | int index = (int)client_data;
| ^
FChooser.c: In function ‘UpdateLists’:
FChooser.c:855:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
855 | XtAddCallback(menuItem,XtNcallback,DirectoryCallback,(XtPointer)i);
| ^
gcc -g -O2 -fno-strict-aliasing -I. -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSBL_16 -DDSP_SELECT -O2 -Wall -c -o Directory.o Directory.c
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdio.h:27,
from Directory.h:29,
from Directory.c:26:
/usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
| ^~~~~~~
Directory.c: In function ‘DirEntryDump’:
Directory.c:209:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
209 | fprintf(fp,"%20s, Size %7d, Prot %3o\n",
| ~~^
| |
| int
| %7ld
gcc -g -O2 -fno-strict-aliasing -I. -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSBL_16 -DDSP_SELECT -O2 -Wall -c -o DirMgr.o DirMgr.c
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdlib.h:25,
from DirMgr.c:25:
/usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
| ^~~~~~~
DirMgr.c: In function ‘DirectoryMgrOpen’:
DirMgr.c:132:54: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘DIRECTORY *’ [-Wformat=]
132 | fprintf(stderr,"DirectoryMgrOpen: can't open dir '%s'\n",
| ~^
| |
| char *
DirMgr.c: In function ‘DirectoryMgrRefilter’:
DirMgr.c:172:1: warning: control reaches end of non-void function [-Wreturn-type]
172 | } /* End DirectoryMgrRefilter */
| ^
DirMgr.c: In function ‘DirectoryMgrRefresh’:
DirMgr.c:237:29: warning: ‘dm_ptrs’ may be used uninitialized in this function [-Wmaybe-uninitialized]
237 | DirectoryMgrSortedPtrs(dm) = dm_ptrs;
DirMgr.c:236:23: warning: ‘dm_data’ may be used uninitialized in this function [-Wmaybe-uninitialized]
236 | DirectoryMgrData(dm) = dm_data;
gcc -g -O2 -fno-strict-aliasing -I. -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DSBL_16 -DDSP_SELECT -O2 -Wall -c -o RegExp.o RegExp.c
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/stdio.h:27,
from RegExp.h:28,
from RegExp.c:25:
/usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
| ^~~~~~~
rm -f acfax
gcc -o acfax -g -O2 -fno-strict-aliasing acfax.o Canvas.o mod_demod.o sblaster.o fax_funcs.o x_image.o widgets.o FChooser.o Directory.o DirMgr.o RegExp.o -lXaw -lXt -lX11 -lm
/usr/bin/ld: fax_funcs.o:/<<PKGBUILDDIR>>/fax_funcs.c:99: multiple definition of `mainapp'; acfax.o:(.bss+0x10): first defined here
/usr/bin/ld: x_image.o:/<<PKGBUILDDIR>>/x_image.c:37: multiple definition of `dpy'; acfax.o:(.bss+0x80): first defined here
/usr/bin/ld: widgets.o:/<<PKGBUILDDIR>>/widgets.c:104: multiple definition of `txt_trans'; acfax.o:/<<PKGBUILDDIR>>/acfax.c:253: first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:1095: acfax] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--- End Message ---