Re: [gentoo-user] Re: Failing to install python cryptography

2016-03-11 Thread Mansour Al Akeel
Thank you James,
I reinstalled cryptography with "emerge -e"..
Slow but painless.. Things seems better now.


On Fri, Mar 11, 2016 at 10:36 AM, James  wrote:
> Mansour Al Akeel  gmail.com> writes:
>
>>
>> I am trying to reinstall dev-python/cryptography:
>
> You know I had just assumed that you had read all fo the recent postings
> on this list concerning ssl* ? If not make sure you read them and see
> if any of the information applies to your situation. I had just assumed
> that you had read all of those ssl related posts.
>
> There are (3) ways to read and search for old postings (2016) related
> to ssl:   Gentoo list archive for gentoo-user, gmane.org and nntp.
>
>
> hth,
> James
>
>



[gentoo-user] Re: Failing to install python cryptography

2016-03-11 Thread James
Mansour Al Akeel  gmail.com> writes:

> 
> I am trying to reinstall dev-python/cryptography:

You know I had just assumed that you had read all fo the recent postings
on this list concerning ssl* ? If not make sure you read them and see
if any of the information applies to your situation. I had just assumed
that you had read all of those ssl related posts.

There are (3) ways to read and search for old postings (2016) related
to ssl:   Gentoo list archive for gentoo-user, gmane.org and nntp.


hth,
James




[gentoo-user] Re: Failing to install python cryptography

2016-03-10 Thread James
Mansour Al Akeel  gmail.com> writes:

> 
> Thank you James. A quick search in the bugs DB bring this:
> 
> https://bugs.gentoo.org/show_bug.cgi?id=574150
> 
> Please see my comments.
> 
> > Have you check bgo ? (bugs.gentoo.org)
> > Try another (stable) version ?
> >
> > use the -t option and see what it says.
> 
> What do you "-t option". With which executable ?

Let's say you run 'emerge -uDNvpt cryptography'

the -t will show  more details that related to your emerge of the
package.   'man emerge' then look for --tree




> > look in the ebuild and see what all packages are required. I does not
> > hurt to manually ( -1) rebuild the dependencies (both compile time and
> > runtime) in case the other codes or packaging process did not catch
> > something.
> 
> If I understand you correctley, you are suggesting to rebuilt all the
> dependencies for this package. This is what I am getting. There's no
> depedencies:


'cat /usr/portage/dev-python/cryptography/cryptography-1.1.2.ebuild'

Go read the devmanual about IUSE, RDEPEND and DEPEND. Ebuilds are
basically shell scripts that manage the retrieval, compiling and
installation of software used on gentoo systems, and many other aspects
of those processes.


> =
> localhost mansour # emerge  dev-python/cryptography --with-bdeps=y
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild  N ] dev-python/cryptography-1.1.2::gentoo
> USE="(-libressl) {-test}" PYTHON_TARGETS="python2_7 python3_3 (-pypy)
> -python3_4 (-python3_5)" 0 KiB
> 
> Total: 1 package (1 new), Size of downloads: 0 KiB
> 
> Would you like to merge these packages? [Yes/No]
> 
> =
> 
> Can you please kindly elaborate ?

> In fact I tried rebuilding the package few times, with the same error.

'emerge -1 libressl' is a good start. Study the ebuild and learn about
what does what via reading the devmanual and other ebuild guides. I'm
not saying the problem is because you are doing something wrong; I'm merely
pointing out some routine/generic tools for gentoo that you should learn
about and use, regardless of the problem. Building up a system on gentoo,
from sources is always an adventure. It becomes more of a pleasurable
experience, when you assimilate a great knowledge combinde with a cadre of
tools to diagnose and try to fix problems yourself. Many of the devs
in gentoo, started out with similar issues. Think of it as an opportunity
to become that linux wizard you have always wanted to be


I'm not solving your problem, just pointing out a few tools and ideas to get
you cracking. Many more tools and information are on the gentoo wiki.

[I] dev-python/cryptography
 Installed versions:  1.1.2(05:00:37 PM 02/18/2016)(-libressl -test 

it works just fine on my system. Maybe you need a closer look at your
flags?  


> > -good hunting
> > James







Re: [gentoo-user] Re: Failing to install python cryptography

2016-03-10 Thread Mansour Al Akeel
Thank you James. A quick search in the bugs DB bring this:

https://bugs.gentoo.org/show_bug.cgi?id=574150


Please see my comments.

> Have you check bgo ? (bugs.gentoo.org)
> Try another (stable) version ?
>
> use the -t option and see what it says.

What do you "-t option". With which executable ?

>
> look in the ebuild and see what all packages are required. I does not
> hurt to manually ( -1) rebuild the dependencies (both compile time and
> runtime) in case the other codes or packaging process did not catch
> something.

If I understand you correctley, you are suggesting to rebuilt all the
dependencies for this package. This is what I am getting. There's no
depedencies:
=
localhost mansour # emerge  dev-python/cryptography --with-bdeps=y

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N ] dev-python/cryptography-1.1.2::gentoo
USE="(-libressl) {-test}" PYTHON_TARGETS="python2_7 python3_3 (-pypy)
-python3_4 (-python3_5)" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No]

=

Can you please kindly elaborate ?

In fact I tried rebuilding the package few times, with the same error.

>
>
>
> The q applet tools are quite extensive and many offer some looks
> into why a particular version of dev-python/cryptography is
> failing. I've only recently started noodling around with 'qcheck'
> but I cannot guarrantee that the qcheck applet will ferrit out
> your problem. If you take the time to look at the code for qcheck
> and it does not do what you want, drop me a line and I'll hack at
> it to extend the portfolio of tests it does perform; but that'll
> take a while

I am looking for a quick fix. Not sure if this is a good option now,
as I use this machine extensively , and would like to get it up to
date again !
But thank you anyway :)

By the way, I just did a sync,
and updating world. I can see a pending update for
dev-libs/openssl-1.0.2g-r2::gentoo. This will be strange as the
"equery" command shows there is no dependency. But let's see.


>
>
> Also run repoman against the version of the package you are trying
> to install and see what it tells you.
>
>
> -good hunting
> James
>
>



[gentoo-user] Re: Failing to install python cryptography

2016-03-10 Thread James
Mansour Al Akeel  gmail.com> writes:

> 
> I am trying to reinstall dev-python/cryptography:
> This is the err I am getting.

Have you check bgo ? (bugs.gentoo.org)  
Try another (stable) version ?

use the -t option and see what it says.

look in the ebuild and see what all packages are required. I does not
hurt to manually ( -1) rebuild the dependencies (both compile time and
runtime) in case the other codes or packaging process did not catch
something.



The q applet tools are quite extensive and many offer some looks
into why a particular version of dev-python/cryptography is
failing. I've only recently started noodling around with 'qcheck'
but I cannot guarrantee that the qcheck applet will ferrit out
your problem. If you take the time to look at the code for qcheck
and it does not do what you want, drop me a line and I'll hack at
it to extend the portfolio of tests it does perform; but that'll
take a while


Also run repoman against the version of the package you are trying
to install and see what it tells you.


-good hunting
James