View previous topic :: View next topic |
Author |
Message |
jasu n00b
Joined: 23 May 2022 Posts: 61
|
Posted: Sun Jun 30, 2024 8:02 pm Post subject: Problems with Ninja and compiling |
|
|
Hi,
I am updating a machine that still uses deprecated profile. I am updating the packages before updating the profile but wlroots fail to compile.
Code: |
* Messages for package gui-libs/wlroots-0.17.3-r1:
* ERROR: gui-libs/wlroots-0.17.3-r1::gentoo failed (compile phase):
* ninja -v -j8 -l0 failed
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 2714: Called meson_src_compile
* environment, line 1971: Called eninja
* environment, line 1395: Called die
* The specific snippet of code:
* "$@" || die -n "${*} failed"
*
* If you need support, post the output of `emerge --info '=gui-libs/wlroots-0.17.3-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=gui-libs/wlroots-0.17.3-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/gui-libs/wlroots-0.17.3-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/gui-libs/wlroots-0.17.3-r1/temp/environment'.
* Working directory: '/var/tmp/portage/gui-libs/wlroots-0.17.3-r1/work/wlroots-0.17.3-build'
* S: '/var/tmp/portage/gui-libs/wlroots-0.17.3-r1/work/wlroots-0.17.3'
|
Build log is here: https://bpa.st/TE3Q
Any help would be greatly appreciated. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22684
|
Posted: Sun Jun 30, 2024 10:13 pm Post subject: Re: Problems with Ninja and compiling |
|
|
jasu wrote: | I am updating a machine that still uses deprecated profile. I am updating the packages before updating the profile but wlroots fail to compile. |
https://bpa.st/TE3Q: | [01m[K../wlroots-0.17.3/backend/drm/libliftoff.c:[m[K In function ‘[01m[Kcrtc_commit[m[K’:
[01m[K../wlroots-0.17.3/backend/drm/libliftoff.c:439:19:[m[K [01;31m[Kerror: [m[Ktoo few arguments to function ‘[01m[Kliftoff_output_apply[m[K’
439 | int ret = [01;31m[Kliftoff_output_apply[m[K(crtc->liftoff, req, flags);
| [01;31m[K^~~~~~~~~~~~~~~~~~~~[m[K
In file included from [01m[K../wlroots-0.17.3/backend/drm/libliftoff.c:3[m[K:
[01m[K/usr/include/libliftoff.h:85:1:[m[K [01;36m[Knote: [m[Kdeclared here | Your installed libliftoff is not compatible with this version of wlroots. What is the output of emerge --pretend --verbose dev-libs/libliftoff? |
|
Back to top |
|
|
jasu n00b
Joined: 23 May 2022 Posts: 61
|
Posted: Sun Jun 30, 2024 10:48 pm Post subject: |
|
|
Ah okay. I don't think that I have done anything special related to those packages. Though now I do remember that I had same problem with sway at some point but I didn't bother to look into it at that point.
Here is the output:
Code: |
These are the packages that would be merged, in order:
Dependency resolution took 1.13 s (backtrack: 0/20).
[ebuild R ~] dev-libs/libliftoff-0.5.0::gentoo 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB
|
|
|
Back to top |
|
|
jasu n00b
Joined: 23 May 2022 Posts: 61
|
Posted: Mon Jul 01, 2024 6:50 am Post subject: |
|
|
Downgraded libliftoff and everything works perfectly again. Thanks for the help! |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22684
|
|
Back to top |
|
|
|