Package: src:nedit
Version: 1:5.7-5
Severity: important
Tags: sid forky
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-15

[This bug is NOT 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/nedit_5.7-5_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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-15/porting_to.html

[...]
dpkg-buildpackage: info: host architecture amd64
 debian/rules clean
dh clean --ddeb-migration='nedit-dbg (<< 1:5.6a-4~)'
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/build/reproducible-path/nedit-5.7'
# Generated files
rm -f doc/nedit.1 doc/nedit-nc.1 source/nedit-nc
/usr/bin/make -C doc clean
make[2]: Entering directory '/build/reproducible-path/nedit-5.7/doc'
Removing generated NEdit documentation...
make[2]: Leaving directory '/build/reproducible-path/nedit-5.7/doc'
/usr/bin/make clean
make[2]: Entering directory '/build/reproducible-path/nedit-5.7'
(cd util;   /usr/bin/make -f Makefile.common clean)
make[3]: Entering directory '/build/reproducible-path/nedit-5.7/util'
rm -f DialogF.o getfiles.o printUtils.o misc.o fileUtils.o prefFile.o fontsel.o 
managedList.o utils.o clearcase.o motif.o rbTree.o refString.o nedit_malloc.o 
libNUtil.a
make[3]: Leaving directory '/build/reproducible-path/nedit-5.7/util'
(cd Xlt;    /usr/bin/make -f Makefile.common clean)
make[3]: Entering directory '/build/reproducible-path/nedit-5.7/Xlt'
rm -f BubbleButton.o SlideC.o  libXlt.a
make[3]: Leaving directory '/build/reproducible-path/nedit-5.7/Xlt'
(cd Microline/XmL;    /usr/bin/make -f Makefile.common clean)
make[3]: Entering directory '/build/reproducible-path/nedit-5.7/Microline/XmL'
rm -f Folder.o XmL.o  libXmL.a
make[3]: Leaving directory '/build/reproducible-path/nedit-5.7/Microline/XmL'
(cd source; /usr/bin/make -f Makefile.common clean)
make[3]: Entering directory '/build/reproducible-path/nedit-5.7/source'
rm -f nedit.o file.o menu.o window.o selection.o search.o undo.o shift.o help.o 
preferences.o tags.o userCmds.o shell.o regularExp.o macro.o text.o textSel.o 
textDisp.o textBuf.o textDrag.o server.o highlight.o highlightData.o 
interpret.o parse.o smartIndent.o regexConvert.o tabDragDrop.o windowTitle.o 
calltips.o server_common.o rangeset.o nedit nc nc.o parse.c linkdate.o
make[3]: Leaving directory '/build/reproducible-path/nedit-5.7/source'
make[2]: Leaving directory '/build/reproducible-path/nedit-5.7'
find util source Xlt Microline/XmL -type l | \
        xargs --no-run-if-empty rm -f
# Restore original files
for f in source/help_data.h source/help_topic.h; do [ ! -f $f._ ] || mv $f._ 
$f; done
make[1]: Leaving directory '/build/reproducible-path/nedit-5.7'
   dh_autoreconf_clean "-O--ddeb-migration=nedit-dbg (<< 1:5.6a-4~)"
   dh_clean "-O--ddeb-migration=nedit-dbg (<< 1:5.6a-4~)"
 debian/rules binary
dh binary --ddeb-migration='nedit-dbg (<< 1:5.6a-4~)'
   dh_update_autotools_config "-O--ddeb-migration=nedit-dbg (<< 1:5.6a-4~)"
   dh_autoreconf "-O--ddeb-migration=nedit-dbg (<< 1:5.6a-4~)"
   dh_auto_configure "-O--ddeb-migration=nedit-dbg (<< 1:5.6a-4~)"
   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/reproducible-path/nedit-5.7'
# Save original files
for f in source/help_data.h source/help_topic.h; do [ -f $f._ ] || cp -a $f 
$f._ ; done
sed -i s'/\(NEditVersion = "\).*"/\1NEdit released by Debian (1:5.7-5)\\n"/' 
source/help_data.h
/usr/bin/make CFLAGS="-DBUILD_UNTESTED_NEDIT -DHAVE__XMVERSIONSTRING -Wall -g 
-O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/nedit-5.7=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now" linux
make[2]: Entering directory '/build/reproducible-path/nedit-5.7'
(cd util; \
    /usr/bin/make -f Makefile.linux libNUtil.a)
make[3]: Entering directory '/build/reproducible-path/nedit-5.7/util'
cc -DBUILD_UNTESTED_NEDIT -DHAVE__XMVERSIONSTRING -Wall -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/nedit-5.7=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now 
-Wdate-time -D_FORTIFY_SOURCE=2  -c -o DialogF.o DialogF.c
cc -DBUILD_UNTESTED_NEDIT -DHAVE__XMVERSIONSTRING -Wall -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/nedit-5.7=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now 
-Wdate-time -D_FORTIFY_SOURCE=2  -c -o getfiles.o getfiles.c
getfiles.c: In function ‘replacementDirSearchProc’:
getfiles.c:1076:6: error: too many arguments to function ‘OrigDirSearchProc’; 
expected 0, have 2
 1076 |     (*OrigDirSearchProc)(w, searchData);
      |     ~^~~~~~~~~~~~~~~~~~~ ~
getfiles.c: In function ‘replacementFileSearchProc’:
getfiles.c:1092:6: error: too many arguments to function ‘OrigFileSearchProc’; 
expected 0, have 2
 1092 |     (*OrigFileSearchProc)(w, searchData);
      |     ~^~~~~~~~~~~~~~~~~~~~ ~
make[3]: *** [<builtin>: getfiles.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/nedit-5.7/util'
make[2]: *** [Makefile:25: linux] Error 2
make[2]: Leaving directory '/build/reproducible-path/nedit-5.7'
make[1]: *** [debian/rules:40: override_dh_auto_build] Error 2
make[1]: Leaving directory '/build/reproducible-path/nedit-5.7'
make: *** [debian/rules:68: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to