1 |
Daniel Iliev wrote: |
2 |
> Hi, |
3 |
> |
4 |
> |
5 |
> Would anybody, please, confirm the following behavior before I file a |
6 |
> report with B.G.O? |
7 |
> |
8 |
> |
9 |
> % emerge -C dev-perl/yaml |
10 |
> |
11 |
> % emerge --depclean -p |
12 |
> |
13 |
> [-snip-] |
14 |
> |
15 |
> Calculating dependencies... done! |
16 |
> * Dependencies could not be completely resolved due to |
17 |
> * the following required packages not being installed: |
18 |
> * |
19 |
> * dev-perl/yaml pulled in by: |
20 |
> * perl-core/Module-Build-0.28.08 |
21 |
> * |
22 |
> * Have you forgotten to run `emerge --update --newuse --deep world` |
23 |
> prior |
24 |
> * to depclean? It may be necessary to manually uninstall packages that |
25 |
> no longer |
26 |
> * exist in the portage tree since it may not be possible to satisfy |
27 |
> their |
28 |
> * dependencies. Also, be aware of the --with-bdeps option that is |
29 |
> documented |
30 |
> * in `man emerge`. |
31 |
> |
32 |
> |
33 |
> |
34 |
> |
35 |
> % emerge --update --newuse --deep world |
36 |
> Calculating dependencies... done! |
37 |
> |
38 |
>>>> Auto-cleaning packages... |
39 |
>>>> |
40 |
> |
41 |
> |
42 |
>>>> No outdated packages were found on your system. |
43 |
>>>> |
44 |
> |
45 |
> |
46 |
> |
47 |
It's not a bug, it's counterintuitive expected behavior. The pointer to |
48 |
the answer is buried in the error message: "Also, be aware of the |
49 |
--with-bdeps option that is documented in `man emerge`" |
50 |
|
51 |
In summary, dev-perl/yaml is a build dependency of Module-Build, and |
52 |
therefore not strictly required. By default, to be safe, depclean |
53 |
expects it to be there. Since Module-Build is already installed, |
54 |
however, by default emerge won't pull it in, because it shouldn't be |
55 |
necessary. Hence, the behavior you observe. |
56 |
|
57 |
You can file a bug if you wish, but make sure to do a full search, as |
58 |
there are misunderstandings of depclean all over b.g.o. |
59 |
|
60 |
Nick |