Gentoo Archives: gentoo-dev

From: Marc Schiffbauer <mschiff@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Autodep project
Date: Sun, 04 Sep 2011 08:50:18
Message-Id: 20110904084926.GB10038@lisa.schiffbauer.lan
In Reply to: [gentoo-dev] Autodep project by "Александр Берсенев"
1 * Александр Берсенев schrieb am 04.09.11 um 09:13 Uhr:
2 > Hi!
3
4 Hi Александр,
5
6 seems to be a nice tool.
7
8 I am not a native english speaker, but I found at least some words
9 that need to be fixed:
10
11 * There is no "readed" its always "read"
12 * And: writed -> written
13
14 -Marc
15
16
17 >
18 > I am Alexander Bersenev, I was participating in GSoC this year.
19 > I want to present you the tool I've developed during this program. I
20 > hope that you'll find it useful.
21 >
22 > The purpose of my project is to help ebuild developers to compose
23 > accurate dependency list for a package.
24 > The tool has many features in order to do it, most of them listed on
25 > the documentation site: http://soc.dev.gentoo.org/~bay/autodep/
26 >
27 > The killer-feature is an emulating the file system without
28 > non-dependency packages installed. I call it dependency checking or
29 > strict emerging. If program builds successfully in this environment
30 > then check is passed. If no - check is failed and user likely will be
31 > having a bad experience while trying to build this package if he
32 > hasn't some packages installed.
33 >
34 > It works fine, I've reported a few dozens of bugs about missing
35 > dependencies here: https://bugs.gentoo.org/show_bug.cgi?id=autodep.
36 >
37 > How to install and use it:
38 > 1) add neurogeek overlay in your overlay list
39 > 2) emerge autodep
40 > 3) use autodep and emerge_strict commands.
41 >
42 > I want to tell you more about emerge_strict command. This is an emerge
43 > command but with strict dependency checking. I've modified a portage
44 > and add this feature into it. Actually, after "emerge autodep" you
45 > will have two versions of portage: one is from your system(emerge) and
46 > one is from modified portage(emerge_strict).
47 >
48 > !!!ATTENTION!!!
49 > I modified a last available portage version from git. It is about
50 > Portage 2.2.0_alpha50. The you running portage 2.1.x.x it
51 > theoretically can be unsafe to use them both. I used it together for
52 > about a month and not found any problems, but, anyway, be careful.
53 > !!!ATTENTION!!!
54 >
55 > Here is an example of emerge_strict dev-libs/nss output:
56 > https://381591.bugs.gentoo.org/attachment.cgi?id=285369
57 >
58 > Missing dependency is founded here:
59 > sdb.c:58:21: fatal error: sqlite3.h: No such file or directory
60 > compilation terminated.
61 > ....
62 >
63 > [NOT IN DEPS] dev-db/sqlite-3.7.7.1                   : [u'compile']
64 >  /usr/include/sqlite3.h                                   blocked
65 > ....
66 >
67 > I've set up a tinderbox to catch missing dependencies. And it works
68 > right now. Also, I recently installed desktop gentoo linux on my new
69 > notebook using only emerge_strict. It is also works.
70 >
71 > Although GSoC is over, I want to support this tool in further. I will
72 > be appreciate for any feedback.
73 >
74 > Best,
75 >
76 > Alexander Bersenev
77 >
78
79 --
80 8AAC 5F46 83B4 DB70 8317 3723 296C 6CCA 35A6 4134