Source: labplot
Version: 2.12.0-1
Severity: important
Tags: ftbfs
X-Debbugs-Cc: [email protected]
Hi,
a new round of libixion and liborcus new upstream. This time with big
API changes.
(LibreOffice is not yet adapted either but I expect it will be soon and
in the 27.2 release in February.)
Both the new libixion and liborcus are in experimental since today to try.
Release notes:
libixion:
Release notes
C++ API
added model_context::append_sheet_copy() which appends a new sheet to the model
as a copy of an existing sheet. It returns a result object that includes the
index of the new sheet as well as the positions of the formula cells whose
carried-over results may no longer be valid on the new sheet.
added document::append_sheet_copy() which appends a new sheet as a copy of an
existing sheet, and marks the affected formula cells for re-calculation, to be
picked up by the next calculate() call.
added document::get_model_context() which gives read-only access to the model
context the document stores its cells in.
added operator<< for formula_group_t which prints its state, for use in
debugging and diagnostics.
model_context::count_range() now returns std::size_t instead of double.
model_context::get_data_range() now returns abs_rc_range_t instead of
abs_range_t, since the sheet index is already an input.
model_context now registers a formula cell with the dirty cell tracker when the
cell gets set, and unregisters it when the cell gets overwritten or emptied.
register_formula_cell(), unregister_formula_cell(), formula_registration_error
and formula_cell::set_tokens() are removed from the public API. A cell that
belongs to a formula group of more than one cell can no longer be overwritten
or emptied on its own.
added model_context::empty_cells() which empties a range of cells.
added model_context_loader, a load-time wrapper on model_context optimized for
bulk loading. It sets formula cells without registering them until finalize(),
so they don't depend on named expressions and tables being loaded first.
model_context is now movable.
removed the circular_dependency and not_implemented values from
model_context_error::error_type, which were never thrown.
model_context::set_named_expression() now replaces an existing named expression
of the same name. Such a call was previously ignored silently.
the numeric and string value accessors now return the top-left element when a
non-grouped formula cell holds a matrix result. Such a cell previously caused
an out-of-range error when its value was requested.
formula_tokens_store is now immutable once created. The non-const variant of
its get() method has been removed, and a new create() overload taking a
formula_tokens_t instance has been added.
the Excel resolvers (excel_a1 and excel_r1c1) now parse a reference with no
explicit sheet as sheet-relative with an offset of zero, i.e. it always
references the sheet the formula cell is on. Such references were previously
parsed as sheet-absolute. A sheet-qualified reference remains always absolute
in these resolvers.
added version number macros to <ixion/version.hpp>.
added model_context::iterate_cells() which returns a model_cell_range, an
STL-compliant range over the cell values of a sheet. It replaces model_iterator
and get_model_iterator(), which are now deprecated.
added model_context::iterate_named_expressions() which returns a
named_expressions_range, an STL-compliant range over the named expressions of
the global scope or of one sheet. It replaces named_expressions_iterator and
get_named_expressions_iterator(), which are now deprecated.
renamed abs_address_iterator to abs_address_range. The old name remains
available as a deprecated alias.
set_string_cell() with a string value now stores the string inline in the cell
instead of registering it in the indexed string pool. String cells set by
identifier keep using the pool as before. As inline strings are not in the
pool, get_identifier_from_string() is now deprecated; use get_string_value() to
get the string value of a cell.
append_string() now allows empty strings to be interned.
string_id_t is now a struct rather than a plain integer type, for extra type
safety.
added three-way comparison (<=>) operator support to the address and range
types.
added an abs_range_t constructor that takes the positions of the top-left and
bottom-right cells of a range.
added an abs_range_t constructor that takes a sheet index and a sheet-less
abs_rc_range_t.
the abs_rc_range_t constructor that takes an abs_range_t is now explicit, since
the conversion drops the sheet index.
switched to std::string_view in various public interfaces where const
std::string& was previously used, and table_t now stores its table and column
names as std::string_view.
fixed a bug in the equality operator of table_t.
renamed table_t to table_ref_t, since it represents a table reference in a
formula expression rather than a table itself. The table_t name is now used by
a new struct that stores the data of a single table. It stores the sheet the
table is on as a sheet index, and its range as a sheet-less abs_rc_range_t.
tables are now stored directly in model_context; use set_table() to insert one,
get_table() and get_tables() to access them, and get_table_range() to resolve a
table reference to a range. The iface::table_handler interface and the
get_table_handler() and set_table_handler() methods have been removed, as the
model now resolves table references internally.
model_context::append_sheet_copy() now also copies the tables of the source
sheet to the new sheet, with their names auto-renamed to unique names. The
table references of the copied formula cells and sheet-local named expressions
get rewritten to reference the copied tables, the same way Excel adjusts them
when copying a sheet.
added a get_table_range() overload that takes a table_ref_t and the position of
the referencing cell.
added model_context::dump_sheet() which dumps the content of a sheet to an
output stream as a human-readable text grid, either with just the cell values
or with additional details such as formula expressions and formula groupings.
Ported from orcus's flat dumper.
added sheet views. A sheet view is a named view of a sheet that takes a
snapshot of the sheet content when created, whose rows can get sorted
independently of the base sheet. Use model_context::create_sheet_view() to
create one, and get_sheet_view() and remove_sheet_view() to access and remove
one.
added sort_order_t, sort_key_t and sort_keys_t which describe the sort keys of
a multi-column sort.
added an abs_rc_range_t constructor that takes the position of the top-left
cell of a range and its row and column spans, mirroring the equivalent
abs_range_t constructor.
Formula Interpreter
implemented RAND() and TODAY(). Both are volatile, as is NOW().
NOW() and TODAY() now return serial values counted from the zero date of
1899-12-30, as spreadsheet applications do by default. NOW() previously
returned the number of days since 1970-01-01.
an unimplemented formula function now yields a #NAME? error on the calling cell
instead of aborting the entire calculation.
table references are now tracked as dependencies; formulas referencing a table
get re-calculated when cells inside the referenced area are modified.
circular dependency detection now sees through table references; such cycles
previously caused the calculation to hang.
Misc
added a copy-sheet command to the model definition file format of ixion-parser,
to allow testing of sheet-copy scenarios.
added a sheet target to the print command of ixion-parser, which prints the
content of a sheet as a text grid with optional verbose and r1c1 flags.
the baseline C++ version is now C++20.
switched to mdds API version 4.0.
enabled copy-on-write on the column stores. Copying a sheet now shares the cell
storage of the source sheet, and each copied column makes its own private copy
of the storage upon its first modification.
dropped the boost::filesystem build dependency.
fixed a build failure when the configure script is generated with autoconf 2.72
or newer, which caused the build to use C++11 mode instead of the intended C++
version.
the hand-written CHANGELOG file is now packaged in place of the generated
ChangeLog file.
liborcus:
Release notes
General
C++20 is now the baseline C++ version required to build the library and to use
its public headers.
ixion 0.21 and mdds 4.0 are now required.
std::filesystem is now used across the board for file paths. The library no
longer links to boost::filesystem and boost::system.
added orcus/version.hpp header which defines the version number and API version
number macros.
many of the functions and methods that previously took a const char* and size_t
pair now take std::string_view, or std::span for binary streams.
file_content's constructor, the dump() methods and the read_file() virtual
method of the import filters now take std::filesystem::path.
the parsers and the import filters have been hardened against malformed and
malicious inputs.
a number of issues reported by Coverity have been addressed.
Import Filters
the interface for conditional format import has been reworked, with a separate
sub interface for each rule type.
the gnumeric filter once again imports conditional formats.
added top_percent and bottom_percent conditional format operators to correctly
differentiate the "top N%" rules from the "top N" rules.
the csv filter now allows the delimiter and text qualifier characters to be
specified via its configuration.
the ods filter now correctly imports cells with multiple paragraphs by joining
the paragraphs with linebreaks.
cells with linebreaks imported from csv documents are now correctly exported
back to csv.
fixed the xlsx filter to correctly handle shared strings with empty string
values.
fixed an out-of-bound access into pivot cache items when importing pivot tables
from xlsx documents, and the pivot cache fields with group items now correctly
reference the group items.
orcus_parquet::detect() no longer mis-detects streams due to sign-extension of
the bytes it reads.
Document Model
The spreadsheet document model now stores the core properties of tables in the
ixion model context, which now resolves table references in formula expressions
natively. The table_t struct in the spreadsheet model keeps only the
presentation properties of a table.
conditional formats are now stored in the document model, and can be retrieved
via sheet::get_cond_formats(). They are also included in the debug state output.
added stream operators for the conditional format enum types.
added a variant of sheet::set_string() that takes a string value directly.
sheet::get_data_range() now returns ixion::abs_rc_range_t.
XML
dom::document_tree now supports mutation of the tree. Elements, contents,
comments, attributes and namespace declarations can now be added via the
newly-added dom::node class.
dom::document_tree now takes xmlns_repository instead of xmlns_context at
construction.
dom::document_tree now stores comments, including the ones in the prolog and
the epilog, as well as the original namespace declarations and their aliases,
and writes them back out when dumping the tree as XML.
the XML declaration and the processing instructions are now handled separately
in sax_parser and in dom::document_tree. The handler now receives
start_declaration() and end_declaration() only for the XML declaration, and
start_processing_instruction() and end_processing_instruction() for the
processing instructions.
added comment() callback to the handlers of sax_parser and sax_ns_parser.
added support for the builtin xml namespace.
sax_parser now rejects documents with multiple root elements.
removed the default_ns flag from orcus_xml::set_namespace_alias(). An empty
alias now signifies the default namespace.
added a variant of orcus_xml's constructor that does not take an export factory.
orcus_xml now throws an exception when an empty XPath is given.
xml_writer now escapes the namespace URI when writing an xmlns declaration.
JSON
added orcus_json::write_map_definition() which mirrors its orcus_xml
counterpart.
the JSON path expression now accepts [*] as an equivalent of []. The generated
map definitions now use [*].
UTF-16 surrogate pairs in string escapes are now correctly decoded.
$ref targets outside the document directory are now rejected.
Zip Archive
zip_archive::read_file_entry() now returns its content as unnamed_buffer, which
by default is backed by a memory-mapped temporary file. The storage type can be
specified when constructing a zip_archive instance.
encrypted and multi-disk archives as well as archives that use ZIP64 size
markers are now explicitly rejected.
entries with unsafe names, entries whose sizes are inconsistent with the
archive size, and entries whose deflate ratios exceed the theoretical maximum
are now rejected.
Python
orcus.csv.read() now takes delimiters and text_qualifier keyword arguments, and
can also read from a stream opened in binary mode.
array formula strings are now correctly enclosed in braces.
fixed several reference counting issues.
errors raised from the read() and write() methods of stream objects are now
correctly propagated to the caller.
the tests have been converted to pytest, which is now required to run them.
Tools
added lint mode to orcus-xml to re-format XML documents, with the --indent
option to control the amount of indentation.
orcus-csv now correctly handles its extra command-line options.
Build
the gnumeric import filter is now enabled in the CMake build.
the parquet import filter can now be built against Apache Arrow 23.0.0.
fixed build failures with MinGW and with MSVC.
fixed a configure failure with autoconf 2.72 or newer.
Documentation
added new pages on the XML and JSON mapping, the low-level XML parsers and
dom::document_tree, as well as on the use of detect() and create_filter().
Especially the C++ API changes and the baseline of C++20 could be
interesting.
I did the usual
--- labplot-2.12.1.orig/cmake/FindOrcus.cmake
+++ labplot-2.12.1/cmake/FindOrcus.cmake
@@ -14,21 +14,21 @@ if (Orcus_INCLUDE_DIR AND Orcus_LIBRARIE
set (Orcus_FOUND TRUE)
else ()
find_package(PkgConfig QUIET)
- pkg_search_module(PC_ORCUS liborcus liborcus-0.21 liborcus-0.20
liborcus-0.19 liborcus-0.18 liborcus-0.17 liborcus-0.16 QUIET)
- pkg_search_module(PC_IXION libixion libixion-0.20 libixion-0.19
libixion-0.18 libixion-0.17 libixion-0.16 QUIET)
+ pkg_search_module(PC_ORCUS liborcus liborcus-0.22 liborcus-0.21
liborcus-0.20 liborcus-0.19 liborcus-0.18 liborcus-0.17 liborcus-0.16 QUIET)
+ pkg_search_module(PC_IXION libixion libixion-0.21 libixion-0.20
libixion-0.19 libixion-0.18 libixion-0.17 libixion-0.16 QUIET)
find_library (Orcus_LIBRARY
- NAMES orcus orcus-0.21 orcus-0.20 orcus-0.19 orcus-0.18 orcus-0.17
orcus-0.16
+ NAMES orcus orcus-0.22 orcus-0.21 orcus-0.20 orcus-0.19 orcus-0.18
orcus-0.17 orcus-0.16
HINTS ${PC_ORCUS_LIBRARY_DIRS}
PATH_SUFFIXES orcus
)
find_library (Orcus_parser_LIBRARY
- NAMES orcus-parser orcus-parser-0.21 orcus-parser-0.20
orcus-parser-0.19 orcus-parser-0.18 orcus-parser-0.17 orcus-parser-0.16
+ NAMES orcus-parser orcus-parser-0.22 orcus-parser-0.21
orcus-parser-0.20 orcus-parser-0.19 orcus-parser-0.18 orcus-parser-0.17
orcus-parser-0.16
HINTS ${PC_ORCUS_LIBRARY_DIRS}
PATH_SUFFIXES orcus
)
find_library (Orcus_spreadsheet_LIBRARY
- NAMES orcus-spreadsheet-model orcus-spreadsheet-model-0.21
orcus-spreadsheet-model-0.20 orcus-spreadsheet-model-0.19
orcus-spreadsheet-model-0.18 orcus-spreadsheet-model-0.17
orcus-spreadsheet-model-0.16
+ NAMES orcus-spreadsheet-model orcus-spreadsheet-model-0.22
orcus-spreadsheet-model-0.21 orcus-spreadsheet-model-0.20
orcus-spreadsheet-model-0.19 orcus-spreadsheet-model-0.18
orcus-spreadsheet-model-0.17 orcus-spreadsheet-model-0.16
HINTS ${PC_ORCUS_LIBRARY_DIRS}
PATH_SUFFIXES orcus
)
@@ -44,7 +44,7 @@ else ()
endif ()
find_library (Ixion_LIBRARY
- NAMES ixion ixion-0.20 ixion-0.19 ixion-0.18 ixion-0.17 ixion-0.16
+ NAMES ixion ixion-0.21 ixion-0.20 ixion-0.19 ixion-0.18 ixion-0.17
ixion-0.16
HINTS ${PC_IXION_LIBRARY_DIRS}
PATH_SUFFIXES orcus
)
@@ -69,10 +69,10 @@ else ()
set(LIBIXION_VERSION ${PC_IXION_VERSION})
# latest version
if (NOT DEFINED LIBORCUS_VERSION)
- set(LIBORCUS_VERSION "0.21.0")
+ set(LIBORCUS_VERSION "0.22.0")
endif()
if (NOT DEFINED LIBIXION_VERSION)
- set(LIBIXION_VERSION "0.20.0")
+ set(LIBIXION_VERSION "0.21.0")
endif()
include (FindPackageHandleStandardArgs)
(which probably should be upstreamed in any case.) But that of course fails to
build later:
[ 6%] Building CXX object
src/CMakeFiles/labplotbackendlib.dir/backend/datasources/filters/OdsFilter.cpp.o
cd /home/rene/labplot-2.12.1/obj-x86_64-linux-gnu/src &&
/usr/bin/x86_64-linux-gnu-g++ -DCANTOR_VERSION_STRING=\"26.04.0\"
-DCFITSIO_VERSION_STRING=\"4.7.0\" -DCXX_COMPILER_FLAGS="\"-g -O2
-fdebug-prefix-map=/home/rene/labplot-2.12.1=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
-Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall
-Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long
-Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual
-Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time
-Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant
-Wmissing-include-dirs -Wall -Wextra -Wundef -Wpointer-arith -Wunreachable-code
-Wunused -Wdeprecated-declarations -fno-omit-frame-pointer
-fstack-protector-strong -fexceptions -std=c++17 -O2 -Wcast-align -Wswitch-enum
-fvisibility=default -pedantic -ffunction-sections -fdata-sections -pipe
-Wzero-as-null-pointer-constant -Wno-error=hardened\""
-DCXX_COMPILER_ID=\"GNU\" -DCXX_COMPILER_VERSION=\"16.2.0\"
-DDISCOUNT_VERSION_STRING=\"2.2.7\" -DEIGEN3_VERSION_STRING=\"5.0.1\"
-DFFTW3_VERSION_STRING=\"3.3.11\" -DGIT_COMMIT=\"\" -DH5_BUILT_AS_DYNAMIC_LIB
-DHAVE_AT_LEAST_HDF5_1_10_0 -DHAVE_AT_LEAST_HDF5_1_10_1
-DHAVE_AT_LEAST_IXION_0_18_0 -DHAVE_AT_LEAST_IXION_0_20_0 -DHAVE_CANTOR_LIBS
-DHAVE_DISCOUNT -DHAVE_EIGEN3 -DHAVE_FFTW3 -DHAVE_FITS -DHAVE_HDF5
-DHAVE_KF_NEW_STUFF -DHAVE_KF_SYNTAX_HIGHLIGHTING -DHAVE_KUSERFEEDBACK
-DHAVE_LIBCERF -DHAVE_LIBORIGIN -DHAVE_LZ4 -DHAVE_MATIO -DHAVE_MCAP
-DHAVE_NETCDF -DHAVE_ORCUS -DHAVE_POPPLER -DHAVE_PURPOSE -DHAVE_QTSERIALPORT
-DHAVE_QTSVG -DHAVE_QXLSX -DHAVE_READSTAT -DHAVE_ZIP -DHAVE_ZSTD
-DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x060000 -DKGUIADDONS_LIB
-DLIBCERF_VERSION_STRING=\"3.1\" -DLVERSION=\"2.12.1\"
-DORCUS_VERSION_STRING=\"0.22.0\" -DQT_CORE_LIB -DQT_DBUS_LIB
-DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_UP_TO=0x60000
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII
-DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH
-DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT
-DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING
-DQT_PRINTSUPPORT_LIB -DQT_SERIALPORT_LIB -DQT_STRICT_ITERATORS -DQT_SVG_LIB
-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_QSTRINGBUILDER
-DQT_WIDGETS_LIB -DQT_XML_LIB -DREPRODUCIBLE_BUILD -DSPICEFILTERTEST_EN
-DYEAR=\"2025\" -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200809L
-I/home/rene/labplot-2.12.1/obj-x86_64-linux-gnu/src
-I/home/rene/labplot-2.12.1/src
-I/home/rene/labplot-2.12.1/obj-x86_64-linux-gnu/src/labplotbackendlib_autogen/include
-I/home/rene/labplot-2.12.1 -I/home/rene/labplot-2.12.1/obj-x86_64-linux-gnu
-I/home/rene/labplot-2.12.1/src/3rdparty/mcap/include
-I/home/rene/labplot-2.12.1/src/. -I/home/rene/labplot-2.12.1/src/backend/gsl
-I/home/rene/labplot-2.12.1/src/frontend/widgets
-I/home/rene/labplot-2.12.1/src/3rdparty/QXlsx/header
-I/home/rene/labplot-2.12.1/src/3rdparty/liborigin
-I/home/rene/labplot-2.12.1/obj-x86_64-linux-gnu/src/3rdparty/QXlsx
-I/home/rene/labplot-2.12.1/src/3rdparty/QXlsx
-I/home/rene/labplot-2.12.1/obj-x86_64-linux-gnu/src/3rdparty/liborigin
-I/usr/include/liborcus-0.22 -I/usr/include/libixion-0.21 -I/usr/include/eigen3
-isystem /usr/include/poppler -isystem /usr/include/poppler/qt6 -isystem
/usr/include/hdf5/serial -isystem /usr/include/qtadvanceddocking-qt6 -isystem
/usr/include/x86_64-linux-gnu/qt6/QtCore -isystem
/usr/include/x86_64-linux-gnu/qt6 -isystem
/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem
/usr/include/x86_64-linux-gnu/qt6/QtGui -isystem
/usr/include/x86_64-linux-gnu/qt6/QtWidgets -isystem
/usr/include/x86_64-linux-gnu/qt6/QtNetwork -isystem
/usr/include/x86_64-linux-gnu/qt6/QtXml -isystem
/usr/include/x86_64-linux-gnu/qt6/QtPrintSupport -isystem
/usr/include/KF6/KConfig -isystem /usr/include/KF6/KConfigCore -isystem
/usr/include/KF6/KI18n -isystem /usr/include/KF6/KConfigWidgets -isystem
/usr/include/KF6/KWidgetsAddons -isystem /usr/include/KF6/KConfigGui -isystem
/usr/include/KF6/KColorScheme -isystem /usr/include/KF6/KArchive -isystem
/usr/include/KF6/KTextWidgets -isystem /usr/include/KF6/SonnetUi -isystem
/usr/include/KF6/Sonnet -isystem /usr/include/KF6/KCoreAddons -isystem
/usr/include/x86_64-linux-gnu/qt6/QtSerialPort -isystem
/usr/include/KF6/KCompletion -isystem /usr/include/KF6/KIconThemes -isystem
/usr/include/KF6/KIOCore -isystem /usr/include/KF6/KIO -isystem
/usr/include/x86_64-linux-gnu/qt6/QtDBus -isystem
/usr/include/KF6/KIOFileWidgets -isystem /usr/include/KF6/KIOWidgets -isystem
/usr/include/KF6/KIOGui -isystem /usr/include/KF6/KService -isystem
/usr/include/KF6/KJobWidgets -isystem /usr/include/KF6/KBookmarks -isystem
/usr/include/KF6/KItemViews -isystem /usr/include/KF6/Solid -isystem
/usr/include/KF6/KSyntaxHighlighting -isystem /usr/include/KF6/KXmlGui -isystem
/usr/include/KF6/KGuiAddons -isystem /usr/include/x86_64-linux-gnu/qt6/QtSvg
-isystem /usr/include/KF6/KParts -isystem
/usr/include/x86_64-linux-gnu/qt6/QtGui/6.11.2 -isystem
/usr/include/x86_64-linux-gnu/qt6/QtGui/6.11.2/QtGui -isystem
/usr/include/x86_64-linux-gnu/qt6/QtCore/6.11.2 -isystem
/usr/include/x86_64-linux-gnu/qt6/QtCore/6.11.2/QtCore -g -O2
-fdebug-prefix-map=/home/rene/labplot-2.12.1=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
-Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall
-Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long
-Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual
-Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time
-Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant
-Wmissing-include-dirs -Wall -Wextra -Wundef -Wpointer-arith -Wunreachable-code
-Wunused -Wdeprecated-declarations -fno-omit-frame-pointer
-fstack-protector-strong -fexceptions -std=c++17 -O2 -Wcast-align -Wswitch-enum
-fvisibility=default -pedantic -ffunction-sections -fdata-sections -pipe
-Wzero-as-null-pointer-constant -Wno-error=hardened -std=c++17
-fvisibility=hidden -fvisibility-inlines-hidden -MD -MT
src/CMakeFiles/labplotbackendlib.dir/backend/datasources/filters/OdsFilter.cpp.o
-MF
CMakeFiles/labplotbackendlib.dir/backend/datasources/filters/OdsFilter.cpp.o.d
-o CMakeFiles/labplotbackendlib.dir/backend/datasources/filters/OdsFilter.cpp.o
-c /home/rene/labplot-2.12.1/src/backend/datasources/filters/OdsFilter.cpp
In file included from /usr/include/liborcus-0.22/orcus/interface.hpp:11,
from
/usr/include/liborcus-0.22/orcus/spreadsheet/document.hpp:11,
from
/home/rene/labplot-2.12.1/src/backend/datasources/filters/OdsFilterPrivate.h:16,
from
/home/rene/labplot-2.12.1/src/backend/datasources/filters/OdsFilter.cpp:13:
/usr/include/liborcus-0.22/orcus/./types.hpp:560:10: error: ‘partial_ordering’
in namespace ‘std’ does not name a type
560 | std::partial_ordering operator<=> (const date_time_t& other) const;
| ^~~~~~~~~~~~~~~~
/usr/include/liborcus-0.22/orcus/./types.hpp:560:5: note:
‘std::partial_ordering’ is only available from C++20 onwards
560 | std::partial_ordering operator<=> (const date_time_t& other) const;
| ^~~
In file included from /usr/include/libixion-0.21/ixion/address.hpp:9,
from /usr/include/liborcus-0.22/orcus/spreadsheet/sheet.hpp:18,
from
/home/rene/labplot-2.12.1/src/backend/datasources/filters/OdsFilter.cpp:26:
/usr/include/libixion-0.21/ixion/types.hpp:54:10: error: ‘strong_ordering’ in
namespace ‘std’ does not name a type
54 | std::strong_ordering operator<=>(const string_id_t&) const;
| ^~~~~~~~~~~~~~~
/usr/include/libixion-0.21/ixion/types.hpp:54:5: note: ‘std::strong_ordering’
is only available from C++20 onwards
54 | std::strong_ordering operator<=>(const string_id_t&) const;
| ^~~
/usr/include/libixion-0.21/ixion/address.hpp:79:10: error: ‘strong_ordering’ in
namespace ‘std’ does not name a type
79 | std::strong_ordering operator<=>(const abs_address_t& r) const;
| ^~~~~~~~~~~~~~~
/usr/include/libixion-0.21/ixion/address.hpp:79:5: note: ‘std::strong_ordering’
is only available from C++20 onwards
79 | std::strong_ordering operator<=>(const abs_address_t& r) const;
| ^~~
/usr/include/libixion-0.21/ixion/address.hpp:148:10: error: ‘strong_ordering’
in namespace ‘std’ does not name a type
148 | std::strong_ordering operator<=>(const address_t& r) const;
| ^~~~~~~~~~~~~~~
/usr/include/libixion-0.21/ixion/address.hpp:148:5: note:
‘std::strong_ordering’ is only available from C++20 onwards
148 | std::strong_ordering operator<=>(const address_t& r) const;
| ^~~
/usr/include/libixion-0.21/ixion/address.hpp:193:10: error: ‘strong_ordering’
in namespace ‘std’ does not name a type
193 | std::strong_ordering operator<=>(const abs_rc_address_t& r) const;
| ^~~~~~~~~~~~~~~
/usr/include/libixion-0.21/ixion/address.hpp:193:5: note:
‘std::strong_ordering’ is only available from C++20 onwards
193 | std::strong_ordering operator<=>(const abs_rc_address_t& r) const;
| ^~~
/usr/include/libixion-0.21/ixion/address.hpp:231:10: error: ‘strong_ordering’
in namespace ‘std’ does not name a type
231 | std::strong_ordering operator<=>(const rc_address_t& r) const;
| ^~~~~~~~~~~~~~~
/usr/include/libixion-0.21/ixion/address.hpp:231:5: note:
‘std::strong_ordering’ is only available from C++20 onwards
231 | std::strong_ordering operator<=>(const rc_address_t& r) const;
| ^~~
/usr/include/libixion-0.21/ixion/address.hpp:355:10: error: ‘strong_ordering’
in namespace ‘std’ does not name a type
355 | std::strong_ordering operator<=>(const abs_range_t& r) const;
| ^~~~~~~~~~~~~~~
/usr/include/libixion-0.21/ixion/address.hpp:355:5: note:
‘std::strong_ordering’ is only available from C++20 onwards
355 | std::strong_ordering operator<=>(const abs_range_t& r) const;
| ^~~
/usr/include/libixion-0.21/ixion/address.hpp:437:10: error: ‘strong_ordering’
in namespace ‘std’ does not name a type
437 | std::strong_ordering operator<=>(const abs_rc_range_t& r) const;
| ^~~~~~~~~~~~~~~
/usr/include/libixion-0.21/ixion/address.hpp:437:5: note:
‘std::strong_ordering’ is only available from C++20 onwards
437 | std::strong_ordering operator<=>(const abs_rc_range_t& r) const;
| ^~~
make[3]: *** [src/CMakeFiles/labplotbackendlib.dir/build.make:1146:
src/CMakeFiles/labplotbackendlib.dir/backend/datasources/filters/OdsFilter.cpp.o]
Fehler 1
make[3]: Verzeichnis „/home/rene/labplot-2.12.1/obj-x86_64-linux-gnu“ wird
verlassen
make[2]: *** [CMakeFiles/Makefile2:2428:
src/CMakeFiles/labplotbackendlib.dir/all] Fehler 2
make[2]: Verzeichnis „/home/rene/labplot-2.12.1/obj-x86_64-linux-gnu“ wird
verlassen
make[1]: *** [Makefile:169: all] Fehler 2
make[1]: Verzeichnis „/home/rene/labplot-2.12.1/obj-x86_64-linux-gnu“ wird
verlassen
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j1 INSTALL="install
--strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:7: binary] Fehler 25
dpkg-buildpackage: Fehler: Unterprozess debian/rules binary mit Exit-Status 2
fehlgeschlagen
debuild: fatal error at line 1185:
dpkg-buildpackage -us -uc -ui -b -nc failed
Which is the C++20 change, so probably hides a lot of the actual API changes.
Regards,
Rene
-- System Information:
Debian Release: 13.8
APT prefers stable-security-debug
APT policy: (500, 'stable-security-debug'), (500, 'stable-security'), (500,
'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.116+deb13-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled