Summary: | net-misc/gerbera-1.9.2 - /.../core.h: error: static assertion failed: Cannot format an argument. To make type T formattable provid | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Christian Tietz <christian.tietz> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | leonchik1976, proxy-maint |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tar.bz2 logs.tar.bz2 net-misc:gerbera-1.9.2:20220108-074819.log temp.tar.bz2 Fix compilation problem |
Description
Toralf Förster
![]() Created attachment 761563 [details]
emerge-info.txt
Created attachment 761564 [details]
emerge-history.txt
Created attachment 761565 [details]
environment
Created attachment 761566 [details]
etc.portage.tar.bz2
Created attachment 761567 [details]
logs.tar.bz2
Created attachment 761568 [details]
net-misc:gerbera-1.9.2:20220108-074819.log
Created attachment 761569 [details]
temp.tar.bz2
Created attachment 761599 [details, diff]
Fix compilation problem
As I understand, it just tries to print (using exception mechanism) a value of the enum ScanMode, which does not provide an fmt implementation (jeezz..., this modern C++... instead of just printing 0 for Timed or 1 for INotify...). This patch solves the problem with compilation just removing the actual value from the format string, but it does not solve the issue.
I believe that this commit to upstream's repository should fix the error: https://github.com/gerbera/gerbera/commit/82d84ac5e62c23e717198fc7b2ef190ff95e70d1 The fix is contanined in the newly released Gerbera 1.10.0. (In reply to Guillermo D. H. from comment #9) > I believe that this commit to upstream's repository should fix the error: > > https://github.com/gerbera/gerbera/commit/ > 82d84ac5e62c23e717198fc7b2ef190ff95e70d1 > > The fix is contanined in the newly released Gerbera 1.10.0. Thanks! (In reply to Vadim Dyadkin from comment #8) > Created attachment 761599 [details, diff] [details, diff] > Fix compilation problem > > As I understand, it just tries to print (using exception mechanism) a value > of the enum ScanMode, which does not provide an fmt implementation > (jeezz..., this modern C++... instead of just printing 0 for Timed or 1 for > INotify...). This patch solves the problem with compilation just removing > the actual value from the format string, but it does not solve the issue. Thank you. |