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

Bug#1096659: marked as done (fspy: ftbfs with GCC-15)



Your message dated Mon, 17 Nov 2025 15:26:14 +0000
with message-id <E1vL17O-0004iw-0v@fasolo.debian.org>
and subject line Bug#1096659: fixed in fspy 0.1.1-5
has caused the Debian Bug report #1096659,
regarding fspy: 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.)


-- 
1096659: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096659
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:fspy
Version: 0.1.1-4
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/fspy_0.1.1-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

[...]
   dh_clean
 debian/rules binary
dh  binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
	make -j8 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/build/reproducible-path/fspy-0.1.1'
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fspy-0.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now   -DMAJORVERSION=0 -DMINORVERSION=1 -DSUBMINORVERSION=1 -DBUILD=2020060722 -DCODENAME=\"25c3\" -c src/fspy.c -o obj/fspy.o
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fspy-0.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now   -DMAJORVERSION=0 -DMINORVERSION=1 -DSUBMINORVERSION=1 -DBUILD=2020060722 -DCODENAME=\"25c3\" -c src/enumdirs.c -o obj/enumdirs.o
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fspy-0.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now   -DMAJORVERSION=0 -DMINORVERSION=1 -DSUBMINORVERSION=1 -DBUILD=2020060722 -DCODENAME=\"25c3\" -c src/fsevents.c -o obj/fsevents.o
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fspy-0.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now   -DMAJORVERSION=0 -DMINORVERSION=1 -DSUBMINORVERSION=1 -DBUILD=2020060722 -DCODENAME=\"25c3\" -c src/isnumber.c -o obj/isnumber.o
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fspy-0.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now   -DMAJORVERSION=0 -DMINORVERSION=1 -DSUBMINORVERSION=1 -DBUILD=2020060722 -DCODENAME=\"25c3\" -c src/stating.c -o obj/stating.o
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fspy-0.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now   -DMAJORVERSION=0 -DMINORVERSION=1 -DSUBMINORVERSION=1 -DBUILD=2020060722 -DCODENAME=\"25c3\" -c src/output.c -o obj/output.o
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fspy-0.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now   -DMAJORVERSION=0 -DMINORVERSION=1 -DSUBMINORVERSION=1 -DBUILD=2020060722 -DCODENAME=\"25c3\" -c src/regmatch.c -o obj/regmatch.o
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fspy-0.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now   -DMAJORVERSION=0 -DMINORVERSION=1 -DSUBMINORVERSION=1 -DBUILD=2020060722 -DCODENAME=\"25c3\" -c src/numlen.c -o obj/numlen.o
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fspy-0.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now   -DMAJORVERSION=0 -DMINORVERSION=1 -DSUBMINORVERSION=1 -DBUILD=2020060722 -DCODENAME=\"25c3\" -c src/adaptive.c -o obj/adaptive.o
src/enumdirs.c:106:5: error: conflicting types for ‘pathlookup’; have ‘int(char *, unsigned int,  struct felement *)’
  106 | int pathlookup(char *lpath, unsigned int wd, struct felement *lsptr) {
      |     ^~~~~~~~~~
In file included from src/fspy.h:35,
                 from src/enumdirs.c:42:
src/enumdirs.h:43:5: note: previous declaration of ‘pathlookup’ with type ‘int(void)’
   43 | int pathlookup();
      |     ^~~~~~~~~~
src/enumdirs.c: In function ‘grab_max_element_count’:
src/enumdirs.c:67:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   67 |     read(fd, buf, 64);
      |     ^~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:31: obj/enumdirs.o] Error 1
make[1]: *** Waiting for unfinished jobs....
src/fspy.c: In function ‘main’:
src/fspy.c:451:14: error: too many arguments to function ‘pathlookup’; expected 0, have 3
  451 |           if(pathlookup(lpath, event->wd, lsptr) == FALSE)
      |              ^~~~~~~~~~ ~~~~~
In file included from src/fspy.h:35,
                 from src/fspy.c:42:
src/enumdirs.h:43:5: note: declared here
   43 | int pathlookup();
      |     ^~~~~~~~~~
src/fspy.c:473:88: warning: operation on ‘dprint.G’ may be undefined [-Wsequence-point]
  473 |             dprint.s = dprint.A = dprint.M = dprint.S = dprint.O = dprint.U = dprint.G = dprint.G = dprint.I = dprint.D = 0;
      |                                                                               ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:31: obj/fspy.o] Error 1
src/output.c: In function ‘print_data’:
src/output.c:128:3: warning: ‘freeme’ may be used uninitialized [-Wmaybe-uninitialized]
  128 |   free(freeme);
      |   ^~~~~~~~~~~~
src/output.c:54:9: note: ‘freeme’ was declared here
   54 |   char *freeme;
      |         ^~~~~~
src/stating.c: In function ‘checktype’:
src/stating.c:148:3: warning: ‘freeme’ may be used uninitialized [-Wmaybe-uninitialized]
  148 |   free(freeme);
      |   ^~~~~~~~~~~~
