Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250573 - emerging mail-client/claws-mail-3.6.1 with USE=spell fails if app-text/enchant-1.3.0 is installed
Summary: emerging mail-client/claws-mail-3.6.1 with USE=spell fails if app-text/enchan...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Christian Faulhammer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 250115
Blocks:
  Show dependency tree
 
Reported: 2008-12-10 23:39 UTC by michael@smith-li.com
Modified: 2008-12-22 13:33 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description michael@smith-li.com 2008-12-10 23:39:53 UTC
enchant-1.3.0 has IUSE="", so the aspell useflag cannot be set for it, but claws-mail 3.6.1 depends on ( >=app-text/enchant-1.0.0 ) if USE=spell. It should depend on ( >app-text/enchant-1.3.0 ), because only the most recent version of enchant has IUSE="aspell..."

Reproducible: Always

Actual Results:  
>>> Emerging (1 of 3) mail-client/claws-mail-3.6.1
 * claws-mail-3.6.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                        [ ok ]
 * checking ebuild checksums ;-) ...                                                               [ ok ]
 * checking auxfile checksums ;-) ...                                                              [ ok ]
 * checking miscfile checksums ;-) ...                                                             [ ok ]
 * 
 * ERROR: mail-client/claws-mail-3.6.1 failed.
 * Call stack:
 *                 ebuild.sh, line   49:  Called pkg_setup
 *   claws-mail-3.6.1.ebuild, line   46:  Called built_with_use 'app-text/enchant' 'aspell'
 *             eutils.eclass, line 1721:  Called die
 * The specific snippet of code:
 *   			die)	die "Unable to determine what USE flags $PKG was built with";;
 *  The die message:
 *   Unable to determine what USE flags app-text/enchant-1.3.0 was built with
 * 
 * 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/mail-client/claws-mail-3.6.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/mail-client/claws-mail-3.6.1/temp/die.env'.
 *
Comment 1 David Relson 2008-12-14 21:19:59 UTC
Same problem with claws-mail-3.6.1-r1
Comment 2 David Relson 2008-12-14 21:26:31 UTC
A workaround (of sorts) is to disable spellchecking with

   echo mail-client/claws-mail -spell >> /etc/package.use

Comment 3 Dan Farrell 2008-12-15 19:24:31 UTC
claws-mail does not build against enchant-1.3.0 either.  

Same error.  
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2008-12-21 01:53:37 UTC
As noted in bug 250115 --missing true is the key for the correct built_with_use check.  To clarify what the problem was:

I checked unconditionally for USE=aspell in app-text/enchant, but this USE flag only exists in versions >= 1.4.2, although the aspell functionality is included in lower versions without any additional USE flags.  So the now used --missing true option for the USE flag check will just wave it through if there is no aspell USE flag at.  It will only fail on USE=-aspell (note the minus sign).

Sorry for the inconvenience, but I was a bit short on time lately.  This should be fixed now, so please report back if you still get errors with enchant < 1.4.2 and Claws with USE=spell
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2008-12-22 13:33:43 UTC
The check is not needed at all, see bug 250115 for an explanation.