[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#957114: ctwm: ftbfs with GCC-10



Package: src:ctwm
Version: 3.7-4
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/ctwm_3.7-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

[...]
gcc -g -O2 -fno-strict-aliasing             -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    -DUSEM4 -DGNOME  -DXPM -DJPEG -DX11R6 -DSOUNDS  -DI18N  -DUSE_GNU_REGEX  `dpkg-buildflags --get CPPFLAGS`  -c -o workmgr.o workmgr.c
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from workmgr.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"
      |   ^~~~~~~
gcc -g -O2 -fno-strict-aliasing             -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    -DUSEM4 -DGNOME  -DXPM -DJPEG -DX11R6 -DSOUNDS  -DI18N  -DUSE_GNU_REGEX  `dpkg-buildflags --get CPPFLAGS`  -c -o windowbox.o windowbox.c
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from windowbox.c:28:
/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"
      |   ^~~~~~~
gcc -g -O2 -fno-strict-aliasing             -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    -DUSEM4 -DGNOME  -DXPM -DJPEG -DX11R6 -DSOUNDS  -DI18N  -DUSE_GNU_REGEX  `dpkg-buildflags --get CPPFLAGS`  -c -o clicktofocus.o clicktofocus.c
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25,
                 from /usr/include/X11/Xlib.h:38,
                 from twm.h:81,
                 from clicktofocus.h:4,
                 from clicktofocus.c:1:
/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"
      |   ^~~~~~~
gcc -g -O2 -fno-strict-aliasing             -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    -DUSEM4 -DGNOME  -DXPM -DJPEG -DX11R6 -DSOUNDS  -DI18N  -DUSE_GNU_REGEX  `dpkg-buildflags --get CPPFLAGS`  -c -o vscreen.o vscreen.c
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from vscreen.c:28:
/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"
      |   ^~~~~~~
gcc -g -O2 -fno-strict-aliasing             -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    -DUSEM4 -DGNOME  -DXPM -DJPEG -DX11R6 -DSOUNDS  -DI18N  -DUSE_GNU_REGEX  `dpkg-buildflags --get CPPFLAGS`  -c -o gnome.o gnome.c
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from gnome.c:1:
/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"
      |   ^~~~~~~
gcc -g -O2 -fno-strict-aliasing             -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    -DUSEM4 -DGNOME  -DXPM -DJPEG -DX11R6 -DSOUNDS  -DI18N  -DUSE_GNU_REGEX  `dpkg-buildflags --get CPPFLAGS`  -c -o session.o session.c
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25,
                 from /usr/include/X11/Xos.h:42,
                 from session.c:102:
/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"
      |   ^~~~~~~
gcc -g -O2 -fno-strict-aliasing             -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    -DUSEM4 -DGNOME  -DXPM -DJPEG -DX11R6 -DSOUNDS  -DI18N  -DUSE_GNU_REGEX  `dpkg-buildflags --get CPPFLAGS`  -c -o sound.o sound.c
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25,
                 from /usr/include/rplay.h:28,
                 from sound.c:32:
/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 ctwm
gcc -o ctwm -g -O2 -fno-strict-aliasing       gram.o lex.o deftwmrc.o add_window.o gc.o list.o ctwm.o 		parse.o menus.o events.o resize.o util.o version.o iconmgr.o 		cursor.o icons.o workmgr.o windowbox.o clicktofocus.o vscreen.o 		gnome.o session.o sound.o    -lXpm  -ljpeg -lXmu -lXt -lSM -lICE -lXext -lX11 -lXt -lSM -lICE -lXext -lX11  -lrplay      
/usr/bin/ld: lex.o:/<<PKGBUILDDIR>>/parse.h:221: multiple definition of `twmrc_lineno'; gram.o:/<<PKGBUILDDIR>>/parse.h:221: first defined here
/usr/bin/ld: add_window.o:/<<PKGBUILDDIR>>/parse.h:221: multiple definition of `twmrc_lineno'; gram.o:/<<PKGBUILDDIR>>/parse.h:221: first defined here
/usr/bin/ld: ctwm.o:/<<PKGBUILDDIR>>/parse.h:221: multiple definition of `twmrc_lineno'; gram.o:/<<PKGBUILDDIR>>/parse.h:221: first defined here
/usr/bin/ld: parse.o:/<<PKGBUILDDIR>>/parse.h:221: multiple definition of `twmrc_lineno'; gram.o:/<<PKGBUILDDIR>>/parse.h:221: first defined here
/usr/bin/ld: menus.o:/<<PKGBUILDDIR>>/parse.h:221: multiple definition of `twmrc_lineno'; gram.o:/<<PKGBUILDDIR>>/parse.h:221: first defined here
/usr/bin/ld: events.o:/<<PKGBUILDDIR>>/parse.h:221: multiple definition of `twmrc_lineno'; gram.o:/<<PKGBUILDDIR>>/parse.h:221: first defined here
/usr/bin/ld: resize.o:/<<PKGBUILDDIR>>/parse.h:221: multiple definition of `twmrc_lineno'; gram.o:/<<PKGBUILDDIR>>/parse.h:221: first defined here
/usr/bin/ld: iconmgr.o:/<<PKGBUILDDIR>>/parse.h:221: multiple definition of `twmrc_lineno'; gram.o:/<<PKGBUILDDIR>>/parse.h:221: first defined here
/usr/bin/ld: icons.o:/<<PKGBUILDDIR>>/parse.h:221: multiple definition of `twmrc_lineno'; gram.o:/<<PKGBUILDDIR>>/parse.h:221: first defined here
/usr/bin/ld: workmgr.o:/<<PKGBUILDDIR>>/parse.h:221: multiple definition of `twmrc_lineno'; gram.o:/<<PKGBUILDDIR>>/parse.h:221: first defined here
/usr/bin/ld: session.o: in function `unique_filename':
/<<PKGBUILDDIR>>/session.c:854: warning: the use of `tempnam' is dangerous, better use `mkstemp'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:1255: ctwm] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:20: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: