Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906103 - gui-apps/waybar-0.9.17-r3 wont compile
Summary: gui-apps/waybar-0.9.17-r3 wont compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-11 01:45 UTC by ignamartinoli
Modified: 2023-05-11 02:14 UTC (History)
0 users

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


Attachments
build log (log,148.11 KB, text/plain)
2023-05-11 01:45 UTC, ignamartinoli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ignamartinoli 2023-05-11 01:45:33 UTC
Created attachment 861466 [details]
build log

Running Waybar returns an undefined symbol error.


sicro@sicro ~ $ waybar
waybar: symbol lookup error: waybar: undefined symbol: _ZN6spdlog7details7log_msgC1ENS_10source_locEN3fmt2v917basic_string_viewIcEENS_5level10level_enumES6_


My current version is 0.9.17.


sicro@sicro ~ $ waybar --version
Waybar v0.9.17


Apparently I have already compiled gui-apps/waybar-0.9.17-r3


sicro@sicro ~ $ emerge -p waybar

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 3.14 s.

[ebuild   R    ] gui-apps/waybar-0.9.17-r3


But when I try to compile it again I get a compilation error.


sicro@sicro ~ $ doas emerge -1 waybar
Checking if "nl_langinfo with _NL_TIME_WEEK_1STDAY, _NL_TIME_FIRST_WEEKDAY" : links: YES
Calculating dependencies... done!
Dependency resolution took 3.21 s.

>>> Verifying ebuild manifests
>>> Emerging (1 of 1) gui-apps/waybar-0.9.17-r3::gentoo
>>> Failed to emerge gui-apps/waybar-0.9.17-r3, Log file:
>>>  '/var/tmp/portage/gui-apps/waybar-0.9.17-r3/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 1.49, 1.49, 1.23


In all honesty, I tried reading the build log file and I couldn't understand a thing.
Since version 9999 yields an error too and there are no previous Ebuilds to revert to I flagged this as major.
Comment 1 ignamartinoli 2023-05-11 02:09:35 UTC
For some mysterious reason, after running
> emerge -c
and rebooting Waybar works and compiles flawlessly.

(I don't have the slightest idea why or how this happened)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-11 02:10:41 UTC
Sounds like spdlog got rebuilt after you did a world upgrade or similar and now it's OK.
Comment 3 ignamartinoli 2023-05-11 02:14:09 UTC
Oh right, I saw that package getting rebuilt, but I didn't thought it had any relation to Waybar so it didn't caught my attention.

Thanks for the explanation :)