Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 718634 - Compile failure app-text/enchant-2.2.8
Summary: Compile failure app-text/enchant-2.2.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal critical
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-20 15:34 UTC by Arnd Feldmueller
Modified: 2020-04-26 18:05 UTC (History)
1 user (show)

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


Attachments
build.log (build.log.gz,20.19 KB, application/gzip)
2020-04-20 15:34 UTC, Arnd Feldmueller
Details
Environment (environment,19.56 KB, text/plain)
2020-04-20 15:37 UTC, Arnd Feldmueller
Details
emerge --info (emerge.info,19.21 KB, application/x-info)
2020-04-20 15:39 UTC, Arnd Feldmueller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arnd Feldmueller 2020-04-20 15:34:09 UTC
Created attachment 633874 [details]
build.log

See build.log
Comment 1 Arnd Feldmueller 2020-04-20 15:37:58 UTC
Created attachment 633876 [details]
Environment
Comment 2 Arnd Feldmueller 2020-04-20 15:39:43 UTC
Created attachment 633878 [details]
emerge --info
Comment 3 Mart Raudsepp gentoo-dev 2020-04-20 16:25:48 UTC
It seems to think you are on Mac OSX or something :(
Comment 4 Arnd Feldmueller 2020-04-20 16:27:57 UTC
(In reply to Mart Raudsepp from comment #3)
> It seems to think you are on Mac OSX or something :(

Yeah, but I've got an AMD64. :-)
Comment 5 Arnd Feldmueller 2020-04-20 16:29:46 UTC
(In reply to Arnd Feldmueller from comment #4)
> (In reply to Mart Raudsepp from comment #3)
> > It seems to think you are on Mac OSX or something :(
> 
> Yeah, but I've got an AMD64. :-)

With app-text/enchant-1.6.1-r1 it worked.
Comment 6 Arnd Feldmueller 2020-04-20 17:02:46 UTC
./configure --without-applespell --without-aspell --enable-relocatable

Worked for me.
Comment 7 Mart Raudsepp gentoo-dev 2020-04-26 15:47:37 UTC
Ok, so you not only have gcc ObjC capable, you also DO have these:

checking Cocoa/Cocoa.h usability... yes
checking Cocoa/Cocoa.h presence... yes
checking for Cocoa/Cocoa.h... yes

I'm guessing some gnustep-* package or something is installed for you. This would explain the mystery.

I'll disabling applespell explicitly (without revbump if only that) and look what the relocatable thing is about; I don't think we want that.
Comment 8 Larry the Git Cow gentoo-dev 2020-04-26 15:53:50 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b50f5d6373f7793d40b8a6ae48a47c60dc6d3516

commit b50f5d6373f7793d40b8a6ae48a47c60dc6d3516
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2020-04-26 15:52:51 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2020-04-26 15:53:05 +0000

    app-text/enchant: explicitly disable applespell
    
    Apparently if gnustep is installed, there's a Cocoa.h header, and the
    autodetection in enchant decides that applespell should be built (and
    fail at doing so).
    Just explicitly disable it to fix build issues in such situations.
    
    Also explicitly disable zemberek while at it, but the default for that
    already is "no", not "check", so not a real change.
    
    Closes: https://bugs.gentoo.org/718634
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 app-text/enchant/enchant-2.2.8.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Comment 9 Chris Phillips @T.O. 2020-04-26 18:05:52 UTC
Had the same bug/problem, the work-around works... Thanks!