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

Bug#1098007: marked as done (tnef: ftbfs with GCC-15)



Your message dated Mon, 15 Sep 2025 13:06:43 +0000
with message-id <E1uy8up-00Bfsv-27@fasolo.debian.org>
and subject line Bug#1098007: fixed in tnef 1.4.18-5
has caused the Debian Bug report #1098007,
regarding tnef: 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.)


-- 
1098007: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098007
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:tnef
Version: 1.4.18-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/tnef_1.4.18-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

[...]
		./mapi-types.data'
/bin/bash -c 'TAG=mapi_name mawk -f ./mkdata.awk \
		./mapi-names.data'
/bin/bash -c 'TAG=mapi_name mawk -f ./mkdata.awk \
		./mapi-names.data'
make  all-recursive
make[3]: Entering directory '/build/reproducible-path/tnef-1.4.18/src'
Making all in replace
make[4]: Entering directory '/build/reproducible-path/tnef-1.4.18/src/replace'
gcc -DHAVE_CONFIG_H -I. -I../../src   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tnef-1.4.18=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o dummy.o dummy.c
rm -f libreplace.a
ar cr libreplace.a dummy.o 
ranlib libreplace.a
make[4]: Leaving directory '/build/reproducible-path/tnef-1.4.18/src/replace'
Making all in .
make[4]: Entering directory '/build/reproducible-path/tnef-1.4.18/src'
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tnef-1.4.18=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tnef_names.o tnef_names.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tnef-1.4.18=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tnef_types.o tnef_types.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tnef-1.4.18=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o mapi_types.o mapi_types.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tnef-1.4.18=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o mapi_names.o mapi_names.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tnef-1.4.18=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o alloc.o alloc.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tnef-1.4.18=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o attr.o attr.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tnef-1.4.18=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o date.o date.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tnef-1.4.18=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o debug.o debug.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tnef-1.4.18=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o file.o file.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tnef-1.4.18=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o main.o main.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tnef-1.4.18=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o mapi_attr.o mapi_attr.c
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tnef-1.4.18=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o options.o options.c
attr.c:242:1: error: conflicting types for ‘attr_read’; have ‘Attr *(FILE *)’
  242 | attr_read (FILE* in)
      | ^~~~~~~~~
In file included from attr.c:29:
attr.h:72:14: note: previous declaration of ‘attr_read’ with type ‘Attr *(void)’
   72 | extern Attr* attr_read ();
      |              ^~~~~~~~~
