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

Bug#1096830: marked as done (ifhp: ftbfs with GCC-15)



Your message dated Sat, 18 Oct 2025 16:05:50 +0000
with message-id <E1vA9RG-00DDow-19@fasolo.debian.org>
and subject line Bug#1096830: fixed in ifhp 3.5.20-22
has caused the Debian Bug report #1096830,
regarding ifhp: ftbfs with GCC-15
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1096830: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096830
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:ifhp
Version: 3.5.20-20
Severity: important
Tags: sid forky
User: debian-gcc@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/ifhp_3.5.20-20_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

[...]
		./ifhp.conf.in >ifhp.conf
if [ "src" = po ] ; then \
    for i in po/Makefile* ; do \
	if [ -f "$i" ] ; then \
	    if grep '^mkinstalldirs.*=.*case' $i ; then \
		echo "fixing broken $i which causes wrong path to mkinstalldirs to be used"; \
		perl -spi -e 's:^mkinstalldirs\s*=\s*.*:mkinstalldirs = \$(SHELL) \$(MKINSTALLDIRS):' $i; \
	    fi \
	fi \
    done \
fi
if [ "src" != po -o "no" != "no" ] ; then \
	cd src; /usr/bin/make localedir=/usr/share/locale \
	DESTDIR= all ; \
fi
make[2]: Entering directory '/build/reproducible-path/ifhp-3.5.20/src'
x86_64-linux-gnu-gcc -g -W -Wall -Werror -Wno-unused  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ifhp-3.5.20=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-unused-parameter -Wno-implicit-fallthrough -g -W -Wall -Werror -Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" -DLOCALEDIR=\"/usr/share/locale\"   -c -o ifhp.o ifhp.c
ifhp.c: In function ‘plp_signal’:
ifhp.c:1792:24: error: assignment to ‘__sighandler_t’ {aka ‘void (*)(int)’} from incompatible pointer type ‘plp_sigfunc_t’ {aka ‘int (*)(int)’} [-Wincompatible-pointer-types]
 1792 |         act.sa_handler = func;
      |                        ^
In file included from /usr/include/x86_64-linux-gnu/sys/param.h:28,
                 from portable.h:283,
                 from ifhp.h:21,
                 from ifhp.c:14:
/usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
portable.h:545:24: note: ‘plp_sigfunc_t’ declared here
  545 | typedef plp_signal_t (*plp_sigfunc_t)(int) ;
      |                        ^~~~~~~~~~~~~
ifhp.c:1799:24: error: returning ‘void (*)(int)’ from a function with incompatible return type ‘plp_sigfunc_t’ {aka ‘int (*)(int)’} [-Wincompatible-pointer-types]
 1799 |                 return (SIG_ERR);
      |                        ^
portable.h:545:24: note: ‘plp_sigfunc_t’ declared here
  545 | typedef plp_signal_t (*plp_sigfunc_t)(int) ;
      |                        ^~~~~~~~~~~~~
ifhp.c:1801:16: error: cast between incompatible function types from ‘__sighandler_t’ {aka ‘void (*)(int)’} to ‘plp_signal_t (*)(int)’ {aka ‘int (*)(int)’} [-Werror=cast-function-type]
 1801 |         return (plp_sigfunc_t) oact.sa_handler;
      |                ^
ifhp.c: In function ‘plp_signal_break’:
ifhp.c:1819:24: error: assignment to ‘__sighandler_t’ {aka ‘void (*)(int)’} from incompatible pointer type ‘plp_sigfunc_t’ {aka ‘int (*)(int)’} [-Wincompatible-pointer-types]
 1819 |         act.sa_handler = func;
      |                        ^
/usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
portable.h:545:24: note: ‘plp_sigfunc_t’ declared here
  545 | typedef plp_signal_t (*plp_sigfunc_t)(int) ;
      |                        ^~~~~~~~~~~~~
ifhp.c:1826:24: error: returning ‘void (*)(int)’ from a function with incompatible return type ‘plp_sigfunc_t’ {aka ‘int (*)(int)’} [-Wincompatible-pointer-types]
 1826 |                 return (SIG_ERR);
      |                        ^
portable.h:545:24: note: ‘plp_sigfunc_t’ declared here
  545 | typedef plp_signal_t (*plp_sigfunc_t)(int) ;
      |                        ^~~~~~~~~~~~~
ifhp.c:1828:16: error: cast between incompatible function types from ‘__sighandler_t’ {aka ‘void (*)(int)’} to ‘plp_signal_t (*)(int)’ {aka ‘int (*)(int)’} [-Werror=cast-function-type]
 1828 |         return (plp_sigfunc_t) oact.sa_handler;
      |                ^
ifhp.c: In function ‘timeout_break’:
ifhp.c:1956:1: error: no return statement in function returning non-void [-Werror=return-type]
 1956 | }
      | ^
