Created attachment 801271 [details] build log rocSOLVER fails to compile for me: FAILED: library/src/CMakeFiles/rocsolver.dir/common/rocsolver_logger.cpp.o /usr/bin/hipcc -DFMT_SHARED -DOPTIMAL -DROCBLAS_INTERNAL_API -DROCM_USE_FLOAT16 -DROCSOLVER_LIBRARY -D__HIP_HCC_COMPAT_MODE__=1 -D__HIP_PLATFORM_AMD__=1 -D__HIP_PLATFORM_HCC__=1 -Drocsolver_EXPORTS -I/var/tmp/portage/sci-libs/rocSOLVER-5.0.2/work/rocSOLVER-rocm-5.0.2/library/include -I/var/tmp/portage/sci-libs/rocSOLVER-5.0.2/work/rocSOLVER-rocm-5.0.2_build/include -I/var/tmp/portage/sci-libs/rocSOLVER-5.0.2/work/rocSOLVER-rocm-5.0.2/library/src/include -I/var/tmp/portage/sci-libs/rocSOLVER-5.0.2/work/rocSOLVER-rocm-5.0.2/library/src -I/var/tmp/portage/sci-libs/rocSOLVER-5.0.2/work/rocSOLVER-rocm-5.0.2/common/include -isystem /usr/include/rocblas -march=native -fPIC -fvisibility=hidden -fvisibility-inlines-hidden --gpu-max-threads-per-block=1024 -Wno-pass-failed -Wno-unused-result -x hip --hip-device-lib-path=/usr/lib/amdgcn/bitcode --offload-arch=gfx803 --offload-arch=gfx900 --offload-arch=gfx906:xnack- --offload-arch=gfx908:xnack- --offload-arch=gfx1030 --offload-arch=gfx90a:xnack- --offload-arch=gfx90a:xnack+ -std=c++17 -MD -MT library/src/CMakeFiles/rocsolver.dir/common/rocsolver_logger.cpp.o -MF library/src/CMakeFiles/rocsolver.dir/common/rocsolver_logger.cpp.o.d -o library/src/CMakeFiles/rocsolver.dir/common/rocsolver_logger.cpp.o -c /var/tmp/portage/sci-libs/rocSOLVER-5.0.2/work/rocSOLVER-rocm-5.0.2/library/src/common/rocsolver_logger.cpp In file included from /var/tmp/portage/sci-libs/rocSOLVER-5.0.2/work/rocSOLVER-rocm-5.0.2/library/src/common/rocsolver_logger.cpp:12: In file included from /var/tmp/portage/sci-libs/rocSOLVER-5.0.2/work/rocSOLVER-rocm-5.0.2/library/src/include/rocsolver_logger.hpp:7: /usr/include/fmt/format.h:3097:38: error: implicit instantiation of undefined template 'fmt::detail::dragonbox::float_info<long double>' const auto f = basic_fp<typename info::carrier_uint>(converted_value); ^ /usr/include/fmt/format.h:3205:13: note: in instantiation of function template specialization 'fmt::detail::format_float<long double>' requested here int exp = format_float(convert_float(value), precision, fspecs, buffer); ^ /usr/include/fmt/format.h:3369:20: note: in instantiation of function template specialization 'fmt::detail::write<char, fmt::appender, long double, 0>' requested here return detail::write(out, value, specs, locale); ^ /usr/include/fmt/format.h:4057:10: note: in instantiation of member function 'fmt::detail::vformat_to(buffer<char> &, basic_string_view<char>, basic_format_args<basic_format_context<detail::buffer_appender<type_identity_t<char>>, type_identity_t<char>>>, fmt::detail::locale_ref)::format_handler::on_format_specs' requested here struct format_handler : error_handler { ^ /usr/include/fmt/ostream.h:185:11: note: in instantiation of function template specialization 'fmt::detail::vformat_to<char>' requested here detail::vformat_to(buffer, format_str, args); ^ /usr/include/fmt/ostream.h:200:3: note: in instantiation of function template specialization 'fmt::vprint<char>' requested here vprint(os, fmt, fmt::make_format_args(args...)); ^ /var/tmp/portage/sci-libs/rocSOLVER-5.0.2/work/rocSOLVER-rocm-5.0.2/library/src/common/rocsolver_logger.cpp:55:18: note: in instantiation of function template specialization 'fmt::print<std::basic_string<char>, std::basic_string<char>>' requested here fmt::print(os, ^ /usr/include/fmt/format.h:1267:54: note: template is declared here template <typename T, typename Enable = void> struct float_info; ^ /usr/include/fmt/format.h:1390:46: error: implicit instantiation of undefined template 'fmt::detail::dragonbox::float_info<long double>' using carrier_uint = typename dragonbox::float_info<Float>::carrier_uint; ^ /usr/include/fmt/format.h:3139:42: note: in instantiation of function template specialization 'fmt::detail::basic_fp<unsigned __int128>::assign<long double, 0>' requested here : f.assign(converted_value); ^ /usr/include/fmt/format.h:3205:13: note: in instantiation of function template specialization 'fmt::detail::format_float<long double>' requested here int exp = format_float(convert_float(value), precision, fspecs, buffer); ^ /usr/include/fmt/format.h:3369:20: note: in instantiation of function template specialization 'fmt::detail::write<char, fmt::appender, long double, 0>' requested here return detail::write(out, value, specs, locale); ^ /usr/include/fmt/format.h:4057:10: note: in instantiation of member function 'fmt::detail::vformat_to(buffer<char> &, basic_string_view<char>, basic_format_args<basic_format_context<detail::buffer_appender<type_identity_t<char>>, type_identity_t<char>>>, fmt::detail::locale_ref)::format_handler::on_format_specs' requested here struct format_handler : error_handler { ^ /usr/include/fmt/ostream.h:185:11: note: in instantiation of function template specialization 'fmt::detail::vformat_to<char>' requested here detail::vformat_to(buffer, format_str, args); ^ /usr/include/fmt/ostream.h:200:3: note: in instantiation of function template specialization 'fmt::vprint<char>' requested here vprint(os, fmt, fmt::make_format_args(args...)); ^ /var/tmp/portage/sci-libs/rocSOLVER-5.0.2/work/rocSOLVER-rocm-5.0.2/library/src/common/rocsolver_logger.cpp:55:18: note: in instantiation of function template specialization 'fmt::print<std::basic_string<char>, std::basic_string<char>>' requested here fmt::print(os, ^ /usr/include/fmt/format.h:1267:54: note: template is declared here template <typename T, typename Enable = void> struct float_info; ^ /usr/include/fmt/format.h:1395:14: error: no matching function for call to 'bit_cast' auto u = bit_cast<carrier_uint>(n); ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/fmt/format.h:285:22: note: candidate template ignored: requirement 'sizeof(int) == sizeof(long double)' was not satisfied [with To = int, From = long double] FMT_CONSTEXPR20 auto bit_cast(const From& from) -> To { ^ /usr/include/fmt/format.h:435:13: note: candidate template ignored: requirement 'sizeof(int) > sizeof(long double)' was not satisfied [with To = int, From = long double] inline auto bit_cast(const From& from) -> To { ^ 3 errors generated when compiling for gfx1030.
Created attachment 801274 [details] emerge --info
This is due to the dev-libs/fmt version: rocSOLVER-5.0.2 is not compatible with =dev-libs/fmt-9 and we should mask newer version for rocSOLVER-5.0.2
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6293cf6a0c4c764d4ddb10aa39865e2170a6def commit f6293cf6a0c4c764d4ddb10aa39865e2170a6def Author: Yiyang Wu <xgreenlandforwyy@gmail.com> AuthorDate: 2022-08-27 03:34:48 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2022-08-27 07:18:01 +0000 sci-libs/rocSOLVER: restrict to dev-libs/libfmt-8 Closes: https://bugs.gentoo.org/866839 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/27026 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> sci-libs/rocSOLVER/rocSOLVER-5.0.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)