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: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: David
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-06 17:25 UTC by Toralf Förster
Modified: 2020-07-09 16:24 UTC (History)
1 user (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.