Gentoo Archives: gentoo-dev

From: Rigo <rigo@××××.nl>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Portage: good news and bad news
Date: Mon, 08 Jul 2002 02:12:51
Message-Id: 1026112391.7256.6.camel@lappy.rogi.biz
In Reply to: [gentoo-dev] Portage: good news and bad news by Daniel Robbins
1 After updating portage to 2.0.11 I seem to get more errors that before
2 Daniel ;-)...
3
4 Info:
5
6 lappy distfiles # emerge --update world
7 Calculating world dependencies ...done!
8 >>> emerge media-libs/jpeg-mmx-1.1.2-r1 to /
9 !!! No message digest found for .
10 !!! Type "ebuild foo.ebuild digest" to generate a digest.
11 !!! emerge aborting on
12 /usr/portage/media-libs/jpeg-mmx/jpeg-mmx-1.1.2-r1.ebuild .
13
14 lappy distfiles # ebuild
15 /usr/portage/media-libs/jpeg-mmx/jpeg-mmx-1.1.2-r1.ebuild digest
16
17 >>> Generating digest file...
18 Traceback (most recent call last):
19 File "/usr/sbin/ebuild", line 33, in ?
20 a=portage.doebuild(pargs[0],x,getroot(),debug=debug)
21 File "/usr/lib/python2.2/site-packages/portage.py", line 1130, in
22 doebuild
23 digestgen(checkme,overwrite=1)
24 File "/usr/lib/python2.2/site-packages/portage.py", line 955, in
25 digestgen
26 mymd5=perform_md5(myfile)
27 File "/usr/lib/python2.2/site-packages/portage.py", line 1368, in
28 perform_md5
29 return perform_checksum(x)[0]
30 File "/usr/lib/python2.2/site-packages/portage.py", line 39, in
31 perform_checksum
32 return fchksum.fmd5t(filename)
33 IOError: [Errno 21] Is a directory: '/usr/portage/distfiles/'
34
35
36 Regards, Rigo
37
38
39 Op zo 07-07-2002, om 06:38 schreef Daniel Robbins:
40 > Hi Devs:
41 >
42 > Bad news: I found a significant bug in Portage 2.0.10 and earlier that
43 > could cause masking to work improperly, particularly if a package has
44 a
45 > ~ entry in the profile's packages file.
46 >
47 > Good news: I've fixed the problem in Portage 2.0.11 by rewriting
48 > portage.py's portdbapi xmatch() and visible() methods. This has
49 > resulted in a 44% speed-up in dependency calculations over Portage
50 > 2.0.10. If you thought things were fast before...
51 >
52 > More good news: I've improved repoman to differentiate between
53 > user-visible ebuilds with bad dependencies and masked ebuilds with bad
54 > dependencies. When checking dependencies, user-visible ebuilds'
55 > dependencies are only matched against user-visible ebuilds. But when
56 > masked ebuilds are checked, deps are satisfied using *all* available
57 > ebuilds. This should eliminate virtually all false positives in the
58 > repoman DEPEND and RDEPEND QA tests. Type "repoman --help" for more
59 > information on these new changes.
60 >
61 > Enjoy!
62 >
63 > --
64 > Daniel Robbins
65 > Chief Architect, Gentoo Linux
66 > http://www.gentoo.org
67 >
68 > _______________________________________________
69 > gentoo-dev mailing list
70 > gentoo-dev@g.o
71 > http://lists.gentoo.org/mailman/listinfo/gentoo-dev