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

Bug#1075698: ygl: ftbfs with GCC-14



Package: src:ygl
Version: 4.2e-6.1
Severity: important
Tags: sid trixie
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-14

[This bug is targeted to the upcoming trixie release]

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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/ygl_4.2e-6.1_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 14, either set CC=gcc-14 CXX=g++-14 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-14/porting_to.html

[...]
fortran.c: In function ‘getxwid_’:
fortran.c:197:45: error: implicit declaration of function ‘getXwid’; did you mean ‘getxwid_’? [-Wimplicit-function-declaration]
  197 | INT4 YGL_PRE(getxwid_)(void) { return (INT4)getXwid(); } /* > 6 */
      |                                             ^~~~~~~
      |                                             getxwid_
fortran.c: In function ‘getxdid_’:
fortran.c:199:45: error: implicit declaration of function ‘getXdid’; did you mean ‘getxdid_’? [-Wimplicit-function-declaration]
  199 | INT4 YGL_PRE(getxdid_)(void) { return (INT4)getXdid(); } /* > 6 */
      |                                             ^~~~~~~
      |                                             getxdid_
fortran.c: In function ‘getxgc_’:
fortran.c:200:45: error: implicit declaration of function ‘getXgc’; did you mean ‘getxgc_’? [-Wimplicit-function-declaration]
  200 | INT4 YGL_PRE(getxgc_) (void) { return (INT4)getXgc (); }
      |                                             ^~~~~~
      |                                             getxgc_
fortran.c: In function ‘winx_’:
fortran.c:328:52: error: implicit declaration of function ‘winX’ [-Wimplicit-function-declaration]
  328 | INT4 YGL_PRE(winx_)  (INT4*dpy, INT4*win) { return winX((Display*)dpy, (Window)*win);}
      |                                                    ^~~~
rm -f color.o
gcc -c -g -O2 -fno-strict-aliasing -g   -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 				  				 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -DFUNCPROTO=15 -DNARROWPROTO   -DOGL -DX11  -DDOUBLEBUF -DMULTIBUF       -fPIC color.c
make[2]: *** [Makefile:1150: fortran.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25,
                 from /usr/include/X11/Xlib.h:38,
                 from header.h:21,
                 from color.c:9:
/usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
rm -f ygl.o
gcc -c -g -O2 -fno-strict-aliasing -g   -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 				  				 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -DFUNCPROTO=15 -DNARROWPROTO   -DOGL -DX11  -DDOUBLEBUF -DMULTIBUF       -fPIC ygl.c
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25,
                 from /usr/include/X11/Xlib.h:38,
                 from header.h:21,
                 from ygl.c:17:
/usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
ygl.c: In function ‘init_keymap’:
ygl.c:315:7: warning: ‘XKeycodeToKeysym’ is deprecated [-Wdeprecated-declarations]
  315 |       KeySym ks = XKeycodeToKeysym(D, code, 0);
      |       ^~~~~~
/usr/include/X11/Xlib.h:1687:15: note: declared here
 1687 | extern KeySym XKeycodeToKeysym(
      |               ^~~~~~~~~~~~~~~~
rm -f 3d.o
gcc -c -g -O2 -fno-strict-aliasing -g   -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 				  				 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -DFUNCPROTO=15 -DNARROWPROTO   -DOGL -DX11  -DDOUBLEBUF -DMULTIBUF       -fPIC 3d.c
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25,
                 from /usr/include/X11/Xlib.h:38,
                 from header.h:21,
                 from 3d.c:9:
/usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
rm -f draw.o
gcc -c -g -O2 -fno-strict-aliasing -g   -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 				  				 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -DFUNCPROTO=15 -DNARROWPROTO   -DOGL -DX11  -DDOUBLEBUF -DMULTIBUF       -fPIC draw.c
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25,
                 from /usr/include/X11/Xlib.h:38,
                 from header.h:21,
                 from draw.c:9:
/usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" PROJECT_DEFINES=-ffile-prefix-map=/<<PKGBUILDDIR>>=. returned exit code 2
make[1]: *** [debian/rules:18: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: