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