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

Bug#1097905: marked as done (snmptrapfmt: ftbfs with GCC-15)



Your message dated Fri, 19 Dec 2025 13:50:06 +0000
with message-id <E1vWaru-0008mq-0x@fasolo.debian.org>
and subject line Bug#1097905: fixed in snmptrapfmt 1.20
has caused the Debian Bug report #1097905,
regarding snmptrapfmt: 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.)


-- 
1097905: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097905
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:snmptrapfmt
Version: 1.19
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/snmptrapfmt_1.19_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

[...]
  905 | lg_sprint_string(stringP, cPPtr, bRemP)
      | ^~~~~~~~~~~~~~~~
snmptrapfmt.c: In function ‘lg_sprint_int’:
snmptrapfmt.c:933:1: warning: old-style function definition [-Wold-style-definition]
  933 | lg_sprint_int(ival, iFmt, cPPtr, bRemP)
      | ^~~~~~~~~~~~~
snmptrapfmt.c: In function ‘lg_sprint_ulong’:
snmptrapfmt.c:966:1: warning: old-style function definition [-Wold-style-definition]
  966 | lg_sprint_ulong(uval, uFmt, cPPtr, bRemP)
      | ^~~~~~~~~~~~~~~
snmptrapfmt.c: In function ‘lg_sprint_ASNtype’:
snmptrapfmt.c:999:1: warning: old-style function definition [-Wold-style-definition]
  999 | lg_sprint_ASNtype(asntype, cPPtr, bRemP)
      | ^~~~~~~~~~~~~~~~~
snmptrapfmt.c: In function ‘lg_sprint_var’:
snmptrapfmt.c:1075:1: warning: old-style function definition [-Wold-style-definition]
 1075 | lg_sprint_var(var, vFmt, seqno, cPPtr, bRemP)
      | ^~~~~~~~~~~~~
snmptrapfmt.c:1119:13: error: too many arguments to function ‘lg_sprint_int’; expected 0, have 4
 1119 |             lg_sprint_int(seqno, "%d", cPPtr, bRemP);
      |             ^~~~~~~~~~~~~ ~~~~~
snmptrapfmt.c:933:1: note: declared here
  933 | lg_sprint_int(ival, iFmt, cPPtr, bRemP)
      | ^~~~~~~~~~~~~
snmptrapfmt.c:1122:13: error: too many arguments to function ‘lg_sprint_oid’; expected 0, have 4
 1122 |             lg_sprint_oid(var->v_oid, cfg_oidfmt, cPPtr, bRemP);
      |             ^~~~~~~~~~~~~ ~~~~~~~~~~
snmptrapfmt.c:864:1: note: declared here
  864 | lg_sprint_oid(oidP, oidFmt, cPPtr, bRemP)
      | ^~~~~~~~~~~~~
snmptrapfmt.c:1126:13: error: too many arguments to function ‘lg_sprint_ASNtype’; expected 0, have 3
 1126 |             lg_sprint_ASNtype(ASN_OCTET_STR, cPPtr, bRemP);
      |             ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~
snmptrapfmt.c:999:1: note: declared here
  999 | lg_sprint_ASNtype(asntype, cPPtr, bRemP)
      | ^~~~~~~~~~~~~~~~~
snmptrapfmt.c:1153:15: error: too many arguments to function ‘lg_sprint_string’; expected 0, have 3
 1153 |               lg_sprint_string(var->v_val + 1, cPPtr, bRemP);
      |               ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~
snmptrapfmt.c:905:1: note: declared here
  905 | lg_sprint_string(stringP, cPPtr, bRemP)
      | ^~~~~~~~~~~~~~~~
snmptrapfmt.c:1158:15: error: too many arguments to function ‘lg_sprint_string’; expected 0, have 3
 1158 |               lg_sprint_string(var->v_val, cPPtr, bRemP);
      |               ^~~~~~~~~~~~~~~~ ~~~~~~~~~~
snmptrapfmt.c:905:1: note: declared here
  905 | lg_sprint_string(stringP, cPPtr, bRemP)
      | ^~~~~~~~~~~~~~~~
