Your message dated Sat, 06 Sep 2025 19:40:19 +0000
with message-id <[email protected]>
and subject line Bug#1097839: fixed in samhain 4.1.4-7
has caused the Debian Bug report #1097839,
regarding samhain: 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 [email protected]
immediately.)
--
1097839: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097839
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:samhain
Version: 4.1.4-5
Severity: important
Tags: sid forky
User: [email protected]
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/samhain_4.1.4-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
[...]
181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC
SH_GNUC_PURE;
| ^~~~
./include/sh_utils.h:183:1: warning: ignoring attribute ‘pure’ because it
conflicts with attribute ‘malloc’ [-Wattributes]
183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC
SH_GNUC_PURE;
| ^~~~
./encode 0 ./src/sh_mem.c --> x_sh_mem.c
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1
-Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2
-fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W
-fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE
-o sh_mem.o -c x_sh_mem.c
In file included from x_sh_mem.c:41:
./include/sh_utils.h:181:1: warning: ignoring attribute ‘pure’ because it
conflicts with attribute ‘malloc’ [-Wattributes]
181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC
SH_GNUC_PURE;
| ^~~~
./include/sh_utils.h:183:1: warning: ignoring attribute ‘pure’ because it
conflicts with attribute ‘malloc’ [-Wattributes]
183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC
SH_GNUC_PURE;
| ^~~~
./encode 0 ./src/sh_login_track.c --> x_sh_login_track.c
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -DUSE_MALLOC_LOCK=1
-Wl,-z,relro -fstack-protector-strong -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/samhain-4.1.4=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2
-fstack-protector-strong -DUSE_MALLOC_LOCK=1 -fPIE -Wall -W
-fno-strength-reduce -fno-omit-frame-pointer -Wno-empty-body -DSH_STANDALONE
-o sh_login_track.o -c x_sh_login_track.c
In file included from x_sh_login_track.c:31:
./include/sh_utils.h:181:1: warning: ignoring attribute ‘pure’ because it
conflicts with attribute ‘malloc’ [-Wattributes]
181 | char * sh_util_safe_name (const char * name) SH_GNUC_MALLOC
SH_GNUC_PURE;
| ^~~~
./include/sh_utils.h:183:1: warning: ignoring attribute ‘pure’ because it
conflicts with attribute ‘malloc’ [-Wattributes]
183 | char * sh_util_safe_name_keepspace (const char * name) SH_GNUC_MALLOC
SH_GNUC_PURE;
| ^~~~
x_sh_login_track.c: In function ‘get_bool’:
x_sh_login_track.c:177:7: error: ‘bool’ cannot be used here
177 | int bool;
| ^~~~
x_sh_login_track.c:177:7: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
x_sh_login_track.c:177:3: warning: useless type name in empty declaration
177 | int bool;
| ^~~
x_sh_login_track.c:180:8: error: expected identifier or ‘(’ before ‘=’ token
180 | bool = (*bitarray & (1 << (index % 8)));
| ^
x_sh_login_track.c:182:10: error: expected expression before ‘bool’
182 | return bool;
| ^~~~
x_sh_login_track.c: At top level:
x_sh_login_track.c:185:62: error: ‘bool’ cannot be used here
185 | static void set_bool(char *bitarray, unsigned int index, int bool)
| ^~~~
x_sh_login_track.c:185:62: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
x_sh_login_track.c: In function ‘set_bool’:
x_sh_login_track.c:188:11: error: expected identifier or ‘(’ before ‘)’ token
188 | if (bool)
| ^
x_sh_login_track.c:188:7: error: declaration in the controlling expression must
have an initializer
188 | if (bool)
| ^~~~
x_sh_login_track.c: In function ‘get_bool’:
x_sh_login_track.c:183:1: warning: control reaches end of non-void function
[-Wreturn-type]
183 | }
| ^
make[1]: *** [Makefile:1114: sh_login_track.o] Error 1
make[1]: *** Waiting for unfinished jobs....
x_sh_files.c: In function ‘sh_files_checkdir’:
x_sh_files.c:2058:22: warning: variable ‘dirlist’ might be clobbered by
‘longjmp’ or ‘vfork’ [-Wclobbered]
2058 | struct sh_dirent * dirlist;
| ^~~~~~~
x_sh_unix.c: In function ‘sh_unix_getinfo’:
x_sh_unix.c:3812:17: warning: variable ‘tmp’ might be clobbered by ‘longjmp’ or
‘vfork’ [-Wclobbered]
3812 | char * tmp;
| ^~~
x_sh_unix.c:3815:17: warning: variable ‘linknamebuf’ might be clobbered by
‘longjmp’ or ‘vfork’ [-Wclobbered]
3815 | char * linknamebuf;
| ^~~~~~~~~~~
make[1]: Leaving directory '/build/reproducible-path/samhain-4.1.4'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:41: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--- End Message ---
--- Begin Message ---
Source: samhain
Source-Version: 4.1.4-7
Done: Sven Geuer <[email protected]>
We believe that the bug you reported is fixed in the latest version of
samhain, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sven Geuer <[email protected]> (supplier of updated samhain 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 06 Sep 2025 21:05:45 +0200
Source: samhain
Architecture: source
Version: 4.1.4-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Security Tools <[email protected]>
Changed-By: Sven Geuer <[email protected]>
Closes: 868158 1097839 1099415 1107458 1111631
Changes:
samhain (4.1.4-7) unstable; urgency=medium
.
* Team upload.
.
[ Javier Fernández-Sanguino Peña ]
* Add build conflict on autoconf-archive to prevent FTBFS (Closes: #1099415)
* debian/samhain.init: Instead of using hard-coded path of
/var/lib/samhain/samhain_file for the location of the database, check the
configuration file. This prevents samhain from failing in case the
administrator has changed its location (Closes: #868158)
.
[ Sven Geuer ]
* d/rules:
- Quick fix to make samhain 4.1.4 buildable using GCC-15 (Closes: #1097839)
- Quick fix preventing potential segfaults (Closes: #1111631)
Thanks to Aurelien Jarno <[email protected]> for debugging and
providing a patch.
* Update Portuguese debconf template translations (Closes: #1107458)
Thanks to Américo Monteiro <[email protected]> for providing it.
Checksums-Sha1:
5085daa599fd8eab9fff795188a709ea82edf05f 2087 samhain_4.1.4-7.dsc
09b9348e6d240d41e63db49d798391a6e5936a11 105212 samhain_4.1.4-7.debian.tar.xz
5c52eb06cc34ff3be574919f82ebca71634563c5 6354 samhain_4.1.4-7_amd64.buildinfo
Checksums-Sha256:
305cc20ee8c19c500178c7e0ef0e4c92d964fc4f8d662e507ae031146dd42c15 2087
samhain_4.1.4-7.dsc
c59a9082cd25453c22f0fa169657f81bfc89262f014c10a07d1a732c9bfb26b7 105212
samhain_4.1.4-7.debian.tar.xz
4214f86d15dc0e96d09cbb5c7512fab056da0f16ec2b3cee06223c85dcb5a491 6354
samhain_4.1.4-7_amd64.buildinfo
Files:
4d14822501be1ee4532d4fd14cb703ad 2087 admin optional samhain_4.1.4-7.dsc
6efbd8ff4223382640428864d6710736 105212 admin optional
samhain_4.1.4-7.debian.tar.xz
5685418dd5881da8f875b36101fe4dd4 6354 admin optional
samhain_4.1.4-7_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJDBAEBCgAtFiEEPfXoqkP8n9/QhvGVrfUO2vit1YUFAmi8h3QPHHNnZUBkZWJp
YW4ub3JnAAoJEK31Dtr4rdWFyUQQAKvCsC+O+U6l+m5MKsRRxukFlO6nh/h2zbna
X6L3m88qhCUOM/tfT7XRh95vU3YDTdvWCIOBoqzdHXoNaGY19lUE1ujMppsHuz+O
q+Tuo3ssvOhCL4CLWe/MRhdQVG5PXTElOvQmBwIWMemtqav7Bldr3DjADDkQekpi
tyVTPwuGccqBeG+W0wJmP5k+ogBD6mLQukGMrkTkLVzCYk0vNx0P2t6hv70xnSJE
zjGzqnpn9+9C1/zhkjDeiYcOPG39ugh9pWU3VAfgP4hvY9UoJVWEdbezKmth52wO
WA8NhkzLMImnJEvWi489KPuKZvpUZRHzT4jkDbjhcsauyWgGsZPkrMIALJ+LyYEp
ECiSwA/yypTo93p/19Y5WoaFUaKLUpmqn6Oz5oECyuxlTKezNuuYnm9m4FL0h4Sh
AouXirYnZNauWaBx3OzC8RuJREQadUlIkAW3vcMxmU8Xh7P05D7jwTA9a3H4B1yn
yE7Vqw4mNoLGNrwPpNeOiiaiCOrVktRxlwSwdQ1QkqXkNZFeMDP3WlFb23oviGmi
rUI3vR7Tki0sRLcArdfsSHiGLt4ELNaOH+/Ekm1ohxREjMfTpY8nVJxJPhP+Jslj
aCBrFyFi16M6oHiVfI/DzGAaXDkmPoOpwUl6H0PyQo83jZ7/u5i9V1JMVWmzP6wP
bm8m06jZ
=EbdG
-----END PGP SIGNATURE-----
pgpv_SaC3aulN.pgp
Description: PGP signature
--- End Message ---