make[4]: *** [Makefile:489: attr.o] Error 1
make[4]: *** Waiting for unfinished jobs....
file.c: In function ‘confirm_action’:
file.c:50:9: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   50 |         fgets (buf, BUFSIZ, stdin);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
date.c: In function ‘date_to_str’:
date.c:46:62: warning: ‘%02d’ directive output may be truncated writing between 2 and 5 bytes into a region of size between 1 and 14 [-Wformat-truncation=]
   46 |     snprintf (buf, sizeof(buf), "%s %04d/%02d/%02d %02d:%02d:%02d",
      |                                                              ^~~~
date.c:46:33: note: directive argument in the range [0, 65535]
   46 |     snprintf (buf, sizeof(buf), "%s %04d/%02d/%02d %02d:%02d:%02d",
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:970,
                 from common.h:30,
                 from date.c:26:
In function ‘snprintf’,
    inlined from ‘date_to_str’ at date.c:46:5:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output 21 or more bytes (assuming 37) into a destination of size 32
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make[4]: Leaving directory '/build/reproducible-path/tnef-1.4.18/src'
make[3]: *** [Makefile:505: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/tnef-1.4.18/src'
make[2]: *** [Makefile:362: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/tnef-1.4.18/src'
make[1]: *** [Makefile:369: all-recursive] Error 1
make[1]: Leaving directory '/build/reproducible-path/tnef-1.4.18'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: tnef
Source-Version: 1.4.18-5
Done: Florian Ernst <florian@debian.org>

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

Debian distribution maintenance software
pp.
Florian Ernst <florian@debian.org> (supplier of updated tnef 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, 15 Sep 2025 14:41:11 +0200
Source: tnef
Architecture: source
Version: 1.4.18-5
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Florian Ernst <florian@debian.org>
Closes: 1098007
Changes:
 tnef (1.4.18-5) unstable; urgency=medium
 .
   * QA upload.
   * Add debian/patches/ftbfs_with_GCC-15.patch (Closes: #1098007)
Checksums-Sha1:
 05f7f2d4d4d628320025e397a44fe9fcb962ed0b 1794 tnef_1.4.18-5.dsc
 40e331439a18c60290fec817f668e4e74a367574 5228 tnef_1.4.18-5.debian.tar.xz
 8f2c522581e51810407db15e1f5417630560abe2 6470 tnef_1.4.18-5_amd64.buildinfo
Checksums-Sha256:
 e26970f5f4c723dee9726b44d49834080185eb624d4191f4ff88bba1005f3a78 1794 tnef_1.4.18-5.dsc
 0eb96be6afdc58ad37a51cc257c68281375881646f6004e19cd19fafe2407089 5228 tnef_1.4.18-5.debian.tar.xz
 0dad9b917e31bb658707e11ca33fb7bc9b7f3d42e1f516a0989d4ed2b759f84a 6470 tnef_1.4.18-5_amd64.buildinfo
Files:
 dee5665ab2582802376ae0e5000a382c 1794 text optional tnef_1.4.18-5.dsc
 7557760dd3f8c328b69ff9ae4aa1734c 5228 text optional tnef_1.4.18-5.debian.tar.xz
 fa211cd8253426c1feeacab943ba494a 6470 text optional tnef_1.4.18-5_amd64.buildinfo

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

iQIzBAEBCgAdFiEEBn03XtJwVyplJ26xBjdBuvXdHs4FAmjICbAACgkQBjdBuvXd
Hs72axAAl12qwHupv3UFg2Njnr4GCvEkjvoH8TobV+tKdjZJ79lXa7mClBaRho+Q
LlSfGqp0Ko4xeHBVa3MSMO4dTWbgxRXiWSgbkIXSEaPIizQlj+3anUFCjQxZj1S8
38qI6X6pXRqd8FrAlaU7PPuWK+7SDa+BGsJFGW5Jd007JsXv32r9ZXbSrttz37mS
OZE9QA4JvEAflS4FTb1u6svkSvMWQ5kjsGbW6j129AXWk18whSf4hLc78FbqHJTz
abB5xyDEVYqZCAp2HgGm0hHoq6nTB3K08EsZAHc1PwinnsfP5VOlXqEX0m2NK1W9
Zd7RQpNWNw+COfrwSEWkllwHHlx0jiBKYzCGAQOFRWOMNdS1Ay7ExP98TGgFek0b
N2n/FhLbkjLcIIGCzcvQc9AagGPEeJymv0pPnMgrV9DPQsNVkev69tvFSQ64QsFb
n4TTgt9BQRbVRhiwnJJflHM4CyXyZdV/yGnFzWWBY9NO45TC2n3nebHdlwX6YJ7a
FcAEXHAuCGmRdBJ68rLUmq1T7ux8BsGUixGl8Z44IJfwu+Yfo1Xpp2BXmdFQx+a5
VTf26lHNJ2geyG0aMxMhNg7zmkuykN0/POSluvc2Ey5AqWnMfF53AvtIQx+OyaIk
91wNxJN+syqpMLJiee6mQhEbi8XfnVmZ5zVUswh373UuA0ezid4=
=wRSh
-----END PGP SIGNATURE-----

Attachment: pgpmy9xoMnYdq.pgp
Description: PGP signature


--- End Message ---

Reply to: