xsimd failed to build from source in Fedora rawhide/f34 https://koji.fedoraproject.org/koji/taskinfo?taskID=60912996 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Please fix xsimd at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, xsimd will be orphaned. Before branching of Fedora 35, xsimd will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
Created attachment 1753776 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 1753777 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 1753778 [details] state.log
This happens on aarch64 since GCC 11. [ 30%] Building CXX object test/CMakeFiles/test_xsimd.dir/xsimd_error_gamma_test.cpp.o cd /builddir/build/BUILD/xsimd-7.4.9/aarch64-redhat-linux-gnu/test && /usr/bin/g++ -I/builddir/build/BUILD/xsimd-7.4.9/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -march=native -g -fPIC -Wunused-parameter -Wextra -Wreorder -std=c++11 -DNDEBUG -o CMakeFiles/test_xsimd.dir/xsimd_error_gamma_test.cpp.o -c /builddir/build/BUILD/xsimd-7.4.9/test/xsimd_error_gamma_test.cpp In file included from /builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/xsimd_traits.hpp:16, from /builddir/build/BUILD/xsimd-7.4.9/include/xsimd/xsimd.hpp:16, from /builddir/build/BUILD/xsimd-7.4.9/test/xsimd_algorithms.cpp:15: /builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/xsimd_neon_conversion.hpp: In function 'xsimd::batch<double, 2> xsimd::bitwise_cast(const xsimd::batch_bool<double, 2>&)': /builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/../types/xsimd_base.hpp:606:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 606 | *reinterpret_cast<int_type*>(&z1) = ~int_type(0); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/xsimd_neon_conversion.hpp:60:5: note: in expansion of macro 'XSIMD_DEFINE_BITWISE_CAST_FLOAT' 60 | XSIMD_DEFINE_BITWISE_CAST_FLOAT(double, 2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/xsimd_neon_conversion.hpp: In function 'xsimd::batch<float, 4> xsimd::bitwise_cast(const xsimd::batch_bool<float, 4>&)': /builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/../types/xsimd_base.hpp:606:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 606 | *reinterpret_cast<int_type*>(&z1) = ~int_type(0); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/xsimd_neon_conversion.hpp:62:5: note: in expansion of macro 'XSIMD_DEFINE_BITWISE_CAST_FLOAT' 62 | XSIMD_DEFINE_BITWISE_CAST_FLOAT(float, 4) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/xsimd_neon_complex.hpp:25, from /builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/xsimd_types_include.hpp:69, from /builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/xsimd_traits.hpp:17, from /builddir/build/BUILD/xsimd-7.4.9/include/xsimd/xsimd.hpp:16, from /builddir/build/BUILD/xsimd-7.4.9/test/xsimd_algorithms.cpp:15: /builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/xsimd_complex_base.hpp: At global scope: /builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/xsimd_complex_base.hpp:102:45: error: 'numeric_limits' is not a member of 'std' 102 | : std::integral_constant<bool, std::numeric_limits<std::complex<T>>::is_iec559> | ^~~~~~~~~~~~~~ /builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/xsimd_complex_base.hpp:102:45: error: 'numeric_limits' is not a member of 'std' /builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/xsimd_complex_base.hpp:102:74: error: template argument 2 is invalid 102 | : std::integral_constant<bool, std::numeric_limits<std::complex<T>>::is_iec559> | ^~ /builddir/build/BUILD/xsimd-7.4.9/include/xsimd/types/xsimd_complex_base.hpp:102:76: error: expected '{' before '::' token 102 | : std::integral_constant<bool, std::numeric_limits<std::complex<T>>::is_iec559> | ^~
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle. Changing version to 34.
Dear Maintainer, your package has an open Fails To Build From Source bug for Fedora 34. Action is required from you. If you can fix your package to build, perform a build in koji, and either create an update in bodhi, or close this bug without creating an update, if updating is not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to acknowledge this. If you have already fixed this issue, please close this Bugzilla report. Following the policy for such packages [2], your package will be orphaned if this bug remains in NEW state more than 8 weeks (not sooner than 2021-03-29). A week before the mass branching of Fedora 35 according to the schedule [3], any packages not successfully rebuilt at least on Fedora 33 will be retired regardless of the status of this bug. [1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/ [2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/ [3] https://fedorapeople.org/groups/schedule/f-35/f-35-key-tasks.html
Trying to add: #include <limits> Into include/xsimd/types/xsimd_complex_base.hpp Similarly to https://github.com/xtensor-stack/xsimd/pull/395