On 03/11/2015 03:14 PM, Joakim Tjernlund wrote:
> On Wed, 2015-03-11 at 21:02 +0000, Joakim Tjernlund wrote:
>> On Wed, 2015-03-11 at 13:48 -0700, Zac Medico wrote:
>>> On 03/11/2015 01:27 PM, Brian Dolbec wrote:
>>>> On Wed, 11 Mar 2015 20:16:06 +0000
>>>> Joakim Tjernlund <[email protected]> wrote:
>>>>> Why is --dynamic-deps=y default? This feels like lying about your true 
>>>>> deps, I am probably missing 
>>>>> something here, an example would be great:)  
>>>>
>>>>
>>>> Because the last time we even discussed the possibility of changing this 
>>>> and steps that might be to fix 
>>>> problems,...  There were a few individuals that raised such a stink about 
>>>> it, they even brought it to 
>>>> council to have us STOPPED.
>>>
>>> Well, stuff like this happens when you have lots of users. On the bright 
>>> side, at least we have users! 
>>> Something similar happened when I tried to make emerge --quiet-build the 
>>> default.
>>>
>>>> So, as a result much of the portage team don't feel like working on 
>>>> portage.  Heaven forbid we actually 
>>>> make a change!
>>>
>>> It's not so bad, considering that you can simply use --dynamic-deps=n if 
>>> you want, and now --changed-deps 
>>> makes it feasible regardless of what ebuild developers do.
>>
>> Oops, seems like I stumbled into a delicate area.
>> Anyhow, thanks for clarifying this. I will change Transmode defaults to 
>> --dynamic-deps=n and
>> see what happens.
>> Maybe a gentle push for --dynamic-deps=n in the man page could be the way 
>> forward?
> 
> So I added --dynamic-deps=n and got:
> emerge: there are no ebuilds built with USE flags to satisfy 
> ">=virtual/udev-208[gudev]".
> !!! One of the following packages is required to complete your request:
> - virtual/udev-215::gentoo (Missing IUSE: gudev)
> (dependency required by "sys-fs/udisks-2.1.3::gentoo" [installed])
> (dependency required by "gnome-base/gvfs-1.20.3::gentoo" [installed]) 
> (dependency required by "mate-base/caja-1.8.2-r1::gentoo" [installed]) 
> (dependency required by "mate-base/mate-1.8.0::gentoo" [installed]) 
> (dependency required by "@selected" [set])
> (dependency required by "@world" [argument])
> 
> After emerge with --changed-deps (165 pkgs), --dynamic-deps=n started to 
> work:)
> 
> I guess --dynamic-deps=n found a bug in my database, rebuilding stuff with 
> --changed-deps=y
> fixed it.

Yes, this happens when an ebuild developer modifies something important
in an ebuild without doing a revision bump.

> Then I should use --changed-deps=y with --dynamic-deps=n or is that just 
> extra precaution?

Well, if you use --changed-deps together with --newuse, then that will
trigger rebuilds whenever anything interesting changes, which ensures
that --dynamic-deps=n will work just as well as --dynamic-deps=y.

> Something else, can I have patches in my profile which epatch_user picks up?

Looking at the epatch_user code in eutils.eclass, I don't see a way to
for it to interact with your profile. However, your profile can use
profile.bashrc to implement a post_src_prepare hook that applies patches.
-- 
Thanks,
Zac

Reply via email to