View previous topic :: View next topic |
Author |
Message |
carlosmoran n00b
Joined: 01 Mar 2018 Posts: 3
|
Posted: Thu Mar 01, 2018 7:23 pm Post subject: [SOLVED] ERROR: dev-lang/python-3.5.4-r1::gentoo failed |
|
|
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 |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Thu Mar 01, 2018 11:45 pm Post subject: |
|
|
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 |
|
|
carlosmoran n00b
Joined: 01 Mar 2018 Posts: 3
|
Posted: Fri Mar 02, 2018 3:52 am Post subject: Build Log |
|
|
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 |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31257 Location: here
|
Posted: Fri Mar 02, 2018 7:01 am Post subject: Re: Build Log |
|
|
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 |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Fri Mar 02, 2018 11:14 am Post subject: |
|
|
Same query as fedeliallalinea |
|
Back to top |
|
|
carlosmoran n00b
Joined: 01 Mar 2018 Posts: 3
|
Posted: Sun Mar 04, 2018 3:44 am Post subject: |
|
|
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 |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31257 Location: here
|
Posted: Sun Mar 04, 2018 7:13 am Post subject: |
|
|
Now thatt you downgrade openssl the python package compile? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
|