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

Bug 932863

Summary: gui-wm/sway-9999: build fails to find gui-libs/wlroots-9999 package
Product: Gentoo Linux Reporter: Esad Katmer <esadkatmer>
Component: Current packagesAssignee: Matthew Thode ( prometheanfire ) <prometheanfire>
Status: RESOLVED UPSTREAM    
Severity: normal CC: arthurzam, esadkatmer, leohdz172, speedjack95, vimproved
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/swaywm/sway/pull/8187
https://github.com/swaywm/sway/pull/8070
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log
meson-log.txt

Description Esad Katmer 2024-05-28 04:40:14 UTC
Meson cannot find wlroots.pc in PKG_CONFIG_PATH

meson-log.txt:

  Package 'wlroots' not found
  ...
  Run-time dependency wlroots found: NO (tried pkgconfig and cmake)

I fixed this by symlinking.

   ln -sf /usr/lib64/pkgconfig/wlroots-0.18.pc /usr/lib64/pkgconfig/wlroots.pc


Reproducible: Always

Steps to Reproduce:
1. emerge -1q '=gui-libs/wlroots-9999'
2. emerge -1q '=gui-wm/sway-9999'
Actual Results:  
Configuration fails.

Expected Results:  
Build succeded
Comment 1 Esad Katmer 2024-05-28 04:40:53 UTC
Created attachment 894529 [details]
emerge --info
Comment 2 Esad Katmer 2024-05-28 04:41:14 UTC
Created attachment 894530 [details]
build.log
Comment 3 Esad Katmer 2024-05-28 04:41:39 UTC
Created attachment 894531 [details]
meson-log.txt
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-28 04:42:29 UTC
Yes, consumers will have to adapt. Not much we can really do about this - it's breakage in wlroots-9999 (but for the best).

You'll need to report it upstream to sway but I think they're already aware given who maintains it.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-28 04:46:21 UTC
https://github.com/swaywm/sway/pull/8187 indeed.