Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 643718 - dev-python/pyenchant-1.6.6 (or 1.6.8) fails with AttributeError: /usr/lib64/libenchant.so: undefined symbol: enchant_dict_is_in_session
Summary: dev-python/pyenchant-1.6.6 (or 1.6.8) fails with AttributeError: /usr/lib64/l...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: enchant-2
  Show dependency tree
 
Reported: 2018-01-06 17:05 UTC by Jack
Modified: 2018-07-28 17:22 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,3.43 KB, text/x-log)
2018-01-06 17:06 UTC, Jack
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jack 2018-01-06 17:05:27 UTC
I am only assuming this is due to >=enchant-2, but if that's not the reason, there is some other problem.  I have enchant 2.1.1 installed.

Reproducible: Always

Steps to Reproduce:
1. emerge >=app-text/enchant-2
2. try to emerge dev-python/pyenchant (only 1.6.6 and ~1.6.8 are in tree now)
3.
Actual Results:  
emerge failure (I will attach build.log)

Expected Results:  
emerge success

If this is the correct reason, then this but should block 629838.
Comment 1 Jack 2018-01-06 17:06:43 UTC
Created attachment 513536 [details]
build.log

build.log from pyenchant (~)1.6.8
Comment 2 Jack 2018-01-06 18:24:33 UTC
There is a pyenchant 2.0.0 which emerges without problem for me, simply copying the 1.6.8 ebuild to 2.0.0.  I'll be glad to file a separate version bump request, unless this bug is sufficient.
Comment 3 Larry the Git Cow gentoo-dev 2018-07-28 17:22:08 UTC
The bug has been closed via the following commit(s):

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

commit cd514ed669015e36c2fc797ef34d7f521bbdcb50
Author:     Louis Sautier <sbraz@gentoo.org>
AuthorDate: 2018-07-28 17:14:08 +0000
Commit:     Louis Sautier <sbraz@gentoo.org>
CommitDate: 2018-07-28 17:21:43 +0000

    dev-python/pyenchant: bump to 2.0.0, supports enchant 2, Py3.7+PyPy3
    
    * This new version works with enchant v1.x and v2.x so we can get rid of
      ${PV%.*} in RDEPEND.
    * app-dicts/myspell-en must be installed to avoid the failure from bug 659258.
    * Tests are fine as long as a UTF-8 locale is present, not necessarily
      en_US.UTF-8, remove the locale check from python_test.
    * When using a non-English locale, one test might fail, so it's
      commented out and the failure is reported upstream.
    
    Closes: https://bugs.gentoo.org/643718
    Closes: https://bugs.gentoo.org/659258
    Closes: https://bugs.gentoo.org/656172
    Package-Manager: Portage-2.3.43, Repoman-2.3.10

 dev-python/pyenchant/Manifest               |  1 +
 dev-python/pyenchant/pyenchant-2.0.0.ebuild | 37 +++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)