Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830749 - gui-apps/waybar-0.9.8: fails to build with >=dev-libs/libfmt-8.1.0
Summary: gui-apps/waybar-0.9.8: fails to build with >=dev-libs/libfmt-8.1.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Jonas Toth
URL: https://github.com/Alexays/Waybar/iss...
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2022-01-08 01:50 UTC by Juan Pablo
Modified: 2022-01-26 01:09 UTC (History)
5 users (show)

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


Attachments
emerge --info (emerge_info,18.18 KB, text/plain)
2022-01-08 01:50 UTC, Juan Pablo
Details
Test, change in meson.build (test-change-clock.patch,249 bytes, patch)
2022-01-08 01:58 UTC, Juan Pablo
Details | Diff
patch posted in upstream (test-libfmt-specs.patch,605 bytes, patch)
2022-01-08 02:01 UTC, Juan Pablo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Juan Pablo 2022-01-08 01:50:13 UTC
Created attachment 761546 [details]
emerge --info

gui-apps/waybar-0.9.8 fail to emerge


libfmt 8.1.0 breaks compilation
https://github.com/Alexays/Waybar/issues/1379

Build log
https://dpaste.com/FED5A3KKD

https://forums.gentoo.org/viewtopic-t-1146655-highlight-.html
Comment 1 Juan Pablo 2022-01-08 01:58:35 UTC
Created attachment 761547 [details, diff]
Test, change in meson.build

Only a test to see if builds, and it does. Going to see if there is a real solution
Comment 2 Juan Pablo 2022-01-08 02:01:12 UTC
Created attachment 761548 [details, diff]
patch posted in upstream

https://github.com/mazunki/Waybar/commit/2301788a810b64be9361b15fbd8f510002c74cc4

Tested and builds ok.
Comment 3 Hosein 2022-01-09 07:34:47 UTC
Can confirm the bug.
Comment 4 Andrew Athalye 2022-01-09 18:47:04 UTC
(In reply to Juan Pablo from comment #2)
> Created attachment 761548 [details, diff] [details, diff]
> patch posted in upstream
> 
> https://github.com/mazunki/Waybar/commit/
> 2301788a810b64be9361b15fbd8f510002c74cc4
> 
> Tested and builds ok.

Tested on my end and builds ok as well.
Comment 5 Andrew Athalye 2022-01-09 18:52:00 UTC
(In reply to Andrew Athalye from comment #4)
> (In reply to Juan Pablo from comment #2)
> > Created attachment 761548 [details, diff] [details, diff] [details, diff]
> > patch posted in upstream
> > 
> > https://github.com/mazunki/Waybar/commit/
> > 2301788a810b64be9361b15fbd8f510002c74cc4
> > 
> > Tested and builds ok.
> 
> Tested on my end and builds ok as well.

Upon attempting to run it, however, I get an assertion failed at /usr/include/fmt/chrono.h:985, which checks whether the month contained in tm is within range.
Comment 6 Andrew Athalye 2022-01-09 19:11:14 UTC
(In reply to Andrew Athalye from comment #5)
> (In reply to Andrew Athalye from comment #4)
> > (In reply to Juan Pablo from comment #2)
> > > Created attachment 761548 [details, diff] [details, diff] [details, diff] [details, diff]
> > > patch posted in upstream
> > > 
> > > https://github.com/mazunki/Waybar/commit/
> > > 2301788a810b64be9361b15fbd8f510002c74cc4
> > > 
> > > Tested and builds ok.
> > 
> > Tested on my end and builds ok as well.
> 
> Upon attempting to run it, however, I get an assertion failed at
> /usr/include/fmt/chrono.h:985, which checks whether the month contained in
> tm is within range.

I was able to sidestep the issue by using commit 5d8bc354761269cf0c0cd45cf862247b1c66bbb6 from the master branch and making a small ebuild to reproducibly build that instead.
Comment 7 Jonas Toth 2022-01-15 17:32:39 UTC
Happens to me as well.

There is a PR for a version bump to 0.9.9 that resolves the issue.
https://github.com/gentoo/gentoo/pull/23808
Comment 8 Larry the Git Cow gentoo-dev 2022-01-26 01:09:56 UTC
The bug has been closed via the following commit(s):

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

commit a2527c38cc49edf1d3846d20ef1ae3ece3b2178d
Author:     Jonas Toth <gentoo@jonas-toth.eu>
AuthorDate: 2022-01-15 17:27:18 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-01-26 00:57:38 +0000

    gui-apps/waybar: version bump to 0.9.9
    
    Updates `waybar` to version 0.9.9. With it comes a fix for
    `dev-libs/fmt` compatibility.
    
    Closes: https://bugs.gentoo.org/830749
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Jonas Toth <gentoo@jonas-toth.eu>
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 gui-apps/waybar/Manifest            |  1 +
 gui-apps/waybar/waybar-0.9.9.ebuild | 71 +++++++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)