View previous topic :: View next topic |
Author |
Message |
luna80 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/129716452142b78b3e486e9.gif)
Joined: 01 Feb 2004 Posts: 1563 Location: switzerland
|
Posted: Fri Jul 01, 2016 2:19 pm Post subject: |
|
|
yes, my @system is up-to-date, also ---with-bdeps=y
I don't have pip installed because the emerge fails with the same error of firefox _________________ *** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off *** |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ChrisJumper Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 12 Mar 2005 Posts: 2403 Location: Germany
|
Posted: Fri Jul 01, 2016 5:36 pm Post subject: |
|
|
Could you post eix dev-lang/python and eix dev-libs/openssl?
Because exept the error message your system looks normal and up to date. Maybe your hard drive is broken and your file is damage..
Oh and # python --version please. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
khayyam Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/9397496074fd0189143bb7.png)
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Fri Jul 01, 2016 5:54 pm Post subject: |
|
|
ChrisJumper ...
all of that information has been provided:
dev-lang/python-2.7.10-r1 & 3.4.3-r1 ... with python 3.4.3-final-0 as system python
dev-libs/openssl-1.0.2h-r2
best ... khay |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ChrisJumper Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 12 Mar 2005 Posts: 2403 Location: Germany
|
Posted: Fri Jul 01, 2016 6:06 pm Post subject: |
|
|
Everything looks good. But the error is still there. So i suppose that the system needs a rebuild, got a change before or after the useflags oder profile were changed.
So i just want to have a confirmation about the build times and the actual used Useflags at the compilation process, that built the packages.
Just to be safe..
Not sure what trigger the issue anyway. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
luna80 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/129716452142b78b3e486e9.gif)
Joined: 01 Feb 2004 Posts: 1563 Location: switzerland
|
Posted: Sat Jul 02, 2016 5:44 am Post subject: |
|
|
first of all I want thanks for the help...I don't understand why still have the error with python
this a summary
make.conf
Code: | CFLAGS="-Os -march=native -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
FEATURES="parallel-fetch -collision-protect -protect-owned -xattr"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
USE="${USE} -bindist pcmcia usb X png truetype build alsa jpeg gif"
LINGUAS="it en_GB"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/g$
GRUB_PLATFORMS=efi-64
VIDEO_CARDS="i915 intel"
|
python versions and USE applied
Code: |
Calculating dependencies... done!
[ebuild R ] dev-lang/python-2.7.10-r1:2.7::gentoo USE="build gdbm ipv6 ncurses readline sqlite ssl threads (wide-unicode) xml (-berkdb) -doc -examples -hardened -tk -wininst" 0 KiB
[ebuild R ] dev-lang/python-3.4.3-r1:3.4::gentoo USE="build gdbm ipv6 ncurses readline ssl threads xml -examples -hardened -sqlite -tk -wininst" 0 KiB
|
openssl version and USE applied
Code: | [ebuild R ] dev-libs/openssl-1.0.2h-r2::gentoo USE="asm sslv3 tls-heartbeat zlib -bindist -gmp -kerberos -rfc3779 -sctp -sslv2 -static-libs {-test} -vanilla" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)" 0 KiB |
eix dev-lang/python
Code: | localhost ~ # eix dev-lang/python
[I] dev-lang/python
Available versions:
(2.7) 2.7.10-r1 ~2.7.11-r2
(3.3) 3.3.5-r3 ~3.3.5-r8(3.3/3.3m)
(3.4) 3.4.3-r1 ~3.4.3-r7(3.4/3.4m) ~3.4.4(3.4/3.4m)
(3.5) ~3.5.0-r2 ~3.5.1-r2(3.5/3.5m) ~3.5.1-r3(3.5/3.5m)
{-berkdb build doc examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml ELIBC="uclibc"}
Installed versions: 2.7.10-r1(2.7)(16:17:40 01. 07. 16)(build gdbm ipv6 ncurses readline sqlite ssl threads wide-unicode xml -berkdb -doc -examples -hardened -tk -wininst ELIBC="-uclibc") 3.4.3-r1(3.4)(16:19:45 01. 07. 16)(build gdbm ipv6 ncurses readline ssl threads xml -examples -hardened -sqlite -tk -wininst ELIBC="-uclibc")
Homepage: http://www.python.org/
Description: An interpreted, interactive, object-oriented programming language
[I] dev-lang/python-exec
Available versions: (2) 2.0.1-r1 2.0.2 ~2.1 ~2.4.3 **9999
{PYTHON_TARGETS="jython2_7 pypy pypy3 python2_7 python3_3 python3_4 python3_5"}
Installed versions: 2.0.2(2)(05:42:30 02. 06. 16)(PYTHON_TARGETS="jython2_7 pypy pypy3 python2_7 python3_3 python3_4 python3_5")
Homepage: https://github.com/mgorny/python-exec/
Description: Python script wrapper
Found 2 matches
|
eix dev-libs/openssl
Code: | [I] dev-libs/openssl
Available versions:
(0.9.8) 0.9.8z_p8^d
(0) 1.0.2g-r2^d 1.0.2h^d ~1.0.2h-r1^d 1.0.2h-r2^d
{+asm bindist gmp kerberos rfc3779 sctp sslv2 +sslv3 static-libs test +tls-heartbeat vanilla zlib ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" CPU_FLAGS_X86="sse2"}
Installed versions: 1.0.2h-r2^d(16:15:54 01. 07. 16)(asm sslv3 tls-heartbeat zlib -bindist -gmp -kerberos -rfc3779 -sctp -sslv2 -static-libs -test -vanilla ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" CPU_FLAGS_X86="sse2")
Homepage: http://www.openssl.org/
Description: full-strength general purpose cryptography library (including SSL and TLS)
|
python version
Code: | localhost ~ # python --version
Python 3.4.3
|
_________________ *** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off *** |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ChrisJumper Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 12 Mar 2005 Posts: 2403 Location: Germany
|
Posted: Sat Jul 02, 2016 4:21 pm Post subject: |
|
|
That all looks fine. Have no clue. But i would try to re-emerge dev-python/setuptools |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
khayyam Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/9397496074fd0189143bb7.png)
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Sat Jul 02, 2016 5:26 pm Post subject: |
|
|
luna80 ...
if this is anything like the other bugs against python due to dev-libs/openssl-1.0.2h-r2 then you should enable the sslv2 useflag, please try the following:
Code: | # USE="sslv2" emerge --oneshot --changed-use =dev-libs/openssl-1.0.2h-r2
# emerge www-client/firefox |
HTH & best ... khay |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
luna80 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/129716452142b78b3e486e9.gif)
Joined: 01 Feb 2004 Posts: 1563 Location: switzerland
|
Posted: Sun Jul 03, 2016 5:38 am Post subject: |
|
|
khayyam, I already tried to do that but doesn't solve the problem, anyway I tried another time but nothing to do, the error is still here _________________ *** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off *** |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
khayyam Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/9397496074fd0189143bb7.png)
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Sun Jul 03, 2016 8:58 am Post subject: |
|
|
luna80 wrote: | khayyam, I already tried to do that but doesn't solve the problem, anyway I tried another time but nothing to do, the error is still here |
luna80 ... I should have suggested re-building python after rebuilding openssl so _ssl.so would get rebuilt. If you haven't reverted the useflag then perhaps try that.
best ... khay |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
luna80 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/129716452142b78b3e486e9.gif)
Joined: 01 Feb 2004 Posts: 1563 Location: switzerland
|
Posted: Sun Jul 03, 2016 9:34 am Post subject: |
|
|
khayyam, it doesn' works...but is strange, after compiling openssl I don't see the file so_ssl.o in the list of libraries
Code: | usr/lib64/engines/lib4758cca.so
usr/bin/openssl
usr/lib64/engines/libaep.so
usr/lib64/engines/libatalla.so
usr/lib64/engines/libcswift.so
usr/lib64/engines/libgmp.so
usr/lib64/engines/libchil.so
usr/lib64/engines/libnuron.so
usr/lib64/engines/libsureware.so
usr/lib64/engines/libubsec.so
usr/lib64/engines/libpadlock.so
usr/lib64/engines/libcapi.so
usr/lib64/engines/libgost.so
usr/lib64/libcrypto.so.1.0.0
usr/lib64/libssl.so.1.0.0
|
_________________ *** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off *** |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
khayyam Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/9397496074fd0189143bb7.png)
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Sun Jul 03, 2016 9:49 am Post subject: |
|
|
luna80 wrote: | khayyam, it doesn' works...but is strange, after compiling openssl I don't see the file so_ssl.o in the list of libraries |
luna80 ... I mean the '_ssl.so' included with python, hence rebuilding python after the use change on openssl.
equery files python:2.7 | grep '_ssl.so': | /usr/lib/python2.7/lib-dynload/_ssl.so |
EDIT: and to make sure you are using the rebuilt python:2.7 provide 'USE_PYTHON="2.7" emerge www-client/firefox'
best ... khay |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
luna80 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/129716452142b78b3e486e9.gif)
Joined: 01 Feb 2004 Posts: 1563 Location: switzerland
|
Posted: Sun Jul 03, 2016 10:02 am Post subject: |
|
|
khayyan, the command
equery files python:2.7 | grep '_ssl.so':
return nothing
Code: | localhost ~ # equery files python:2.7 | grep '_ssl.so':
localhost ~ #
|
_________________ *** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off *** |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
khayyam Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/9397496074fd0189143bb7.png)
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Sun Jul 03, 2016 10:58 am Post subject: |
|
|
luna80 wrote: | khayyan, the command equery files python:2.7 | grep '_ssl.so': return nothing |
luna80 .... ahh, so python is built without the ssl useflag?
best ... khay |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
luna80 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/129716452142b78b3e486e9.gif)
Joined: 01 Feb 2004 Posts: 1563 Location: switzerland
|
Posted: Sun Jul 03, 2016 11:09 am Post subject: |
|
|
khayyam, python is compiled WITH ssl use flag _________________ *** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off *** |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
khayyam Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/9397496074fd0189143bb7.png)
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Sun Jul 03, 2016 11:23 am Post subject: |
|
|
luna80 wrote: | khayyam, python is compiled WITH ssl use flag |
luna80 ... just to be sure please post the output of the following:
Code: | # ls -l /usr/lib*/python*/lib-dynload/_ssl.so
# qlop -l =dev-lang/python-2.7.10-r1 |
best ... khay |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
luna80 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/129716452142b78b3e486e9.gif)
Joined: 01 Feb 2004 Posts: 1563 Location: switzerland
|
Posted: Sun Jul 03, 2016 11:32 am Post subject: |
|
|
khayyam
this the output
Code: | localhost ~ # ls -l /usr/lib*/python*/lib-dynload/_ssl.so
ls: impossibile accedere a /usr/lib*/python*/lib-dynload/_ssl.so: File o directory non esistente
localhost ~ # qlop -l =dev-lang/python-2.7.10-r1
Sun Jun 5 17:39:43 2016 >>> dev-lang/python-2.7.10-r1
Sun Jun 12 07:43:51 2016 >>> dev-lang/python-2.7.10-r1
Sun Jun 12 12:57:20 2016 >>> dev-lang/python-2.7.10-r1
Mon Jun 13 08:28:32 2016 >>> dev-lang/python-2.7.10-r1
Wed Jun 15 15:52:40 2016 >>> dev-lang/python-2.7.10-r1
Wed Jun 29 12:22:44 2016 >>> dev-lang/python-2.7.10-r1
Thu Jun 30 10:45:45 2016 >>> dev-lang/python-2.7.10-r1
Thu Jun 30 12:05:53 2016 >>> dev-lang/python-2.7.10-r1
Thu Jun 30 16:35:12 2016 >>> dev-lang/python-2.7.10-r1
Thu Jun 30 18:09:40 2016 >>> dev-lang/python-2.7.10-r1
Fri Jul 1 16:10:34 2016 >>> dev-lang/python-2.7.10-r1
Fri Jul 1 16:17:47 2016 >>> dev-lang/python-2.7.10-r1
Sun Jul 3 08:56:17 2016 >>> dev-lang/python-2.7.10-r1
Sun Jul 3 09:02:19 2016 >>> dev-lang/python-2.7.10-r1
Sun Jul 3 11:16:45 2016 >>> dev-lang/python-2.7.10-r1
Sun Jul 3 11:58:59 2016 >>> dev-lang/python-2.7.10-r1
Sun Jul 3 13:07:49 2016 >>> dev-lang/python-2.7.10-r1
localhost ~ #
|
the output of the first command is in italian and mean something like the file is missing _________________ *** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off *** |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
khayyam Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/9397496074fd0189143bb7.png)
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Sun Jul 03, 2016 1:52 pm Post subject: |
|
|
luna80 wrote: | Code: | localhost ~ # ls -l /usr/lib*/python*/lib-dynload/_ssl.so
ls: impossibile accedere a /usr/lib*/python*/lib-dynload/_ssl.so: File o directory non esistente |
|
luna80 ... ok, I see whats happening now, you have the 'build' useflag enabled, and this will set PYTHON_DISABLE_SSL="1".
equery -NC u dev-lang/python | grep build: | - - build : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used for creating build images and the first half of bootstrapping [make stage1] |
... that useflag shouldn't be set.
From your 'emerge --info' it doesn't seem to be set globally, so it must be set via package.use, disable it and re-merge python:2.7 and python:3.4. You can check which packages have this useflag set with the following ...
Code: | # eix '-Ice#' --installed-with-use build |
Once disabled you should then be able to emerge firefox.
best ... khay |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
luna80 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/129716452142b78b3e486e9.gif)
Joined: 01 Feb 2004 Posts: 1563 Location: switzerland
|
Posted: Sun Jul 03, 2016 5:24 pm Post subject: |
|
|
khayyam, many many thanks!!! you solved my problem!
you have been very kind and patient! _________________ *** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off *** |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|