Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 731108 - dev-libs/spdlog-1.6.1 : /.../fmt_helper.h: error: fmt::internal has not been declared
Summary: dev-libs/spdlog-1.6.1 : /.../fmt_helper.h: error: fmt::internal has not been ...
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: https://github.com/gabime/spdlog/pull...
Whiteboard:
Keywords: PATCH
Depends on: 736784
Blocks:
  Show dependency tree
 
Reported: 2020-07-06 17:25 UTC by Toralf Förster
Modified: 2022-05-07 10:55 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.99 KB, text/plain)
2020-07-06 17:25 UTC, Toralf Förster
Details
dev-libs:spdlog-1.6.1:20200706-171853.log (dev-libs:spdlog-1.6.1:20200706-171853.log,6.18 KB, text/plain)
2020-07-06 17:25 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,249.53 KB, text/plain)
2020-07-06 17:25 UTC, Toralf Förster
Details
environment (environment,85.66 KB, text/plain)
2020-07-06 17:25 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,21.77 KB, application/x-bzip)
2020-07-06 17:25 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.09 KB, application/x-bzip)
2020-07-06 17:26 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.29 KB, application/x-bzip)
2020-07-06 17:26 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-07-06 17:25:14 UTC
                 from /var/tmp/portage/dev-libs/spdlog-1.6.1/work/spdlog-1.6.1/src/spdlog.cpp:13:
/var/tmp/portage/dev-libs/spdlog-1.6.1/work/spdlog-1.6.1/include/spdlog/details/fmt_helper.h: In function ‘unsigned int spdlog::details::fmt_helper::count_digits(T)’:
/var/tmp/portage/dev-libs/spdlog-1.6.1/work/spdlog-1.6.1/include/spdlog/details/fmt_helper.h:37:43: error: ‘fmt::internal’ has not been declared
   37 |     return static_cast<unsigned int>(fmt::internal::count_digits(static_cast<count_type>(n)));
      |                                           ^~~~~~~~
ninja: build stopped: subcommand failed.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-20200701-092333

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python3.6 (fallback)
  [5]   python2.7 (fallback)
  [6]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.44.1
  [2]   rust-1.44.1 *
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon 06 Jul 2020 05:05:23 PM UTC

emerge -qpvO dev-libs/spdlog
[ebuild   R   ] dev-libs/spdlog-1.6.1  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2020-07-06 17:25:21 UTC
Created attachment 648024 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-07-06 17:25:25 UTC
Created attachment 648026 [details]
dev-libs:spdlog-1.6.1:20200706-171853.log
Comment 3 Toralf Förster gentoo-dev 2020-07-06 17:25:31 UTC
Created attachment 648028 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-07-06 17:25:42 UTC
Created attachment 648030 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-07-06 17:25:53 UTC
Created attachment 648032 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-07-06 17:26:02 UTC
Created attachment 648034 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-07-06 17:26:08 UTC
Created attachment 648036 [details]
temp.tbz2
Comment 9 Matt Whitlock 2020-07-07 06:07:56 UTC
(In reply to foufou33 from comment #8)
> https://github.com/candrews/spdlog/commit/
> 22bee8128a4150ce37cf761ed9a609ad891848a6.patch seems to solve it

Kind of bad that spdlog is using a private API. Is there no way to get equivalent functionality using only the public API?
Comment 10 Gordon Pritchard 2020-07-09 16:24:03 UTC
The Original bug lists spdlog-1.6.1, build, tinderbox / unstable AMD64.

I encounter this same error, too, on a STABLE box, for version spdlog-1.5.0-r1.

I look forward to a stable ebuild appearing, so my production boxes continue.
Comment 11 Andreas Sturmlechner gentoo-dev 2020-08-11 13:44:05 UTC
(In reply to Gordon Pritchard from comment #10)
> I encounter this same error, too, on a STABLE box, for version
> spdlog-1.5.0-r1.

But dev-libs/libfmt-7.0.3 is not stable.
Comment 12 Craig Andrews gentoo-dev 2020-08-11 19:03:26 UTC
Requested stabilization of dev-libs/spdlog-1.7.0: bug 736782
Requested stabilization of dev-libs/libfmt-7.0.3: bug 736784