Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mate-session-manager-1.22.0 failed to build
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
mgnut57
Apprentice
Apprentice


Joined: 12 Jan 2008
Posts: 195

PostPosted: Tue Mar 19, 2019 3:10 pm    Post subject: mate-session-manager-1.22.0 failed to build Reply with quote

Any ideas how to fix?
Code:


mate_session-gsm-systemd.o: In function `gsm_systemd_is_last_session_for_user':
gsm-systemd.c:(.text+0x8f2): undefined reference to `sd_pid_get_session'
gsm-systemd.c:(.text+0x931): undefined reference to `sd_uid_get_sessions'
gsm-systemd.c:(.text+0x9c1): undefined reference to `sd_session_get_state'
gsm-systemd.c:(.text+0x9f3): undefined reference to `sd_session_get_type'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:650: mate-session] Error 1
make[3]: Leaving directory '/var/tmp/portage/mate-base/mate-session-manager-1.22.0/work/mate-session-manager-1.22.0/mate-session'
make[2]: *** [Makefile:542: all] Error 2
make[2]: Leaving directory '/var/tmp/portage/mate-base/mate-session-manager-1.22.0/work/mate-session-manager-1.22.0/mate-session'
make[1]: *** [Makefile:499: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/mate-base/mate-session-manager-1.22.0/work/mate-session-manager-1.22.0'
make: *** [Makefile:431: all] Error 2
 * ERROR: mate-base/mate-session-manager-1.22.0::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=mate-base/mate-session-manager-1.22.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=mate-base/mate-session-manager-1.22.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/mate-base/mate-session-manager-1.22.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/mate-base/mate-session-manager-1.22.0/temp/environment'.
 * Working directory: '/var/tmp/portage/mate-base/mate-session-manager-1.22.0/work/mate-session-manager-1.22.0'
 * S: '/var/tmp/portage/mate-base/mate-session-manager-1.22.0/work/mate-session-manager-1.22.0'

>>> Failed to emerge mate-base/mate-session-manager-1.22.0, Log file:

>>>  '/var/tmp/portage/mate-base/mate-session-manager-1.22.0/temp/build.log'
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22304
Location: here

PostPosted: Tue Mar 19, 2019 3:18 pm    Post subject: Reply with quote

You use systemd or OpenRC?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mgnut57
Apprentice
Apprentice


Joined: 12 Jan 2008
Posts: 195

PostPosted: Tue Mar 19, 2019 4:08 pm    Post subject: Reply with quote

fedeliallalinea wrote:
You use systemd or OpenRC?


OpenRC.

I did notice the possible reference to systemd and was a little surprised by this.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22304
Location: here

PostPosted: Tue Mar 19, 2019 4:14 pm    Post subject: Reply with quote

Try the patch proposed here.
If the patch works open also a new bug
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mgnut57
Apprentice
Apprentice


Joined: 12 Jan 2008
Posts: 195

PostPosted: Tue Mar 19, 2019 4:47 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Try the patch proposed here.
If the patch works open also a new bug


What's the easiest way to apply the patch in Portage?
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7251
Location: Saint Amant, Acadiana

PostPosted: Tue Mar 19, 2019 4:55 pm    Post subject: Reply with quote

Easiest way is to follow Gentoo wiki directions: https://wiki.gentoo.org/wiki//etc/portage/patches
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
mgnut57
Apprentice
Apprentice


Joined: 12 Jan 2008
Posts: 195

PostPosted: Wed Mar 20, 2019 2:41 am    Post subject: Reply with quote

fedeliallalinea wrote:
Try the patch proposed here.
If the patch works open also a new bug


It worked. That is to say, it built.

I just went to submit a bug, but I see that it has already been discovered and fixed by others.
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