1 |
On 5/16/21 2:24 PM, Andreas Fink wrote: |
2 |
> On Sun, 16 May 2021 13:14:26 +0200 |
3 |
> n952162 <n952162@×××.de> wrote: |
4 |
> |
5 |
>> On 5/16/21 12:53 PM, Andreas Fink wrote: |
6 |
>>> On Sun, 16 May 2021 12:49:26 +0200 |
7 |
>>> n952162 <n952162@×××.de> wrote: |
8 |
>>> |
9 |
>>>> On 5/16/21 11:28 AM, Neil Bothwick wrote: |
10 |
>>>>> On Sun, 16 May 2021 11:26:37 +0200, n952162 wrote: |
11 |
>>>>> |
12 |
>>>>>>>> There are no use flags defined for any of the packages I did a random |
13 |
>>>>>>>> check for, either on the server or the client. I am worried that it |
14 |
>>>>>>>> is as you say: that the ebuild has a change of USE flags, which, of |
15 |
>>>>>>>> course, has nothing to do with me, the user. |
16 |
>>>>>>> As already stated, any USE flag changes would appear in the emerge |
17 |
>>>>>>> output, this is most likely caused by --changed-deps. Try with |
18 |
>>>>>>> --changed-use but without --changed-deps to see. |
19 |
>>>>>>> |
20 |
>>>>>>> |
21 |
>>>>>> I have introduced that into my build script. But, if it's as you say, |
22 |
>>>>>> the one is a subset of the other, it should have no effect on the |
23 |
>>>>>> output, right? |
24 |
>>>>>> |
25 |
>>>>> --changed-use is a subset of --newuse. --changed-deps is separate. |
26 |
>>>>> |
27 |
>>>>> |
28 |
>>>> Ah, I oversaw that. |
29 |
>>>> |
30 |
>>>> Ah. why would I want to have --changed-deps anyway? That suddenly seems |
31 |
>>>> silly. |
32 |
>>>> |
33 |
>>>> It's unfortunate, if there's no explanatory display if a package got |
34 |
>>>> disqualified for that reason. |
35 |
>>>> |
36 |
>>>> |
37 |
>> Trying to comprehend here... |
38 |
>> |
39 |
>>> If you want to have a binhost, then --changed-deps will become |
40 |
>>> "necessary" at some point. Let me draw you a picture, where a binhost |
41 |
>>> would fail to provide the correct package: |
42 |
>>> - Binhost builds on day 1 package XYZ(i.e. server updates from internet) |
43 |
>>> - computer that would merge with packages from binhost is NOT updated(client does NO emerge on that day) |
44 |
>>> - the dependencies are changed on day 2(i.e. XYZ is emerged onto server, with changed dependencies in the ebuild) |
45 |
>>> - Binhost does NOT rebuild, because you do not have --changed-deps |
46 |
>>> enabled on day 2*(what is "Binhost" here? The --changed-deps is specified on the client)* |
47 |
>>> - Computer that merges from the binhost is updated on day 2 but will |
48 |
>>> NOT use the binary package from binhost, because the dependencies do |
49 |
>>> not match |
50 |
>>> There are flags to ignore dependency mismatches, but the default would |
51 |
>>> just not use the binary package. |
52 |
>>> |
53 |
>>> Cheers |
54 |
>>> Andreas |
55 |
>>> |
56 |
>> What does changed-deps mean, actually? |
57 |
>> |
58 |
>> --changed-deps [ y | n ] |
59 |
>> Tells emerge to replace installed packages for which |
60 |
>> the corresponding |
61 |
>> ebuild dependencies have changed since the packages were |
62 |
>> built. ... |
63 |
>> |
64 |
>> I presume it means that a package needed XYZ before, but now needs |
65 |
>> XYZZ. If I don't specify --changed-deps, that I might get a run-time |
66 |
>> resolution problem. |
67 |
> Changed dependencies means any change in the *.ebuild file with respect |
68 |
> to the variables DEPEND/BDEPEND/RDEPEND/PDEPEND, e.g. version of a |
69 |
> dependent package has changed, new package was added as dependency, a |
70 |
> package was removed as dependency. All are dependency changes. If the |
71 |
> changed *.ebuild file is commited to the portage tree WITHOUT a |
72 |
> version-bump/revision-bump, then emerge would NOT rebuild the package, |
73 |
> unless --changed-deps is given as an argument. |
74 |
> |
75 |
>> Or, does it mean that the package specified XYZ.1 in an excess of |
76 |
>> precision and the new version specifies XYZ.3? |
77 |
>> |
78 |
>> I just ran into this: |
79 |
>> |
80 |
>> --binpkg-changed-deps [ y | n ] |
81 |
>> Tells emerge to ignore binary packages for which the |
82 |
>> corresponding ebuild |
83 |
>> dependencies have changed since the packages were built. |
84 |
>> In order to help |
85 |
>> avoid issues with resolving inconsistent dependencies, |
86 |
>> this option is auto- |
87 |
>> matically enabled unless the --usepkgonly option is |
88 |
>> enabled. Behavior with |
89 |
>> respect to changed build-time dependencies is controlled |
90 |
>> by the --with-bdeps |
91 |
>> option. |
92 |
>> |
93 |
>> But I haven't figured out what it means yet. In particular, what all |
94 |
>> the stated implications mean. |
95 |
>> |
96 |
> This would be the option to ignore dependency mismatches of what the |
97 |
> binary package claims its dependencies are (which you could see in |
98 |
> $PKGDIR/Packages), and what the resolved dependencies are according to |
99 |
> the *.ebuild file as portage is seeing it right now. |
100 |
> |
101 |
> Cheers |
102 |
> Andreas |
103 |
> |
104 |
|
105 |
Thank you. |