<?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>174942</bug_id>
          
          <creation_ts>2007-04-17 17:27 0000</creation_ts>
          <short_desc>app-editors/gedit-2.18.0 doesn&apos;t build with USE=&quot;-spell&quot;</short_desc>
          <delta_ts>2007-04-17 18:32:29 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>GNOME</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>flaschenkopp@gmx.de</reporter>
          <assigned_to>gnome@gentoo.org</assigned_to>
          <cc>flaschenkopp@gmx.de</cc>

      

      
          <long_desc isprivate="0">
            <who>flaschenkopp@gmx.de</who>
            <bug_when>2007-04-17 17:27:16 0000</bug_when>
            <thetext>When emerging app-editors/gedit-2.18.0 with USE=&quot;-spell&quot;, econf is failing if there is no app-text/enchant present on the target system.
Otherwise it seems, if it were present the package would be built with support for spelling, even with USE=&quot;-spell&quot;.

Reproducible: Always

Steps to Reproduce:
1. have no app-text/enchant on target system
2. emerge app-text/gedit-2.18.0 with USE=&quot;-spell&quot;
3. 

Actual Results:  
checking for xgettext... /usr/bin/xgettext
checking for ENCHANT... no
configure: error: Enchant library not found or too old. Use --disable-spell to build without spell plugin.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/app-editors/gedit-2.18.0/work/gedit-2.18.0/config.log

!!! ERROR: app-editors/gedit-2.18.0 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call &apos;src_compile&apos;
  ebuild.sh, line 44:   Called src_compile
  ebuild.sh, line 1304:   Called gnome2_src_compile
  gnome2.eclass, line 70:   Called gnome2_src_configure
  gnome2.eclass, line 66:   Called econf &apos;--disable-gtk-doc&apos;
  ebuild.sh, line 577:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at &apos;/var/tmp/portage/app-editors/gedit-2.18.0/temp/build.log&apos;.



We should follow the advice to use --disable-spell if support for spelling is not wanted.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>flaschenkopp@gmx.de</who>
            <bug_when>2007-04-17 17:30:42 0000</bug_when>
            <thetext>Created an attachment (id=116532)
patch to take care of the spell USE flag

The ebuild modified with this patch works as expected.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>remi@gentoo.org</who>
            <bug_when>2007-04-17 18:32:29 0000</bug_when>
            <thetext>Thanks for reporting this. Patched and committed in CVS. :)

FYI, here&apos;s what I actually committed (if you ever feel like patching other ebuilds) :

+G2CONF=&quot;${G2CONF} \
+       $(use_enable spell)&quot;
+

</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>116532</attachid>
            <date>2007-04-17 17:30 0000</date>
            <desc>patch to take care of the spell USE flag</desc>
            <filename>gedit-2.18_spell.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvcG9ydGFnZS9hcHAtZWRpdG9ycy9nZWRpdC9nZWRpdC0yLjE4LjAuZWJ1aWxkIAor
KysgL3Vzci9sb2NhbC9wb3J0YWdlL2FwcC1lZGl0b3JzL2dlZGl0L2dlZGl0LTIuMTguMS5lYnVp
bGQgCkBAIC00NCw0ICs0NCw5IEBACiAJTUFLRU9QVFM9IiR7TUFLRU9QVFN9IC1qMSIKIGZpCiAK
K3BrZ19zZXR1cCgpIHsKKwlpZiAhIHVzZSBzcGVsbDsgdGhlbgorCQlHMkNPTkY9IiR7RzJDT05G
fSAtLWRpc2FibGUtc3BlbGwiCisJZmkKK30KIAo=
</data>        

          </attachment>
    </bug>

</bugzilla>