#1098180 xwpe: ftbfs with GCC-15

Package:
src:xwpe
Source:
src:xwpe
Submitter:
Matthias Klose
Date:
2026-06-01 12:09:14 UTC
Severity:
normal
Tags:
#1098180#5
Date:
2025-02-17 18:02:59 UTC
From:
To:
[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/xwpe_1.5.30a-4_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

[...]
      |     ^~~~~~~~~~~
we_fl_fkt.c:22:5: note: previous declaration of ‘e_read_info’ with type ‘int(void)’
   22 | int e_read_info();
      |     ^~~~~~~~~~~
we_edit.c: In function ‘e_eingabe’:
we_edit.c:444:22: error: too many arguments to function ‘e_del_a_ind’; expected 0, have 2
  444 |      if (f->flg & 1) e_del_a_ind(b,  s);
      |                      ^~~~~~~~~~~ ~
we_edit.c:17:5: note: declared here
   17 | int e_del_a_ind();
      |     ^~~~~~~~~~~
we_edit.c:483:4: error: too many arguments to function ‘e_tab_a_ind’; expected 0, have 2
  483 |    e_tab_a_ind(b, s);
      |    ^~~~~~~~~~~ ~
we_edit.c:18:5: note: declared here
   18 | int e_tab_a_ind();
      |     ^~~~~~~~~~~
we_edit.c: In function ‘e_tst_cur’:
we_edit.c:676:10: error: too many arguments to function ‘e_help_next’; expected 0, have 2
  676 |          e_help_next(f, 0);
      |          ^~~~~~~~~~~ ~
we_edit.c:19:5: note: declared here
   19 | int e_help_next();
      |     ^~~~~~~~~~~
we_edit.c:681:10: error: too many arguments to function ‘e_help_next’; expected 0, have 2
  681 |          e_help_next(f, 1);
      |          ^~~~~~~~~~~ ~
we_edit.c:19:5: note: declared here
   19 | int e_help_next();
      |     ^~~~~~~~~~~
we_edit.c: At top level:
we_edit.c:1254:5: error: conflicting types for ‘e_tab_a_ind’; have ‘int(BUFFER *, SCHIRM *)’ {aka ‘int(struct BFF *, struct SCHRM *)’}
 1254 | int e_tab_a_ind(BUFFER *b, SCHIRM *s)
      |     ^~~~~~~~~~~
we_edit.c:18:5: note: previous declaration of ‘e_tab_a_ind’ with type ‘int(void)’
   18 | int e_tab_a_ind();
      |     ^~~~~~~~~~~
we_edit.c:1372:5: error: conflicting types for ‘e_del_a_ind’; have ‘int(BUFFER *, SCHIRM *)’ {aka ‘int(struct BFF *, struct SCHRM *)’}
 1372 | int e_del_a_ind(BUFFER *b, SCHIRM *s)
      |     ^~~~~~~~~~~
we_edit.c:17:5: note: previous declaration of ‘e_del_a_ind’ with type ‘int(void)’
   17 | int e_del_a_ind();
      |     ^~~~~~~~~~~
we_edit.c: In function ‘e_autosave’:
we_edit.c:2051:9: error: too many arguments to function ‘e_make_postf’; expected 0, have 3
 2051 |   str = e_make_postf(str, f->datnam, ".ASV");
      |         ^~~~~~~~~~~~ ~~~
we_edit.c:16:7: note: declared here
   16 | char *e_make_postf();
      |       ^~~~~~~~~~~~
make[1]: *** [Makefile:107: we_fl_fkt.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:107: we_edit.o] Error 1
we_fl_unix.c: In function ‘e_ed_man’:
we_fl_unix.c:3419:43: warning: ‘%s’ directive writing up to 255 bytes into a region of size 243 [-Wformat-overflow=]
 3419 |       sprintf(command, " man -s %s %s > \'%s\' 2> /dev/null", nstr, hstr, tstr);
      |                                           ^~                              ~~~~
we_fl_unix.c:3419:7: note: ‘sprintf’ output 28 or more bytes (assuming 283) into a destination of size 256
 3419 |       sprintf(command, " man -s %s %s > \'%s\' 2> /dev/null", nstr, hstr, tstr);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
we_fl_unix.c:3417:37: warning: ‘%s’ directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=]
 3417 |       sprintf(command, " man %s > \'%s\' 2> /dev/null", hstr, tstr);
      |                                     ^~                        ~~~~
we_fl_unix.c:3417:7: note: ‘sprintf’ output 24 or more bytes (assuming 279) into a destination of size 256
 3417 |       sprintf(command, " man %s > \'%s\' 2> /dev/null", hstr, tstr);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/build/reproducible-path/xwpe-1.5.30a'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