src/stating.c:84:9: note: ‘freeme’ was declared here
   84 |   char *freeme;
      |         ^~~~~~
src/adaptive.c: In function ‘adaptive_delete’:
src/adaptive.c:136:19: warning: ‘id’ may be used uninitialized [-Wmaybe-uninitialized]
  136 |       free_wds[i] = id;
      |       ~~~~~~~~~~~~^~~~
src/adaptive.c:109:19: note: ‘id’ was declared here
  109 |   unsigned int i, id;
      |                   ^~
make[1]: Leaving directory '/build/reproducible-path/fspy-0.1.1'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: fspy
Source-Version: 0.1.1-5
Done: Bean Huo <beanhuo@micron.com>

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

Debian distribution maintenance software
pp.
Bean Huo <beanhuo@micron.com> (supplier of updated fspy 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, 12 Nov 2025 15:23:37 +0100
Source: fspy
Architecture: source
Version: 0.1.1-5
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Bean Huo <beanhuo@micron.com>
Closes: 1096659
Changes:
 fspy (0.1.1-5) unstable; urgency=medium
 .
   * QA upload
   * debian/patches/07_fix_read_warning.patch:
       - Fix read() return value warning in grab_max_element_count
       - Add proper error checking for read() system call
       - Add missing close() calls for file descriptor
   * debian/patches/06_update_version_output.patch:
       - Update --version output to show Debian package version
       - Add license information (GPL v2+) to version output
       - Improve formatting with clearer labels
   * debian/patches/04_fix_compiler_warnings.patch:
       - Fix duplicate assignment of dprint.G in diff.c and fspy.c
       - Fix uninitialized variable warnings in adaptive.c (adaptive_delete)
       - Fix uninitialized variable warnings in enumdirs.c (recwrap)
       - Fix uninitialized pointer warnings in diff.c, output.c, and stating.c
       - Fix format specifier warnings for sizeof() in debug prints (%i -> %li)
       - Fix type mismatches for max_element_count and watch descriptors
       - Add proper function prototypes to enumdirs.h
       - Resolves compiler warnings with modern GCC versions (Closes: #1096659)
Checksums-Sha1:
 c468a4f5cc976c741a0fa2235c823c246538c55e 1656 fspy_0.1.1-5.dsc
 201dc6564506ea1d1a27d3c7cec4a8be5b2eacc4 19424 fspy_0.1.1-5.debian.tar.xz
 a8e215478a0d00b8fdd2a26bb476bc99fec8c7e1 5478 fspy_0.1.1-5_source.buildinfo
Checksums-Sha256:
 7aa3fcb3f2c154367b883da2a6c158c2b73a66fe9492ddd065ab53be1c294da2 1656 fspy_0.1.1-5.dsc
 a3ecb0325a2eb0d1d5b0443734a09e0b28cabcb2981e279a5f25fba18735caf2 19424 fspy_0.1.1-5.debian.tar.xz
 f2ff57450dfb5d2affe588402f1e9ae7ae2c0f6480b8f49e4d5808357b78a595 5478 fspy_0.1.1-5_source.buildinfo
Files:
 5c98a2a04c2d920c012178bb2b748bf4 1656 misc optional fspy_0.1.1-5.dsc
 0734932033067f42639e02dc363bec0b 19424 misc optional fspy_0.1.1-5.debian.tar.xz
 c240287356a16b0a78a060c9e4a63b17 5478 misc optional fspy_0.1.1-5_source.buildinfo

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

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmka4NIQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFKsqDADyh2bUfhJRcBHapUTs33FnIS65FzMKoyEu
AnFkqBri7H6d35ePnlkAPt3fB9v2z5rqa/YsjkeFJsrqfdQgbSNScGWAG7FetHP9
5QTp72r0Xs9vaSj1GWonKyotLiiKcbzFT0jXl7SwpiGPexxhtbxO9x64D/zehlUy
V0afOZyzBYvF/7Ugk3HBzU3WDdm1GKU6lJ19QObYkwbNmS+FMB7DV5O03O1aLeH7
+RfaDkTpuYjHu+OrCFSet0pLmsdW0j+uluok7xj8SltyGO/hTqWusAArdp+udnSH
v7S3rtY8hpPONASsfmJmxEqfMPJcieXj1yF4JXsSKdOrcwYyYbsm8UvyWqAiVY/3
gEYYtN5REerC+GRUIGZPIt52wYu4n8uBew0EK58+KhlIDYJc40SIBJO47gHKagXS
cbD9B27/gSSKnHRKspmobPDxgzpAdiOx7AFdKpduyD8Fv0l9IbXzJBujuwvTrwBq
yJ398ZfZau0zEr8vvtaKny3Ln+q2tuA=
=h1xM
-----END PGP SIGNATURE-----

Attachment: pgp6fPYy5K_Yy.pgp
Description: PGP signature


--- End Message ---

Reply to: