Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
python upgrade problem
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
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1179

PostPosted: Sun Sep 24, 2017 7:26 pm    Post subject: python upgrade problem Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30888
Location: here

PostPosted: Sun Sep 24, 2017 7:32 pm    Post subject: Reply with quote

You can post full build.log with wgetpaste
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1179

PostPosted: Sun Sep 24, 2017 7:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21595

PostPosted: Sun Sep 24, 2017 8:51 pm    Post subject: Reply with quote

What is the output of emerge --verbose --info sys-libs/glibc?
Back to top
View user's profile Send private message
kurly
Apprentice
Apprentice


Joined: 02 Apr 2012
Posts: 260

PostPosted: Sun Sep 24, 2017 10:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30888
Location: here

PostPosted: Mon Sep 25, 2017 5:53 am    Post subject: Reply with quote

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
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1179

PostPosted: Mon Sep 25, 2017 6:40 am    Post subject: Reply with quote

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
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