[From nobody Sun Aug  2 04:07:05 2026
Received: (at maintonly) by bugs.debian.org; 13 Apr 2026 13:05:01 +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.7 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,
 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, 148; hammy, 150; neutral, 176; 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]:47550)
 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 1wCGyL-002lEf-1P
 for maintonly@bugs.debian.org; Mon, 13 Apr 2026 13:05:01 +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=enhcc5JXynctbotgmpbC+9mC+YFRv36uAHhIRT8oIu0=; b=tvuiZC3ycJhHAkKAoh695LRobg
 2ESTlqR7tDAIw11DfokgPeE1X4Bz4AflXGZ9M08qgIMVn+cQDRuLojCEg4tELDrtOROe9ByAKadiK
 0XNf9B6D1KqTavuTZYvGJzQ3DjS/x2lPZfObM2P1DX7QiZHfxflmcqp+1qAIYnsLIj1e3ijPW2bSe
 Bd2Dtm2XfpuBzUiJyOdPUth/gW3XkfGnaY89G5sTt9F/p+xpK6ktxt9aLZOCav/kP8rv/uIeQXPs0
 Y5g1prCm5BaqTZdFTSnX1oEW23H4l5zK1+xJjYhBWqUEW+vsJNWaNWsQYZzxB1tvfhMNzfC25ieA6
 cCQWwIhA==;
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 1wCGyJ-00CJNr-0d
 for maintonly@bugs.debian.org; Mon, 13 Apr 2026 13:05:00 +0000
Date: Mon, 13 Apr 2026 15:04:58 +0200
From: Emanuele Rocca &lt;ema@debian.org&gt;
To: maintonly@bugs.debian.org
Subject: ipe: ftbfs with GCC-16
Message-ID: &lt;adzp-s-RhoQ7QziK@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:ipe
Version: 7.2.30-1
Severity: important
Tags: sid forky ftbfs
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-16

Hi,

ipe 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/ipe_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.

[...]


ipepdfwriter.cpp: In member function ‘void ipe::PdfWriter::createPages()’:
ipepdfwriter.cpp:893:10: error: ‘iSaveFlags’ was not declared in this scope
  893 |     if ((iSaveFlags &amp; SaveFlag::MarkedView) &amp;&amp; !iDoc-&gt;page(page)-&gt;marked())
      |          ^~~~~~~~~~
ipepdfwriter.cpp:896:9: error: ‘iSaveFlags’ was not declared in this scope
  896 |     if (iSaveFlags &amp; SaveFlag::MarkedView) {
      |         ^~~~~~~~~~
make[3]: *** [../common.mak:259: ../../build/obj/ipelib/ipeiml.o] Error 1
ipepdfwriter.cpp: In member function ‘void ipe::PdfWriter::createBookmarks()’:
ipepdfwriter.cpp:982:10: error: ‘iSaveFlags’ was not declared in this scope
  982 |     if ((iSaveFlags &amp; SaveFlag::MarkedView) &amp;&amp; !iDoc-&gt;page(pg)-&gt;marked())
      |          ^~~~~~~~~~
make[3]: *** [../common.mak:259: ../../build/obj/ipelib/ipereference.o] Error 1
ipepdfwriter.cpp: In member function ‘void ipe::PdfWriter::createNamedDests()’:
ipepdfwriter.cpp:1053:10: error: ‘iSaveFlags’ was not declared in this scope
 1053 |     if ((iSaveFlags &amp; SaveFlag::MarkedView) &amp;&amp; !iDoc-&gt;page(pg)-&gt;marked())
      |          ^~~~~~~~~~
ipepdfwriter.cpp: In member function ‘void ipe::PdfWriter::createTrailer()’:
ipepdfwriter.cpp:1118:13: error: ‘iSaveFlags’ was not declared in this scope
 1118 |       if (!(iSaveFlags &amp; SaveFlag::MarkedView) || iDoc-&gt;page(page)-&gt;marked()) {
      |             ^~~~~~~~~~
make[3]: *** [../common.mak:259: ../../build/obj/ipelib/ipesnap.o] Error 1
make[3]: *** [../common.mak:259: ../../build/obj/ipelib/ipebitmap.o] Error 1
make[3]: *** [../common.mak:259: ../../build/obj/ipelib/iperesources.o] Error 1
make[3]: *** [../common.mak:259: ../../build/obj/ipelib/ipeutils.o] Error 1
make[3]: *** [../common.mak:259: ../../build/obj/ipelib/ipepage.o] Error 1
make[3]: *** [../common.mak:259: ../../build/obj/ipelib/ipepdfparser.o] Error 1
make[3]: *** [../common.mak:259: ../../build/obj/ipelib/ipelatex.o] Error 1
make[3]: *** [../common.mak:259: ../../build/obj/ipelib/ipedoc.o] Error 1
make[3]: *** [../common.mak:259: ../../build/obj/ipelib/ipestyle.o] Error 1
make[3]: *** [../common.mak:259: ../../build/obj/ipelib/ipepdfwriter.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/ipe-7.2.30/src/ipelib'
make[2]: *** [Makefile:59: ipelib] Error 2
make[2]: *** Waiting for unfinished jobs....
In file included from /usr/include/aarch64-linux-gnu/qt6/QtGui/qvalidator.h:12,
                 from /usr/include/aarch64-linux-gnu/qt6/QtWidgets/qabstractspinbox.h:9,
                 from /usr/include/aarch64-linux-gnu/qt6/QtWidgets/qstyleoption.h:11,
                 from /usr/include/aarch64-linux-gnu/qt6/QtWidgets/qabstractitemdelegate.h:9,
                 from /usr/include/aarch64-linux-gnu/qt6/QtWidgets/qcombobox.h:9,
                 from /usr/include/aarch64-linux-gnu/qt6/QtWidgets/QComboBox:1,
                 from ipeui_qt.cpp:37:
/usr/include/aarch64-linux-gnu/qt6/QtCore/qregularexpression.h:30:21: warning: defining ‘QRegularExpression’, which previously failed to be complete in a SFINAE context [-Wsfinae-incomplete=]
   30 | class Q_CORE_EXPORT QRegularExpression
      |                     ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/16/vector:70,
                 from ipeui_common.h:42,
                 from ipeui_qt.h:35,
                 from ipeui_qt.cpp:31:
/usr/include/c++/16/bits/range_access.h:325:24: note: here.  Use ‘-Wsfinae-incomplete=2’ for a diagnostic at that point
  325 |     -&gt; decltype(__cont.data())
      |                 ~~~~~~~^~~~
ipeui_qt.cpp: In member function ‘virtual bool PDialog::buildAndRun(int, int)’:
ipeui_qt.cpp:337:37: warning: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations]
  337 |             connect(ch, &amp;QCheckBox::stateChanged, [&amp;,method=m.lua_method](int){ callLua(method); });
      |                                     ^~~~~~~~~~~~
In file included from /usr/include/aarch64-linux-gnu/qt6/QtWidgets/QCheckBox:1,
                 from ipeui_qt.cpp:34:
/usr/include/aarch64-linux-gnu/qt6/QtWidgets/qcheckbox.h:41:10: note: declared here
   41 |     void stateChanged(int);
      |          ^~~~~~~~~~~~
mkdir -p ../../build/lib
g++ -Wl,-z,relro -Wl,-z,now -shared  -Wl,-soname,libipeui.so.7.2.30 -o ../../build/lib/libipeui.so.7.2.30 ../../build/obj/ipeui/ipeui_common.o ../../build/obj/ipeui/ipeui_qt.o ../../build/obj/ipeui/moc_ipeui_qt.o -lQt6Widgets -lQt6Gui -lQt6Core -llua5.4 
ln -sf libipeui.so.7.2.30 ../../build/lib/libipeui.so
rm moc_ipeui_qt.cpp
make[3]: Leaving directory '/build/reproducible-path/ipe-7.2.30/src/ipeui'
make[2]: Leaving directory '/build/reproducible-path/ipe-7.2.30/src'
dh_auto_build: error: cd src &amp;&amp; make -j128 INSTALL=&quot;install --strip-program=true&quot; returned exit code 2
make[1]: *** [debian/rules:14: build-arch] Error 25
make[1]: Leaving directory '/build/reproducible-path/ipe-7.2.30'
make: *** [debian/rules:14: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
]