Gentoo Archives: gentoo-dev

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

Attachments

File name MIME type
autodep-0.1.patch text/plain
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] Autodep project justin <jlec@g.o>