cc1: all warnings being treated as errors
make[2]: *** [<builtin>: ifhp.o] Error 1
make[2]: Leaving directory '/build/reproducible-path/ifhp-3.5.20/src'
make[1]: *** [Makefile:52: src] Error 2
make[1]: Leaving directory '/build/reproducible-path/ifhp-3.5.20'
make: *** [debian/rules:36: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: ifhp
Source-Version: 3.5.20-22
Done: Thorsten Alteholz <debian@alteholz.de>

We believe that the bug you reported is fixed in the latest version of
ifhp, 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 1096830@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thorsten Alteholz <debian@alteholz.de> (supplier of updated ifhp 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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 14 Sep 2025 10:33:20 +0200
Source: ifhp
Architecture: source
Version: 3.5.20-22
Distribution: unstable
Urgency: medium
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Changed-By: Thorsten Alteholz <debian@alteholz.de>
Closes: 1096830
Changes:
 ifhp (3.5.20-22) unstable; urgency=medium
 .
   * debian/control: bump standard to 4.7.2 (no changes)
   * add gcc15.patch (Closes: #1096830)
Checksums-Sha1:
 4ac953f80571957830aaeefd7cb7997ab0bdf7ef 2061 ifhp_3.5.20-22.dsc
 83cf6519b75be95760e0bf59e9b44ddb78589000 1356478 ifhp_3.5.20.orig.tar.gz
 785e79f1e7c570617c6a49f76ed08169b50ce275 93096 ifhp_3.5.20-22.debian.tar.xz
 e66c4350f0103cc74881f60a27fe171e6ce49b76 8410 ifhp_3.5.20-22_amd64.buildinfo
Checksums-Sha256:
 bb3b8755d3f5111abee64486cd079b36bf5a8afcf13bf39d97152faeb2374d67 2061 ifhp_3.5.20-22.dsc
 c14dc351f3b53448087702e3c7d68e7741d00cd4544635f6b3ce699ff751b56b 1356478 ifhp_3.5.20.orig.tar.gz
 0a372500804ba3988755016ca50c5e9e07a01ab406f035f16e0d25db1952e982 93096 ifhp_3.5.20-22.debian.tar.xz
 44176030fc40b49dd41405047e07775a5528a107223bf8372a953a1fb2790a60 8410 ifhp_3.5.20-22_amd64.buildinfo
Files:
 8dae1ddc3f80f506c0ea749f696c471f 2061 net optional ifhp_3.5.20-22.dsc
 25b151b3adb953b571e6b0a7cc9937f3 1356478 net optional ifhp_3.5.20.orig.tar.gz
 36f9190d6298bb4a96b7904f344f9e4b 93096 net optional ifhp_3.5.20-22.debian.tar.xz
 89bceefead85429f6fc63dc3ee273e5c 8410 net optional ifhp_3.5.20-22_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQKnBAEBCgCRFiEEYgH7/9u94Hgi6ruWlvysDTh7WEcFAmjzt7hfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYy
MDFGQkZGREJCREUwNzgyMkVBQkI5Njk2RkNBQzBEMzg3QjU4NDcTHGRlYmlhbkBh
bHRlaG9sei5kZQAKCRCW/KwNOHtYR7m1EACl0ztZGc8IvlOXnApe9yxAYfK95G7r
dLQSdOtaYZVvsOOQ3pLhqUgFsCCfyhP028t2vbWRfM2R831NPTYTj0d81FMpbzkW
zELoJLl6DbTceLP7GmoQ64Al9evx2oWdh61xkdtdImHFPQeKdNt+5xYA5QwjmhgH
kDGsNI+U4oUC0a+NTz+CVa/QtL4w+CIubdGD/VKxRikH95KNEPCqzcvv5qkNr+fb
siLrIab9odkyRDLYgxnDndKd41urAG5yGenyLlLtLAri1i3voLrXkXpx1ossRmHY
BGrgNg8mxVmuKc1zPRnXjJEgI9kq89x5teOSoiy4yYyteuHfuY3sMDoEhXXLnVT6
9iQYfRaKof/jel9DlY0e/mB9i/I5Hbq/gr2Io7XA9KxDzVN/9TSYH1f4gxcArwN7
a3numotrVyp9W4VQoPEJE8iW6gHx7/GzzmMic8enZM4QiCnQXehuo6IoT8w+gmHT
I/xvME1LkQPIQ5mF4wV2ON3+Dle0z6S6zEsw063Kfb/q/8o4TheaKQoLBXkYJnqq
ch6mbL8CEQGxldJwWHFhuWz3DH7dMt8qBNYUkii1iBi1T7jFS5truRspEQfGorZ5
C/22KCjPWNyqo9QawWUxrcDGQYsKfEAOlxvGF8HHxIqUUMt3iej/I0Ycsv/Mx5/P
qcsuaQUugbCEkA==
=yNsm
-----END PGP SIGNATURE-----

Attachment: pgpuNmSqJEMIQ.pgp
Description: PGP signature


--- End Message ---

Reply to: