Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 174942
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: labor_ratte <flaschenkopp@gmx.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gedit-2.18_spell.diff patch to take care of the spell USE flag patch labor_ratte 2007-04-17 17:30 0000 257 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 174942 depends on: Show dependency tree
Bug 174942 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-04-17 17:27 0000
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 From labor_ratte 2007-04-17 17:30:42 0000 -------
Created an attachment (id=116532) [details]
patch to take care of the spell USE flag

The ebuild modified with this patch works as expected.

------- Comment #2 From Rémi Cardona 2007-04-17 18:32:29 0000 -------
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)"
+

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug