View previous topic :: View next topic |
Author |
Message |
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1179
|
Posted: Sun Sep 24, 2017 7:26 pm Post subject: python upgrade problem |
|
|
Code: | changing mode of build/scripts-2.7/pydoc from 644 to 755
changing mode of build/scripts-2.7/idle from 644 to 755
changing mode of build/scripts-2.7/2to3 from 644 to 755
changing mode of build/scripts-2.7/smtpd.py from 644 to 755
make: *** [Makefile:530: sharedmods] Error 1
* ERROR: dev-lang/python-2.7.14::gentoo failed (compile phase):
* emake failed
|
above is what i get!
gcc-7.2.0 hardened
glibc-2.26-r1
any help?
[Moderator edit: added [code] tags to preserve output layout. -Hu] _________________ this is a strange strange world. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30888 Location: here
|
Posted: Sun Sep 24, 2017 7:32 pm Post subject: |
|
|
You can post full build.log with wgetpaste _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1179
|
Posted: Sun Sep 24, 2017 7:44 pm Post subject: |
|
|
fedeliallalinea wrote: | You can post full build.log with wgetpaste |
sorry never learned to use wgetpaste.
all seems fine until:
Code: | 6_64-linux-gnu.so
/var/tmp/portage/dev-lang/python-3.6.1-r1/work/Python-3.6.1/Modules/nismodule.c:17:10: fatal error: rpc/rpc.h: No such file or directory
#include <rpc/rpc.h>
^~~~~~~~~~~
compilation terminated.
building '_curses_panel' extension
|
then:
Code: | /libmpdec/sixstep.o build/temp.linux-x86_64-3.6/var/tmp/portage/dev-lang/python-3.6.1-r1/work/Python-3.6.1/Modules/_decimal/libmpdec/transpose.o -L. -L/usr/local/lib64 -lm -lpython3.6m -o build/lib.linux-x86_64-3.6/_decimal.cpython-36m-x86_64-linux-gnu.so
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:
nis
running build_scripts
creating build/scripts-3.6
copying and adjusting /var/tmp/portage/dev-lang/python-3.6.1-r1/work/Python-3.6.1/Tools/scripts/pydoc3 -> build/scripts-3.6
copying and adjusting /var/tmp/portage/dev-lang/python-3.6.1-r1/work/Python-3.6.1/Tools/scripts/idle3 -> build/scripts-3.6
copying and adjusting /var/tmp/portage/dev-lang/python-3.6.1-r1/work/Python-3.6.1/Tools/scripts/2to3 -> build/scripts-3.6
copying and adjusting /var/tmp/portage/dev-lang/python-3.6.1-r1/work/Python-3.6.1/Tools/scripts/pyvenv -> build/scripts-3.6
changing mode of build/scripts-3.6/pydoc3 from 644 to 755
changing mode of build/scripts-3.6/idle3 from 644 to 755
changing mode of build/scripts-3.6/2to3 from 644 to 755
changing mode of build/scripts-3.6/pyvenv from 644 to 755
renaming build/scripts-3.6/pydoc3 to build/scripts-3.6/pydoc3.6
renaming build/scripts-3.6/idle3 to build/scripts-3.6/idle3.6
renaming build/scripts-3.6/2to3 to build/scripts-3.6/2to3-3.6
renaming build/scripts-3.6/pyvenv to build/scripts-3.6/pyvenv-3.6
make: *** [Makefile:617: sharedmods] Error 1
* ERROR: dev-lang/python-3.6.1-r1::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dev-lang/python-3.6.1-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-lang/python-3.6.1-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-lang/python-3.6.1-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-lang/python-3.6.1-r1/temp/environment'.
* Working directory: '/var/tmp/portage/dev-lang/python-3.6.1-r1/work/Python-3.6.1'
* S: '/var/tmp/portage/dev-lang/python-3.6.1-r1/work/Python-3.6.1'
>>> Failed to emerge dev-lang/python-3.6.1-r1, Log file:
|
and that's same for all python versions.
[Moderator edit: added [code] tags to preserve output layout. -Hu] _________________ this is a strange strange world. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21595
|
Posted: Sun Sep 24, 2017 8:51 pm Post subject: |
|
|
What is the output of emerge --verbose --info sys-libs/glibc? |
|
Back to top |
|
|
kurly Apprentice
Joined: 02 Apr 2012 Posts: 260
|
Posted: Sun Sep 24, 2017 10:46 pm Post subject: |
|
|
tranquilcool wrote: | fedeliallalinea wrote: | You can post full build.log with wgetpaste |
sorry never learned to use wgetpaste.
|
The sentence you replied to included a link to very simple directions; read them. If you can't figure out wgetpaste, you'll never be able to figure out a build problem. wgetpaste even comes with a -h/--help option. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30888 Location: here
|
Posted: Mon Sep 25, 2017 5:53 am Post subject: |
|
|
kurly wrote: | tranquilcool wrote: | fedeliallalinea wrote: | You can post full build.log with wgetpaste |
sorry never learned to use wgetpaste.
|
The sentence you replied to included a link to very simple directions; read them. If you can't figure out wgetpaste, you'll never be able to figure out a build problem. wgetpaste even comes with a -h/--help option. |
Code: | # emerge wgetpaste
# wgetpaste /path/to/your/build.log
Your paste can be seen here: https://paste.pound-python.org/show/mtMkTYe45ptaUcE7KlTc/ |
You should post link that command return _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1179
|
Posted: Mon Sep 25, 2017 6:40 am Post subject: |
|
|
fedeliallalinea wrote: | kurly wrote: | tranquilcool wrote: | fedeliallalinea wrote: | You can post full build.log with wgetpaste |
sorry never learned to use wgetpaste.
|
The sentence you replied to included a link to very simple directions; read them. If you can't figure out wgetpaste, you'll never be able to figure out a build problem. wgetpaste even comes with a -h/--help option. |
Code: | # emerge wgetpaste
# wgetpaste /path/to/your/build.log
Your paste can be seen here: https://paste.pound-python.org/show/mtMkTYe45ptaUcE7KlTc/ |
You should post link that command return |
thanks for the howto.
I got the problem fixed downgrading glibc(not recommended)
python just doesn't compile with glibc-2.26 because of the no rpc useflag.
SOLVED _________________ this is a strange strange world. |
|
Back to top |
|
|
|