Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931697 - games-util/mangohud-0.7.1-r3::guru fails to compile
Summary: games-util/mangohud-0.7.1-r3::guru fails to compile
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Adel KARA SLIMANE
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-11 00:32 UTC by hangint3n
Modified: 2024-05-16 03:11 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hangint3n 2024-05-11 00:32:05 UTC
>>> Source unpacked in /var/tmp/portage/games-util/mangohud-0.7.1-r3/work
>>> Preparing source in /var/tmp/portage/games-util/mangohud-0.7.1-r3/work/MangoHud-0.7.1 ...
 * Applying mangohud-0.7.1-menson-fix-dep.patch ...                                                                                                                                                                                  [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/games-util/mangohud-0.7.1-r3/work/MangoHud-0.7.1 ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_configure
meson setup -Db_lto=true --libdir lib --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/share/pkgconfig:/usr/share/pkgconfig --pkg-config-path /usr/share/pkgconfig:/usr/share/pkgconfig --native-file /var/tmp/portage/games-util/mangohud-0.7.1-r3/temp/meson.i686-pc-linux-gnu.x86.ini -Db_pch=false -Dwerror=false -Dbuildtype=plain -Dappend_libdir_mangohud=false -Dinclude_doc=false -Dwith_nvml=enabled -Dwith_xnvctrl=disabled -Dwith_x11=enabled -Dwith_wayland=enabled -Dwith_dbus=enabled -Dmangoapp=false -Dmangoapp_layer=false -Dmangohudctl=false /var/tmp/portage/games-util/mangohud-0.7.1-r3/work/MangoHud-0.7.1 /var/tmp/portage/games-util/mangohud-0.7.1-r3/work/MangoHud-0.7.1-abi_x86_32.x86
The Meson build system
Version: 1.4.0
Source dir: /var/tmp/portage/games-util/mangohud-0.7.1-r3/work/MangoHud-0.7.1
Build dir: /var/tmp/portage/games-util/mangohud-0.7.1-r3/work/MangoHud-0.7.1-abi_x86_32.x86
Build type: native build
Project name: MangoHud
Project version: v0.7.1
C compiler for the host machine: x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse (gcc 13.2.1 "x86_64-pc-linux-gnu-gcc (Gentoo 13.2.1_p20240210 p14) 13.2.1 20240210")
C linker for the host machine: x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse ld.bfd 2.41
C++ compiler for the host machine: x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse (gcc 13.2.1 "x86_64-pc-linux-gnu-g++ (Gentoo 13.2.1_p20240210 p14) 13.2.1 20240210")
C++ linker for the host machine: x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse ld.bfd 2.41
Host machine cpu family: x86
Host machine cpu: i686
Program python3 (mako) found: YES (/var/tmp/portage/games-util/mangohud-0.7.1-r3/temp/python3.11/bin/python3) modules: mako
Checking if "GCC atomic builtins" compiles: YES 
Checking if "Supports timespec_get" compiles: YES 
Checking for function "bswap32" : YES 
Checking for function "bswap64" : YES 
Checking for function "clz" : YES 
Checking for function "clzll" : YES 
Checking for function "ctz" : YES 
Checking for function "expect" : YES 
Checking for function "ffs" : YES 
Checking for function "ffsll" : YES 
Checking for function "popcount" : YES 
Checking for function "popcountll" : YES 
Checking for function "unreachable" : YES 
Found pkg-config: YES (/usr/bin/x86_64-pc-linux-gnu-pkg-config) 2.2.0
Run-time dependency x11 found: YES 1.8.9
Run-time dependency wayland-client found: YES 1.22.0
Run-time dependency dbus-1 found: YES 1.15.8
Run-time dependency threads found: YES
Compiler for C supports arguments -Werror=implicit-function-declaration: YES 
Compiler for C supports arguments -Werror=missing-declarations: YES 
Compiler for C supports arguments -Werror=missing-prototypes: YES 
Compiler for C supports arguments -Werror=return-type: YES 
Compiler for C supports arguments -Werror=incompatible-pointer-types: YES 
Compiler for C supports arguments -Wno-unused-parameter: YES 
Compiler for C supports arguments -Qunused-arguments: NO 
Compiler for C supports arguments -fno-math-errno: YES 
Compiler for C supports arguments -fno-trapping-math: YES 
Compiler for C supports arguments -Wno-missing-field-initializers: YES 
Compiler for C++ supports arguments -Werror=missing-declarations: YES 
Compiler for C++ supports arguments -Werror=return-type: YES 
Compiler for C++ supports arguments -Wno-unused-parameter: YES 
Compiler for C++ supports arguments -Qunused-arguments: NO 
Compiler for C++ supports arguments -fno-math-errno: YES 
Compiler for C++ supports arguments -fno-trapping-math: YES 
Compiler for C++ supports arguments -Wno-non-virtual-dtor: YES 
Compiler for C++ supports arguments -Wno-missing-field-initializers: YES 
Checking for function "dlopen" : YES 
Checking for function "clock_gettime" : YES 

Executing subproject vulkan-headers 

vulkan-headers| Project name: vulkan-headers
vulkan-headers| Project version: 1.2.158
vulkan-headers| C compiler for the host machine: x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse (gcc 13.2.1 "x86_64-pc-linux-gnu-gcc (Gentoo 13.2.1_p20240210 p14) 13.2.1 20240210")
vulkan-headers| C linker for the host machine: x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse ld.bfd 2.41
vulkan-headers| Build targets in project: 1
vulkan-headers| Subproject vulkan-headers finished.

Checking for size of "void*" : 4 
Run-time dependency imgui found: YES 1.89.9
Run-time dependency implot found: YES 0.16
Found CMake: /usr/bin/cmake (3.28.3)
Run-time dependency spdlog found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency spdlog

../MangoHud-0.7.1/meson.build:240:13: ERROR: Automatic wrap-based subproject downloading is disabled

A full log can be found at /var/tmp/portage/games-util/mangohud-0.7.1-r3/work/MangoHud-0.7.1-abi_x86_32.x86/meson-logs/meson-log.txt
 * ERROR: games-util/mangohud-0.7.1-r3::guru failed (configure phase):
 *   configure failed
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 3563:  Called meson-multilib_src_configure
 *   environment, line 2164:  Called multilib-minimal_src_configure
 *   environment, line 2364:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 2614:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2319:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2317:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  763:  Called multilib-minimal_abi_src_configure
 *   environment, line 2358:  Called multilib_src_configure
 *   environment, line 2839:  Called meson_src_configure
 *   environment, line 2251:  Called die
 * The specific snippet of code:
 *       [[ ${rv} -eq 0 ]] || die -n "configure failed";
 * 
 * If you need support, post the output of `emerge --info '=games-util/mangohud-0.7.1-r3::guru'`,
 * the complete build log and the output of `emerge -pqv '=games-util/mangohud-0.7.1-r3::guru'`.
 * The complete build log is located at '/var/tmp/portage/games-util/mangohud-0.7.1-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-util/mangohud-0.7.1-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/games-util/mangohud-0.7.1-r3/work/MangoHud-0.7.1-abi_x86_32.x86'
 * S: '/var/tmp/portage/games-util/mangohud-0.7.1-r3/work/MangoHud-0.7.1'
Comment 1 Gonçalo Negrier Duarte 2024-05-11 07:39:29 UTC
The ebuild is missing dev-libs/spdlog (forget to add it when I did the changes to it), pls emerge spdlog and emerge mangohud again
Comment 2 hangint3n 2024-05-11 16:12:49 UTC
Tried your suggestion, but no joy.

===========


Executing subproject vulkan-headers 

vulkan-headers| Project name: vulkan-headers
vulkan-headers| Project version: 1.2.158
vulkan-headers| C compiler for the host machine: x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse (gcc 13.2.1 "x86_64-pc-linux-gnu-gcc (Gentoo 13.2.1_p20240210 p14) 13.2.1 20240210")
vulkan-headers| C linker for the host machine: x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse ld.bfd 2.41
vulkan-headers| Build targets in project: 1
vulkan-headers| Subproject vulkan-headers finished.

Checking for size of "void*" : 4 
Run-time dependency imgui found: YES 1.89.9
Run-time dependency implot found: YES 0.16
Found CMake: /usr/bin/cmake (3.28.5)
Run-time dependency spdlog found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency spdlog

../MangoHud-0.7.1/meson.build:240:13: ERROR: Automatic wrap-based subproject downloading is disabled

A full log can be found at /var/tmp/portage/games-util/mangohud-0.7.1-r3/work/MangoHud-0.7.1-abi_x86_32.x86/meson-logs/meson-log.txt
 * ERROR: games-util/mangohud-0.7.1-r3::guru failed (configure phase):
 *   configure failed
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 3563:  Called meson-multilib_src_configure
 *   environment, line 2164:  Called multilib-minimal_src_configure
 *   environment, line 2364:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 2614:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2319:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2317:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  763:  Called multilib-minimal_abi_src_configure
 *   environment, line 2358:  Called multilib_src_configure
 *   environment, line 2839:  Called meson_src_configure
 *   environment, line 2251:  Called die
 * The specific snippet of code:
 *       [[ ${rv} -eq 0 ]] || die -n "configure failed";
 * 
 * If you need support, post the output of `emerge --info '=games-util/mangohud-0.7.1-r3::guru'`,
 * the complete build log and the output of `emerge -pqv '=games-util/mangohud-0.7.1-r3::guru'`.
 * The complete build log is located at '/var/tmp/portage/games-util/mangohud-0.7.1-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-util/mangohud-0.7.1-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/games-util/mangohud-0.7.1-r3/work/MangoHud-0.7.1-abi_x86_32.x86'
 * S: '/var/tmp/portage/games-util/mangohud-0.7.1-r3/work/MangoHud-0.7.1'

>>> Failed to emerge games-util/mangohud-0.7.1-r3, Log file:
Comment 3 Gonçalo Negrier Duarte 2024-05-11 20:41:16 UTC
(In reply to hangint3n from comment #2)
> Tried your suggestion, but no joy.
> 
> ===========
> 
> 
> 
> Checking for size of "void*" : 4 
> Run-time dependency imgui found: YES 1.89.9
> Run-time dependency implot found: YES 0.16
> Found CMake: /usr/bin/cmake (3.28.5)
> Run-time dependency spdlog found: NO (tried pkgconfig and cmake)
> Looking for a fallback subproject for the dependency spdlog
> 
> ../MangoHud-0.7.1/meson.build:240:13: ERROR: Automatic wrap-based subproject
> downloading is disabled
> 

You really sure dev-libs/spdlog is properly install, also give the output of:
`equery files spdlog`and `equery uses spdlog`

My output bellow:
```
user@Gentoo ~ $ equery uses spdlog
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for dev-libs/spdlog-1.13.0-r1:
 U I
 + + abi_x86_32  : 32-bit (x86) libraries
 + + static-libs : Build static versions of dynamic libraries as well
 - - test        : Enable dependencies and/or preparations necessary to run tests (usually controlled
                   by FEATURES=test but can be toggled independently)
user@Gentoo ~ $ equery files spdlog
 * Searching for spdlog ...
 * Contents of dev-libs/spdlog-1.13.0-r1:
/usr
/usr/include
/usr/include/spdlog
/usr/include/spdlog/async.h
/usr/include/spdlog/async_logger-inl.h
/usr/include/spdlog/async_logger.h
/usr/include/spdlog/cfg
/usr/include/spdlog/cfg/argv.h
/usr/include/spdlog/cfg/env.h
/usr/include/spdlog/cfg/helpers-inl.h
/usr/include/spdlog/cfg/helpers.h
/usr/include/spdlog/common-inl.h
/usr/include/spdlog/common.h
/usr/include/spdlog/details
/usr/include/spdlog/details/backtracer-inl.h
/usr/include/spdlog/details/backtracer.h
/usr/include/spdlog/details/circular_q.h
/usr/include/spdlog/details/console_globals.h
/usr/include/spdlog/details/file_helper-inl.h
/usr/include/spdlog/details/file_helper.h
/usr/include/spdlog/details/fmt_helper.h
/usr/include/spdlog/details/log_msg-inl.h
/usr/include/spdlog/details/log_msg.h
/usr/include/spdlog/details/log_msg_buffer-inl.h
/usr/include/spdlog/details/log_msg_buffer.h
/usr/include/spdlog/details/mpmc_blocking_q.h
/usr/include/spdlog/details/null_mutex.h
/usr/include/spdlog/details/os-inl.h
/usr/include/spdlog/details/os.h
/usr/include/spdlog/details/periodic_worker-inl.h
/usr/include/spdlog/details/periodic_worker.h
/usr/include/spdlog/details/registry-inl.h
/usr/include/spdlog/details/registry.h
/usr/include/spdlog/details/synchronous_factory.h
/usr/include/spdlog/details/tcp_client-windows.h
/usr/include/spdlog/details/tcp_client.h
/usr/include/spdlog/details/thread_pool-inl.h
/usr/include/spdlog/details/thread_pool.h
/usr/include/spdlog/details/udp_client-windows.h
/usr/include/spdlog/details/udp_client.h
/usr/include/spdlog/details/windows_include.h
/usr/include/spdlog/fmt
/usr/include/spdlog/fmt/bin_to_hex.h
/usr/include/spdlog/fmt/chrono.h
/usr/include/spdlog/fmt/compile.h
/usr/include/spdlog/fmt/fmt.h
/usr/include/spdlog/fmt/ostr.h
/usr/include/spdlog/fmt/ranges.h
/usr/include/spdlog/fmt/std.h
/usr/include/spdlog/fmt/xchar.h
/usr/include/spdlog/formatter.h
/usr/include/spdlog/fwd.h
/usr/include/spdlog/logger-inl.h
/usr/include/spdlog/logger.h
/usr/include/spdlog/pattern_formatter-inl.h
/usr/include/spdlog/pattern_formatter.h
/usr/include/spdlog/sinks
/usr/include/spdlog/sinks/android_sink.h
/usr/include/spdlog/sinks/ansicolor_sink-inl.h
/usr/include/spdlog/sinks/ansicolor_sink.h
/usr/include/spdlog/sinks/base_sink-inl.h
/usr/include/spdlog/sinks/base_sink.h
/usr/include/spdlog/sinks/basic_file_sink-inl.h
/usr/include/spdlog/sinks/basic_file_sink.h
/usr/include/spdlog/sinks/callback_sink.h
/usr/include/spdlog/sinks/daily_file_sink.h
/usr/include/spdlog/sinks/dist_sink.h
/usr/include/spdlog/sinks/dup_filter_sink.h
/usr/include/spdlog/sinks/hourly_file_sink.h
/usr/include/spdlog/sinks/kafka_sink.h
/usr/include/spdlog/sinks/mongo_sink.h
/usr/include/spdlog/sinks/msvc_sink.h
/usr/include/spdlog/sinks/null_sink.h
/usr/include/spdlog/sinks/ostream_sink.h
/usr/include/spdlog/sinks/qt_sinks.h
/usr/include/spdlog/sinks/ringbuffer_sink.h
/usr/include/spdlog/sinks/rotating_file_sink-inl.h
/usr/include/spdlog/sinks/rotating_file_sink.h
/usr/include/spdlog/sinks/sink-inl.h
/usr/include/spdlog/sinks/sink.h
/usr/include/spdlog/sinks/stdout_color_sinks-inl.h
/usr/include/spdlog/sinks/stdout_color_sinks.h
/usr/include/spdlog/sinks/stdout_sinks-inl.h
/usr/include/spdlog/sinks/stdout_sinks.h
/usr/include/spdlog/sinks/syslog_sink.h
/usr/include/spdlog/sinks/systemd_sink.h
/usr/include/spdlog/sinks/tcp_sink.h
/usr/include/spdlog/sinks/udp_sink.h
/usr/include/spdlog/sinks/win_eventlog_sink.h
/usr/include/spdlog/sinks/wincolor_sink-inl.h
/usr/include/spdlog/sinks/wincolor_sink.h
/usr/include/spdlog/spdlog-inl.h
/usr/include/spdlog/spdlog.h
/usr/include/spdlog/stopwatch.h
/usr/include/spdlog/tweakme.h
/usr/include/spdlog/version.h
/usr/lib
/usr/lib/cmake
/usr/lib/cmake/spdlog
/usr/lib/cmake/spdlog/spdlogConfig.cmake
/usr/lib/cmake/spdlog/spdlogConfigTargets-relwithdebinfo.cmake
/usr/lib/cmake/spdlog/spdlogConfigTargets.cmake
/usr/lib/cmake/spdlog/spdlogConfigVersion.cmake
/usr/lib/libspdlog.so -> libspdlog.so.1.13
/usr/lib/libspdlog.so.1.13 -> libspdlog.so.1.13.0
/usr/lib/libspdlog.so.1.13.0
/usr/lib/pkgconfig
/usr/lib/pkgconfig/spdlog.pc
/usr/lib64
/usr/lib64/cmake
/usr/lib64/cmake/spdlog
/usr/lib64/cmake/spdlog/spdlogConfig.cmake
/usr/lib64/cmake/spdlog/spdlogConfigTargets-relwithdebinfo.cmake
/usr/lib64/cmake/spdlog/spdlogConfigTargets.cmake
/usr/lib64/cmake/spdlog/spdlogConfigVersion.cmake
/usr/lib64/libspdlog.so -> libspdlog.so.1.13
/usr/lib64/libspdlog.so.1.13 -> libspdlog.so.1.13.0
/usr/lib64/libspdlog.so.1.13.0
/usr/lib64/pkgconfig
/usr/lib64/pkgconfig/spdlog.pc
/usr/share
/usr/share/doc
/usr/share/doc/spdlog-1.13.0-r1
/usr/share/doc/spdlog-1.13.0-r1/README.md.bz2
```
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-11 20:45:54 UTC
As I mentioned on IRC, the ebuild is missing a dependency on *multilib* spdlog.
Comment 5 Gonçalo Negrier Duarte 2024-05-11 20:48:44 UTC
(In reply to Sam James from comment #4)
> As I mentioned on IRC, the ebuild is missing a dependency on *multilib*
> spdlog.

I know it missing, but hangint3n didnt said he is on the multilib profile. I didn't remember to ask him to enable `abi_x86_32`.

Thanks for help him sam :)
Comment 6 Gonçalo Negrier Duarte 2024-05-11 20:49:54 UTC
Also is fix in this commit: https://github.com/gentoo/guru/commit/dcc6d6ec84e4ec42e9fb246df89e1e80d3411f88
Comment 7 hangint3n 2024-05-11 20:55:28 UTC
Do you still want the equery stuff?
Comment 8 Gonçalo Negrier Duarte 2024-05-11 20:58:24 UTC
(In reply to hangint3n from comment #7)
> Do you still want the equery stuff?

Not needed just make sure `abi_x86_32` useflag is enable for spdlog :)
```bash
/etc/portage/package.use
----
dev-libs/spdlog abi_x86_32
```

Also when opening bug report please use the attachments to send the full build.log and `emerge --info`
Comment 9 hangint3n 2024-05-11 21:10:20 UTC
Did as suggested. Still a fail.

This is my package.use file
*/* PYTHON_TARGETS: -* python3_11 python3_12
*/* PYTHON_SINGLE_TARGET: -*  python3_11


*/* ABI_X86="(64)"
media-libs/vigra openexr
dev-libs/boost python
>=media-sound/mpg123-base-1.32.3 abi_x86_32
games-util/mangohud abi_x86_32
media-libs/implot abi_x86_32
dev-libs/spdlog abi_x86_32

=====================================

Executing subproject vulkan-headers 

vulkan-headers| Project name: vulkan-headers
vulkan-headers| Project version: 1.2.158
vulkan-headers| C compiler for the host machine: x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse (gcc 13.2.1 "x86_64-pc-linux-gnu-gcc (Gentoo 13.2.1_p20240210 p14) 13.2.1 20240210")
vulkan-headers| C linker for the host machine: x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse ld.bfd 2.41
vulkan-headers| Build targets in project: 1
vulkan-headers| Subproject vulkan-headers finished.

Checking for size of "void*" : 4 
Run-time dependency imgui found: YES 1.89.9
Run-time dependency implot found: YES 0.16
Found CMake: /usr/bin/cmake (3.28.5)
Run-time dependency spdlog found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency spdlog

../MangoHud-0.7.1/meson.build:240:13: ERROR: Automatic wrap-based subproject downloading is disabled

A full log can be found at /var/tmp/portage/games-util/mangohud-0.7.1-r3/work/MangoHud-0.7.1-abi_x86_32.x86/meson-logs/meson-log.txt
 * ERROR: games-util/mangohud-0.7.1-r3::guru failed (configure phase):
 *   configure failed
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 3563:  Called meson-multilib_src_configure
 *   environment, line 2164:  Called multilib-minimal_src_configure
 *   environment, line 2364:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 2614:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2319:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2317:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  763:  Called multilib-minimal_abi_src_configure
 *   environment, line 2358:  Called multilib_src_configure
 *   environment, line 2839:  Called meson_src_configure
 *   environment, line 2251:  Called die
 * The specific snippet of code:
 *       [[ ${rv} -eq 0 ]] || die -n "configure failed";
 * 
 * If you need support, post the output of `emerge --info '=games-util/mangohud-0.7.1-r3::guru'`,
 * the complete build log and the output of `emerge -pqv '=games-util/mangohud-0.7.1-r3::guru'`.
 * The complete build log is located at '/var/tmp/portage/games-util/mangohud-0.7.1-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-util/mangohud-0.7.1-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/games-util/mangohud-0.7.1-r3/work/MangoHud-0.7.1-abi_x86_32.x86'
 * S: '/var/tmp/portage/games-util/mangohud-0.7.1-r3/work/MangoHud-0.7.1'
===========================================================================

bbox /home/hangint3n # equery files spdlog
 * Searching for spdlog ...
 * Contents of dev-libs/spdlog-1.12.0-r2:
/usr
/usr/include
/usr/include/spdlog
/usr/include/spdlog/async.h
/usr/include/spdlog/async_logger-inl.h
/usr/include/spdlog/async_logger.h
/usr/include/spdlog/cfg
/usr/include/spdlog/cfg/argv.h
/usr/include/spdlog/cfg/env.h
/usr/include/spdlog/cfg/helpers-inl.h
/usr/include/spdlog/cfg/helpers.h
/usr/include/spdlog/common-inl.h
/usr/include/spdlog/common.h
/usr/include/spdlog/details
/usr/include/spdlog/details/backtracer-inl.h
/usr/include/spdlog/details/backtracer.h
/usr/include/spdlog/details/circular_q.h
/usr/include/spdlog/details/console_globals.h
/usr/include/spdlog/details/file_helper-inl.h
/usr/include/spdlog/details/file_helper.h
/usr/include/spdlog/details/fmt_helper.h
/usr/include/spdlog/details/log_msg-inl.h
/usr/include/spdlog/details/log_msg.h
/usr/include/spdlog/details/log_msg_buffer-inl.h
/usr/include/spdlog/details/log_msg_buffer.h
/usr/include/spdlog/details/mpmc_blocking_q.h
/usr/include/spdlog/details/null_mutex.h
/usr/include/spdlog/details/os-inl.h
/usr/include/spdlog/details/os.h
/usr/include/spdlog/details/periodic_worker-inl.h
/usr/include/spdlog/details/periodic_worker.h
/usr/include/spdlog/details/registry-inl.h
/usr/include/spdlog/details/registry.h
/usr/include/spdlog/details/synchronous_factory.h
/usr/include/spdlog/details/tcp_client-windows.h
/usr/include/spdlog/details/tcp_client.h
/usr/include/spdlog/details/thread_pool-inl.h
/usr/include/spdlog/details/thread_pool.h
/usr/include/spdlog/details/udp_client-windows.h
/usr/include/spdlog/details/udp_client.h
/usr/include/spdlog/details/windows_include.h
/usr/include/spdlog/fmt
/usr/include/spdlog/fmt/bin_to_hex.h
/usr/include/spdlog/fmt/chrono.h
/usr/include/spdlog/fmt/compile.h
/usr/include/spdlog/fmt/fmt.h
/usr/include/spdlog/fmt/ostr.h
/usr/include/spdlog/fmt/ranges.h
/usr/include/spdlog/fmt/std.h
/usr/include/spdlog/fmt/xchar.h
/usr/include/spdlog/formatter.h
/usr/include/spdlog/fwd.h
/usr/include/spdlog/logger-inl.h
/usr/include/spdlog/logger.h
/usr/include/spdlog/pattern_formatter-inl.h
/usr/include/spdlog/pattern_formatter.h
/usr/include/spdlog/sinks
/usr/include/spdlog/sinks/android_sink.h
/usr/include/spdlog/sinks/ansicolor_sink-inl.h
/usr/include/spdlog/sinks/ansicolor_sink.h
/usr/include/spdlog/sinks/base_sink-inl.h
/usr/include/spdlog/sinks/base_sink.h
/usr/include/spdlog/sinks/basic_file_sink-inl.h
/usr/include/spdlog/sinks/basic_file_sink.h
/usr/include/spdlog/sinks/callback_sink.h
/usr/include/spdlog/sinks/daily_file_sink.h
/usr/include/spdlog/sinks/dist_sink.h
/usr/include/spdlog/sinks/dup_filter_sink.h
/usr/include/spdlog/sinks/hourly_file_sink.h
/usr/include/spdlog/sinks/kafka_sink.h
/usr/include/spdlog/sinks/mongo_sink.h
/usr/include/spdlog/sinks/msvc_sink.h
/usr/include/spdlog/sinks/null_sink.h
/usr/include/spdlog/sinks/ostream_sink.h
/usr/include/spdlog/sinks/qt_sinks.h
/usr/include/spdlog/sinks/ringbuffer_sink.h
/usr/include/spdlog/sinks/rotating_file_sink-inl.h
/usr/include/spdlog/sinks/rotating_file_sink.h
/usr/include/spdlog/sinks/sink-inl.h
/usr/include/spdlog/sinks/sink.h
/usr/include/spdlog/sinks/stdout_color_sinks-inl.h
/usr/include/spdlog/sinks/stdout_color_sinks.h
/usr/include/spdlog/sinks/stdout_sinks-inl.h
/usr/include/spdlog/sinks/stdout_sinks.h
/usr/include/spdlog/sinks/syslog_sink.h
/usr/include/spdlog/sinks/systemd_sink.h
/usr/include/spdlog/sinks/tcp_sink.h
/usr/include/spdlog/sinks/udp_sink.h
/usr/include/spdlog/sinks/win_eventlog_sink.h
/usr/include/spdlog/sinks/wincolor_sink-inl.h
/usr/include/spdlog/sinks/wincolor_sink.h
/usr/include/spdlog/spdlog-inl.h
/usr/include/spdlog/spdlog.h
/usr/include/spdlog/stopwatch.h
/usr/include/spdlog/tweakme.h
/usr/include/spdlog/version.h
/usr/lib64
/usr/lib64/cmake
/usr/lib64/cmake/spdlog
/usr/lib64/cmake/spdlog/spdlogConfig.cmake
/usr/lib64/cmake/spdlog/spdlogConfigTargets-relwithdebinfo.cmake
/usr/lib64/cmake/spdlog/spdlogConfigTargets.cmake
/usr/lib64/cmake/spdlog/spdlogConfigVersion.cmake
/usr/lib64/libspdlog.so -> libspdlog.so.1.12
/usr/lib64/libspdlog.so.1.12 -> libspdlog.so.1.12.0
/usr/lib64/libspdlog.so.1.12.0
/usr/lib64/pkgconfig
/usr/lib64/pkgconfig/spdlog.pc
/usr/share
/usr/share/doc
/usr/share/doc/spdlog-1.12.0-r2
/usr/share/doc/spdlog-1.12.0-r2/README.md.bz2
============================================================================
bbox /home/hangint3n # equery uses spdlog
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for dev-libs/spdlog-1.12.0-r2:
 U I
 - - test : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)


My equery above does not look like your? This must be the source of my problem.
Comment 10 Gonçalo Negrier Duarte 2024-05-11 21:15:11 UTC
Well for enable spdlog with multilib support you need to use a unstable ebuild (why portage didn't warn you but ok)

Add the bellow to /etc/portage/package.accept_keywords:
```
=dev-libs/spdlog-1.13.0-r1 ~amd64
```
or
```
dev-libs/spdlog ~amd64
```
Comment 11 hangint3n 2024-05-11 21:28:08 UTC
That has lead to a spdlog failure.

 * spdlog-1.13.0.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                  [ ok ]
>>> Unpacking source...
>>> Unpacking spdlog-1.13.0.tar.gz to /var/tmp/portage/dev-libs/spdlog-1.13.0-r1/work
>>> Source unpacked in /var/tmp/portage/dev-libs/spdlog-1.13.0-r1/work
>>> Preparing source in /var/tmp/portage/dev-libs/spdlog-1.13.0-r1/work/spdlog-1.13.0 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-libs/spdlog-1.13.0-r1/work/spdlog-1.13.0"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/dev-libs/spdlog-1.13.0-r1/work/spdlog-1.13.0_build"
 * Applying spdlog-force_external_fmt.patch ...                                                                                                                                                                                      [ ok ]
 * Hardcoded definition(s) removed in CMakeLists.txt:
 *      set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose Release or Debug" FOR
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/spdlog-1.13.0-r1/work/spdlog-1.13.0 ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_configure
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-libs/spdlog-1.13.0-r1/work/spdlog-1.13.0"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/dev-libs/spdlog-1.13.0-r1/work/spdlog-1.13.0_build-abi_x86_32.x86"
cmake -C /var/tmp/portage/dev-libs/spdlog-1.13.0-r1/work/spdlog-1.13.0_build-abi_x86_32.x86/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DSPDLOG_BUILD_BENCH=no -DSPDLOG_BUILD_EXAMPLE=no -DSPDLOG_FMT_EXTERNAL=yes -DSPDLOG_BUILD_SHARED=no -DSPDLOG_BUILD_TESTS=no -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-libs/spdlog-1.13.0-r1/work/spdlog-1.13.0_build-abi_x86_32.x86/gentoo_toolchain.cmake /var/tmp/portage/dev-libs/spdlog-1.13.0-r1/work/spdlog-1.13.0
loading initial cache file /var/tmp/portage/dev-libs/spdlog-1.13.0-r1/work/spdlog-1.13.0_build-abi_x86_32.x86/gentoo_common_config.cmake
-- The CXX compiler identification is GNU 13.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build spdlog: 1.13.0
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Build type: RelWithDebInfo
CMake Error at CMakeLists.txt:211 (find_package):
  Could not find a package configuration file provided by "fmt" with any of
  the following names:

    fmtConfig.cmake
    fmt-config.cmake

  Add the installation prefix of "fmt" to CMAKE_PREFIX_PATH or set "fmt_DIR"
  to a directory containing one of the above files.  If "fmt" provides a
  separate development package or SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!
 * ERROR: dev-libs/spdlog-1.13.0-r1::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 2667:  Called cmake-multilib_src_configure
 *   environment, line  832:  Called multilib-minimal_src_configure
 *   environment, line 1960:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 2210:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 1915:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 1913:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  582:  Called multilib-minimal_abi_src_configure
 *   environment, line 1954:  Called multilib_src_configure
 *   environment, line 2435:  Called cmake_src_configure
 *   environment, line 1102:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";


I tried re-installing cmake to see if that would fix the problem. I think I need another bug report?
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-11 21:28:49 UTC
Did you 'emerge -v1 spdlog'? Otherwise it won't do anything in terms of forcing the update if the ebuild isn't yet updated on the branch you're on.
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-11 21:29:00 UTC
Ugh, that looks like spdlog's dep on libfmt is wrong. It needs to be multilib too.
Comment 14 hangint3n 2024-05-11 21:31:08 UTC
Yup, same result.
Comment 15 Gonçalo Negrier Duarte 2024-05-11 21:54:07 UTC
(In reply to Sam James from comment #13)
> Ugh, that looks like spdlog's dep on libfmt is wrong. It needs to be
> multilib too.

I add to libfmt multilib support but libfmt have both no multilib and multilib ebuild, it need clean up. And also the ebuild are also unstable.

Maybe is that problem hangint3n is having. But using the lastest mangohud ebuild should solve it.
Comment 16 Gonçalo Negrier Duarte 2024-05-11 22:28:39 UTC
Sam basically it was error of my part with libfmt:

https://github.com/gentoo/gentoo/pull/36325
The PR is pending because of dev-cpp/catch
Comment 17 Larry the Git Cow gentoo-dev 2024-05-12 09:38:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dcc6d6ec84e4ec42e9fb246df89e1e80d3411f88

commit dcc6d6ec84e4ec42e9fb246df89e1e80d3411f88
Author:     Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
AuthorDate: 2024-05-11 07:43:17 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
CommitDate: 2024-05-11 07:45:50 +0000

    games-util/mangohud: add missing dev-libs/spdlog dependency
    
    * slight oversight when did the changes to system dependencies
    
    Closes: https://bugs.gentoo.org/931697
    Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>

 games-util/mangohud/mangohud-0.7.1-r4.ebuild | 1 +
 games-util/mangohud/mangohud-9999.ebuild     | 5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)
Comment 18 Larry the Git Cow gentoo-dev 2024-05-16 03:11:39 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7fd5133991af7835dc456dc2017ad238e00fc21

commit a7fd5133991af7835dc456dc2017ad238e00fc21
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-05-16 03:10:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-16 03:10:56 +0000

    dev-libs/spdlog: revbump for multilib fix
    
    Bug: https://bugs.gentoo.org/931697
    Closes: https://bugs.gentoo.org/931840
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/spdlog/{spdlog-1.13.0-r1.ebuild => spdlog-1.13.0-r2.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db6bdf1166359414dffac4105c36159713e72baa

commit db6bdf1166359414dffac4105c36159713e72baa
Author:     Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
AuthorDate: 2024-05-11 22:42:06 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-16 03:10:50 +0000

    dev-libs/libfmt: drop 10.0.0, 10.1.0, 10.1.1, 10.2.0, 10.2.1, 10.2.1-r1
    
    * delete no multilib ebuilds
    
    Bug: https://bugs.gentoo.org/931697
    Closes: https://bugs.gentoo.org/931840
    Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/libfmt/libfmt-10.0.0.ebuild    | 32 --------------------------------
 dev-libs/libfmt/libfmt-10.1.0.ebuild    | 32 --------------------------------
 dev-libs/libfmt/libfmt-10.1.1.ebuild    | 32 --------------------------------
 dev-libs/libfmt/libfmt-10.2.0.ebuild    | 32 --------------------------------
 dev-libs/libfmt/libfmt-10.2.1-r1.ebuild | 33 ---------------------------------
 dev-libs/libfmt/libfmt-10.2.1.ebuild    | 32 --------------------------------
 6 files changed, 193 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a74b1e6ab0ad39667ba531da7aded711e33c0dcd

commit a74b1e6ab0ad39667ba531da7aded711e33c0dcd
Author:     Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
AuthorDate: 2024-05-11 22:39:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-16 03:10:26 +0000

    dev-libs/spdlog: 1.13.0-r1 and 9999 multilib
    
    * fix missing dev-libs/libfmt support
    
    Bug: https://bugs.gentoo.org/931697
    Closes: https://bugs.gentoo.org/931840
    Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/spdlog/spdlog-1.13.0-r1.ebuild | 2 +-
 dev-libs/spdlog/spdlog-9999.ebuild      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)