Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with Ninja and compiling
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: Sun Jun 30, 2024 8:02 pm    Post subject: Problems with Ninja and compiling Reply with quote

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
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22684

PostPosted: Sun Jun 30, 2024 10:13 pm    Post subject: Re: Problems with Ninja and compiling Reply with quote

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:
../wlroots-0.17.3/backend/drm/libliftoff.c: In function ‘crtc_commit’:
../wlroots-0.17.3/backend/drm/libliftoff.c:439:19: error: too few arguments to function ‘liftoff_output_apply’
  439 |         int ret = liftoff_output_apply(crtc->liftoff, req, flags);
      |                   ^~~~~~~~~~~~~~~~~~~~
In file included from ../wlroots-0.17.3/backend/drm/libliftoff.c:3:
/usr/include/libliftoff.h:85:1: note: declared 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
View user's profile Send private message
jasu
n00b
n00b


Joined: 23 May 2022
Posts: 61

PostPosted: Sun Jun 30, 2024 10:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
jasu
n00b
n00b


Joined: 23 May 2022
Posts: 61

PostPosted: Mon Jul 01, 2024 6:50 am    Post subject: Reply with quote

Downgraded libliftoff and everything works perfectly again. Thanks for the help!
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22684

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

Please file a bug to have the ebuild's dependency information adjusted so that Portage will not allow users to try this known-broken configuration. This looks related to gui-wm/hyprland-0.40.0-r1 fails to compile: libliftoff.c:410:27: error: too few arguments to function liftoff_output_apply. As I read that bug, hyprland bundled a copy of wlroots that was incompatible with the bad version of libliftoff.
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