Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931840 - dev-libs/spdlog-1.13.0-r1 with dev-libs/libfmt-9.1.0-r1 Could not find a package configuration file provided by "fmt"
Summary: dev-libs/spdlog-1.13.0-r1 with dev-libs/libfmt-9.1.0-r1 Could not find a pack...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: David Roman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-12 23:33 UTC by hangint3n
Modified: 2024-05-16 03:11 UTC (History)
6 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-12 23:33:51 UTC
* 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";
Comment 1 Leonardo Hernández Hernández 2024-05-13 03:03:15 UTC
Please always attach the full build.log (compressed if necessary) and emerge --info.
Comment 2 hangint3n 2024-05-13 21:55:21 UTC
Build log: https://bpa.st/XPVQ



bbox /home/hangint3n # emerge --info
Portage 3.0.63 (python 3.12.3-final-0, default/linux/amd64/23.0/desktop/plasma, gcc-13, glibc-2.39-r6, 6.8.8-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.8.8-gentoo-x86_64-x86_64-AMD_Ryzen_9_5950X_16-Core_Processor-with-glibc2.39
KiB Mem:    65755404 total,  39973044 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Mon, 13 May 2024 11:00:00 +0000
Head commit of repository gentoo: ff74b303063563a04be7eca6a1ac562c4d430930
Timestamp of repository amedeos: Sun, 12 May 2024 05:07:21 +0000
Head commit of repository amedeos: 3c9fb4fdeef5d93fdd65a3377c054d3acc17354f

Timestamp of repository brother-overlay: Sat, 13 Apr 2024 18:48:19 +0000
Head commit of repository brother-overlay: 3244b30b0469b918e4545f641f28a521990e91b4

Timestamp of repository gamerlay: Sun, 12 May 2024 05:06:59 +0000
Head commit of repository gamerlay: 678fbe9ab247ae258fb7a6417fd52b898303a532

Timestamp of repository guru: Sun, 12 May 2024 09:48:43 +0000
Head commit of repository guru: 705d64713e0b1946962c2b474fbde1b1bf5595a5

Timestamp of repository kde: Sun, 12 May 2024 05:07:15 +0000
Head commit of repository kde: ea7ca5fa5e6d21f1b3dab0d8003aa3a47803ffc9

Timestamp of repository sspreitz: Sat, 13 Apr 2024 18:48:19 +0000
Head commit of repository sspreitz: 5c96d2ae9278a1183585fccb34f1392e4e81013f

Timestamp of repository steam-overlay: Sun, 12 May 2024 05:07:06 +0000
Head commit of repository steam-overlay: f27a23afac69bac916ca885a7df2e4756bf2c910

Timestamp of repository thegreatmcpain: Sun, 12 May 2024 05:07:21 +0000
Head commit of repository thegreatmcpain: 38a6dd36b5c0782dab04282c42316c682903f72a

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p5) 2.41.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.5::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.0-r1::gentoo
dev-lang/perl:             5.38.2-r3::gentoo
dev-lang/python:           3.11.9::gentoo, 3.12.3::gentoo
dev-lang/rust:             1.77.1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.41-r5::gentoo, 2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo
sys-devel/llvm:            17.0.6::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 

amedeos
    location: /var/db/repos/amedeos
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/amedeos.git
    masters: gentoo
    volatile: False

brother-overlay
    location: /var/db/repos/brother-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/brother-overlay.git
    masters: gentoo
    volatile: False

gamerlay
    location: /var/db/repos/gamerlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gamerlay.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

kde
    location: /var/db/repos/kde
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/kde.git
    masters: gentoo
    volatile: False

sspreitz
    location: /var/db/repos/sspreitz
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/sspreitz.git
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

thegreatmcpain
    location: /var/db/repos/thegreatmcpain
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/thegreatmcpain.git
    masters: gentoo
    volatile: False

Binary Repositories:

