Gentoo Archives: gentoo-dev

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] perl/openssl circular dep, possible solution (python/perl/db devs please read)
Date: Mon, 13 Jun 2005 17:18:01
Message-Id: 20050613171829.GA25427@curie-int.orbis-terrarum.net
1 The bug hit me while working with GLI last night, and now I really do
2 need a solution for it. Looking at the dep tree to see why perl pulls
3 in openssl, the critical parts of the tree are this:
4
5 (Trimmed to make things shorter)
6 [ebuild N ] dev-lang/perl-5.8.6-r4 +berkdb
7 [ebuild N ] sys-libs/db-4.2.52_p2 +java
8 [ebuild N ] dev-java/blackdown-jdk-1.4.2.01-r2
9 (glibc, gcc, gcc-config, portage)
10 [ebuild N ] dev-lang/python-2.4.1 +berkdb +ssl
11 [ebuild N ] dev-libs/openssl-0.9.7g
12
13 This suggests the following solutions:
14 1. split berkdb support out of perl.
15 2. split ssl support out of python.
16 3. split java support out of db.
17
18 #1 may be possible with mcumming's minimal perl (untested by me)
19 #2 appears to work (tested via package.use having 'python -ssl', and looking at 'emerge -e -p system')
20 #3 appears to work (tested via package.use having 'db -java', and looking at 'emerge -e -p system')
21
22 I tried implementing #3, but the ebuild work involved is very messy, and
23 non-ideal, as a large part of db is then built twice.
24
25 Could the python and perl folk please comment here on the possibility of moving
26 those chunks (berkdb/ssl) of their packages to seperate packages?
27
28 --
29 Robin Hugh Johnson
30 E-Mail : robbat2@××××××××××××××.net
31 Home Page : http://www.orbis-terrarum.net/?l=people.robbat2
32 ICQ# : 30269588 or 41961639
33 GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85

Replies