#1110636 gnucash ftbfs with boost 1.88

#1110636#5
Date:
2025-08-09 12:23:10 UTC
From:
To:
gnucash ftbfs with boost 1.88:

[...]
/<<PKGBUILDDIR>>/libgnucash/app-utils/gnc-quotes.cpp:136:9: error:
‘environment’ in namespace ‘bp’ does not name a type
   136 |     bp::environment m_env;
       |         ^~~~~~~~~~~
In file included from /usr/include/boost/process/v2/environment.hpp:28,
                  from /usr/include/boost/process/environment.hpp:1,
                  from
/<<PKGBUILDDIR>>/libgnucash/app-utils/gnc-quotes.cpp:23:
/usr/include/boost/process/v2/detail/environment_posix.hpp:28:11: note:
‘boost::process::v2::environment’ declared here
    28 | namespace environment
       |           ^~~~~~~~~~~
/<<PKGBUILDDIR>>/libgnucash/app-utils/gnc-quotes.cpp: In constructor
‘GncFQQuoteSource::GncFQQuoteSource()’:
/<<PKGBUILDDIR>>/libgnucash/app-utils/gnc-quotes.cpp:155:11: error:
‘search_path’ is not a member of ‘bp’
   155 | c_cmd{bp::search_path("perl")},
       |           ^~~~~~~~~~~
/<<PKGBUILDDIR>>/libgnucash/app-utils/gnc-quotes.cpp:156:27: error:
class ‘GncFQQuoteSource’ does not have any field named ‘m_env’
   156 | m_version{}, m_sources{}, m_env{boost::this_process::environment()}
       |                           ^~~~~
/<<PKGBUILDDIR>>/libgnucash/app-utils/gnc-quotes.cpp:156:40: error:
‘boost::this_process’ has not been declared
   156 | m_version{}, m_sources{}, m_env{boost::this_process::environment()}
       |                                        ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/libgnucash/app-utils/gnc-quotes.cpp:155:1: error: no
matching function for call to
‘boost::filesystem::path::path(<brace-enclosed initializer list>)’
   155 | c_cmd{bp::search_path("perl")},
       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/libgnucash/app-utils/gnc-quotes.cpp:155:1: note: there
are 19 candidates
In file included from /usr/include/boost/process/v2/detail/config.hpp:65,
                  from /usr/include/boost/process/v2/environment.hpp:13:
/usr/include/boost/filesystem/path.hpp:452:5: note: candidate 1:
‘template<class InputIterator, class>
boost::filesystem::path::path(InputIterator, InputIterator, const
codecvt_type&)’
   452 |     path(InputIterator begin, InputIterator end, codecvt_type
const& cvt)
       |     ^~~~
/usr/include/boost/filesystem/path.hpp:452:5: note: candidate expects 3
arguments, 1 provided
/usr/include/boost/filesystem/path.hpp:433:5: note: candidate 2:
‘template<class InputIterator, class>
boost::filesystem::path::path(InputIterator, InputIterator)’
   433 |     path(InputIterator begin, InputIterator end)
       |     ^~~~
/usr/include/boost/filesystem/path.hpp:433:5: note: candidate expects 2
arguments, 1 provided
/usr/include/boost/filesystem/path.hpp:372:14: note: candidate 3:
‘template<class Source, class> boost::filesystem::path::path(const
Source&, const codecvt_type&)’
   372 |     explicit path(Source const& source, codecvt_type const& cvt)
       |              ^~~~
/usr/include/boost/filesystem/path.hpp:372:14: note: candidate expects 2
arguments, 1 provided
/usr/include/boost/filesystem/path.hpp:358:5: note: candidate 4:
‘template<class Source, class> boost::filesystem::path::path(const Source&)’
   358 |     path(Source const& source)
       |     ^~~~
/usr/include/boost/filesystem/path.hpp:358:5: note: template argument
deduction/substitution failed:
/usr/include/boost/filesystem/path.hpp:422:5: note: candidate 5:
‘boost::filesystem::path::path(const value_type*, const value_type*,
const codecvt_type&)’
   422 |     path(const value_type* begin, const value_type* end,
codecvt_type const&) : m_pathname(begin, end) {}
       |     ^~~~
/usr/include/boost/filesystem/path.hpp:422:5: note: candidate expects 3
arguments, 1 provided
/usr/include/boost/filesystem/path.hpp:421:5: note: candidate 6:
‘boost::filesystem::path::path(const value_type*, const value_type*)’
   421 |     path(const value_type* begin, const value_type* end) :
m_pathname(begin, end) {}
       |     ^~~~
/usr/include/boost/filesystem/path.hpp:421:5: note: candidate expects 2
arguments, 1 provided
/usr/include/boost/filesystem/path.hpp:402:5: note: candidate 7:
‘boost::filesystem::path::path(string_type&&, const codecvt_type&)’
   402 |     path(string_type&& s, codecvt_type const&) noexcept :
m_pathname(static_cast< string_type&& >(s))
       |     ^~~~
/usr/include/boost/filesystem/path.hpp:402:5: note: candidate expects 2
arguments, 1 provided
/usr/include/boost/filesystem/path.hpp:399:5: note: candidate 8:
‘boost::filesystem::path::path(string_type&&)’
   399 |     path(string_type&& s) noexcept : m_pathname(static_cast<
string_type&& >(s))
       |     ^~~~
/usr/include/boost/filesystem/path.hpp:399:5: note: conversion of
argument 1 would be ill-formed:
/usr/include/boost/filesystem/path.hpp:380:5: note: candidate 9:
‘boost::filesystem::path::path(boost::filesystem::path&&, const
codecvt_type&)’
   380 |     path(path&& p, codecvt_type const&) noexcept :
m_pathname(static_cast< string_type&& >(p.m_pathname))
       |     ^~~~
/usr/include/boost/filesystem/path.hpp:380:5: note: candidate expects 2
arguments, 1 provided
/usr/include/boost/filesystem/path.hpp:377:5: note: candidate 10:
‘boost::filesystem::path::path(boost::filesystem::path&&)’
   377 |     path(path&& p) noexcept : m_pathname(static_cast<
string_type&& >(p.m_pathname))
       |     ^~~~
/usr/include/boost/filesystem/path.hpp:377:5: note: conversion of
argument 1 would be ill-formed:
/usr/include/boost/filesystem/path.hpp:346:5: note: candidate 11:
‘boost::filesystem::path::path(const std::basic_string_view<char>&,
const codecvt_type&)’
   346 |     path(std::basic_string_view< value_type > const& s,
codecvt_type const&) : m_pathname(s) {}
       |     ^~~~
/usr/include/boost/filesystem/path.hpp:346:5: note: candidate expects 2
arguments, 1 provided
/usr/include/boost/filesystem/path.hpp:345:5: note: candidate 12:
‘boost::filesystem::path::path(const std::basic_string_view<char>&)’
   345 |     path(std::basic_string_view< value_type > const& s) :
m_pathname(s) {}
       |     ^~~~
/usr/include/boost/filesystem/path.hpp:345:5: note: conversion of
argument 1 would be ill-formed:
/usr/include/boost/filesystem/path.hpp:343:5: note: candidate 13:
‘boost::filesystem::path::path(const string_type&, const codecvt_type&)’
   343 |     path(string_type const& s, codecvt_type const&) :
m_pathname(s) {}
       |     ^~~~
/usr/include/boost/filesystem/path.hpp:343:5: note: candidate expects 2
arguments, 1 provided
/usr/include/boost/filesystem/path.hpp:342:5: note: candidate 14:
‘boost::filesystem::path::path(const string_type&)’
   342 |     path(string_type const& s) : m_pathname(s) {}
       |     ^~~~
/usr/include/boost/filesystem/path.hpp:342:5: note: conversion of
argument 1 would be ill-formed:
/usr/include/boost/filesystem/path.hpp:341:5: note: candidate 15:
‘boost::filesystem::path::path(const value_type*, const codecvt_type&)’
   341 |     path(const value_type* s, codecvt_type const&) :
m_pathname(s) {}
       |     ^~~~
/usr/include/boost/filesystem/path.hpp:341:5: note: candidate expects 2
arguments, 1 provided
/usr/include/boost/filesystem/path.hpp:340:5: note: candidate 16:
‘boost::filesystem::path::path(const value_type*)’
   340 |     path(const value_type* s) : m_pathname(s) {}
       |     ^~~~
/usr/include/boost/filesystem/path.hpp:340:5: note: conversion of
argument 1 would be ill-formed:
/usr/include/boost/filesystem/path.hpp:338:5: note: candidate 17:
‘boost::filesystem::path::path(const boost::filesystem::path&, const
codecvt_type&)’
   338 |     path(path const& p, codecvt_type const&) :
m_pathname(p.m_pathname) {}
       |     ^~~~
/usr/include/boost/filesystem/path.hpp:338:5: note: candidate expects 2
arguments, 1 provided
/usr/include/boost/filesystem/path.hpp:337:5: note: candidate 18:
‘boost::filesystem::path::path(const boost::filesystem::path&)’
   337 |     path(path const& p) : m_pathname(p.m_pathname) {}
       |     ^~~~
/usr/include/boost/filesystem/path.hpp:337:5: note: conversion of
argument 1 would be ill-formed:
/usr/include/boost/filesystem/path.hpp:336:5: note: candidate 19:
‘boost::filesystem::path::path()’
   336 |     path() noexcept {}
       |     ^~~~
/usr/include/boost/filesystem/path.hpp:336:5: note: candidate expects 0
arguments, 1 provided
/<<PKGBUILDDIR>>/libgnucash/app-utils/gnc-quotes.cpp: In member function
‘QuoteResult GncFQQuoteSource::run_cmd(const StrVec&, const
std::string&) const’:
/<<PKGBUILDDIR>>/libgnucash/app-utils/gnc-quotes.cpp:210:30: error:
‘buffer’ is not a member of ‘bp’
   210 |         auto input_buf = bp::buffer (json_string);
       |                              ^~~~~~
/<<PKGBUILDDIR>>/libgnucash/app-utils/gnc-quotes.cpp:210:30: note:
suggested alternatives:
In file included from
/usr/include/boost/asio/detail/buffer_sequence_adapter.hpp:22,
                  from
/usr/include/boost/asio/detail/reactive_descriptor_service.hpp:31,
                  from
/usr/include/boost/asio/posix/basic_descriptor.hpp:37,
                  from
/usr/include/boost/asio/posix/basic_stream_descriptor.hpp:19,
                  from
/usr/include/boost/process/v2/detail/process_handle_fd.hpp:28,
                  from /usr/include/boost/process/v2/process_handle.hpp:15,
                  from /usr/include/boost/process/v2/ext/exe.hpp:12,
                  from /usr/include/boost/process/v2/process.hpp:18,
                  from /usr/include/boost/process/v2/execute.hpp:8,
                  from /usr/include/boost/process/execute.hpp:1,
                  from /usr/include/boost/process.hpp:19,
                  from
/<<PKGBUILDDIR>>/libgnucash/app-utils/gnc-quotes.cpp:42:
/usr/include/boost/asio/registered_buffer.hpp:287:32: note:
‘boost::asio::buffer’
   287 | inline const_registered_buffer buffer(
       |                                ^~~~~~
In file included from
/usr/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp:24,
                  from /usr/include/boost/iostreams/stream_buffer.hpp:22,
                  from
/<<PKGBUILDDIR>>/libgnucash/app-utils/gnc-quotes.cpp:47:
/usr/include/boost/iostreams/detail/buffer.hpp:83:7: note:
‘boost::iostreams::detail::buffer’
    83 | class buffer : public basic_buffer<Ch, Alloc> {
       |       ^~~~~~
/<<PKGBUILDDIR>>/libgnucash/app-utils/gnc-quotes.cpp:211:13: error:
‘child’ is not a member of ‘bp’
   211 |         bp::child process;
       |             ^~~~~
/<<PKGBUILDDIR>>/libgnucash/app-utils/gnc-quotes.cpp:212:9: error:
‘process’ was not declared in this scope
   212 |         process = bp::child(c_cmd, args,
       |         ^~~~~~~
/<<PKGBUILDDIR>>/libgnucash/app-utils/gnc-quotes.cpp:212:9: note:
suggested alternatives:
/usr/include/boost/process/v2/detail/config.hpp:85:1: note:
‘boost::process’
    85 | BOOST_PROCESS_V2_BEGIN_NAMESPACE
       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/process/v2/process.hpp:393:25: note:
‘boost::process::v2::process’
   393 | typedef basic_process<> process;
       |                         ^~~~~~~
/<<PKGBUILDDIR>>/libgnucash/app-utils/gnc-quotes.cpp:212:23: error:
‘child’ is not a member of ‘bp’
   212 |         process = bp::child(c_cmd, args,
       |                       ^~~~~
/<<PKGBUILDDIR>>/libgnucash/app-utils/gnc-quotes.cpp:213:33: error:
‘std_out’ is not a member of ‘bp’
   213 |                             bp::std_out > out_buf,
       |                                 ^~~~~~~
/<<PKGBUILDDIR>>/libgnucash/app-utils/gnc-quotes.cpp:214:33: error:
‘std_err’ is not a member of ‘bp’
   214 |                             bp::std_err > err_buf,
       |                                 ^~~~~~~
/<<PKGBUILDDIR>>/libgnucash/app-utils/gnc-quotes.cpp:215:33: error:
‘std_in’ is not a member of ‘bp’
   215 |                             bp::std_in < input_buf,
       |                                 ^~~~~~
/<<PKGBUILDDIR>>/libgnucash/app-utils/gnc-quotes.cpp:219:29: error:
‘m_env’ was not declared in this scope
   219 |                             m_env,
       |                             ^~~~~
/<<PKGBUILDDIR>>/libgnucash/app-utils/gnc-quotes.cpp: In member function
‘void GncFQQuoteSource::set_api_key(const char*, const char*)’:
/<<PKGBUILDDIR>>/libgnucash/app-utils/gnc-quotes.cpp:264:9: error:
‘m_env’ was not declared in this scope
   264 |         m_env[api_env] = key;
       |         ^~~~~
/<<PKGBUILDDIR>>/libgnucash/app-utils/gnc-quotes.cpp:269:38: error:
‘m_env’ was not declared in this scope
   269 |         if (api_key == av_api_key && m_env.find(api_env) ==
m_env.end())
       |                                      ^~~~~
[ 38%] Building CXX object
libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/gnc-budget-xml-v2.cpp.o
cd /<<PKGBUILDDIR>>/.build/libgnucash/backend/xml && /usr/bin/c++
-DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB 
-DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB 
-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56 
-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 
-DG_LOG_DOMAIN=\"gnc.backend.xml\" -DHAVE_CONFIG_H -DHAVE_GUILE30 
-DU_SHOW_CPLUSPLUS_API=0 -D_GNU_SOURCE -Dgnc_backend_xml_utils_EXPORTS 
-I/usr/include/libxml2 -I/<<PKGBUILDDIR>>/libgnucash/backend/xml 
-I/<<PKGBUILDDIR>>/libgnucash/engine -I/<<PKGBUILDDIR>>/.build/common 
-I/<<PKGBUILDDIR>>/common -I/<<PKGBUILDDIR>>/borrowed/libc 
-I/<<PKGBUILDDIR>>/.build/libgnucash/core-utils 
-I/<<PKGBUILDDIR>>/libgnucash/core-utils -isystem /usr/include/glib-2.0 
-isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem 
/usr/include/sysprof-6 -Wall -Wmissing-declarations -g -O2
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/gnucash-1:5.10-0.1build3 
-Wno-error=stringop-truncation -Wdate-time -D_FORTIFY_SOURCE=3 -O3 
-DNDEBUG -std=c++17 -fPIC -pthread -MD -MT 
libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/gnc-budget-xml-v2.cpp.o
-MF CMakeFiles/gnc-backend-xml-utils.dir/gnc-budget-xml-v2.cpp.o.d -o 
CMakeFiles/gnc-backend-xml-utils.dir/gnc-budget-xml-v2.cpp.o -c
/<<PKGBUILDDIR>>/libgnucash/backend/xml/gnc-budget-xml-v2.cpp
In file included from
/<<PKGBUILDDIR>>/libgnucash/backend/xml/gnc-xml-helper.h:32,
                  from
/<<PKGBUILDDIR>>/libgnucash/backend/xml/gnc-budget-xml-v2.cpp:29:
/usr/include/libxml2/libxml/SAX.h:15:4: warning: #warning "libxml/SAX.h
is deprecated" [-Wcpp]
    15 |   #warning "libxml/SAX.h is deprecated"
       |    ^~~~~~~
make[3]: ***
[libgnucash/app-utils/CMakeFiles/gnc-app-utils.dir/build.make:188:
libgnucash/app-utils/CMakeFiles/gnc-app-utils.dir/gnc-quotes.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
[ 38%] Building CXX object
libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/gnc-commodity-xml-v2.cpp.o
cd /<<PKGBUILDDIR>>/.build/libgnucash/backend/xml && /usr/bin/c++
-DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB 
-DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB 
-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56 
-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 
-DG_LOG_DOMAIN=\"gnc.backend.xml\" -DHAVE_CONFIG_H -DHAVE_GUILE30 
-DU_SHOW_CPLUSPLUS_API=0 -D_GNU_SOURCE -Dgnc_backend_xml_utils_EXPORTS 
-I/usr/include/libxml2 -I/<<PKGBUILDDIR>>/libgnucash/backend/xml 
-I/<<PKGBUILDDIR>>/libgnucash/engine -I/<<PKGBUILDDIR>>/.build/common 
-I/<<PKGBUILDDIR>>/common -I/<<PKGBUILDDIR>>/borrowed/libc 
-I/<<PKGBUILDDIR>>/.build/libgnucash/core-utils 
-I/<<PKGBUILDDIR>>/libgnucash/core-utils -isystem /usr/include/glib-2.0 
-isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem 
/usr/include/sysprof-6 -Wall -Wmissing-declarations -g -O2
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/gnucash-1:5.10-0.1build3 
-Wno-error=stringop-truncation -Wdate-time -D_FORTIFY_SOURCE=3 -O3 
-DNDEBUG -std=c++17 -fPIC -pthread -MD -MT 
libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/gnc-commodity-xml-v2.cpp.o
-MF CMakeFiles/gnc-backend-xml-utils.dir/gnc-commodity-xml-v2.cpp.o.d -o 
CMakeFiles/gnc-backend-xml-utils.dir/gnc-commodity-xml-v2.cpp.o -c
/<<PKGBUILDDIR>>/libgnucash/backend/xml/gnc-commodity-xml-v2.cpp
In file included from
/<<PKGBUILDDIR>>/libgnucash/backend/xml/gnc-xml-helper.h:32,
                  from
/<<PKGBUILDDIR>>/libgnucash/backend/xml/gnc-commodity-xml-v2.cpp:31:
/usr/include/libxml2/libxml/SAX.h:15:4: warning: #warning "libxml/SAX.h
is deprecated" [-Wcpp]
    15 |   #warning "libxml/SAX.h is deprecated"
       |    ^~~~~~~
[ 38%] Building CXX object
libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/gnc-customer-xml-v2.cpp.o
cd /<<PKGBUILDDIR>>/.build/libgnucash/backend/xml && /usr/bin/c++
-DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB 
-DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB 
-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56 
-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 
-DG_LOG_DOMAIN=\"gnc.backend.xml\" -DHAVE_CONFIG_H -DHAVE_GUILE30 
-DU_SHOW_CPLUSPLUS_API=0 -D_GNU_SOURCE -Dgnc_backend_xml_utils_EXPORTS 
-I/usr/include/libxml2 -I/<<PKGBUILDDIR>>/libgnucash/backend/xml 
-I/<<PKGBUILDDIR>>/libgnucash/engine -I/<<PKGBUILDDIR>>/.build/common 
-I/<<PKGBUILDDIR>>/common -I/<<PKGBUILDDIR>>/borrowed/libc 
-I/<<PKGBUILDDIR>>/.build/libgnucash/core-utils 
-I/<<PKGBUILDDIR>>/libgnucash/core-utils -isystem /usr/include/glib-2.0 
-isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem 
/usr/include/sysprof-6 -Wall -Wmissing-declarations -g -O2
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/gnucash-1:5.10-0.1build3 
-Wno-error=stringop-truncation -Wdate-time -D_FORTIFY_SOURCE=3 -O3 
-DNDEBUG -std=c++17 -fPIC -pthread -MD -MT 
libgnucash/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/gnc-customer-xml-v2.cpp.o
-MF CMakeFiles/gnc-backend-xml-utils.dir/gnc-customer-xml-v2.cpp.o.d -o 
CMakeFiles/gnc-backend-xml-utils.dir/gnc-customer-xml-v2.cpp.o -c
/<<PKGBUILDDIR>>/libgnucash/backend/xml/gnc-customer-xml-v2.cpp
[ 38%] Building CXX object
libgnucash/backend/sql/CMakeFiles/gnc-backend-sql.dir/gnc-book-sql.cpp.o
cd /<<PKGBUILDDIR>>/.build/libgnucash/backend/sql && /usr/bin/c++
-DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB 
-DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB 
-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56 
-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 
-DG_LOG_DOMAIN=\"gnc.backend.sql\" -DHAVE_CONFIG_H -DHAVE_GUILE30 
-D_GNU_SOURCE -Dgnc_backend_sql_EXPORTS 
-I/<<PKGBUILDDIR>>/libgnucash/backend/sql 
-I/<<PKGBUILDDIR>>/libgnucash/engine -I/<<PKGBUILDDIR>>/.build/common 
-I/<<PKGBUILDDIR>>/common -I/<<PKGBUILDDIR>>/borrowed/libc 
-I/<<PKGBUILDDIR>>/.build/libgnucash/core-utils 
-I/<<PKGBUILDDIR>>/libgnucash/core-utils -isystem /usr/include/glib-2.0 
-isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem 
/usr/include/sysprof-6 -Wall -Wmissing-declarations -g -O2
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/gnucash-1:5.10-0.1build3 
-Wno-error=stringop-truncation -Wdate-time -D_FORTIFY_SOURCE=3 -O3 
-DNDEBUG -std=c++17 -fPIC -pthread -MD -MT 
libgnucash/backend/sql/CMakeFiles/gnc-backend-sql.dir/gnc-book-sql.cpp.o
-MF CMakeFiles/gnc-backend-sql.dir/gnc-book-sql.cpp.o.d -o 
CMakeFiles/gnc-backend-sql.dir/gnc-book-sql.cpp.o -c
/<<PKGBUILDDIR>>/libgnucash/backend/sql/gnc-book-sql.cpp
In file included from
/<<PKGBUILDDIR>>/libgnucash/backend/xml/gnc-xml-helper.h:32,
                  from
/<<PKGBUILDDIR>>/libgnucash/backend/xml/gnc-customer-xml-v2.cpp:34:
/usr/include/libxml2/libxml/SAX.h:15:4: warning: #warning "libxml/SAX.h
is deprecated" [-Wcpp]
    15 |   #warning "libxml/SAX.h is deprecated"
       |    ^~~~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/.build'
make[2]: *** [CMakeFiles/Makefile2:4594:
libgnucash/app-utils/CMakeFiles/gnc-app-utils.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....