Gentoo Archives: gentoo-portage-dev

From: Ned Ludd <solar@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] .53, .54 and beyond...
Date: Fri, 25 Nov 2005 17:06:36
Message-Id: 1132938357.21175.119.camel@localhost
In Reply to: Re: [gentoo-portage-dev] .53, .54 and beyond... by Jason Stubbs
1 On Sat, 2005-11-26 at 00:51 +0900, Jason Stubbs wrote:
2 > On Saturday 26 November 2005 00:31, Ned Ludd wrote:
3 > > On Sat, 2005-11-26 at 00:01 +0900, Jason Stubbs wrote:
4 > > > Hi all,
5 > > >
6 > > > I don't think there's really anything else that can be done for 2.0.53 so
7 > > > am thinking that we should probably push _rc7 + docs out and let the arch
8 > > > teams mark it stable when they're ready (or stick with 2.0.51.22-r3 if it
9 > > > pleaseth them).
10 > >
11 > > [snip]
12 > >
13 > > > There's a few things listed on the new
14 > > > (still unreleased?) project index and I'm looking to get the dependency
15 > > > stuff refactored and moved out of emerge.. What are the shortterm goals?
16 > >
17 > > For me my short term goals are to see these things happen
18 > >
19 > > * pax-utils depends ( .53 )
20 > > * seeing CDEPEND stop being created for the VDB ( .53 )
21 >
22 > Definitely doable.
23 >
24 > > * post_sync action hook (.53/.54 )
25 > > * VDB prevention of single byte NULL entries being created. ( .54 )
26 >
27 > Doable for .54.
28
29 Yeah and from the sounds of it we may want more than 1 set of postsync
30 hooks or the addition of a postsync.d/
31 (dev thread on getting vital info to users)
32
33 > > * new prepstrip offering splitdebug ( .53/.54 )
34 >
35 > Need to work out exactly what will be offered when on this one, but at the
36 > earliest it will be .54. Perhaps go with your patch for .54 and leave
37 > Olivier's fancy bits for later?
38
39 I can only assure you the code I wrote will function properly.
40 So that's the only thing I'm trying/willing to push myself.
41 As long as he has those [ -x checks ] his code should be harmless,
42 but I don't see the advantage in it over building with -g3.
43
44 > There are a few other questions too... Should
45 > the default be to generate external debug info?
46
47 I think the security team would say yes they want it by default and
48 would be willing (taviso) to write a proper debug-HOWTO.xml for gentoo.
49 I think ferringb would say make it FEATURES=splitdebug if
50 it's going in midstream.
51
52
53 It does add some size which would make peoples $ROOT's a little bit
54 bigger. But from mine and other peoples testing it's pretty damn
55 minimal. I think Halcy0n @ gentoo said after doing an -e world he ended
56 up with only 18M of split debug info
57
58 I'm also fond of split packaging of debug info also (but I'm not going
59 to push for that till I find a more elegant way)
60
61 solar@simple debug $ qsize pax-utils
62 app-misc/pax-utils-debug-0.1.4-r0: 3 files, 5 non-files, 16.27 KB
63 app-misc/pax-utils-0.1.4: 6 files, 6 non-files, 102.485 KB
64
65 Perhaps we should get input from gentoo-dev ml ?
66
67 > Should generating internal
68 > debug info still be offered?
69
70 When FEATURES=nostrip is enabled we should not split off
71 any debug info or touch the executable.
72
73 > What platforms is it supported on?..
74
75 Everywhere ELF is a standard.
76
77
78 > > * misc cleanups of dyn_install (.54 )
79 >
80 > Need more info.
81
82 This is just something I want todo for my own sanity,
83 ie break parts of our existing dyn_install() out
84 into /usr/lib/portage/bin/ scripts.
85 The current function is about 209 lines of code and I
86 can see it growing even more.
87
88 > > * flattened vdb {P,R,}DEPEND (.54 )
89 >
90 > I might be wrong but I can't really see this being done cleanly. At best, only
91 > USE flags could be gotten rid of which would still leave || () constructs.
92 > This leads me to question of what use it would really be. If it can only do a
93 > half-arsed job and in a messy way at that I'd personally prefer it to be done
94 > later on.
95
96 It will indeed still leave you with || ( foo bar ) or >=cpv which you
97 can be parsed just fine. Yeah it would be nice if it could be reduced
98 more but later on or now I don't see how it can be reduced anymore than
99 to the requirements that the ebuild requested. One big advantage for me
100 here is that virtuals would be resolved.
101 This will probably lead to an overall reduction in size of the VDB.
102
103
104 > > * introduction of RRDEPEND to the VDB ( .54 )
105 >
106 > What is this again?
107
108 Ok I talked a little bit about this on this list the other day and a few
109 months ago with you on #-portage.
110
111 <man>
112 RRDEPEND
113 This entry is automatically created by portage. It contains a
114 list of reverse dependencies that is achieved by resolving the
115 DT_NEEDED entries of an ELF executable.
116 </man>
117
118
119 Justification
120
121 Programs such as revdep-rebuild, verify-rdepend would be able to make
122 immediate use. A little bit of a longer term goal is to see portage gain
123 the ability to request to only use RRDEPEND entries to be used for
124 depgraph creation for use with embedded/mimimal systems.
125
126 ROOT=/dev/shm/minimal emerge -KO --deps="RRDEPEND" pkgfoo
127
128 RRDEPEND will need to exist due to the RDEPEND explosion and lack of a
129 clear definition when it was first introduced to portage.
130 The advantage from where I'm sitting is that devs don't really have a
131 chance to make mistakes with R/DEPEND handling and people who are
132 attempting to stage $ROOT can get exactly what they are after in the
133 embedded world.
134
135
136 --
137 Ned Ludd <solar@g.o>
138 Gentoo Linux
139
140 --
141 gentoo-portage-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-portage-dev] .53, .54 and beyond... Ciaran McCreesh <ciaranm@g.o>
Re: [gentoo-portage-dev] .53, .54 and beyond... Jason Stubbs <jstubbs@g.o>