1 |
You need of course the toolchain-funcs.eclass and not the |
2 |
autotools.eclass. Sorry for that mistake. |
3 |
|
4 |
|
5 |
On 9/4/11 11:24 AM, justin wrote: |
6 |
> Hi, |
7 |
> |
8 |
> if this tool works like it supposed, it will be very handy. But the |
9 |
> current ebuild/buildsystem suffers from disrespecting CC and failing |
10 |
> with forced as-needed, isn't strict multilib capable and |
11 |
> byte-compilation of python modules. Please find attached a hacky patch. |
12 |
> |
13 |
> thanks justin |
14 |
> |
15 |
> On 9/4/11 9:13 AM, Александр Берсенев wrote: |
16 |
>> Hi! |
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 |
> |