Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] dev-lisp/sbcl-1.3.21 compile error
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
Whalehunter
n00b
n00b


Joined: 17 Oct 2017
Posts: 3
Location: Delft, Netherlands

PostPosted: Thu Jun 14, 2018 12:39 am    Post subject: [solved] dev-lisp/sbcl-1.3.21 compile error Reply with quote

Hello,

Is this a bug I should report, or is this something I did wrong? I updated and whatnot. Also tried version 1.3.11, but I received the same error.
Code:

x86-64-arch.c: In function 'context_eflags_addr':
x86-64-arch.c:141:44: error: dereferencing pointer to incomplete type 'os_context_t {aka struct ucontext}'
     return (os_context_register_t*)&context->uc_mcontext.gregs[17];
                                            ^~
x86-64-arch.c:155:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
make: *** [<builtin>: x86-64-arch.o] Error 1


emerge --info '=dev-lisp/sbcl-1.3.21::gentoo'
https://pastebin.com/8RkwhqQj
emerge -pqv '=dev-lisp/sbcl-1.3.21::gentoo'
[ebuild N ] dev-lisp/sbcl-1.3.21 USE="threads unicode zlib -debug -doc -pax_kernel -source"
Build log
https://pastebin.com/SQsppHrr

Thanks in advance for taking a look.


Last edited by Whalehunter on Tue Jun 19, 2018 12:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31094
Location: here

PostPosted: Thu Jun 14, 2018 6:02 am    Post subject: Reply with quote

Code:
x86-64-arch.c: In function 'context_eflags_addr':
x86-64-arch.c:141:44: error: dereferencing pointer to incomplete type 'os_context_t {aka struct ucontext}'
     return (os_context_register_t*)&context->uc_mcontext.gregs[17];
                                            ^~

Probably the problem is caused by glibc-2.26 because struct ucontext doesn't exist anymore.
You tried to unmask newer package version?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Whalehunter
n00b
n00b


Joined: 17 Oct 2017
Posts: 3
Location: Delft, Netherlands

PostPosted: Thu Jun 14, 2018 1:27 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Probably the problem is caused by glibc-2.26 because struct ucontext doesn't exist anymore.
You tried to unmask newer package version?


Wow, that was easy... Problem solved, thanks!

Steps I took were:
1. Unmask version (don't know if this was necessary)
2. Added =dev-lisp/sbcl-1.4.7 ~amd64 to package.keywords

No compilation errors.

Thanks for the help, didn't realize it would be this easy :)
Back to top
View user's profile Send private message
njsg
Tux's lil' helper
Tux's lil' helper


Joined: 17 Dec 2005
Posts: 88

PostPosted: Fri Jul 27, 2018 11:54 am    Post subject: Reply with quote

This is still not fixed; I filled a bug for it (662244).
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31094
Location: here

PostPosted: Fri Jul 27, 2018 12:00 pm    Post subject: Reply with quote

njsg wrote:
This is still not fixed; I filled a bug for it (662244).

Thanks when I posted I got confused and thought that the glib-2.26 were masked.
_________________
Questions are guaranteed in life; Answers aren't.
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