Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Caribou Won't Compile
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
cmcgregor
n00b
n00b


Joined: 09 May 2021
Posts: 4

PostPosted: Sun May 09, 2021 6:30 pm    Post subject: [SOLVED] Caribou Won't Compile Reply with quote

Everytime i try to compile Caribou it fails at the error

Quote:
/usr/bin/python3.9 -B ../tools/fix_gir.py _Caribou-1.0.gir > Caribou-1.0.gir
/usr/bin/g-ir-compiler --shared-library=libcaribou.so.0 -o Caribou-1.0.typelib Caribou-1.0.gir
Caribou-1.0.gir:In NullAdapter: error: Can't resolve type '_Caribou.DisplayAdapter' for field Caribou.NullAdapter.parent_instance
make[1]: *** [Makefile:1207: Caribou-1.0.typelib] Error 1


I've checked the forums and the internet and nothing at all. There's a bug report last month about it but no responses. I tried IRC and no one there even acknowledges my question so I thought I'd try here.

The package is app-accessibility/caribou-0.4.21-r3 running ~amd64. I've tried the stable version r2 but it has same error. Anyone know a fix or a way I can finish cinnamon without this package.

EDIT: Ok so installing Vala 0.50.7 and using

Code:
VALA_MAX_API_VERSION="0.50" emerge caribou


works and installs.


Last edited by cmcgregor on Sat May 15, 2021 2:46 pm; edited 3 times in total
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Sun May 09, 2021 6:41 pm    Post subject: Reply with quote

USE="-accessibility" in make.conf
maybe.......?
You are right its broken.Please file a bug report
Code:

aribou-1.0.gir:In NullAdapter: error: Can't resolve type '_Caribou.DisplayAdapter' for field Caribou.NullAdapter.parent_instance
make[1]: *** [Makefile:1207: Caribou-1.0.typelib] Error 1
make[1]: Leaving directory '/var/tmp/portage/portage/app-accessibility/caribou-0.4.21-r3/work/caribou-0.4.21/libcaribou'
make: *** [Makefile:474: all-recursive] Error 1
 * ERROR: app-accessibility/caribou-0.4.21-r3::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-accessibility/caribou-0.4.21-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-accessibility/caribou-0.4.21-r3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/portage/app-accessibility/caribou-0.4.21-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/portage/app-accessibility/caribou-0.4.21-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/portage/app-accessibility/caribou-0.4.21-r3/work/caribou-0.4.21'
 * S: '/var/tmp/portage/portage/app-accessibility/caribou-0.4.21-r3/work/caribou-0.4.21'

 * Messages for package app-accessibility/caribou-0.4.21-r3:

 * ERROR: app-accessibility/caribou-0.4.21-r3::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-accessibility/caribou-0.4.21-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-accessibility/caribou-0.4.21-r3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/portage/app-accessibility/caribou-0.4.21-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/portage/app-accessibility/caribou-0.4.21-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/portage/app-accessibility/caribou-0.4.21-r3/work/caribou-0.4.21'
 * S: '/var/tmp/portage/portage/app-accessibility/caribou-0.4.21-r3/work/caribou-0.4.21'

 * GNU info directory index is up-to-date.


_________________
:)
Back to top
View user's profile Send private message
cmcgregor
n00b
n00b


Joined: 09 May 2021
Posts: 4

PostPosted: Sun May 09, 2021 6:45 pm    Post subject: Reply with quote

There is a bug report on it about a month ago but no one has responded with any ideas. That's why I figured I'd try here on the forums, and I don't have accessibility in my use flags.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Sun May 09, 2021 6:50 pm    Post subject: Reply with quote

cmcgregor welcome to gentoo forum.
The package compile in a stable system the problem can be dev-libs/gobject-introspection-1.68, it also seems also dead upstream latest version is 4 years old
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Sun May 09, 2021 6:50 pm    Post subject: Reply with quote

Try this
Code:

echo "app-accessibility/caribou-0.4.21-r3" >> /etc/portage/profile/package.provided

and pray no others depend on its binaries.....
you are lucky
Code:

 eqd caribou
 * These packages depend on caribou:

