Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174942 - app-editors/gedit-2.18.0 doesn't build with USE="-spell"
Summary: app-editors/gedit-2.18.0 doesn't build with USE="-spell"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-17 17:27 UTC by labor_ratte
Modified: 2007-04-17 18:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to take care of the spell USE flag (gedit-2.18_spell.diff,257 bytes, patch)
2007-04-17 17:30 UTC, labor_ratte
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description labor_ratte 2007-04-17 17:27:16 UTC
When emerging app-editors/gedit-2.18.0 with USE="-spell", 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="-spell".

Reproducible: Always

Steps to Reproduce:
1. have no app-text/enchant on target system
2. emerge app-text/gedit-2.18.0 with USE="-spell"
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 'src_compile'
  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 '--disable-gtk-doc'
  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 '/var/tmp/portage/app-editors/gedit-2.18.0/temp/build.log'.



We should follow the advice to use --disable-spell if support for spelling is not wanted.
Comment 1 labor_ratte 2007-04-17 17:30:42 UTC
Created attachment 116532 [details, diff]
patch to take care of the spell USE flag

The ebuild modified with this patch works as expected.
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2007-04-17 18:32:29 UTC
Thanks for reporting this. Patched and committed in CVS. :)

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

+G2CONF="${G2CONF} \
+       $(use_enable spell)"
+