Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932863 - gui-wm/sway-9999: build fails to find gui-libs/wlroots-9999 package
Summary: gui-wm/sway-9999: build fails to find gui-libs/wlroots-9999 package
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-28 04:40 UTC by Esad Katmer
Modified: 2024-05-28 19:47 UTC (History)
5 users (show)

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


Attachments
emerge --info (emerge--info.txt,14.53 KB, text/plain)
2024-05-28 04:40 UTC, Esad Katmer
Details
build.log (build.log,25.68 KB, text/x-log)
2024-05-28 04:41 UTC, Esad Katmer
Details
meson-log.txt (meson-log.txt,6.58 KB, text/plain)
2024-05-28 04:41 UTC, Esad Katmer
Details

Note You need to log in before you can comment on or make changes to this bug.
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.