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

Bug#1097863: marked as done (scsitools: ftbfs with GCC-15)



Your message dated Mon, 22 Sep 2025 17:05:11 +0000
with message-id <E1v0jyR-00FHfa-1P@fasolo.debian.org>
and subject line Bug#1097863: fixed in scsitools 0.13
has caused the Debian Bug report #1097863,
regarding scsitools: 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.)


-- 
1097863: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097863
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:scsitools
Version: 0.12-6
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/scsitools_0.12-6_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

[...]
checking /usr/src/linux/drivers/scsi/scsi.h usability... no
checking /usr/src/linux/drivers/scsi/scsi.h presence... no
checking for /usr/src/linux/drivers/scsi/scsi.h... no
checking scsi/sg.h usability... yes
checking scsi/sg.h presence... yes
checking for scsi/sg.h... yes
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
make[2]: Entering directory '/build/reproducible-path/scsitools-0.12/scsidev'
gcc -g -O2 -Wall -fsigned-char -Wall -DVERSION=\"2.37\"  -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -o scsidev scsidev.c
scsidev.c: In function ‘getscsihostname’:
scsidev.c:1089:34: warning: the address of ‘hostname’ will always evaluate as ‘true’ [-Waddress]
 1089 |         spnt->hostname = hostname? strdup (hostname): 0;
      |                                  ^
