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

Bug#1075650: xawtv: ftbfs with GCC-14



Package: src:xawtv
Version: 3.107-2
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/xawtv_3.107-2_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

[...]
  LD	  libng/plugins/snd-oss.so
  LD	  libng/plugins/drv0-v4l2.so
  LD	  libng/plugins/drv0-libv4l.so
  CC	  libng/contrib-plugins/flt-smooth.o
  CC	  libng/contrib-plugins/bilinear.o
  CC	  libng/contrib-plugins/cubic.o
  CC	  libng/contrib-plugins/linear-blend.o
  CC	  libng/contrib-plugins/linedoubler.o
  LD	  libng/contrib-plugins/bilinear.so
  LD	  libng/contrib-plugins/linedoubler.so
  LD	  libng/contrib-plugins/cubic.so
  LD	  libng/contrib-plugins/linear-blend.so
  LD	  libng/contrib-plugins/flt-smooth.so
perl ./scripts/html.pl < vbistuff/alevt.css.in > vbistuff/alevt.css.h
  CC	  vbistuff/ntsc-cc.o
perl ./scripts/html.pl < vbistuff/top.html.in > vbistuff/top.html.h
perl ./scripts/html.pl < vbistuff/bottom.html.in > vbistuff/bottom.html.h
perl ./scripts/html.pl < vbistuff/about.html.in > vbistuff/about.html.h
  CC	  vbistuff/request.o
  CC	  vbistuff/response.o
  CC	  vbistuff/page.o
  CC	  vbistuff/alevtd.o
vbistuff/alevtd.c: In function ‘fix_ug’:
vbistuff/alevtd.c:173:9: warning: ignoring return value of ‘setgid’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  173 |         setgid(gr->gr_gid);
      |         ^~~~~~~~~~~~~~~~~~
vbistuff/alevtd.c:184:9: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  184 |         setuid(pw->pw_uid);
      |         ^~~~~~~~~~~~~~~~~~
  LD	  vbistuff/ntsc-cc
  LD	  vbistuff/alevtd
  CC	  x11/v4lctl.o
  CC	  x11/atoms.o
  CC	  x11/xv.o
  CC	  x11/propwatch.o
  CC	  x11/xawtv-remote.o
  CC	  x11/rootv.o
perl ./scripts/fallback.pl < x11/Xawtv.ad > x11/Xawtv.h
  CC	  x11/wmhooks.o
  CC	  x11/x11.o
  CC	  x11/blit.o
x11/propwatch.c: In function ‘RebuildList’:
x11/propwatch.c:319:43: error: passing argument 2 of ‘XawListChange’ from incompatible pointer type [-Wincompatible-pointer-types]
  319 |     XawListChange(bl,str_count ? str_list : &empty,
      |                      ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
      |                                           |
      |                                           char **
In file included from x11/propwatch.c:28:
/usr/include/X11/Xaw/List.h:170:27: note: expected ‘const char **’ but argument is of type ‘char **’
  170 |  _Xconst char           **list,
      |                           ^
x11/propwatch.c: In function ‘ProcessPropertyChange’:
x11/propwatch.c:498:34: error: passing argument 2 of ‘XawListChange’ from incompatible pointer type [-Wincompatible-pointer-types]
  498 |                 XawListChange(bl,str_list,str_count,1000,1);
      |                                  ^~~~~~~~
      |                                  |
      |                                  char **
/usr/include/X11/Xaw/List.h:170:27: note: expected ‘const char **’ but argument is of type ‘char **’
  170 |  _Xconst char           **list,
      |                           ^
x11/propwatch.c: In function ‘HookAction’:
x11/propwatch.c:597:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  597 |         system(cmd);
      |         ^~~~~~~~~~~
make[1]: *** [mk/Compile.mk:55: x11/propwatch.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:6: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: