Article View: linux.debian.bugs.dist
Article #5503Bug#1154771: FTBFS against libixion 0.21/liborcus 0.22: C++20 needed; API changes
From: Rene Engelhard
Date: Sun, 22 Nov 2026 12:30
Date: Sun, 22 Nov 2026 12:30
52 lines
3708 bytes
3708 bytes
retitle 1154771 FTBFS against libixion 0.21/liborcus 0.22: C++20 needed; API changes(?)
thanks
Hi again,
Am 22.11.26 12:32, schrieb Rene Engelhard:
> I did the usual
[...]
> (which probably should be upstreamed in any case.) But that of course fails to build later:
[...]
> Which is the C++20 change, so probably hides a lot of the actual API changes.
After an additional
--- labplot-2.12.1.orig/CMakeLists.txt
+++ labplot-2.12.1/CMakeLists.txt
@@ -6,7 +6,7 @@ set(YEAR 2025)
set(CMAKE_C_STANDARD 99)
set(CMAKE_C_STANDARD_REQUIRED ON)
set(CMAKE_C_EXTENSIONS OFF)
-set(CMAKE_CXX_STANDARD 17)
+set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
@@ -130,7 +130,7 @@ if(NOT APPLE)
endif()
set (GENERIC_C_FLAGS "${GENERIC_FLAGS} -fno-exceptions")
# liborigin needs exceptions
-set (GENERIC_CXX_FLAGS "${GENERIC_FLAGS} -fexceptions -std=c++17")
+set (GENERIC_CXX_FLAGS "${GENERIC_FLAGS} -fexceptions -std=c++20")
if("${CMAKE_C_COMPILER_ID}" MATCHES "GNU")
message(STATUS "GNU C compiler ${CMAKE_C_COMPILER_VERSION} detected, adding compile flags")
@@ -261,7 +261,7 @@ if(CMAKE_VERSION VERSION_GREATER "3.5")
message(STATUS "Clang-tidy supported, found and enabled: ${CLANG_TIDY_EXE}")
set(CLANG_TIDY_CHECKS "modernize-*,-modernize-use-trailing-return-type,clang-analyzer-*,-clang-analyzer-cplusplus*")
#set(CLANG_TIDY_CHECKS "-*,modernize-*,clang-analyzer-*")
- # -extra-arg=--std=c++17
+ # -extra-arg=--std=c++20
set(CMAKE_CXX_CLANG_TIDY "${CLANG_TIDY_EXE};-checks=${CLANG_TIDY_CHECKS};-header-filter='${CMAKE_SOURCE_DIR}/*'"
CACHE STRING "" FORCE)
else()
This astonishinly builds.
Still running, so no tests (but they fail before and the results are
ignored anyway...). No idea whether that actually works...
Regards,
Rene
Technical Details
Message-ID:
<O2eRH-dt6V-5@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<O2e5k-dsDZ-11@gated-at.bofh.it> <O2e5k-dsDZ-11@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Rene Engelhard <rene@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1154771: FTBFS against libixion 0.21/liborcus 0.22: C++20 needed; API changes Date: Sun, 22 Nov 2026 13:30:01 +0100 Message-ID: <O2eRH-dt6V-5@gated-at.bofh.it> References: <O2e5k-dsDZ-11@gated-at.bofh.it> <O2e5k-dsDZ-11@gated-at.bofh.it> X-Original-To: 1154771@bugs.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sun Nov 22 12:29:09 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Rene Engelhard <rene@debian.org>, 1154771@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: pkg-kde-extras@lists.alioth.debian.org X-Debian-Pr-Message: followup 1154771 X-Debian-Pr-Package: src:labplot X-Debian-Pr-Keywords: ftbfs X-Debian-Pr-Source: labplot MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Debian-User: rene X-Crossassassin-Score: 2 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2004105 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 52 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: control@bugs.debian.org X-Original-Date: Sun, 22 Nov 2026 13:27:18 +0100 X-Original-Message-ID: <m562x32lwpc2nj4r74a76bpqziutqvtsgjaf4kkcxefzgfdik2@ckvvx5och3yf> X-Original-References: <l2ptpbl2t7xngmircxrkazdprw5q2g7ew5h4eruavo3emikiwk@pqkqxjs6adkr> <l2ptpbl2t7xngmircxrkazdprw5q2g7ew5h4eruavo3emikiwk@pqkqxjs6adkr>