scsidev.c: In function ‘sysfs_fopen_pattern’:
scsidev.c:2031:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 2031 |         while (dent = readdir(dir)) {
      |                ^~~~
scsidev.c: In function ‘try_procscsi’:
scsidev.c:2281:9: error: too many arguments to function ‘build_sgdevlist_procscsi’; expected 0, have 1
 2281 |         build_sgdevlist_procscsi(0);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~ ~
scsidev.c:2120:6: note: declared here
 2120 | void build_sgdevlist_procscsi ()
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
scsidev.c: In function ‘find_sysfs’:
scsidev.c:2297:9: error: too many arguments to function ‘build_sgdevlist_procscsi’; expected 0, have 1
 2297 |         build_sgdevlist_procscsi(1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~ ~
scsidev.c:2120:6: note: declared here
 2120 | void build_sgdevlist_procscsi ()
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
scsidev.c: In function ‘apply_perm’:
scsidev.c:710:9: warning: ignoring return value of ‘chown’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  710 |         chown (nm, st->st_uid, st->st_gid);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scsidev.c: In function ‘create_symlink’:
scsidev.c:885:17: warning: ignoring return value of ‘symlink’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  885 |                 symlink (linkto, nm);
      |                 ^~~~~~~~~~~~~~~~~~~~
scsidev.c: In function ‘sysfs_findhostname’:
scsidev.c:1839:9: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1839 |         fscanf (f, "%i", &sdev->hostid);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scsidev.c:1846:17: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1846 |                 fgets (buf2, 127, f);
      |                 ^~~~~~~~~~~~~~~~~~~~
scsidev.c:1859:9: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1859 |         fgets (buf, 127, f);
      |         ^~~~~~~~~~~~~~~~~~~
scsidev.c: In function ‘sysfs_read_devinfo’:
scsidev.c:2057:9: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 2057 |         fscanf(f, "%i:%i", &sysfsptr->maj, &sysfsptr->min);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scsidev.c: In function ‘sysfs_getinfo’:
scsidev.c:2087:9: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 2087 |         fscanf (f, "%i", &inq_devtp);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
scsidev.c: In function ‘build_special’:
scsidev.c:2640:9: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 2640 |         fgets (buffer, sizeof(buffer), configfile);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:41: scsidev] Error 1
make[2]: Leaving directory '/build/reproducible-path/scsitools-0.12/scsidev'
make[1]: *** [debian/rules:15: override_dh_auto_build] Error 2
make[1]: Leaving directory '/build/reproducible-path/scsitools-0.12'
make: *** [debian/rules:11: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: scsitools
Source-Version: 0.13
Done: Chris Hofstaedtler <zeha@debian.org>

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

Debian distribution maintenance software
pp.
Chris Hofstaedtler <zeha@debian.org> (supplier of updated scsitools 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: Mon, 22 Sep 2025 18:42:09 +0200
Source: scsitools
Architecture: source
Version: 0.13
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Chris Hofstaedtler <zeha@debian.org>
Closes: 1097863
Changes:
 scsitools (0.13) unstable; urgency=medium
 .
   * QA upload.
 .
   [ Alexandre Detiste ]
   * remove useless debian/README.source, quilt is the default
 .
   [ Chris Hofstaedtler ]
   * Drop scsidev, does not build with gcc-15 and is not needed with udev
     (Closes: #1097863)
   * Drop rescan-scsi-bus sources
   * Stop pretending we have an upstream, apply all patches and switch to
     Debian native source format.
   * Fix Standards-Version.
Checksums-Sha1:
 cbba895db75f7f447d6727fadaea4584e1254239 1525 scsitools_0.13.dsc
 3ee24dd5acf152e470be256d2124bb6177b9dfb3 71748 scsitools_0.13.tar.xz
 ccb9cc00f27d615a9bdc1d79bc90f59d2b8e8bfa 6499 scsitools_0.13_arm64.buildinfo
Checksums-Sha256:
 36ca32ed93a065fd8c56a477ef61c7e24290062279f918babdfd220e3f54c835 1525 scsitools_0.13.dsc
 a42b98e64698bb78355d0b4552b2717e8c84b0ffb77da120faf57d2fe0101f86 71748 scsitools_0.13.tar.xz
 8889ee0125c73d9fe2dcc38114218ea050b7d953a482cb2e6bc0fc559e15bd80 6499 scsitools_0.13_arm64.buildinfo
Files:
 4e11e8e8cbc8b475fe45050d173b0007 1525 utils optional scsitools_0.13.dsc
 f34b8cf8494d3edfafb223b71551972e 71748 utils optional scsitools_0.13.tar.xz
 f89e384c4d0650967a49e9436c47a6c5 6499 utils optional scsitools_0.13_arm64.buildinfo

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

iQIzBAEBCgAdFiEEfRrP+tnggGycTNOSXBPW25MFLgMFAmjRfSAACgkQXBPW25MF
LgNX9Q/7B8wUIBul4iZrYhz90RMFi0d8tCyWojERNzeT8S7MRoE+vrkPRqLX6pEw
nkMikMFx6fvqqQiRhNFpyYWaCt64agl5sxprBMsVN7bkgueEJ+OoO+sK1IAJ7Thk
LEFv8Y7s7gtvviMigQawL9FoaFQUhB/eGTro4Ww9Aq4oYHotsIn5s+VeBLHwTogM
+1G7V5zlkDU63vOgTZESVF1/W2xEXUzzI61obovTxWP3BHrnXDLpTYhL8Vjf5PUg
SdXDSUwyySEEQAKSWptnB2r1No6549cQ0edKeScTnEIHEMjoRuSD99rTtbTN9LaM
cjT7gbFdBuDSEIc/GLf3BA1rMuFGgddkswAuJf2m53PGggFokFOPCzk0z44kMPo7
gIcqdvFGtBDwQAiIEsX6AC3B5d9uD3FDknIwhdl0MCrfZjAs7AEvSwGneW0MUwVo
WyerEnQXD5o4YNjLJNSsOlcdhkgYvPIv4YtR6ahbrXuVIXv3GRobtrdlVrqTYq26
vAvP6NayxVoUH0S1wH+Ltb546GIlHsfWxSnEOldxuCvoKBocybg3fqRWyZDqTpkY
bzQVmgIM+7prYX4rYiwiP723MCTKtGWS08vBjkvvtwUanl8UY85GszglfgAX5KKl
mjj1f5gWSudWu0FCqMBEJvjsxH9toNZqI2on+96k5aWujVElgqU=
=dKV0
-----END PGP SIGNATURE-----

Attachment: pgpChQCjxd84i.pgp
Description: PGP signature


--- End Message ---

Reply to: