Gentoo Archives: gentoo-alt

From: Markus Duft <markus.duft@×××××××.at>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] bootstrap with older python
Date: Mon, 05 May 2008 12:16:50
Message-Id: 481EFAA0.4000409@salomon.at
In Reply to: Re: [gentoo-alt] bootstrap with older python by Fabian Groffen
1 Fabian Groffen schrieb:
2 > On 05-05-2008 11:44:36 +0200, Markus Duft wrote:
3 >> Fabian Groffen schrieb:
4 >>> On 05-05-2008 10:26:34 +0200, Markus Duft wrote:
5 >>>> Fabian Groffen schrieb:
6 >>>>> On 05-05-2008 08:25:08 +0200, Duft Markus wrote:
7 >>>>>>> I was able to bootstrap with 2.5.2, what's your exact problem why you
8 >>>>>>> need old Python?
9 >>>>>> Hah... the problem is, that for some weird reason i cannot build python outside the prefix.... it works when using portage, but i can't make it without portage. As long as i can't find the reason for it, we'll still have python 2.4 in prefix-launcher...
10 >>>>> You may be interested in my workaround... I just created a patched
11 >>>>> tarball for interix ;)
12 >>>> i want to have it really bad :) could you send me a patch?
13 >>> http://dev.gentoo.org/~grobian/distfiles/python-2.5.2-interix.tar.bz2
14 >> thanks :) which patches from the tree are applied there?
15 >
16 > env CHOST="i586-pc-interix3.5" ebuild python-2.5.2-r2.ebuild unpack
17 > cd "${S}"
18 > tar -jcf python-2.5.2-interix.tar.bz2 Python-2.5.2
19
20 hmmm... trying to use the python built from that sources to bootstrap i
21 get this exception:
22
23 Traceback (most recent call last):
24 File
25 "/tools/mduft/prefix-launcher-1pre.20080505/i586-pc-interix6.0/bin/emerge",
26 line 18, in <module>
27 retval = _emerge.emerge_main()
28 File
29 "/tools/mduft/prefix-launcher-1pre.20080505/i586-pc-interix6.0/lib/portage/pym/_emerge/__init__.py",
30 line 6702, in emerge_main
31 myopts, myaction, myfiles, mysets, spinner)
32 File
33 "/tools/mduft/prefix-launcher-1pre.20080505/i586-pc-interix6.0/lib/portage/pym/_emerge/__init__.py",
34 line 6140, in action_build
35 retval = mergetask.merge(pkglist, favorites, mtimedb)
36 File
37 "/tools/mduft/prefix-launcher-1pre.20080505/i586-pc-interix6.0/lib/portage/pym/_emerge/__init__.py",
38 line 3881, in merge
39 prev_mtimes=ldpath_mtimes)
40 File
41 "/tools/mduft/prefix-launcher-1pre.20080505/i586-pc-interix6.0/lib/portage/pym/portage/__init__.py",
42 line 4227, in doebuild
43 digestgen(aalist, mysettings, overwrite=0, myportdb=mydbapi)
44 File
45 "/tools/mduft/prefix-launcher-1pre.20080505/i586-pc-interix6.0/lib/portage/pym/portage/__init__.py",
46 line 3317, in digestgen
47 "assume-digests" in mysettings.features))
48 File
49 "/tools/mduft/prefix-launcher-1pre.20080505/i586-pc-interix6.0/lib/portage/pym/portage/manifest.py",
50 line 453, in create
51 self.fhashdict[mytype][f] =
52 perform_multiple_checksums(self.pkgdir+f, self.hashes)
53 File
54 "/tools/mduft/prefix-launcher-1pre.20080505/i586-pc-interix6.0/lib/portage/pym/portage/checksum.py",
55 line 255, in perform_multiple_checksums
56 raise portage.exception.DigestException, x+" hash function not
57 available (needs dev-python/pycrypto or >=dev-lang/python-2.5)"
58 portage.exception.DigestException: RMD160 hash function not available
59 (needs dev-python/pycrypto or >=dev-lang/python-2.5)
60
61
62 did you also install pycrypto? something is strange here... i thought
63 python 2.5 would suffice...
64
65 Cheers, Markus
66
67 >
68 >>> Can you send me the binutils-2.17 patches? ;)
69 >> yap sure... attached... it's a plain diff (-ruNbB) without any reworking,
70 >> so there may be stuff in there you don't need (like docs or such...)
71 >
72 > Autch... Thanks, but this is a mailing list and 1.3M is quite huge,
73 > keep that in mind next time.
74 >
75 > I will try to continue my bootstrap with native-cctools instead for now,
76 > for as long as I can't figure out why the lib can't be found.
77 >
78 >
79
80 --
81 gentoo-alt@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] bootstrap with older python Fabian Groffen <grobian@g.o>