Gentoo Archives: gentoo-dev

From: hasufell <hasufell@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: New eclass: ros-catkin.eclass, new USE_EXPAND: ROS_MESSAGES, new categories: dev-ros and ros-meta for review.
Date: Fri, 18 Sep 2015 11:33:22
Message-Id: 55FBF674.7050802@gentoo.org
In Reply to: Re: [gentoo-dev] Re: New eclass: ros-catkin.eclass, new USE_EXPAND: ROS_MESSAGES, new categories: dev-ros and ros-meta for review. by hasufell
1 On 09/18/2015 01:32 PM, hasufell wrote:
2 > On 09/18/2015 01:14 PM, Alexis Ballier wrote:
3 >> On Fri, 18 Sep 2015 13:04:45 +0200
4 >> hasufell <hasufell@g.o> wrote:
5 >>
6 >>> On 09/18/2015 12:56 PM, Alexis Ballier wrote:
7 >>>> On Fri, 18 Sep 2015 11:58:09 +0200
8 >>>> hasufell <hasufell@g.o> wrote:
9 >>>>
10 >>>>> On 09/18/2015 11:55 AM, Duncan wrote:
11 >>>>>> Alexis Ballier posted on Fri, 18 Sep 2015 11:04:19 +0200 as
12 >>>>>> excerpted:
13 >>>>>>
14 >>>>>>>> Keep in mind what this implies when you change these
15 >>>>>>>> dependencies without bumping the ebuilds that use them.
16 >>>>>>>
17 >>>>>>> only way i see these changing is with a new ros_messages_***
18 >>>>>>> useflag, which will cause a rebuild anyway
19 >>>>>>
20 >>>>>> ?? Only with --newuse or similar, tho? Otherwise USE (or
21 >>>>>> USE_EXPAND here) changes don't trigger rebuilds, do they?
22 >>>>>>
23 >>>>>
24 >>>>> Correct. It's not good to rely on this and expect users to have a
25 >>>>> certain update pattern or even use a particular PM.
26 >>>>>
27 >>>>
28 >>>> then they wont have the messages if they don't rebuild, and
29 >>>> cat/pkg[ros_messages_newthing] deps wont be satisfied and the pm
30 >>>> will do the right thing by rebuilding.
31 >>>> nothing to worry about, really.
32 >>>>
33 >>>
34 >>> cat/pkg[ros_messages_newthing] will not be in users VDB until you
35 >>> revbump cat/pkg, so I don't think it's that easy.
36 >>>
37 >>
38 >> and i think you're confused about what dynamic deps is and is not:
39 >> cat/pkg[ros_messages_newthing] is not in vdb, so is not satisfied, so
40 >> pm tries to find something that satisfies it from tree or dies.
41 >>
42 >
43 > I'm not confused about dynamic deps, but about your example, because you
44 > didn't say anything about revbumps.
45 >
46 > If cat/pkg is not (rev)bumped, then there will be no check about whether
47 > cat/pkg[ros_messages_newthing] is satisfied in the first place.
48 >
49
50 correcting: if the package adding cat/pkg[ros_messages_newthing] is not
51 (rev)bumped

Replies