Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 856715

Summary: dev-util/bear-3.0.19 - /.../core.h: error: static assertion failed: Cannot format an argument. To make type T formattable provide
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Georgy Yakovlev <gyakovlev>
Status: RESOLVED FIXED    
Severity: normal CC: dan, dschridde+gentoobugs, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/rizsotto/Bear/issues/471
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 856748    
Attachments: emerge-info.txt
dev-util:bear-3.0.19:20220706-134817.log
emerge-history.txt.bz2
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-07-06 17:04:22 UTC
too long lines were shrinked:

/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/std_function.h:348:9:   required from struct std::function<void(const flags::Arguments&)>::_Callable<ps::ApplicationFromArgs::command(int, const char**, const char**) const::<lambda(const auto:8&)>, ps::ApplicationFromArgs::command(int, co
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/std_function.h:353:8:   required by substitution of template<class _Res, class ... _ArgTypes> template<class _Cond, class _Tp> using _Requires = std::__enable_if_t<_Cond::value, _Tp> [with _Cond = std::function<void(const flags::Arguments&
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/std_function.h:434:9:   required by substitution of template<class _Functor, class _Constraints> std::function<void(const flags::Arguments&)>::function(_Functor&&) [with _Functor = ps::ApplicationFromArgs::command(int, const char**, const 
/var/tmp/portage/dev-util/bear-3.0.19/work/Bear-3.0.19/source/libmain/source/ApplicationFromArgs.cc:38:24:   required from here
/usr/include/fmt/core.h:1733:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
 1733 |       formattable,
      |       ^~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-j4-20220703-100005

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
clang version 14.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.6
Python 3.10.5
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.62.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	OpenJDK 17.0.3_p7 [openjdk-17]
3)	Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
5)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
6)	Eclipse Temurin JRE 17.0.3_p7 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-17 
  [3]   openjdk-bin-8 
  [4]   openjdk-bin-11 
  [5]   openjdk-bin-17  system-vm
  [6]   openjdk-jre-bin-17 

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit e5757cf35ce81218ead84bd3d3ab499edc10c5aa
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Jul 6 12:31:47 2022 +0000

    2022-07-06 12:31:46 UTC

emerge -qpvO dev-util/bear
[ebuild   R   ] dev-util/bear-3.0.19  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2022-07-06 17:04:23 UTC
Created attachment 790331 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-07-06 17:04:24 UTC
Created attachment 790334 [details]
dev-util:bear-3.0.19:20220706-134817.log
Comment 3 Toralf Förster gentoo-dev 2022-07-06 17:04:25 UTC
Created attachment 790337 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-07-06 17:04:27 UTC
Created attachment 790340 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-07-06 17:04:28 UTC
Created attachment 790343 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-07-06 17:04:29 UTC
Created attachment 790346 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-07-06 17:04:30 UTC
Created attachment 790349 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-07-06 19:33:19 UTC
The bug has been closed via the following commit(s):

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

commit 64a86eb89ec5cb4dced5e6b4a5df7cc6c8044b85
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-07-06 19:33:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-06 19:33:07 +0000

    dev-util/bear: add libfmt version cap
    
    Closes: https://bugs.gentoo.org/856715
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/bear/bear-3.0.17.ebuild | 4 ++--
 dev-util/bear/bear-3.0.19.ebuild | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-09 00:42:24 UTC
*** Bug 856814 has been marked as a duplicate of this bug. ***
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-09 00:46:28 UTC
Reported upstream at https://github.com/rizsotto/Bear/issues/471.