Gentoo Archives: gentoo-user

From: James <wireless@×××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Failing to install python cryptography
Date: Fri, 11 Mar 2016 04:27:48
Message-Id: loom.20160311T051017-313@post.gmane.org
In Reply to: Re: [gentoo-user] Re: Failing to install python cryptography by Mansour Al Akeel
1 Mansour Al Akeel <mansour.alakeel <at> gmail.com> writes:
2
3 >
4 > Thank you James. A quick search in the bugs DB bring this:
5 >
6 > https://bugs.gentoo.org/show_bug.cgi?id=574150
7 >
8 > Please see my comments.
9 >
10 > > Have you check bgo ? (bugs.gentoo.org)
11 > > Try another (stable) version ?
12 > >
13 > > use the -t option and see what it says.
14 >
15 > What do you "-t option". With which executable ?
16
17 Let's say you run 'emerge -uDNvpt cryptography'
18
19 the -t will show more details that related to your emerge of the
20 package. 'man emerge' then look for --tree
21
22
23
24
25 > > look in the ebuild and see what all packages are required. I does not
26 > > hurt to manually ( -1) rebuild the dependencies (both compile time and
27 > > runtime) in case the other codes or packaging process did not catch
28 > > something.
29 >
30 > If I understand you correctley, you are suggesting to rebuilt all the
31 > dependencies for this package. This is what I am getting. There's no
32 > depedencies:
33
34
35 'cat /usr/portage/dev-python/cryptography/cryptography-1.1.2.ebuild'
36
37 Go read the devmanual about IUSE, RDEPEND and DEPEND. Ebuilds are
38 basically shell scripts that manage the retrieval, compiling and
39 installation of software used on gentoo systems, and many other aspects
40 of those processes.
41
42
43 > =================================================
44 > localhost mansour # emerge dev-python/cryptography --with-bdeps=y
45 >
46 > These are the packages that would be merged, in order:
47 >
48 > Calculating dependencies... done!
49 > [ebuild N ] dev-python/cryptography-1.1.2::gentoo
50 > USE="(-libressl) {-test}" PYTHON_TARGETS="python2_7 python3_3 (-pypy)
51 > -python3_4 (-python3_5)" 0 KiB
52 >
53 > Total: 1 package (1 new), Size of downloads: 0 KiB
54 >
55 > Would you like to merge these packages? [Yes/No]
56 >
57 > =================================================
58 >
59 > Can you please kindly elaborate ?
60
61 > In fact I tried rebuilding the package few times, with the same error.
62
63 'emerge -1 libressl' is a good start. Study the ebuild and learn about
64 what does what via reading the devmanual and other ebuild guides. I'm
65 not saying the problem is because you are doing something wrong; I'm merely
66 pointing out some routine/generic tools for gentoo that you should learn
67 about and use, regardless of the problem. Building up a system on gentoo,
68 from sources is always an adventure. It becomes more of a pleasurable
69 experience, when you assimilate a great knowledge combinde with a cadre of
70 tools to diagnose and try to fix problems yourself. Many of the devs
71 in gentoo, started out with similar issues. Think of it as an opportunity
72 to become that linux wizard you have always wanted to be....
73
74
75 I'm not solving your problem, just pointing out a few tools and ideas to get
76 you cracking. Many more tools and information are on the gentoo wiki.
77
78 [I] dev-python/cryptography
79 Installed versions: 1.1.2(05:00:37 PM 02/18/2016)(-libressl -test
80
81 it works just fine on my system. Maybe you need a closer look at your
82 flags?
83
84
85 > > -good hunting
86 > > James