On 11/26/2011 04:15 PM, "Paweł Hajdan, Jr." wrote:
> Please see <https://bugs.gentoo.org/show_bug.cgi?id=354205>, tkabber is
> completely broken in stable since February.
> 
> * ERROR: net-im/tkabber-0.9.9 failed:
>  *   dev-tcltk/tclxml-3.2-r1 does not actually support the expat USE flag!
>  *
>  * Call stack:
>  *              ebuild.sh, line  56:  Called pkg_setup
>  *   tkabber-0.9.9.ebuild, line  36:  Called built_with_use
> 'dev-tcltk/tclxml'
> 'expat'
>  *          eutils.eclass, line 1882:  Called die
>  * The specific snippet of code:
>  *                                      die)   die "$PKG does not actually
> support the $1 USE flag!";;
>  *
> 

I went ahead and committed the least-invasive change possible to prevent
the build failure:

Index: tkabber-0.9.9.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-im/tkabber/tkabber-0.9.9.ebuild,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -B -r1.9 -r1.10
--- tkabber-0.9.9.ebuild        7 Dec 2010 11:51:06 -0000       1.9
+++ tkabber-0.9.9.ebuild        26 Nov 2011 21:40:34 -0000      1.10
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header:
/var/cvsroot/gentoo-x86/net-im/tkabber/tkabber-0.9.9.ebuild,v 1.9
2010/12/07 11:51:06 jlec Exp $
+# $Header:
/var/cvsroot/gentoo-x86/net-im/tkabber/tkabber-0.9.9.ebuild,v 1.10
2011/11/26 21:40:34 floppym Exp $

 inherit eutils

@@ -33,7 +33,7 @@
                ewarn "If you need that press Contrl-C now and activate it!"
        fi
        if has_version '>=dev-tcltk/tclxml-3.0' \
-               && ! built_with_use dev-tcltk/tclxml expat ; then
+               && ! built_with_use --missing true dev-tcltk/tclxml expat ; then
                eerror "tclxml is missing expat support."
                eerror "Please add 'expat' to your USE flags, and re-emerge 
tclxml."
                die "tclxml needs expat support"

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to