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

Bug#1075573: tightvnc: ftbfs with GCC-14



Package: src:tightvnc
Version: 1:1.3.10-8
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/tightvnc_1.3.10-8_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

[...]
  658 |         if (!bdfSpecialProperty(pFont, &props[nextProp],
      |              ^~~~~~~~~~~~~~~~~~
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -I. -I../include -o sockets.o sockets.c
bdfread.c: In function ‘bdfReadFont’:
bdfread.c:813:9: warning: implicit declaration of function ‘FontCouldBeTerminal’ [-Wimplicit-function-declaration]
  813 |     if (FontCouldBeTerminal(&pFont->info)) {
      |         ^~~~~~~~~~~~~~~~~~~
bdfread.c:817:5: warning: implicit declaration of function ‘FontComputeInfoAccelerators’ [-Wimplicit-function-declaration]
  817 |     FontComputeInfoAccelerators(&pFont->info);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
bdfread.c:821:9: warning: implicit declaration of function ‘bitmapAddInkMetrics’; did you mean ‘bitmapGetMetrics’? [-Wimplicit-function-declaration]
  821 |         bitmapAddInkMetrics(pFont);
      |         ^~~~~~~~~~~~~~~~~~~
      |         bitmapGetMetrics
bdfread.c:841:35: warning: implicit declaration of function ‘bitmapComputeWeight’ [-Wimplicit-function-declaration]
  841 |         state.weightProp->value = bitmapComputeWeight(pFont);
      |                                   ^~~~~~~~~~~~~~~~~~~
bdfread.c:850:9: warning: implicit declaration of function ‘bdfFreeFontBits’ [-Wimplicit-function-declaration]
  850 |         bdfFreeFontBits (pFont);
      |         ^~~~~~~~~~~~~~~
bdfread.c: At top level:
bdfread.c:854:1: error: return type defaults to ‘int’ [-Wimplicit-int]
  854 | bdfFreeFontBits(pFont)
      | ^~~~~~~~~~~~~~~
bdfread.c: In function ‘bdfPadToTerminal’:
bdfread.c:929:9: warning: implicit declaration of function ‘FontCharReshape’ [-Wimplicit-function-declaration]
  929 |         FontCharReshape(pFont, &bitmapFont->metrics[i], &new);
      |         ^~~~~~~~~~~~~~~
popup.c: In function ‘CreatePopup’:
popup.c:74:32: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 6 [-Wformat-overflow=]
   74 |     sprintf(buttonName, "button%d", i);
      |                                ^~
popup.c:74:25: note: directive argument in the range [1, 2147483647]
   74 |     sprintf(buttonName, "button%d", i);
      |                         ^~~~~~~~~~
In file included from /usr/include/stdio.h:964,
                 from vncviewer.h:26,
                 from popup.c:24:
In function ‘sprintf’,
    inlined from ‘CreatePopup’ at popup.c:74:5:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 8 and 17 bytes into a destination of size 12
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
make[5]: *** [Makefile:9: bdfread.o] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/Xvnc/lib/font/bitmap'
make[4]: *** [Makefile:13: bitmap] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/Xvnc/lib/font'
make[3]: *** [Makefile:6: font] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/Xvnc/lib'
make[2]: *** [Makefile:14: lib] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/Xvnc'
make[1]: *** [Makefile:15: Xvnc] Error 2
make[1]: *** Waiting for unfinished jobs....
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -I. -I../include -o tunnel.o tunnel.c
cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=implicit-function-declaration -I. -I../include -o vncviewer.o vncviewer.c
rfbproto.c: In function ‘HandleRFBServerMessage’:
rfbproto.c:994:14: warning: implicit declaration of function ‘HandleCursorPos’; did you mean ‘HandleCursorShape’? [-Wimplicit-function-declaration]
  994 |         if (!HandleCursorPos(rect.r.x, rect.r.y)) {
      |              ^~~~~~~~~~~~~~~
      |              HandleCursorShape
cc -Wl,-z,relro -Wl,-z,now -o vncviewer argsresources.o caps.o colour.o cursor.o desktop.o dialogs.o fullscreen.o listen.o misc.o popup.o rfbproto.o selection.o shm.o sockets.o tunnel.o vncviewer.o -lXaw -lXmu -lXt -lSM -lICE -lXpm -lX11 -lXext ../libvncauth/libvncauth.a -lz -ljpeg
make[2]: Leaving directory '/<<PKGBUILDDIR>>/vncviewer'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: