Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] dev-python gevent-23.9.1 package 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
gemtoo
n00b
n00b


Joined: 07 Apr 2024
Posts: 2

PostPosted: Sun Apr 07, 2024 5:34 pm    Post subject: [SOLVED] dev-python gevent-23.9.1 package fails to compile Reply with quote

I tried to emerge dev-python/gevent-23.9.1 package, and it failed to compile, this is the build log:
(to be added)
What's the issue here? I tried to emerge older versions of the package and to change the USE flags, but I couldn't manage to build it. :(
Any help would be appreciated. Thanks!
Edit: I'm unsure how to add the build log, I tried making this thread twice but it's unviewable? I pasted it here.


Last edited by gemtoo on Sun Apr 07, 2024 6:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30966
Location: here

PostPosted: Sun Apr 07, 2024 5:52 pm    Post subject: Reply with quote

Code:
cc1: fatal error: src/gevent/_greenlet_primitives.c: No such file or directory
compilation terminated.
cc1: fatal error: src/gevent/_hub_primitives.c: No such file or directory
compilation terminated.
2024-04-07 18:30:28,045 root INFO building 'gevent._gevent_c_waiter' extension
2024-04-07 18:30:28,045 root INFO x86_64-pc-linux-gnu-gcc -Wsign-compare -DNDEBUG -march=native -O2 -pipe -fPIC -DCYTHON_FAST_THREAD_STATE=0 -I/usr/include/python3.11 -I/usr/include/python3.11 -I/var/tmp/portage/dev-python/gevent-23.9.1/work/gevent-23.9.1/deps -Isrc/gevent -Isrc/gevent/libev -Isrc/gevent/resolver -I. -I/usr/include/python3.11 -c src/gevent/_waiter.c -o /var/tmp/portage/dev-python/gevent-23.9.1/work/gevent-23.9.1-python3_11/build/temp.linux-x86_64-cpython-311/src/gevent/_waiter.o
2024-04-07 18:30:28,045 root INFO building 'gevent._gevent_c_hub_local' extension
2024-04-07 18:30:28,046 root INFO x86_64-pc-linux-gnu-gcc -Wsign-compare -DNDEBUG -march=native -O2 -pipe -fPIC -DCYTHON_FAST_THREAD_STATE=0 -I/usr/include/python3.11 -I/usr/include/python3.11 -I/var/tmp/portage/dev-python/gevent-23.9.1/work/gevent-23.9.1/deps -Isrc/gevent -Isrc/gevent/libev -Isrc/gevent/resolver -I. -I/usr/include/python3.11 -c src/gevent/_hub_local.c -o /var/tmp/portage/dev-python/gevent-23.9.1/work/gevent-23.9.1-python3_11/build/temp.linux-x86_64-cpython-311/src/gevent/_hub_local.o
cc1: fatal error: src/gevent/libev/callbacks.c: No such file or directory
compilation terminated.
2024-04-07 18:30:28,055 root INFO building 'gevent._gevent_cgreenlet' extension
2024-04-07 18:30:28,055 root INFO x86_64-pc-linux-gnu-gcc -Wsign-compare -DNDEBUG -march=native -O2 -pipe -fPIC -DCYTHON_FAST_THREAD_STATE=0 -I/usr/include/python3.11 -I/usr/include/python3.11 -I/var/tmp/portage/dev-python/gevent-23.9.1/work/gevent-23.9.1/deps -Isrc/gevent -Isrc/gevent/libev -Isrc/gevent/resolver -I. -I/usr/include/python3.11 -c src/gevent/greenlet.c -o /var/tmp/portage/dev-python/gevent-23.9.1/work/gevent-23.9.1-python3_11/build/temp.linux-x86_64-cpython-311/src/gevent/greenlet.o
cc1: fatal error: src/gevent/_waiter.c: No such file or directory
compilation terminated.
cc1: fatal error: src/gevent/_hub_local.c: No such file or directory
compilation terminated.

It's a know bug.
Try to compile with MAKEOPTS="-j1".
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
gemtoo
n00b
n00b


Joined: 07 Apr 2024
Posts: 2

PostPosted: Sun Apr 07, 2024 6:26 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Try to compile with MAKEOPTS="-j1".

Thank you so much, this worked for me. :D
I'll be sure to remember this tip in case something similar happens again.
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