Closed nwg-piotr closed 1 year ago
Pkg-config binary for 1 is cached.
Determining dependency 'wlroots' with pkg-config executable '/sbin/pkg-config'
env[PKG_CONFIG_PATH]: /usr/lib/wlroots0.15/pkgconfig
Called `/sbin/pkg-config --modversion wlroots` -> 0
stdout:
0.15.1
Where does this wlroots0.15 come from, and why is it in the $PKG_CONFIG_PATH before you ran meson?
Probably from some old sway local build. Delete it?
You'll need to install / upgrade wlroots to 0.16.2. There should be a wlroots0.15 package for packages that still require the old version :)
I'll check at home. Honestly, I don't remember installing wlroots0.15.
I'll check at home. Honestly, I don't remember installing wlroots0.15.
wlroots0.15 is only for outdated packages like cage
that still requires 0.15. Shouldn't interfere with the regular one. 0.16.2 is needed :)
As I said, I have 0.16.2 installed.
Had same issue. I had both wlroots0.15
and wlroots
installed.
Solved by forcefully removing wlroot0.15
and then updating swayfx.
yay -R --assume-installed wlroots0.15=0.15.1 --assume-installed libwlroots.so=10-64 wlroots0.15 && yay -S swayfx
Something in the build process is preferring wlroots0.15
over wlroots
, even if both are installed.
I'd imagine it's something about line 56 in the PKGBUILD, but I haven't the slightest clue about how makepkg works.
export PKG_CONFIG_PATH='/usr/lib/wlroots0.15/pkgconfig'
I'd imagine it's something about line 56 in the PKGBUILD,
I tried changing it to 0.16, to no avail.
Will try your solution tonight. Thank you!
I'd imagine it's something about line 56 in the PKGBUILD, but I haven't the slightest clue about how makepkg works.
export PKG_CONFIG_PATH='/usr/lib/wlroots0.15/pkgconfig'
Good catch! That's exactly it. Must've missed it. Thanks :)
I both used the yay command adviced by @tyush, and removed line 56. Now I end up in this.
@nwg-piotr Must be one of your dependencies that's messing with the build. You're running Arch right?
Are you able to build regular sway?
Clone https://github.com/archlinux/svntogit-community/tree/packages/sway
and run makepkg -si
in the PKGBUILD directory
$ git clone https://github.com/archlinux/svntogit-community/tree/packages/sway
Cloning into 'sway'...
fatal: repository 'https://github.com/archlinux/svntogit-community/tree/packages/sway/' not found
However, I managed to build with wlroots 0.16.2 cloned as a subproject.
$ git clone https://github.com/archlinux/svntogit-community/tree/packages/sway Cloning into 'sway'... fatal: repository 'https://github.com/archlinux/svntogit-community/tree/packages/sway/' not found
That's the url to the git repo 😂
However, I managed to build with wlroots 0.16.2 cloned as a subproject.
Strange
The aur package should be updated now :)
The aur package should be updated now :)
On my machine it still doesn't install:
Surely it must be something wrong w/ my environment, as on the other laptop (clean Arch + nwg-shell install) everything goes well.
Closing as this looks like a problem with my machine, not the software itself.
I've just installed the latest AUR package on my testing laptop and it went well. On my main machine meson build ends up in:
wlroots version on the system is 0.16.2. What am I missing?
meson-log.txt