Debian Bug report logs - #1097498
ocamlformat: ftbfs with GCC-15

version graph

Package: src:ocamlformat; Maintainer for src:ocamlformat is Debian OCaml Maintainers <[email protected]>;

Reported by: Matthias Klose <[email protected]>

Date: Mon, 17 Feb 2025 17:43:16 UTC

Severity: important

Tags: forky, sid

Found in version ocamlformat/0.27.0-1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to Debian OCaml Maintainers <[email protected]>:
Bug#1097498; Package src:ocamlformat. (Mon, 17 Feb 2025 17:43:17 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian OCaml Maintainers <[email protected]>. (Mon, 17 Feb 2025 17:43:17 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Matthias Klose <[email protected]>
To: [email protected]
Subject: ocamlformat: ftbfs with GCC-15
Date: Mon, 17 Feb 2025 17:40:56 +0000
Package: src:ocamlformat
Version: 0.27.0-1
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/ocamlformat_0.27.0-1_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

[...]
    package: bash
    version: 5.3~beta1-1
    architecture: amd64
    essential: true
   -
    package: base-passwd
    version: 3.6.6
    architecture: amd64
    essential: true
   -
    package: base-files
    version: 13.6
    architecture: amd64
    essential: true
   -
    package: autotools-dev
    version: 20220109.1
    architecture: all
   -
    package: autopoint
    version: 0.23.1-1
    architecture: all
   -
    package: automake
    version: 1:1.17-3
    architecture: all
   -
    package: autoconf
    version: 2.72-3
    architecture: all
 
background-packages: 76372
foreground-packages: 1
total-packages: 76373
broken-packages: 0

+------------------------------------------------------------------------------+
| Cleanup                                      Sun, 16 Feb 2025 03:05:34 +0000 |
+------------------------------------------------------------------------------+

Purging /build/reproducible-path
Not cleaning session: cloned chroot in use
E: Package build dependencies not satisfied; skipping

+------------------------------------------------------------------------------+
| Summary                                      Sun, 16 Feb 2025 03:05:35 +0000 |
+------------------------------------------------------------------------------+

Build Architecture: amd64
Build Type: binary
Build-Space: n/a
Build-Time: 0
Distribution: unstable
Fail-Stage: install-deps
Host Architecture: amd64
Install-Time: 0
Job: ocamlformat_0.27.0-1
Machine Architecture: amd64
Package: ocamlformat
Package-Time: 0
Source-Version: 0.27.0-1
Space: n/a
Status: given-back
Version: 0.27.0-1
--------------------------------------------------------------------------------
Finished at 2025-02-16T03:04:48Z
Build needed 00:00:00, no disk space
E: Package build dependencies not satisfied; skipping
DC-Status: Failed 48.134577306s
DC-Time-Estimation: 48.134577306 versus expected 129 (r/m: 1.6799861392762265 ; m: 48.134577306)



Information forwarded to Debian OCaml Maintainers <[email protected]>:
Bug#1097498; Package src:ocamlformat. (Thu, 20 Feb 2025 09:33:02 GMT) (full text, mbox, link).


Acknowledgement sent to Stéphane Glondu <[email protected]>:
Extra info received and forwarded to maintainer. Copy sent to Debian OCaml Maintainers <[email protected]>. (Thu, 20 Feb 2025 09:33:02 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Stéphane Glondu <[email protected]>
To: Matthias Klose <[email protected]>, [email protected]
Subject: Re: Bug#1097498: ocamlformat: ftbfs with GCC-15
Date: Thu, 20 Feb 2025 10:31:57 +0100
Dear Matthias,

Le 17/02/2025 à 18:40, Matthias Klose a écrit :
> Package: src:ocamlformat
> Version: 0.27.0-1
> [...]
> 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/ocamlformat_0.27.0-1_unstable_gccexp.log.gz
> The last lines of the build log are at the end of this report.
> [...]
> Fail-Stage: install-deps
> [...]

I don't understand why this is a problem in ocamlformat. I would rather 
say something is wrong in your rebuilding infrastructure.

"Failures" in installing build-dependencies should not have been reported.


Cheers,

-- 
Stéphane



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 12:14:58 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.