Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sway fain as configure phase despite seemingly ok wlroot dep
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jasu
n00b
n00b


Joined: 23 May 2022
Posts: 61

PostPosted: Mon Jul 01, 2024 8:32 am    Post subject: Sway fain as configure phase despite seemingly ok wlroot dep Reply with quote

Hi,

I try to emerge sway but it fails at configure phase because of unmet wlroots dependency:
Code:

Dependency wlroots found: NO found 0.18.0-dev but need: '<0.18.0' ; matched: '>=0.17.0'


However it seems that I have 0.17.3-r1 installed:
Code:

[?] gui-libs/wlroots
     Available versions:  0.14.0-r2(0/14) 0.14.1-r1(0/14) 0.15.1(0/15) 0.15.1-r1(0/15) 0.16.2(0/16) 0.16.2-r1(0/16) **9999(0/9999)*l {X +drm +libinput liftoff +session tinywl vulkan x11-backend xcb-errors}
     Installed versions:  0.17.3-r1(0/17)(09:35:16 AM 07/01/2024)(X drm libinput session vulkan x11-backend -liftoff -tinywl -xcb-errors)
     Homepage:            https://gitlab.freedesktop.org/wlroots/wlroots
     Description:         Pluggable, composable, unopinionated modules for building a Wayland compositor


Ideas where to look?

Edit: full build log https://bpa.st/WKWQ
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31257
Location: here

PostPosted: Mon Jul 01, 2024 8:40 am    Post subject: Reply with quote

Code:
meson.build:47: ERROR:Dependency lookup for wlroots with method 'pkgconfig' failed: Invalid version, need 'wlroots' ['<0.18.0'] found '0.18.0-dev'.

Did you install a wlroots outside of portage?
Can you post also /var/tmp/portage/gui-wm/sway-1.9-r1/work/sway-1.9-build/meson-logs/meson-log.txt?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
jasu
n00b
n00b


Joined: 23 May 2022
Posts: 61

PostPosted: Mon Jul 01, 2024 9:12 am    Post subject: Reply with quote

I can't recall but now that you mentioned, I might have installed it outside portage when I was messing with Hyprland.
In any case here is the log: https://bpa.st/LDNA
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31257
Location: here

PostPosted: Mon Jul 01, 2024 10:43 am    Post subject: Reply with quote

What does the /usr/bin/x86_64-pc-linux-gnu-pkg-config --path wlroots command return?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
jasu
n00b
n00b


Joined: 23 May 2022
Posts: 61

PostPosted: Mon Jul 01, 2024 11:45 am    Post subject: Reply with quote

Here:
Code:
/usr/bin/x86_64-pc-linux-gnu-pkg-config --path wlroots

/usr/lib64/pkgconfig/wlroots.pc
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31257
Location: here

PostPosted: Mon Jul 01, 2024 11:53 am    Post subject: Reply with quote

Can you post also the /usr/lib64/pkgconfig/wlroots.pc file content?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
jasu
n00b
n00b


Joined: 23 May 2022
Posts: 61

PostPosted: Mon Jul 01, 2024 12:07 pm    Post subject: Reply with quote

Here: https://bpa.st/SMRA
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6145
Location: Dallas area

PostPosted: Mon Jul 01, 2024 12:25 pm    Post subject: Reply with quote

what does "ls -l /usr/lib64/libwlroots*" return
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
jasu
n00b
n00b


Joined: 23 May 2022
Posts: 61

PostPosted: Mon Jul 01, 2024 12:33 pm    Post subject: Reply with quote

Code:

ls -l /usr/lib64/libwlroots*

-rw-r--r-- 1 root root 2889216 Jun 30 22:11 /usr/lib64/libwlroots.a
lrwxrwxrwx 1 root root      16 Jul  1 09:35 /usr/lib64/libwlroots.so -> libwlroots.so.12
-rwxr-xr-x 1 root root 1178168 Jul  1 09:35 /usr/lib64/libwlroots.so.12

Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum