Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]Gnome boxes fails to 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
JustCauseWhyNot
Tux's lil' helper
Tux's lil' helper


Joined: 07 Dec 2021
Posts: 147

PostPosted: Wed Sep 11, 2024 7:18 pm    Post subject: [Solved]Gnome boxes fails to compile Reply with quote

emerge.info, and build.log. I've read the log, but I can't tell why it's failing. Any help greatly appreciated.

Last edited by JustCauseWhyNot on Wed Sep 11, 2024 8:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22414

PostPosted: Wed Sep 11, 2024 7:50 pm    Post subject: Reply with quote

Code:
src/gnome-boxes.p/libvirt-broker.c:1056:2: error: incompatible pointer to integer conversion returning 'void *' from a function with result type 'gboolean' (aka 'int') [-Wint-conversion]
 1056 |         g_return_val_if_fail (_data_->_tmp0_ != NULL, NULL);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
That second NULL should probably be 0 or a false-like constant. Also, this looks like a bug, which should be fixed upstream.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1870

PostPosted: Wed Sep 11, 2024 8:03 pm    Post subject: Reply with quote

See bug 936516.
Back to top
View user's profile Send private message
JustCauseWhyNot
Tux's lil' helper
Tux's lil' helper


Joined: 07 Dec 2021
Posts: 147

PostPosted: Wed Sep 11, 2024 8:56 pm    Post subject: Reply with quote

I did see that bug, but I didn't know if it was related since it when I searched I failed to find it. I was just searching for
Code:
if (if (g_once_init_enter (&boxes_libvirt_machine_type_id__once))
Back to top
View user's profile Send private message
imesg
Guru
Guru


Joined: 12 Jul 2002
Posts: 451

PostPosted: Mon Sep 16, 2024 1:12 pm    Post subject: says SOLVED but how Reply with quote

Subject line says 'SOLVED'. So what is the solution?

Thanks
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