1 |
On Mon, 2012-02-27 at 20:29 +0100, Pacho Ramos wrote: |
2 |
> El lun, 27-02-2012 a las 16:06 +0100, "Paweł Hajdan, Jr." escribió: |
3 |
> > On 2/24/12 6:56 PM, "Paweł Hajdan, Jr." wrote: |
4 |
> > > I'd like to modify eutils.eclass to only generate one command: |
5 |
> > > |
6 |
> > > # revdep-rebuild --library '/usr/lib/libv8.so.3.9.4' && \ |
7 |
> > > rm '/usr/lib/libv8.so.3.9.4' |
8 |
> > |
9 |
> > Given supporting comments to this thread (and totally off-topic |
10 |
> > zfs/btrfs discussion), I'd like to commit the patch below in 24 hours. |
11 |
> > |
12 |
> > > --- eutils.eclass.orig 2012-02-26 10:02:24.000000000 +0100 |
13 |
> > > +++ eutils.eclass 2012-02-26 10:03:17.000000000 +0100 |
14 |
> > > @@ -1276,16 +1276,8 @@ |
15 |
> > > fi |
16 |
> > > # temp hack for #348634 #357225 |
17 |
> > > [[ ${PN} == "mpfr" ]] && lib=${lib##*/} |
18 |
> > > - ewarn " # revdep-rebuild --library '${lib}'" |
19 |
> > > + ewarn " # revdep-rebuild --library '${lib}' && rm '${lib}'" |
20 |
> > > done |
21 |
> > > - if [[ ${notice} -eq 1 ]] ; then |
22 |
> > > - ewarn |
23 |
> > > - ewarn "Once you've finished running revdep-rebuild, it should be safe to" |
24 |
> > > - ewarn "delete the old libraries. Here is a copy & paste for the lazy:" |
25 |
> > > - for lib in "$@" ; do |
26 |
> > > - ewarn " # rm '${lib}'" |
27 |
> > > - done |
28 |
> > > - fi |
29 |
> > > } |
30 |
> > > |
31 |
> > > # @FUNCTION: built_with_use |
32 |
> > |
33 |
> |
34 |
> I think somebody pointed some "revdep-rebuild" versions where exiting |
35 |
> with successful code even when failed, was fixed version stabilized? |
36 |
|
37 |
No, it is only in -9999 so far. It has not been released in a -0.3* |
38 |
ebuild yet. |
39 |
|
40 |
The last patch to revdep-rebuild fixing return codes is: |
41 |
|
42 |
http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=3e51df74595c535656ef9f38bf7a577a4f64d0f5 |
43 |
|
44 |
from 11 days ago. |
45 |
|
46 |
-- |
47 |
Brian Dolbec <dolsen@g.o> |