<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>127429</bug_id>
          
          <creation_ts>2006-03-24 06:52 0000</creation_ts>
          <short_desc>invalid use flags check in app-emacs/emacs-w3m-1.4.4</short_desc>
          <delta_ts>2006-05-20 13:12:04 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>tassilo@member.fsf.org</reporter>
          <assigned_to>emacs@gentoo.org</assigned_to>
          <cc>jakub@gentoo.org</cc>
    
    <cc>qa@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>tassilo@member.fsf.org</who>
            <bug_when>2006-03-24 06:52:45 0000</bug_when>
            <thetext>Hi,
one cannot install emacs-w3m if &quot;async&quot; is in USE. That&apos;s too restrictive, because the user (like me) could have

    www-client/w3m -async

in his/her /etc/portage/package.use. So sticking with a simple warning message about the async-problem would be better.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-03-24 07:24:08 0000</bug_when>
            <thetext>&lt;snip&gt;
        # use async doesn&apos;t ensure you built w3m with async flag,
        # but it&apos;s safe to abort if you have it.
        ewarn &quot;emacs-w3m hangs if you build w3m with async support.&quot;
        ewarn &quot;Please turn off async USE flag if you set it.&quot;
        ewarn
        if use async ; then
                die &quot;async USE flag detected. aborting.&quot;
        fi
&lt;/snip&gt;

This is completely broken check, if the thing really doesn&apos;t work when something else is compiled with a particular USE flag, then please do something like:

inherit eutils

...

if built_with_use www-client/w3m async; then
        eerror &quot;emacs-w3m hangs if you build w3m with async support.&quot;
        die &quot;re-emerge www-client/w3m with USE=\&quot;-async\&quot;&quot;
fi

Don&apos;t die just because someone has a USE flag enabled that isn&apos;t even in this ebuild&apos;s IUSE.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mkennedy@gentoo.org</who>
            <bug_when>2006-04-26 10:19:11 0000</bug_when>
            <thetext>Arch teams for alpha, ppc, x86 and sparc: Please add stable keywords for app-emacs/emacs-w3m-1.4.4-r1 in order to resolve this bug.  Thanks for the QA solution Jakub</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>david.morgan@gmail.com</who>
            <bug_when>2006-04-28 08:12:30 0000</bug_when>
            <thetext>Looks safe to mark this as stable on x86 since it&apos;s just a change in how the ebuild checks for w3m&apos;s USE, and the logic there is working fine. (I gave it 10 minutes of testing anyway, and didn&apos;t run into any problems).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dertobi123@gentoo.org</who>
            <bug_when>2006-04-29 04:59:52 0000</bug_when>
            <thetext>ppc stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>halcy0n@gentoo.org</who>
            <bug_when>2006-05-03 15:00:35 0000</bug_when>
            <thetext>x86 stable, thanks David</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>weeve@gentoo.org</who>
            <bug_when>2006-05-06 16:14:58 0000</bug_when>
            <thetext>SPARC, it makes me so stable.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mkennedy@gentoo.org</who>
            <bug_when>2006-05-15 09:11:38 0000</bug_when>
            <thetext>I mentioned alpha arch, but neglected to add it to the CC list.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mkennedy@gentoo.org</who>
            <bug_when>2006-05-16 22:47:11 0000</bug_when>
            <thetext>alpha archs testers, please keyword emacs app-emacs/emacs-w3m-1.4.4-r1 stable.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tcort@gentoo.org</who>
            <bug_when>2006-05-19 16:02:51 0000</bug_when>
            <thetext>1.4.4-r1 stable on alpha.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mkennedy@gentoo.org</who>
            <bug_when>2006-05-20 13:12:04 0000</bug_when>
            <thetext>All arches done, closing</thetext>
          </long_desc>
      
    </bug>

</bugzilla>