snmptrapfmt.c: In function ‘main’:
snmptrapfmt.c:316:5: warning: ignoring return value of ‘freopen’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  316 |     freopen("/dev/null", "r", stdin);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
snmptrapfmt.c:317:5: warning: ignoring return value of ‘freopen’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  317 |     freopen("/dev/null", "w", stdout);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
snmptrapfmt.c:318:5: warning: ignoring return value of ‘freopen’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  318 |     freopen("/dev/null", "w", stderr);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
snmptrapfmt.c: In function ‘create_pidfile’:
snmptrapfmt.c:219:7: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  219 |       ftruncate(pidfile, 0);
      |       ^~~~~~~~~~~~~~~~~~~~~
snmptrapfmt.c:223:7: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  223 |       write(pidfile, pid, strlen(pid));
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [<builtin>: snmptrapfmt.o] Error 1
make[1]: Leaving directory '/build/reproducible-path/snmptrapfmt-1.19'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: snmptrapfmt
Source-Version: 1.20
Done: Syed-Shahrukh Hussain <syed.shahrukh@ossrevival.org>

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

Debian distribution maintenance software
pp.
Syed-Shahrukh Hussain <syed.shahrukh@ossrevival.org> (supplier of updated snmptrapfmt 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: Wed, 17 Dec 2025 10:00:06 +0500
Source: snmptrapfmt
Architecture: source
Version: 1.20
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Syed-Shahrukh Hussain <syed.shahrukh@ossrevival.org>
Closes: 1039374 1097905
Changes:
 snmptrapfmt (1.20) unstable; urgency=medium
 .
   * QA upload
   * Fix gcc-15 build failure (Closes: #1097905).
   * Added systemd service file (Closes: #1039374).
   * Updated Standards-Version from 3.8.1 to 4.7.2.
Checksums-Sha1:
 ac1500cccba676b184e941128cb699117c1fcf34 1396 snmptrapfmt_1.20.dsc
 2f1d8c1388e1b212ba9a96aeec7deff5862f39a7 27192 snmptrapfmt_1.20.tar.xz
 1e6f13484484ec61212ac8f3ccb5285920299e15 6294 snmptrapfmt_1.20_source.buildinfo
Checksums-Sha256:
 f8c87c0dc6da885c55cfca0610932ef177441914f9a1c03f9ae5006bd415b03c 1396 snmptrapfmt_1.20.dsc
 62f6ef57fe965c37705fc8c596f56182651f1378947976d64ddd4cef8ef3efe8 27192 snmptrapfmt_1.20.tar.xz
 a986302d340ba517618789dbde73ad48cbde00b70a099f390143b6dab403e6a8 6294 snmptrapfmt_1.20_source.buildinfo
Files:
 814be516af6e30625e59aa397e52670d 1396 net optional snmptrapfmt_1.20.dsc
 275eddba2fcaf3acd792ae6399293106 27192 net optional snmptrapfmt_1.20.tar.xz
 7d5d32312779fa6de6742561045d2f60 6294 net optional snmptrapfmt_1.20_source.buildinfo

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

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmlFVG8QHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFP5MDADbz+4hXNAPV9eBhUdpRyodsUO7DVaL6nKN
pf7kxoETCyfak0ZkL5oPIQSTjorTSuBVfd7hSfYp0dtx1Q4Q5Bq75TtHv3p0t7Xr
s2uJVVU+Kolgak8Xpm60SUS4Z6X02ZTyT/BVkpcIESlcydfVA/5UJG3rDGNy61bc
tBht5WBpnhxak1wwFqGv1F3WBgthHAwQLFC1FP8MWb+ASS+sUQsKVwgLTGcCA/dB
xKRpz0dzXxaZhYvarfCG04K9Bir4lPfY7D/3QQV3wq2z/lIHrPqyy159/dpfp4CO
ZWh8REqDHj1WLjcBobUOLoJdbzxDI7MF2c/BdvOwXUrw4ZQCNoq7lGVPpErOrG6T
UvPw9coyjcTUaHDmtevGMASUi/1zfcHS8aBpoRv7OWrR0nL7iOY37vTlKhQg+ClI
f+cOQCBfexeWT8+h5DM4vcZ1ALpOP4sxglX5wmh2ma9O9V7wEruWPlDSG6BtN/T3
VBo5eaD6XKDQ+m7cHefg1+JUbS6Wks0=
=kIYQ
-----END PGP SIGNATURE-----

Attachment: pgpcLhmpj6ZqQ.pgp
Description: PGP signature


--- End Message ---

Reply to: