Source: fparserc++
Version: 4.5.2-2
Severity: serious
User: [email protected]
Usertags: cmake-4
Tags: ftbfs, forky, sid
Dear maintainer,
During a test rebuild for CMake 4, fparserc++ failed to rebuild.
Log Summary:
-------------------------------------------------------------------------------
[...]
g++ -MM -DFP_ENABLE_EVAL -DFP_SUPPORT_FLOAT_TYPE -DFP_SUPPORT_LONG_DOUBLE_TYPE
-DFP_SUPPORT_LONG_INT_TYPE -DFP_SUPPORT_COMPLEX_DOUBLE_TYPE
-DFP_SUPPORT_COMPLEX_FLOAT_TYPE -DFP_SUPPORT_COMPLEX_LONG_DOUBLE_TYPE
-DFP_USE_STRTOLD -DFUNCTIONPARSER_SUPPORT_DEBUGGING -I"`pwd`"
util/bytecoderules_parser.cc util/cpp_compress.cc util/cpp_compress_main.cc
util/create_testrules_for_optimization_rules.cc util/ftest.cc
util/functioninfo.cc util/make_function_name_parser.cc util/powi_opt.cc
util/powi_speedtest.cc util/speedtest.cc util/version_changer.cc | sed
's|^.*.o:|util/&|' >> .dep
g++ -MM -DFP_ENABLE_EVAL -DFP_SUPPORT_FLOAT_TYPE -DFP_SUPPORT_LONG_DOUBLE_TYPE
-DFP_SUPPORT_LONG_INT_TYPE -DFP_SUPPORT_COMPLEX_DOUBLE_TYPE
-DFP_SUPPORT_COMPLEX_FLOAT_TYPE -DFP_SUPPORT_COMPLEX_LONG_DOUBLE_TYPE
-DFP_USE_STRTOLD -DFUNCTIONPARSER_SUPPORT_DEBUGGING -I"`pwd`" mpfr/GmpInt.cc
mpfr/MpfrFloat.cc | sed 's|^.*.o:|mpfr/&|' >> .dep
g++ -MM -DFP_ENABLE_EVAL -DFP_SUPPORT_FLOAT_TYPE -DFP_SUPPORT_LONG_DOUBLE_TYPE
-DFP_SUPPORT_LONG_INT_TYPE -DFP_SUPPORT_COMPLEX_DOUBLE_TYPE
-DFP_SUPPORT_COMPLEX_FLOAT_TYPE -DFP_SUPPORT_COMPLEX_LONG_DOUBLE_TYPE
-DFP_USE_STRTOLD -DFUNCTIONPARSER_SUPPORT_DEBUGGING -I"`pwd`" | sed
's|^.*.o:|lib/&|' >> .dep
g++: fatal error: no input files
compilation terminated.
sed -i "s@`pwd`/@@" .dep
bison --output=util/tree_grammar_parser.cc util/tree_grammar_parser.y
util/tree_grammar_parser.y:1214.1-12: warning: deprecated directive:
‘%pure-parser’, use ‘%define api.pure’ [-Wdeprecated]
1214 | %pure-parser
| ^~~~~~~~~~~~
| %define api.pure
util/tree_grammar_parser.y: warning: 1 shift/reduce conflict [-Wconflicts-sr]
util/tree_grammar_parser.y: note: rerun with option '-Wcounterexamples' to
generate conflict counterexamples
util/tree_grammar_parser.y: warning: fix-its can be applied. Rerun with option
'--update'. [-Wother]
sed -i 's/ *$//' util/tree_grammar_parser.cc
make[2]: Leaving directory '/build/reproducible-path/fparserc++-4.5.2'
make fpoptimizer.cc
make[2]: Entering directory '/build/reproducible-path/fparserc++-4.5.2'
g++ -Wall -W -Wno-long-long -pedantic -ansi -O3 -ffast-math
-fexpensive-optimizations -fvpt -fomit-frame-pointer -ffunction-cse
-DFP_ENABLE_EVAL -DFP_SUPPORT_FLOAT_TYPE -DFP_SUPPORT_LONG_DOUBLE_TYPE
-DFP_SUPPORT_LONG_INT_TYPE -DFP_SUPPORT_COMPLEX_DOUBLE_TYPE
-DFP_SUPPORT_COMPLEX_FLOAT_TYPE -DFP_SUPPORT_COMPLEX_LONG_DOUBLE_TYPE
-DFP_USE_STRTOLD -DFUNCTIONPARSER_SUPPORT_DEBUGGING -I"`pwd`" -c -o
util/tree_grammar_parser.o util/tree_grammar_parser.cc
g++ -Wall -W -Wno-long-long -pedantic -ansi -O3 -ffast-math
-fexpensive-optimizations -fvpt -fomit-frame-pointer -ffunction-cse
-DFP_ENABLE_EVAL -DFP_SUPPORT_FLOAT_TYPE -DFP_SUPPORT_LONG_DOUBLE_TYPE
-DFP_SUPPORT_LONG_INT_TYPE -DFP_SUPPORT_COMPLEX_DOUBLE_TYPE
-DFP_SUPPORT_COMPLEX_FLOAT_TYPE -DFP_SUPPORT_COMPLEX_LONG_DOUBLE_TYPE
-DFP_USE_STRTOLD -DFUNCTIONPARSER_SUPPORT_DEBUGGING -I"`pwd`" -c -o
fpoptimizer/opcodename.o fpoptimizer/opcodename.cc
g++ -o util/tree_grammar_parser util/tree_grammar_parser.o
fpoptimizer/opcodename.o -Wl,-z,relro -Wl,-z,now -Wl,--as-needed
util/tree_grammar_parser < fpoptimizer/treerules.dat >
fpoptimizer/grammar_data.cc
Parsing [LOGICAL]
Parsing [SIMPLIFY_EQUATION]
Parsing [REMOVE_REDUNDANT]
Parsing [EXTRACT1]
Parsing [LOGARITHM]
Parsing [POW_TRICKS]
Parsing [BINOMIAL]
Parsing [TRIGONOMETRIC]
Parsing [REGENERATE_TAN]
Parsing [REGENERATE_TANH]
Parsing [SINH_COSH_EXP_TRANSFORMATIONS]
Parsing [ASINH_ACOSH_ATANH_TRANSFORMATIONS]
Parsing [REGENERATE_HIGHLEVEL_OPCODES]
Parsing [ABS_LOGICAL]
Parsing [NON_SHORTCUT_LOGICAL_EVALUATION]
Parsing [SHORTCUT_LOGICAL_EVALUATION]
Parsing [IGNORE_IF_SIDEEFFECTS]
Parsing [BASE2_EXPAND_COMPONENTS]
Parsing $optimize_round1
- Has [LOGICAL]
- Has [REMOVE_REDUNDANT]
- Has [LOGARITHM]
- Has [POW_TRICKS]
- Has [BINOMIAL]
- Has [TRIGONOMETRIC]
- Has [EXTRACT1]
Parsing $optimize_round2
- Has [LOGICAL]
- Has [REMOVE_REDUNDANT]
- Has [POW_TRICKS]
- Has [SINH_COSH_EXP_TRANSFORMATIONS]
- Has [ASINH_ACOSH_ATANH_TRANSFORMATIONS]
Parsing $optimize_round3
- Has [SIMPLIFY_EQUATION]
- Has [REGENERATE_TAN]
- Has [REGENERATE_TANH]
Parsing $optimize_round4
- Has [REGENERATE_HIGHLEVEL_OPCODES]
Parsing $optimize_recreate
- Has [REGENERATE_HIGHLEVEL_OPCODES]
- Has [BINOMIAL]
Parsing $optimize_ignore_if_sideeffects
- Has [IGNORE_IF_SIDEEFFECTS]
- Has [LOGICAL]
Parsing $optimize_shortcut_logical_evaluation
- Has [LOGICAL]
Parsing $optimize_nonshortcut_logical_evaluation
- Has [NON_SHORTCUT_LOGICAL_EVALUATION]
- Has [LOGICAL]
Parsing $optimize_abslogical
- Has [ABS_LOGICAL]
g++ -Wall -W -Wno-long-long -pedantic -ansi -O3 -ffast-math
-fexpensive-optimizations -fvpt -fomit-frame-pointer -ffunction-cse
-DFP_ENABLE_EVAL -DFP_SUPPORT_FLOAT_TYPE -DFP_SUPPORT_LONG_DOUBLE_TYPE
-DFP_SUPPORT_LONG_INT_TYPE -DFP_SUPPORT_COMPLEX_DOUBLE_TYPE
-DFP_SUPPORT_COMPLEX_FLOAT_TYPE -DFP_SUPPORT_COMPLEX_LONG_DOUBLE_TYPE
-DFP_USE_STRTOLD -DFUNCTIONPARSER_SUPPORT_DEBUGGING -I"`pwd`" -c -o
util/cpp_compress.o util/cpp_compress.cc
g++ -Wall -W -Wno-long-long -pedantic -ansi -O3 -ffast-math
-fexpensive-optimizations -fvpt -fomit-frame-pointer -ffunction-cse
-DFP_ENABLE_EVAL -DFP_SUPPORT_FLOAT_TYPE -DFP_SUPPORT_LONG_DOUBLE_TYPE
-DFP_SUPPORT_LONG_INT_TYPE -DFP_SUPPORT_COMPLEX_DOUBLE_TYPE
-DFP_SUPPORT_COMPLEX_FLOAT_TYPE -DFP_SUPPORT_COMPLEX_LONG_DOUBLE_TYPE
-DFP_USE_STRTOLD -DFUNCTIONPARSER_SUPPORT_DEBUGGING -I"`pwd`" -c -o
util/cpp_compress_main.o util/cpp_compress_main.cc
g++ -o util/cpp_compress util/cpp_compress.o util/cpp_compress_main.o
-Wl,-z,relro -Wl,-z,now -Wl,--as-needed
rm -f fpoptimizer.cc
cat fpoptimizer/fpoptimizer_header.txt > fpoptimizer.cc
for file in lib/crc32.hh lib/autoptr.hh lib/functional.hh fpoptimizer/hash.hh
fpoptimizer/codetree.hh fpoptimizer/grammar.hh fpoptimizer/consts.hh
fpoptimizer/optimize.hh fpoptimizer/opcodename.hh fpoptimizer/opcodename.cc
fpoptimizer/bytecodesynth.hh fpoptimizer/bytecodesynth.cc
fpoptimizer/valuerange.hh fpoptimizer/rangeestimation.hh
fpoptimizer/constantfolding.hh fpoptimizer/logic_boolgroups.hh
fpoptimizer/logic_collections.hh fpoptimizer/logic_ifoperations.hh
fpoptimizer/logic_powoperations.hh fpoptimizer/logic_comparisons.hh
fpoptimizer/codetree.cc fpoptimizer/debug.cc fpoptimizer/grammar.cc
fpoptimizer/grammar_data.cc fpoptimizer/optimize.cc
fpoptimizer/optimize_match.cc fpoptimizer/optimize_synth.cc
fpoptimizer/optimize_debug.cc fpoptimizer/hash.cc fpoptimizer/makebytecode.cc
fpoptimizer/readbytecode.cc fpoptimizer/constantfolding.cc
fpoptimizer/valuerange.cc fpoptimizer/rangeestimation.cc
fpoptimizer/transformations.cc fpoptimizer/cse.cc fpoptimizer/optimize_main.cc;
do \
echo "#line 1 \"$file\""; \
sed -r "s@^(#include \".*)@// line removed for fpoptimizer.cc: \\1@" <
"$file"; \
echo; \
done | sed 's@BEGIN_EXPLICIT_INSTANTATION.*@@;s@.*END_EXPLICIT_INSTANTATION@@' \
| util/cpp_compress "lnxyceti" >> fpoptimizer.cc
# >> fpoptimizer.cc
cat fpoptimizer/fpoptimizer_footer.txt >> fpoptimizer.cc
make[2]: Leaving directory '/build/reproducible-path/fparserc++-4.5.2'
mkdir -p build
cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIB_SUFFIX="/aarch64-linux-gnu"
..
CMake Warning (dev) at CMakeLists.txt:3 (PROJECT):
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.
-- The CXX compiler identification is GNU 14.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:5 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
-- Configuring incomplete, errors occurred!
make[1]: *** [debian/rules:21: override_dh_auto_configure] Error 1
make[1]: Leaving directory '/build/reproducible-path/fparserc++-4.5.2'
make: *** [debian/rules:13: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-08-29T19:11:01Z
-------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/2392541/
The most likely cause of build failures is the removed backwards compatibility
for
CMake versions earlier than 3.5. You can find additional information in my
debian-devel announcement:
https://lists.debian.org/debian-devel/2025/04/msg00310.html
About the archive rebuild: The build was made on debusine.debian.net,
using sbuild.
You can find the build task here:
https://debusine.debian.net/work-request/152905/
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
Thanks,
Timo