[From nobody Mon Mar 16 12:51:05 2026
Received: (at maintonly) by bugs.debian.org; 17 Feb 2025 17:07:37 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
 (2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-117.1 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,FVGT_m_MULTI_ODD,HAS_PACKAGE,
 RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_NONE,USER_IN_DKIM_WELCOMELIST,
 USER_IN_DKIM_WHITELIST autolearn=ham autolearn_force=no
 version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 50; hammy, 150; neutral, 175; spammy,
 0. spammytokens: hammytokens:0.000-+--trixie, 0.000-+--H*F:U*doko,
 0.000-+--qalogsdebiannet, 0.000-+--qa-logs.debian.net,
 0.000-+--UD:qa-logs.debian.net
Return-path: &lt;doko@paradis.debian.org&gt;
Received: from mitropoulos.debian.org
 ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:35528)
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=mitropoulos.debian.org, EMAIL=hostmaster@mitropoulos.debian.org (verified)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;doko@paradis.debian.org&gt;)
 id 1tk4an-00ANkZ-AW
 for maintonly@bugs.debian.org; Mon, 17 Feb 2025 17:07:37 +0000
Received: from paradis.debian.org ([2607:f8f0:614:1::1274:67]:39224)
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=paradis.debian.org, EMAIL=hostmaster@paradis.debian.org (verified)
 by mitropoulos.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;doko@paradis.debian.org&gt;)
 id 1tk4al-0013hb-HG
 for maintonly@bugs.debian.org; Mon, 17 Feb 2025 17:07:35 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.paradis;
 h=Date:Message-Id:Content-Transfer-Encoding:Content-Type:
 MIME-Version:From:Subject:To:Reply-To:Cc:Content-ID:Content-Description:
 In-Reply-To:References; bh=bwLJ+LF64GuL5qvqPzT4/1WLl6K+ISdyWssvgOm97DI=; b=i7
 Mvq6zFu4NYGR275plOFHxbEy59gVroQyam+ajSjA2wIioN8L/RufzcgVbpTyHC5ZBKYbW7JGjvH8O
 18B4p7c2diptB9V4bBva4hPuYq5sReNL9gyAgcnxhapLExA+07Mh8V2LSSEAZhhtKTeGSWVLbW9Xa
 0a8hWRkfMpoorw7AK3uDCYh8onnJYshQkWiPCVXj0BkVbnBWLgs9WQeBXNL8ssUaHfmSFxi/JIw2B
 jfJbLd+3BiD1Ly3gPvi9x2w2BpnDEGuVgtJNuzadJutK2vQ5ojUWj+PKNfpPiRgFiapVmPHsR9tKv
 cxQ1G/IhXPBwEhMOqqL6kT9eB2cBgvjw==;
Received: from doko by paradis.debian.org with local (Exim 4.94.2)
 (envelope-from &lt;doko@paradis.debian.org&gt;) id 1tk4aj-009Hx4-Gs
 for maintonly@bugs.debian.org; Mon, 17 Feb 2025 17:07:33 +0000
To: maintonly@bugs.debian.org
Subject: cogl: ftbfs with GCC-15
From: Matthias Klose &lt;doko@debian.org&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=&quot;UTF-8&quot;
Content-Transfer-Encoding: 8bit
Message-Id: &lt;E1tk4aj-009Hx4-Gs@paradis.debian.org&gt;
Date: Mon, 17 Feb 2025 17:07:33 +0000
Delivered-To: maintonly@bugs.debian.org

Package: src:cogl
Version: 1.22.8-5
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/cogl_1.22.8-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

[...]
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cogl-path.c:67:1: note: in expansion of macro 'COGL_GTYPE_DEFINE_CLASS'
   67 | COGL_GTYPE_DEFINE_CLASS (Path, path);
      | ^~~~~~~~~~~~~~~~~~~~~~~
cogl-path.c: In function '_cogl_path_build_fill_attribute_buffer':
cogl-path.c:1361:20: error: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types]
 1361 |                    _cogl_path_tesselator_begin);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    |
      |                    void (*)(GLenum,  CoglPathTesselator *) {aka void (*)(unsigned int,  struct _CoglPathTesselator *)}
In file included from cogl-path.c:49:
tesselator/tesselator.h:57:70: note: expected 'void (*)(void)' but argument is of type 'void (*)(GLenum,  CoglPathTesselator *)' {aka 'void (*)(unsigned int,  struct _CoglPathTesselator *)'}
   57 | void gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc);
      |                                                          ~~~~~~~~~~~~^~~~~~~~~~~~
cogl-path.c:1094:1: note: '_cogl_path_tesselator_begin' declared here
 1094 | _cogl_path_tesselator_begin (GLenum type,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cogl-path.c:1363:20: error: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types]
 1363 |                    _cogl_path_tesselator_vertex);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    |
      |                    void (*)(void *, CoglPathTesselator *) {aka void (*)(void *, struct _CoglPathTesselator *)}
tesselator/tesselator.h:57:70: note: expected 'void (*)(void)' but argument is of type 'void (*)(void *, CoglPathTesselator *)' {aka 'void (*)(void *, struct _CoglPathTesselator *)'}
   57 | void gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc);
      |                                                          ~~~~~~~~~~~~^~~~~~~~~~~~
cogl-path.c:1164:1: note: '_cogl_path_tesselator_vertex' declared here
 1164 | _cogl_path_tesselator_vertex (void *vertex_data,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cogl-path.c:1365:20: error: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types]
 1365 |                    _cogl_path_tesselator_end);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                    |
      |                    void (*)(CoglPathTesselator *) {aka void (*)(struct _CoglPathTesselator *)}
tesselator/tesselator.h:57:70: note: expected 'void (*)(void)' but argument is of type 'void (*)(CoglPathTesselator *)' {aka 'void (*)(struct _CoglPathTesselator *)'}
   57 | void gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc);
      |                                                          ~~~~~~~~~~~~^~~~~~~~~~~~
cogl-path.c:1223:1: note: '_cogl_path_tesselator_end' declared here
 1223 | _cogl_path_tesselator_end (CoglPathTesselator *tess)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
cogl-path.c:1367:20: error: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types]
 1367 |                    _cogl_path_tesselator_combine);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                    |
      |                    void (*)(double *, void **, float *, void **, CoglPathTesselator *) {aka void (*)(double *, void **, float *, void **, struct _CoglPathTesselator *)}
tesselator/tesselator.h:57:70: note: expected 'void (*)(void)' but argument is of type 'void (*)(double *, void **, float *, void **, CoglPathTesselator *)' {aka 'void (*)(double *, void **, float *, void **, struct _CoglPathTesselator *)'}
   57 | void gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc);
      |                                                          ~~~~~~~~~~~~^~~~~~~~~~~~
cogl-path.c:1229:1: note: '_cogl_path_tesselator_combine' declared here
 1229 | _cogl_path_tesselator_combine (double coords[3],
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:910: libcogl_path_la-cogl-path.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
tesselator/tess.c:415:46: warning: argument 2 of type 'double[3]' with mismatched bound [-Warray-parameter=]
  415 | gluTessVertex( GLUtesselator *tess, GLdouble coords[3], void *data )
In file included from ./tesselator/GL/glu.h:33,
                 from tesselator/tess.h:38,
                 from tesselator/tess.c:40:
./tesselator/GL/../tesselator.h:62:50: note: previously declared as 'double *'
   62 | void gluTessVertex (GLUtesselator* tess, double *location, GLvoid* data);
      |                                          ~~~~~~~~^~~~~~~~
make[4]: Leaving directory '/build/reproducible-path/cogl-1.22.8/cogl-path'
make[3]: *** [Makefile:685: all] Error 2
make[3]: Leaving directory '/build/reproducible-path/cogl-1.22.8/cogl-path'
make[2]: *** [Makefile:608: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/cogl-1.22.8'
make[1]: *** [Makefile:535: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/cogl-1.22.8'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
]