binhost
    sync-uri: rsync://rsync4.ca.gentoo.org/gentoo-portage

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=znver3 -pipe -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O2 -march=znver3 -pipe -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -march=znver3 -pipe -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=znver3 -pipe -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j30"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="ABI_X86="(64)" X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cuda cups dbus declarative dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kwallet lcms libnotify libtirpc lto mad mng mp3 mp4 mpeg mtp multilib ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 readline screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="ithreads" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11 python3_12" RUBY_TARGETS="ruby31" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 3 hangint3n 2024-05-13 22:05:25 UTC
(In reply to Leonardo Hernández Hernández from comment #1)
> Please always attach the full build.log (compressed if necessary) and emerge
> --info.

Thanks for this suggestions. Still new to making bug reports.
Comment 4 Greg Kubaryk 2024-05-13 22:17:42 UTC
build.log needs to be *attached* to the report, compressed if necessary; paste sites expire
Comment 5 hangint3n 2024-05-13 23:05:21 UTC

New paste Repaste Download
[32m * [39;49;00mPackage:    dev-libs/spdlog-1.13.0-r1:0/1.13
[32m * [39;49;00mRepository: gentoo
[32m * [39;49;00mMaintainer: davidroman96@gmail.com proxy-maint@gentoo.org
[32m * [39;49;00mUSE:        abi_x86_32 abi_x86_64 amd64 elibc_glibc kernel_linux
[32m * [39;49;00mFEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> 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 ...
 [32m*[0m Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-libs/spdlog-1.13.0-r1/work/spdlog-1.13.0"
 [32m*[0m Build directory  (BUILD_DIR):     "/var/tmp/portage/dev-libs/spdlog-1.13.0-r1/work/spdlog-1.13.0_build"
 [32m*[0m Applying spdlog-force_external_fmt.patch ...
[A[120C [34;01m[ [32;01mok[34;01m ][0m
 [32m*[0m Hardcoded definition(s) removed in CMakeLists.txt:
 [32m*[0m      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 ...
 [32m*[0m abi_x86_32.x86: running multilib-minimal_abi_src_configure
 [32m*[0m Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-libs/spdlog-1.13.0-r1/work/spdlog-1.13.0"
 [32m*[0m 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
[31mCMake 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.

[0m
-- Configuring incomplete, errors occurred!
 [31;01m*[0m ERROR: dev-libs/spdlog-1.13.0-r1::gentoo failed (configure phase):
 [31;01m*[0m   cmake failed
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line  136:  Called src_configure
 [31;01m*[0m   environment, line 2638:  Called cmake-multilib_src_configure
 [31;01m*[0m   environment, line  803:  Called multilib-minimal_src_configure
 [31;01m*[0m   environment, line 1931:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 [31;01m*[0m   environment, line 2181:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 [31;01m*[0m   environment, line 1886:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 [31;01m*[0m   environment, line 1884:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 [31;01m*[0m   environment, line  553:  Called multilib-minimal_abi_src_configure
 [31;01m*[0m   environment, line 1925:  Called multilib_src_configure
 [31;01m*[0m   environment, line 2406:  Called cmake_src_configure
 [31;01m*[0m   environment, line 1073:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=dev-libs/spdlog-1.13.0-r1::gentoo'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-libs/spdlog-1.13.0-r1::gentoo'`.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-libs/spdlog-1.13.0-r1/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-libs/spdlog-1.13.0-r1/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/dev-libs/spdlog-1.13.0-r1/work/spdlog-1.13.0_build-abi_x86_32.x86'
 [31;01m*[0m S: '/var/tmp/portage/dev-libs/spdlog-1.13.0-r1/work/spdlog-1.13.0'
Filename: /var/tmp/portage/dev-libs/spdlog-1.13.0-r1/temp/build.log.
Comment 6 GoGoOtaku 2024-05-14 05:36:25 UTC
I am having the same issue.
The problem is with dev-libs/libfmt-9.1.0-r1

Upgrading to dev-libs/libfmt-9.1.0-r2 fixes the issue.

The issue is that r1 installs it's cmake files only to /usr/lib64. r2 fixed this by adding multilib to the ebuild however unlike r1, r2 is flagged as testing.
Comment 7 hangint3n 2024-05-14 11:22:17 UTC
(In reply to GoGoOtaku from comment #6)
> I am having the same issue.
> The problem is with dev-libs/libfmt-9.1.0-r1
> 
> Upgrading to dev-libs/libfmt-9.1.0-r2 fixes the issue.
> 
> The issue is that r1 installs it's cmake files only to /usr/lib64. r2 fixed
> this by adding multilib to the ebuild however unlike r1, r2 is flagged as
> testing.

Tried this:

USE="multilib" ACCEPT_KEYWORDS="~amd64" emerge =dev-libs/libfmt-9.1.0-r2 dev-libs/spdlog

This failed with the same error.
Comment 8 GoGoOtaku 2024-05-14 23:41:20 UTC
Did dev-libs/libfmt-9.1.0-r2 merge before dev-libs/libfmt?(In reply to hangint3n from comment #7)
> (In reply to GoGoOtaku from comment #6)
> > I am having the same issue.
> > The problem is with dev-libs/libfmt-9.1.0-r1
> > 
> > Upgrading to dev-libs/libfmt-9.1.0-r2 fixes the issue.
> > 
> > The issue is that r1 installs it's cmake files only to /usr/lib64. r2 fixed
> > this by adding multilib to the ebuild however unlike r1, r2 is flagged as
> > testing.
> 
> Tried this:
> 
> USE="multilib" ACCEPT_KEYWORDS="~amd64" emerge =dev-libs/libfmt-9.1.0-r2
> dev-libs/spdlog
> 
> This failed with the same error.

Since dev-libs/spdlog does not require the specific version of dev-libs/libfmt-9.1.0-r2, did you make sure that dev-libs/libfmt was merged before dev-libs/spdlog?

Can you run "equery files dev-libs/libfmt" and post the output?
Comment 9 hangint3n 2024-05-15 00:18:29 UTC
Yes I did emerge libfmt first.



[13:01:48 hangint3n]$ equery files dev-libs/libfmt
 * Searching for libfmt in dev-libs ...
 * Contents of dev-libs/libfmt-9.1.0-r2:
/usr
/usr/include
/usr/include/fmt
/usr/include/fmt/args.h
/usr/include/fmt/chrono.h
/usr/include/fmt/color.h
/usr/include/fmt/compile.h
/usr/include/fmt/core.h
/usr/include/fmt/format-inl.h
/usr/include/fmt/format.h
/usr/include/fmt/os.h
/usr/include/fmt/ostream.h
/usr/include/fmt/printf.h
/usr/include/fmt/ranges.h
/usr/include/fmt/std.h
/usr/include/fmt/xchar.h
/usr/lib64
/usr/lib64/cmake
/usr/lib64/cmake/fmt
/usr/lib64/cmake/fmt/fmt-config-version.cmake
/usr/lib64/cmake/fmt/fmt-config.cmake
/usr/lib64/cmake/fmt/fmt-targets-relwithdebinfo.cmake
/usr/lib64/cmake/fmt/fmt-targets.cmake
/usr/lib64/libfmt.so -> libfmt.so.9
/usr/lib64/libfmt.so.9 -> libfmt.so.9.1.0
/usr/lib64/libfmt.so.9.1.0
/usr/lib64/pkgconfig
/usr/lib64/pkgconfig/fmt.pc
/usr/share
/usr/share/doc
/usr/share/doc/libfmt-9.1.0-r2
/usr/share/doc/libfmt-9.1.0-r2/README.rst.bz2
Comment 10 GoGoOtaku 2024-05-15 06:52:15 UTC
I think I found it.

For me spdlog got pulled in by mangohud. In the mangohud ebuild it got pulled in with "=dev-libs/spdlog-1.13.0*[${MULTILIB_USEDEP}]"

According to your log it fails while trying to build abi_x86_32. So I guess something similar is going on, on your system.

However spdlog does not propagate multilib to libfmt but just pulls it in with ">=dev-libs/libfmt-8.0.0:=".

It should be something more like ">=dev-libs/libfmt-9.1.0-r2 [${MULTILIB_USEDEP}]"


The reason why just upgrading worked for me is because I have abi_x86_32 enabled globally (not the best practice, I know).

As a quick fix it's not USE="multilib" but USE="abi_x86_32"
Comment 11 hangint3n 2024-05-15 14:56:13 UTC
(In reply to GoGoOtaku from comment #10)
> I think I found it.
> 
> For me spdlog got pulled in by mangohud. In the mangohud ebuild it got
> pulled in with "=dev-libs/spdlog-1.13.0*[${MULTILIB_USEDEP}]"
> 
> According to your log it fails while trying to build abi_x86_32. So I guess
> something similar is going on, on your system.
> 
> However spdlog does not propagate multilib to libfmt but just pulls it in
> with ">=dev-libs/libfmt-8.0.0:=".
> 
> It should be something more like ">=dev-libs/libfmt-9.1.0-r2
> [${MULTILIB_USEDEP}]"
> 
> 
> The reason why just upgrading worked for me is because I have abi_x86_32
> enabled globally (not the best practice, I know).
> 
> As a quick fix it's not USE="multilib" but USE="abi_x86_32"

So I used the USE="abi_x86_32 for libfmt-9.1.0-r2 and that worked. 

It doesn't fix the underlying problem but at least it is a work around.
Comment 12 Larry the Git Cow gentoo-dev 2024-05-16 03:11:38 UTC
The bug has been closed via 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(-)