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

Bug#1075533: splitvt: ftbfs with GCC-14



Package: src:splitvt
Version: 1.6.6-16
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/splitvt_1.6.6-16_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

[...]
dpkg-source: info: applying multiarch.ncurses.patch
dpkg-source: info: applying add-flags.patch
dpkg-source: info: applying fix-spelling-error-manpage.patch
dpkg-source: info: applying missing-prototypes.patch

Check disk space
----------------

Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LANG=C.UTF-8
LC_ALL=C.UTF-8
LOGNAME=user42
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=unstable
SCHROOT_CHROOT_NAME=sid-amd64-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=1001
SCHROOT_GROUP=user42
SCHROOT_SESSION_ID=sid-amd64-sbuild-b5609de2-27b7-4748-a9b2-0db9593f574e
SCHROOT_UID=1001
SCHROOT_USER=user42
SHELL=/bin/sh
USER=user42

dpkg-buildpackage
-----------------

Command: dpkg-buildpackage --sanitize-env -us -uc -b -rfakeroot
dpkg-buildpackage: info: source package splitvt
dpkg-buildpackage: info: source version 1.6.6-16
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Andreas Beckmann <anbe@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 fakeroot debian/rules clean
dh clean
   dh_clean
 debian/rules build
dh build
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f Makefile
./configure
Making configuration...
config.c:50:1: error: return type defaults to ‘int’ [-Wimplicit-int]
   50 | main(argc, argv)
      | ^~~~
config.c: In function ‘main’:
config.c:141:14: error: implicit declaration of function ‘grep’ [-Wimplicit-function-declaration]
  141 |         if ( grep(INCLUDE, "utmp.h", "ut_host") ) {
      |              ^~~~
config.c:207:15: error: implicit declaration of function ‘access’ [-Wimplicit-function-declaration]
  207 |         if ( (access("/var/run/utmp", (R_OK|W_OK)) == 0) && getuid() )
      |               ^~~~~~
config.c:207:61: error: implicit declaration of function ‘getuid’ [-Wimplicit-function-declaration]
  207 |         if ( (access("/var/run/utmp", (R_OK|W_OK)) == 0) && getuid() )
      |                                                             ^~~~~~
Can't compile configuration...  Makefile NOT created.
make[1]: *** [debian/rules:11: override_dh_auto_configure] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: