Description of problem: The mp package failed the mass rebuild on ppc64le (see https://koji.fedoraproject.org/koji/buildinfo?buildID=1889533). The build log indicates that bad constants in boost headers are to blame: In file included from /usr/include/boost/numeric/interval/hw_rounding.hpp:27, from /usr/include/boost/numeric/interval.hpp:18, from /usr/include/gecode/float.hh:80, from /usr/include/gecode/minimodel.hh:51, from /usr/include/gecode/driver.hh:37, from /builddir/build/BUILD/mp-7fd4828c934fccf7367499c9e01cc9a1e90a2093/solvers/gecode/gecode.h:33, from /builddir/build/BUILD/mp-7fd4828c934fccf7367499c9e01cc9a1e90a2093/solvers/gecode/gecode.cc:23: /usr/include/boost/numeric/interval/detail/ppc_rounding_control.hpp:31:56: error: narrowing conversion of '18444492273895866370' from 'long long unsigned int' to 'boost::long_long_type' {aka 'long long int'} [-Wnarrowing] 31 | static const rounding_mode_struct mode_upward = { 0xFFF8000000000002LL }; | ^~~~~~~~~~~~~~~~~~~~ /usr/include/boost/numeric/interval/detail/ppc_rounding_control.hpp:32:56: error: narrowing conversion of '18444492273895866371' from 'long long unsigned int' to 'boost::long_long_type' {aka 'long long int'} [-Wnarrowing] 32 | static const rounding_mode_struct mode_downward = { 0xFFF8000000000003LL }; | ^~~~~~~~~~~~~~~~~~~~ /usr/include/boost/numeric/interval/detail/ppc_rounding_control.hpp:33:56: error: narrowing conversion of '18444492273895866368' from 'long long unsigned int' to 'boost::long_long_type' {aka 'long long int'} [-Wnarrowing] 33 | static const rounding_mode_struct mode_to_nearest = { 0xFFF8000000000000LL }; | ^~~~~~~~~~~~~~~~~~~~ /usr/include/boost/numeric/interval/detail/ppc_rounding_control.hpp:34:56: error: narrowing conversion of '18444492273895866369' from 'long long unsigned int' to 'boost::long_long_type' {aka 'long long int'} [-Wnarrowing] 34 | static const rounding_mode_struct mode_toward_zero = { 0xFFF8000000000001LL }; | ^~~~~~~~~~~~~~~~~~~~ Those constants should have a "ULL" suffix instead of "LL". Version-Release number of selected component (if applicable): boost-1.76.0-6.fc36 How reproducible: Always Steps to Reproduce: 1. Build the mp package in Rawhide for ppc64le Actual results: The errors shown above. Expected results: Good build. Additional info:
(In reply to Jerry James from comment #0) > Those constants should have a "ULL" suffix instead of "LL". No, they already have type unsigned long long, changing the prefix wouldn't alter that. The problem is that they are initializing objects of type long long.
Fix proposed upstream: https://github.com/boostorg/interval/pull/30
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36.
Fixed by https://bodhi.fedoraproject.org/updates/FEDORA-2022-2682b8a02c