#1098180#14
Date:
2026-05-24 05:49:44 UTC
From:
To:
Hi,

while I managed to get the package building

https://salsa.debian.org/debian/xwpe/-/blob/master/debian/patches/gcc-15.patch?ref_type=heads

unfortunately the resulting executable shows some issues in the user
interface which makes the package not really usable.  Thus I deactivated
the patch and tried to suppress gcc-15 build errors

https://salsa.debian.org/debian/xwpe/-/blob/master/debian/rules?ref_type=heads#L5

This in addition needed another patch

https://salsa.debian.org/debian/xwpe/-/blob/master/debian/patches/gcc-15_no_strstr.patch?ref_type=heads

but there are remaining build failures as you can see in Salsa CI

https://salsa.debian.org/debian/xwpe/-/jobs/9647545#L1122

Any help is welcome.

Kind regards
    Andreas.

#1098180#21
Date:
2026-05-25 05:49:54 UTC
From:
To:
Hi,

while I managed to get the package building

https://salsa.debian.org/debian/xwpe/-/blob/master/debian/patches/gcc-15.patch?ref_type=heads

unfortunately the resulting executable shows some issues in the user
interface which makes the package not usable.  Thus I deactivated the
patch and tried to suppress gcc-15 build errors

https://salsa.debian.org/debian/xwpe/-/blob/master/debian/rules?ref_type=heads#L5

This in addition needed another patch

https://salsa.debian.org/debian/xwpe/-/blob/master/debian/patches/gcc-15_no_strstr.patch?ref_type=heads

but there are remaining build failures as you can see in Salsa CI

https://salsa.debian.org/debian/xwpe/-/jobs/9647545#L1122

Any help to get xwpe building is welcome.

Kind regards
    Andreas.

#1098180#26
Date:
2026-05-25 15:31:46 UTC
From:
To:
Hi Francesco,

as we discussed previously I started migrating your packages to Salsa.
Since xwpe had an open RC bug I decided for a delay of only two days.
Thanks a lot to the help of Juan who helped fixing the bug.  So the
honor for the fix goes to him and I just sponsored the upload which
fixes all but one bug.  As we discussed before you can find all
changes of the upload at

https://salsa.debian.org/debian/xwpe

Kind regards
    Andreas.

PS: I migrated the other packages of yours as well but will choose
    delayed=10 for those uploads and let you know once I've done so.

#1098180#35
Date:
2026-05-25 19:02:59 UTC
From:
To:
I take the opportunity to give thanks for sponsoring it!

and to provide the MR for documenting purposes
https://salsa.debian.org/debian/xwpe/-/merge_requests/1
Note: It was already merged by Andreas.

I will have a look to the remaining one, that I think is:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=228820

Cheers,

Juan

#1098180#40
Date:
2026-05-27 15:49:49 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
xwpe, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1098180@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Juan Manuel Méndez Rey <juan.mendezr@proton.me> (supplier of updated xwpe package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 25 May 2026 09:15:00 +0200
Source: xwpe
Architecture: source
Version: 1.5.30a-4.1
Distribution: unstable
Urgency: medium
Maintainer: Francesco Paolo Lovergine <frankie@debian.org>
Changed-By: Juan Manuel Méndez Rey <juan.mendezr@proton.me>
Closes: 634813 947491 1048448 1098180
Changes:
 xwpe (1.5.30a-4.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
 .
   [ Andreas Tille ]
   * Maintain package in Debian team on Salsa with maintainer conset
   * Secure URI in Homepage and Source
   * d/watch: version=5
   * Standards-Version: 4.7.4 (Removed Priority field)
   * Drop libncurses5-dev as alternative from Build-Depends
   * Fix clean target
     Closes: #1048448
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure.
     Closes: #947491
 .
   [ Robert Millan ]
   * Replace hardcoded list of non-Linux architectures
     Closes: #634813
 .
   [ Juan Manuel Méndez Rey ]
   * Fix FTBFS with GCC 15: skip dh_autoreconf (configure.in incompatible
     with autoconf 2.73) and call configure directly. (Closes: #1098180)
   * Fix terminal left in bad state after wpe exits.
   * Fix X11 support: pass --with-x and multiarch library path to configure.
   * Fix blhc hardening: merge CPPFLAGS into CFLAGS and LDFLAGS into LIBS
     since the old Makefile.in only uses those two variables.
Checksums-Sha1:
 49c4b711b29b77991b712d494bedd486c03cd234 1940 xwpe_1.5.30a-4.1.dsc
 c0dc9b8f08be64c80f0c799ef50977e8658a7349 8060 xwpe_1.5.30a-4.1.debian.tar.xz
 f36ff5e5e1d08683f937b5f127a58efb2a9ac7f3 6386 xwpe_1.5.30a-4.1_amd64.buildinfo
Checksums-Sha256:
 5c8c27cfc7ed73bc4fcfcd0b1b199ae2c9117257a9fea2f187e10d1e40779da2 1940 xwpe_1.5.30a-4.1.dsc
 8668f451376c0f5bddae0ea96401011565d38596636e6a2d54b0984d8b1f36bf 8060 xwpe_1.5.30a-4.1.debian.tar.xz
 c5f574a593b1bee97df1c30bdb0e190499e81cf44136e9ecae6c296a4e4cae7d 6386 xwpe_1.5.30a-4.1_amd64.buildinfo
Files:
 ca21d26f6c2cfeac2b604a301dc281ce 1940 editors optional xwpe_1.5.30a-4.1.dsc
 9cadf7dacd53da34bccbb20ebb396af7 8060 editors optional xwpe_1.5.30a-4.1.debian.tar.xz
 d5379fd4fb7c63ec64ed8bd814b74a7d 6386 editors optional xwpe_1.5.30a-4.1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmoUad4RHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtHQiQ//RAeq4YUeE2udDbUoB9otnJnWr7PtDObD
DNv/dC8dH+Tl7IaMrCWlatjfsfJIBleU/Ms54O77Ni2yVj+pGyNTEbOd4v63bamc
Zd61hOleL6MlLOlnxnv3NtQ3c0rOc87OKNEtUDIBC+X6qnIHdDxSJFTf4vmn5uDc
koUwSmeQzm6T7C9mW6UBv0PicWvHWdB1oZNxqutG4xHqO8xygI0F3THAmokFvyrB
ZkMdg6wPLtIY+jfVWPMamu9EwG75xoFQ+2AA4RSJVnpVLdidZVwbgAdEfYxgMwrg
jt7nwqy8ehsM7CrGoIkqPmNQJDLXb0e2fHqjOjURfePg8YbvC0G5dSq65a9FP6Z4
QVFZ35/Cmn9lOekNZ7NMD0CtWltDPvsVwYnn2x9NCbi/GXJ9k9ryX3tJY79Pn4QQ
doQuLin9iXaTwO2Zsi8L0sQwuldq3gJeT2XpqIRhSbIaIXngvWoEeUOObC2/tC5Y
PQt+S4Hdnv1SD/jTZRQRRIyumu5e55eGiOdW+7tBQPoRCqCeGOP/Ery8P22ZN0CE
NdA1wjZQ63v8ZqvZ1slqxwXMZ/l1g2Ehh2lg6F8q2Z/qfudM3NwipfpMeofO1VNC
B3+6n3YEVt0KgoK+QjuNhutazOlxpHZ/oYtrqpEY7gncZ4yjrbzsBc6fOH0IzYZz
etf3YwhQsmU=
=hJaU
-----END PGP SIGNATURE-----

#1098180#45
Date:
2026-06-01 12:06:13 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
xwpe, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1098180@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Juan Manuel Méndez Rey <juan.mendezr@proton.me> (supplier of updated xwpe package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 31 May 2026 21:11:35 +0200
Source: xwpe
Architecture: source
Version: 1.6.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Commons <xwpe@packages.debian.org>
Changed-By: Juan Manuel Méndez Rey <juan.mendezr@proton.me>
Closes: 228820 1098180 1137613 1137649 1137650
Changes:
 xwpe (1.6.2-1) unstable; urgency=medium
 .
   [ Juan Manuel Méndez Rey ]
   * New upstream release (1.6.0 + 1.6.1 + 1.6.2, first upload since rescue).
     - New upstream maintainer: Juan Manuel Mendez Rey, with Dennis Payne's
       blessing. Upstream moved to https://codeberg.org/mendezr/xwpe
     - Xft font rendering in X11 mode: anti-aliased TrueType fonts, color
       emoji via Noto Color Emoji, fontconfig fallback. (Closes: #1098180)
     - Pixmap double-buffering in X11: zero flicker on resize.
     - Full UTF-8 display in terminal and X11 mode via SCREENCELL buffer
       model with CELL_WIDE support for emoji and CJK. (Closes: #1137613)
     - Terminal resize support via KEY_RESIZE. (Closes: #1137649)
     - Keyboard mapping fix for modern PC keyboards. (Closes: #1137650)
     - Compiler integration: gcc, g++, gfortran, fpc, javac, python3,
       pdflatex with error navigation. (Closes: #228820)
     - Debugger resurrection: gdb, jdb (Java), pdb (Python) with
       integrated output to Messages buffer.
     - ncurses mouse for terminal emulators; GPM migrated to
       ncurses-managed integration.
     - Fixed 33-year-old Redo crash (SIGSEGV after search/replace undo).
     - Modern autotools build (configure.ac + Makefile.am); dh_autoreconf
       now works.
     - All former Debian patches integrated upstream; drop all patches.
     - 12-chapter Texinfo manual; 33 automated tests.
   * Add Build-Depends: pkgconf, libxft-dev,
     libfontconfig-dev.
   * Update Build-Depends: libncursesw5-dev to libncurses-dev.
   * Simplify debian/rules: drop all overrides.
   * Update Homepage, Vcs-*, debian/watch for Codeberg upstream.
   * Add Suggests: gpm [linux-any], python3, texlive-latex-base.
   * Remove deprecated debian/menu (xwpe.desktop replaces it).
   * Update debian/copyright for new upstream.
 .
   [ Andreas Tille ]
   * Remove debian/README.Debian since the package is obviously maintained
     again
 .
   [ Juan Manuel Mendez Rey ]
   * Move to team maintenance: Maintainer is Debian Commons, Uploaders:
     Lovergine, Mendez Rey.
   * Vcs-* point to debian/xwpe on Salsa (team namespace).
Checksums-Sha1:
 fae29f8f6cea9039f4a58977e9dda004bc333780 2053 xwpe_1.6.2-1.dsc
 9ecf2a7d7b6a7a4fa53ce6b6c294a2e0717f42ae 372564 xwpe_1.6.2.orig.tar.xz
 92b10862f5a9cd89be3b0bcf4a5f6e89b1a326af 7624 xwpe_1.6.2-1.debian.tar.xz
 856838deb7add708adb07dc15098e7ac69ab0d0b 7443 xwpe_1.6.2-1_amd64.buildinfo
Checksums-Sha256:
 2371e8a5081c046bef7d588088339dc20f4e206cbfefdc723d0f8d15de36a422 2053 xwpe_1.6.2-1.dsc
 8adf2adfd0ae335e03af0c735c8b3a37495dbe8ec8992d18f913cacc6b763297 372564 xwpe_1.6.2.orig.tar.xz
 976f2506bbaa844272824b5e19e8e95bb5b051b7affcd090b72a4fde863b058e 7624 xwpe_1.6.2-1.debian.tar.xz
 b82ac004c4102bfbf345852bd96a352f333dd4de750cf92f1fa055fcdd7b7f27 7443 xwpe_1.6.2-1_amd64.buildinfo
Files:
 fd0034e6e99c448f65d15d84b14c5292 2053 editors optional xwpe_1.6.2-1.dsc
 7e952a98307288d56640b33d656d7956 372564 editors optional xwpe_1.6.2.orig.tar.xz
 3a7d38ff4c8c686d122e3054fd3339e8 7624 editors optional xwpe_1.6.2-1.debian.tar.xz
 c8f663a5476d79e064bf6ea07ba12eb5 7443 editors optional xwpe_1.6.2-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmodcF8RHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtFr4Q//cynt9e8jzZhF0K0E3izkwFoRQp2hXrWW
56NjoumraNmoCx0lh1kZFSW5pW2u5gSdOvaf3VYZXpi00eXwV41ilAAys29yrbRI
P4XyZBOa2HKTLGdXrwJ20/adoEDJ7Ht4zt/CE+IySilJXhT6AR16ayKdWDjP2AMo
NcoL3YEtPwYb8sBirw0kpPeg3RDcwTvZlUkpZ8cZFap5xWVDq9SaXKcoRxPFLjla
ZYqSNK1EoiIkctQp60E9QeCG0XCtsODkDKjQvQRIrygicMcbckQ1Xhe5oNfGfO/z
Yfy8pb/hcRSbOPG9BFcm+r6BBkk7DrAfJgJJ1m1lxj7D1R7PZvgOGnBogikBY4N1
64c3FbK/Q5z4cGGilR1dlSrp8Dpl/vQqD2njoLo1ttpj/v5MfPF5pZnmxqyoML+f
ZBjLKRnKcRdv7qt4JyC+h0QjffJZ2iYHM/wYFBMIz7mquZm3s2Q50gKtoVQvxf3x
c83XIqKWxn7GAnPmVtPd6L3y/qIgRcYqVy2tm+/i5sRaMTITwSl6+9MO9puO+eLE
RuydeLE45i5xPLGFQRYjd5ov57AWM7JtImRfA0M50FBTCzmso8zNhhEoxPYTFXPf
3FBV/m2Z44dt99oYMZK345JoLgwk1VeCdmpLjXABLv7fJ/XzDF6xVkeMbqi2a6Es
JElOzbHA7mc=
=/gTC
-----END PGP SIGNATURE-----