Build log: https://launchpadlibrarian.net/648312714/buildlog_ubuntu-lunar-ppc64el.minizinc_2.6.4+dfsg1-1_BUILDING.txt.gz
The relevant part is this:
/usr/bin/c++ -DHAS_GECODE -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/obj-powerpc64le-linux-gnu/include -g -O3 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/minizinc-2.6.4+dfsg1-1 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -std=gnu++11 -MD -MT CMakeFiles/minizinc_parser.dir/lexer.yy.cpp.o -MF CMakeFiles/minizinc_parser.dir/lexer.yy.cpp.o.d -o CMakeFiles/minizinc_parser.dir/lexer.yy.cpp.o -c /<<PKGBUILDDIR>>/obj-powerpc64le-linux-gnu/lexer.yy.cpp
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 /<<PKGBUILDDIR>>/include/minizinc/support/regex.hh:24,
from /<<PKGBUILDDIR>>/obj-powerpc64le-linux-gnu/regex_parser.tab.cpp:82:
/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 };
| ^~~~~~~~~~~~~~~~~~~~
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 /<<PKGBUILDDIR>>/include/minizinc/support/regex.hh:24,
from /<<PKGBUILDDIR>>/obj-powerpc64le-linux-gnu/regex_lexer.yy.cpp:724:
/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 };
| ^~~~~~~~~~~~~~~~~~~~
make[3]: *** [CMakeFiles/minizinc_parser.dir/build.make:130: CMakeFiles/minizinc_parser.dir/regex_parser.tab.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [CMakeFiles/minizinc_parser.dir/build.make:145: CMakeFiles/minizinc_parser.dir/regex_lexer.yy.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-powerpc64le-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:108: CMakeFiles/minizinc_parser.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-powerpc64le-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-powerpc64le-linux-gnu'
dh_auto_build: error: cd obj-powerpc64le-linux-gnu && make -j4 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:4: build-arch] Error 25
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
--------------------------------------------------------------------------------
This header is from libboost1.74-dev. There is an upstream bug[1], but it has not been resolved yet.
[1] https://github.com/boostorg/interval/pull/30