1 |
On Sun, 16 May 2021 13:14:26 +0200 |
2 |
n952162 <n952162@×××.de> wrote: |
3 |
|
4 |
> On 5/16/21 12:53 PM, Andreas Fink wrote: |
5 |
> > On Sun, 16 May 2021 12:49:26 +0200 |
6 |
> > n952162 <n952162@×××.de> wrote: |
7 |
> > |
8 |
> >> On 5/16/21 11:28 AM, Neil Bothwick wrote: |
9 |
> >>> On Sun, 16 May 2021 11:26:37 +0200, n952162 wrote: |
10 |
> >>> |
11 |
> >>>>>> There are no use flags defined for any of the packages I did a random |
12 |
> >>>>>> check for, either on the server or the client. I am worried that it |
13 |
> >>>>>> is as you say: that the ebuild has a change of USE flags, which, of |
14 |
> >>>>>> course, has nothing to do with me, the user. |
15 |
> >>>>> As already stated, any USE flag changes would appear in the emerge |
16 |
> >>>>> output, this is most likely caused by --changed-deps. Try with |
17 |
> >>>>> --changed-use but without --changed-deps to see. |
18 |
> >>>>> |
19 |
> >>>>> |
20 |
> >>>> I have introduced that into my build script. But, if it's as you say, |
21 |
> >>>> the one is a subset of the other, it should have no effect on the |
22 |
> >>>> output, right? |
23 |
> >>>> |
24 |
> >>> --changed-use is a subset of --newuse. --changed-deps is separate. |
25 |
> >>> |
26 |
> >>> |
27 |
> >> Ah, I oversaw that. |
28 |
> >> |
29 |
> >> Ah. why would I want to have --changed-deps anyway? That suddenly seems |
30 |
> >> silly. |
31 |
> >> |
32 |
> >> It's unfortunate, if there's no explanatory display if a package got |
33 |
> >> disqualified for that reason. |
34 |
> >> |
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 |
> |
76 |
> Or, does it mean that the package specified XYZ.1 in an excess of |
77 |
> precision and the new version specifies XYZ.3? |
78 |
> |
79 |
> I just ran into this: |
80 |
> |
81 |
> --binpkg-changed-deps [ y | n ] |
82 |
> Tells emerge to ignore binary packages for which the |
83 |
> corresponding ebuild |
84 |
> dependencies have changed since the packages were built. |
85 |
> In order to help |
86 |
> avoid issues with resolving inconsistent dependencies, |
87 |
> this option is auto- |
88 |
> matically enabled unless the --usepkgonly option is |
89 |
> enabled. Behavior with |
90 |
> respect to changed build-time dependencies is controlled |
91 |
> by the --with-bdeps |
92 |
> option. |
93 |
> |
94 |
> But I haven't figured out what it means yet. In particular, what all |
95 |
> the stated implications mean. |
96 |
> |
97 |
This would be the option to ignore dependency mismatches of what the |
98 |
binary package claims its dependencies are (which you could see in |
99 |
$PKGDIR/Packages), and what the resolved dependencies are according to |
100 |
the *.ebuild file as portage is seeing it right now. |
101 |
|
102 |
Cheers |
103 |
Andreas |