As per: https://github.com/swaywm/sway/issues/2931 sway should depend on git at build time. (fails to build without it) Reproducible: Always Steps to Reproduce: unmerge git emerge sway
Perhaps you can replace that git call with $PV?
No, Sway should not depend on git (only v9999 should, and it already depends on it). This happens only with `sway-1.0_rc1` because the ebuild author forgot to pass the `sway-version` parameter to meson. There is this PR stuck on github by 11 days with the correct ebuild: https://github.com/gentoo/gentoo/pull/10932
I'm rebasing the PR over the work by Matthew Thode to fix this (and other) issues.
I've seen now that even sway-1.0_rc1 passes the `sway-version` param to meson, so it should work even without git. Arnauld please, can you provide build log of sway-1.0_rc1 without git installed? Se this to enable build logs: https://wiki.gentoo.org/wiki/Portage_log#Build_logs
Just read your message, Niccolo, sorry for the delay. that's from portage rc2 ebuild, but it should do? https://0x0.st/zz3f.log
Changed the title to reflect ebuild its new location in gui-wm. Version 1.0_rc4 is still affected.
I'd like a build log with the error with latest (currently rc4).
https://0x0.st/z-F2.txt this should do?
yep, that works, but can you try with rc4 (iirc the dep was removed upstream in rc3/4)
Sorry, I compared the log with previous one and uploaded the wrong one... https://0x0.st/z-Fn.txt ...still happening though.
ok, upstream said meson bug, can you try updating meson (0.49.2)?
It works indeed with meson 0.49.2... you deserve praises for your concern.
*** Bug 682040 has been marked as a duplicate of this bug. ***