[From nobody Thu May 14 21:25:46 2026
Received: (at maintonly) by bugs.debian.org; 13 Apr 2026 13:11:31 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-116.6 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,FVGT_m_MULTI_ODD,
 HAS_PACKAGE,SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,
 USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 41; hammy, 150; neutral, 135; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;ema@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:38676)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;ema@debian.org&gt;) id 1wCH4d-002n59-1z
 for maintonly@bugs.debian.org; Mon, 13 Apr 2026 13:11:31 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Transfer-Encoding:Content-Type
 :MIME-Version:Message-ID:Subject:To:From:Date:Reply-To:Cc:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=J+HP/XP2Rsh6BN5F0l8m5zcRN4c9LjqH7X6gWJ5ZnDw=; b=nIjYTglTMUjhIJa3ruTolPaik1
 BiPQi3UQOIMvr0ym4PX7Zxtzur6n5OxNkvk37J9SJTr/D81BAIWQe3l8twjdGzpViPRFiVR+N7RiU
 4V34/u9p8A44zqfovibFg3/kHHsRRguFJ5YBUuykRLaZif7Y7ali+bnisU2r/NoR8sUC4Fn3hi3Ji
 x/jkViidpvIQ8QMtuXO8joRGEA2vQQV/LCYVl38mVnXH3rh4fWVnZ3VEr1ul+sRcdEXhOY9nQJIKf
 kYNhtuLFUOHve6C3+FIk8N5jSU9Zq02NGWQ0+SguRr2JjiW89uUFBHlPwi+OhmYNQ6CM4ZFRLPzSp
 Hv+Km2tg==;
Received: from authenticated user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;ema@debian.org&gt;) id 1wCH4b-00CJio-3D
 for maintonly@bugs.debian.org; Mon, 13 Apr 2026 13:11:30 +0000
Date: Mon, 13 Apr 2026 15:11:29 +0200
From: Emanuele Rocca &lt;ema@debian.org&gt;
To: maintonly@bugs.debian.org
Subject: systemc: ftbfs with GCC-16
Message-ID: &lt;adzrgeLD3DH0p22w@ariel.home&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Debian-User: ema
Delivered-To: maintonly@bugs.debian.org

Package: src:systemc
Version: 3.0.2-1
Severity: important
Tags: sid forky ftbfs
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-16

Hi,

systemc fails to build in a test rebuild on at least amd64 and arm64 with
gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this
report will be raised before the forky release.

The full build log can be found at:
https://people.debian.org/~ema/gcc-16-rebuilds/output-1/systemc_arm64.build.xz

The last lines of the build log are at the end of this report.

To build with GCC 16, either set CC=gcc-16 CXX=g++-16 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures include unused (but set) variables, array subscripts
partly outside array bounds, and new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-16/porting_to.html

Please only close this issue after double-checking that the package can be
built correctly with GCC 16.

Please do not reassign this bug to another package. If a fix in another package
is required, then file a bug for the other package (or clone), and mark this
bug as blocked by the bug in the other package.

[...]


    • candidate 2: 'constexpr sc_core::sc_string_view::sc_string_view(const sc_core::sc_string_view&amp;)'
      ../../src/sysc/utils/sc_string_view.h:44:7:
         44 | class sc_string_view
            |       ^~~~~~~~~~~~~~
      • no known conversion for argument 1 from 'const char*' to 'const sc_core::sc_string_view&amp;'
    • candidate 3: 'constexpr sc_core::sc_string_view::sc_string_view(sc_core::sc_string_view&amp;&amp;)'
      • no known conversion for argument 1 from 'const char*' to 'sc_core::sc_string_view&amp;&amp;'
../../src/sysc/utils/sc_string_view.h: In member function 'void sc_core::sc_zstring_view::swap(sc_core::sc_zstring_view&amp;)':
../../src/sysc/utils/sc_string_view.h:97:18: error: 'swap' is not a member of 'sc_core::sc_zstring_view::base_type' {aka 'sc_core::sc_string_view'}
   97 |     { base_type::swap(s); }
      |                  ^~~~
../../src/sysc/utils/sc_string_view.h: In member function 'const char* sc_core::sc_zstring_view::c_str() const':
../../src/sysc/utils/sc_string_view.h:100:14: error: 'data' was not declared in this scope
  100 |     { return data(); }
      |              ^~~~
make[4]: *** [Makefile:1157: tracing/sc_wif_trace.lo] Error 1
make[4]: *** [Makefile:1157: datatypes/int/sc_uint_base.lo] Error 1
tracing/sc_vcd_trace.cpp: In function 'void sc_core::vcd_print_scopes(FILE*, std::vector&lt;vcd_trace*&gt;&amp;)':
tracing/sc_vcd_trace.cpp:1154:52: error: conversion from 'const char*' to non-scalar type 'sc_core::sc_string_view' requested
 1154 |     sc_string_view with_scopes_s = (with_scopes_p) ? with_scopes_p : &quot;&quot;;
      |                                    ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
tracing/sc_vcd_trace.cpp:1157:23: error: no match for 'operator==' (operand types are 'sc_core::sc_string_view' and 'const char [8]')
 1157 |     if (with_scopes_s == &quot;DISABLE&quot;) with_scopes = false;
      |         ~~~~~~~~~~~~~ ^~ ~~~~~~~~~
      |         |                |
      |         |                const char [8]
      |         sc_core::sc_string_view
  • there is 1 candidate
    tracing/sc_vcd_trace.cpp:1157:23:
     1157 |     if (with_scopes_s == &quot;DISABLE&quot;) with_scopes = false;
          |         ~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from ../../src/sysc/communication/sc_writer_policy.h:41,
                 from ../../src/sysc/kernel/sc_ver.h:35,
                 from tracing/sc_vcd_trace.cpp:61:
    • candidate 1: 'bool sc_core::operator==(const sc_process_handle&amp;, const sc_process_handle&amp;)'
      ../../src/sysc/kernel/sc_process_handle.h:155:13:
        155 | inline bool operator == (
            |             ^~~~~~~~
      • no known conversion for argument 1 from 'sc_core::sc_string_view' to 'const sc_core::sc_process_handle&amp;'
        ../../src/sysc/kernel/sc_process_handle.h:156:30:
          156 |     const sc_process_handle&amp; left, const sc_process_handle&amp; right )
              |     ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
tracing/sc_vcd_trace.cpp:1158:23: error: no match for 'operator==' (operand types are 'sc_core::sc_string_view' and 'const char [7]')
 1158 |     if (with_scopes_s == &quot;ENABLE&quot;)  with_scopes = true;
      |         ~~~~~~~~~~~~~ ^~ ~~~~~~~~
      |         |                |
      |         |                const char [7]
      |         sc_core::sc_string_view
  • there is 1 candidate
    tracing/sc_vcd_trace.cpp:1158:23:
     1158 |     if (with_scopes_s == &quot;ENABLE&quot;)  with_scopes = true;
          |         ~~~~~~~~~~~~~~^~~~~~~~~~~
    • candidate 1: 'bool sc_core::operator==(const sc_process_handle&amp;, const sc_process_handle&amp;)'
      ../../src/sysc/kernel/sc_process_handle.h:155:13:
        155 | inline bool operator == (
            |             ^~~~~~~~
      • no known conversion for argument 1 from 'sc_core::sc_string_view' to 'const sc_core::sc_process_handle&amp;'
        ../../src/sysc/kernel/sc_process_handle.h:156:30:
          156 |     const sc_process_handle&amp; left, const sc_process_handle&amp; right )
              |     ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
make[4]: *** [Makefile:1157: tracing/sc_vcd_trace.lo] Error 1
make[4]: Leaving directory '/build/reproducible-path/systemc-3.0.2/src/sysc'
make[3]: *** [Makefile:1204: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/systemc-3.0.2/src/sysc'
make[2]: *** [Makefile:659: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/systemc-3.0.2/src'
make[1]: *** [Makefile:522: all-recursive] Error 1
make[1]: Leaving directory '/build/reproducible-path/systemc-3.0.2'
dh_auto_build: error: make -j128 returned exit code 2
make: *** [debian/rules:11: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess failed with exit status 2
]