Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] ERROR: dev-lang/python-3.5.4-r1::gentoo failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
carlosmoran
n00b
n00b


Joined: 01 Mar 2018
Posts: 3

PostPosted: Thu Mar 01, 2018 7:23 pm    Post subject: [SOLVED] ERROR: dev-lang/python-3.5.4-r1::gentoo failed Reply with quote

Hi, I'm new with gentoo and I have this error when I run this command:

emerge --update --newuse --deep --with-bdeps=y @world

I get this output:

Code:
Python build finished successfully!
The necessary bits to build these optional modules were not found:
_tkinter              nis
To find the necessary bits, look in setup.py in detect_modules() for the module's name.

The following modules found by detect_modules() in setup.py, have been
built by the Makefile instead, as configured by the Setup files:
atexit                pwd                   time

Failed to build these modules:
_ssl


Following modules built successfully but were removed because they could not be imported:
_hashlib

running build_scripts
creating build/scripts-3.5
copying and adjusting /var/tmp/portage/dev-lang/python-3.5.4-r1/work/Python-3.5.4/Tools/scripts/pydoc3 -> build/scripts-3.5
copying and adjusting /var/tmp/portage/dev-lang/python-3.5.4-r1/work/Python-3.5.4/Tools/scripts/idle3 -> build/scripts-3.5
copying and adjusting /var/tmp/portage/dev-lang/python-3.5.4-r1/work/Python-3.5.4/Tools/scripts/2to3 -> build/scripts-3.5
copying and adjusting /var/tmp/portage/dev-lang/python-3.5.4-r1/work/Python-3.5.4/Tools/scripts/pyvenv -> build/scripts-3.5
changing mode of build/scripts-3.5/pydoc3 from 644 to 755
changing mode of build/scripts-3.5/idle3 from 644 to 755
changing mode of build/scripts-3.5/2to3 from 644 to 755
changing mode of build/scripts-3.5/pyvenv from 644 to 755
renaming build/scripts-3.5/pydoc3 to build/scripts-3.5/pydoc3.5
renaming build/scripts-3.5/idle3 to build/scripts-3.5/idle3.5
renaming build/scripts-3.5/2to3 to build/scripts-3.5/2to3-3.5
renaming build/scripts-3.5/pyvenv to build/scripts-3.5/pyvenv-3.5
make: *** [Makefile:585: sharedmods] Error 1
 * ERROR: dev-lang/python-3.5.4-r1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-lang/python-3.5.4-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/python-3.5.4-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/python-3.5.4-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/python-3.5.4-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/python-3.5.4-r1/work/x86_64-pc-linux-gnu'
 * S: '/var/tmp/portage/dev-lang/python-3.5.4-r1/work/Python-3.5.4'

>>> Failed to emerge dev-lang/python-3.5.4-r1, Log file:

>>>  '/var/tmp/portage/dev-lang/python-3.5.4-r1/temp/build.log'

 * Messages for package dev-lang/python-3.5.4-r1:

 * ERROR: dev-lang/python-3.5.4-r1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-lang/python-3.5.4-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/python-3.5.4-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/python-3.5.4-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/python-3.5.4-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/python-3.5.4-r1/work/x86_64-pc-linux-gnu'
 * S: '/var/tmp/portage/dev-lang/python-3.5.4-r1/work/Python-3.5.4


I have searched over the internet and gentoo forums but I't doesn't work and I don'n know what to do.

[Moderator edit: added [code] tags to preserve output layout. -Hu]


Last edited by carlosmoran on Sun Mar 04, 2018 3:45 am; edited 1 time in total
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Thu Mar 01, 2018 11:45 pm    Post subject: Reply with quote

No idea because you should provide the log as instruct.
But as a blind guess: ssl module is in trouble, some users have (or allow portage to unmask) openssl-1.1 and they get into misery, check if it's your case ; else well, the log.
Back to top
View user's profile Send private message
carlosmoran
n00b
n00b


Joined: 01 Mar 2018
Posts: 3

PostPosted: Fri Mar 02, 2018 3:52 am    Post subject: Build Log Reply with quote

Is this the correct log?
Code:
/var/tmp/portage/dev-lang/python-3.5.4-r1/temp/build.log


I copied here: https://pastebin.com/jD2Zy54m

If isn't the correct file, what can be useful to help me solve this problem, I already mask the openssl-1.1.0g-r2 package, that's what I found on forums, but it doesn't work I can't update the system
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31255
Location: here

PostPosted: Fri Mar 02, 2018 7:01 am    Post subject: Re: Build Log Reply with quote

carlosmoran wrote:
If isn't the correct file, what can be useful to help me solve this problem, I already mask the openssl-1.1.0g-r2 package, that's what I found on forums, but it doesn't work I can't update the system

You can post qlist -Iv openssl command output?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Fri Mar 02, 2018 11:14 am    Post subject: Reply with quote

Same query as fedeliallalinea :D
Back to top
View user's profile Send private message
carlosmoran
n00b
n00b


Joined: 01 Mar 2018
Posts: 3

PostPosted: Sun Mar 04, 2018 3:44 am    Post subject: Reply with quote

This is the output, the problem was that i can't build ssl, but I downgrade to openssl-1.0.2n, the output of qlist -lv openssl is this
Code:
dev-libs/openssl-1.0.2n

Thank for your help
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31255
Location: here

PostPosted: Sun Mar 04, 2018 7:13 am    Post subject: Reply with quote

Now thatt you downgrade openssl the python package compile?
_________________
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 Gentoo on AMD64 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