null
_________________
:)
Back to top
View user's profile Send private message
cmcgregor
n00b
n00b


Joined: 09 May 2021
Posts: 4

PostPosted: Sun May 09, 2021 7:47 pm    Post subject: Reply with quote

fedeliallalinea wrote:
cmcgregor welcome to gentoo forum.
The package compile in a stable system the problem can be dev-libs/gobject-introspection-1.68, it also seems also dead upstream latest version is 4 years old


I tried to install the stable version of that but it won't let me. Too many packages were installed with the newer version.

alamahant wrote:
Try this
Code:

echo "app-accessibility/caribou-0.4.21-r3" >> /etc/portage/profile/package.provided

and pray no others depend on its binaries.....
you are lucky
Code:

 eqd caribou
 * These packages depend on caribou:

null


Did that and its gone. Hopefully Cinnamon runs without using it.

EDIT: Ok so got it all compiled but now cinnamon keeps running in fallback mode. It won't load. Thats the only package that didn't get installed, is it really that important.
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Mon May 10, 2021 10:24 am    Post subject: Reply with quote

I think it has nothing to do with caribou.
Maybe a display driver issue......
From the wiki
Code:

OpenRC Services
dbus, openrc-settingsd, elogind
Xorg server and Cinnamon need the dbus, openrc-settingsd and elogind services, make sure that they will be started at system boot time:

root #rc-update add dbus default
root #rc-update add openrc-settingsd default
root #rc-update add elogind boot
Next, start the services (there is no need to restart the system):

root #rc-service dbus start
root #rc-service openrc-settingsd start
root #rc-service elogind start

Moreover how do you start it?
Code:

Starting Cinnamon
When not using a login/display manager, make a .xinitrc file in the user's home directory, starting Cinnamon (D-bus will be launched too automatically):

FILE ~/.xinitrcCinnamon launch directive
exec cinnamon-session
Then to start Xorg and Cinnamon, execute startx after logging in:

user $startx
With a display manager follow the display manager instructions.



What does
Code:

emerge -cav caribou

say?
Also plz look inside

Code:

/etc/xdg/autostart

directory and check if there is any file about caribou, maybe
caribou.desktop
?
and delete the freaking disgusting thing
_________________
:)
Back to top
View user's profile Send private message
cmcgregor
n00b
n00b


Joined: 09 May 2021
Posts: 4

PostPosted: Mon May 10, 2021 6:54 pm    Post subject: Reply with quote

alamahant wrote:
I think it has nothing to do with caribou.
Maybe a display driver issue......
From the wiki
Code:

OpenRC Services
dbus, openrc-settingsd, elogind
Xorg server and Cinnamon need the dbus, openrc-settingsd and elogind services, make sure that they will be started at system boot time:

root #rc-update add dbus default
root #rc-update add openrc-settingsd default
root #rc-update add elogind boot
Next, start the services (there is no need to restart the system):

root #rc-service dbus start
root #rc-service openrc-settingsd start
root #rc-service elogind start


I use systemd and I don't think its a video card issue because I can run xfce4 and plasma without issues.

Quote:

Moreover how do you start it?
Code:

Starting Cinnamon
When not using a login/display manager, make a .xinitrc file in the user's home directory, starting Cinnamon (D-bus will be launched too automatically):

FILE ~/.xinitrcCinnamon launch directive
exec cinnamon-session
Then to start Xorg and Cinnamon, execute startx after logging in:

user $startx
With a display manager follow the display manager instructions.



I use sddm to launch my desktops, and xfce4 and plasma launch fine.

Quote:

What does
Code:

emerge -cav caribou

say?


It says
Code:
emerge -cav caribou
--- Couldn't find 'caribou' to depclean.
>>> No packages selected for removal by depclean


Quote:

Also plz look inside

Code:

/etc/xdg/autostart

directory and check if there is any file about caribou, maybe
caribou.desktop
?
and delete the freaking disgusting thing


I don't have any caribou files in /etc/xdg/autostart.

The only desktop that won't load for me is the one where 1 package won't compile. Not 100% sure if that's why but since other desktops work I can't see any other reason.
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