Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898708 - dev-python/shapely-2.0.1 fails to compile (CYTHON3-SYSTEM): Cython.Compiler.Errors.CompileError: _geos.pyx
Summary: dev-python/shapely-2.0.1 fails to compile (CYTHON3-SYSTEM): Cython.Compiler.E...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: 3D Printing Team
URL:
Whiteboard:
Keywords: PATCH
: 911593 (view as bug list)
Depends on:
Blocks: cython3-tracker
  Show dependency tree
 
Reported: 2023-03-02 08:26 UTC by Agostino Sarubbo
Modified: 2023-10-10 05:07 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,47.62 KB, text/plain)
2023-03-02 08:26 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-03-02 08:26:37 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/shapely-2.0.1 fails to compile (CYTHON3-SYSTEM).
Discovered on: amd64 (internal ref: hardened_tinderbox)

NOTE:
(CYTHON3-SYSTEM) in the summary means that the bug was found on a machine that runs dev-python/cython-3 but this bug MAY or MAY NOT BE related to the new version of cython
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-02 08:26:39 UTC
Created attachment 855558 [details]
build.log

build log and emerge --info
Comment 2 Magnus Granberg gentoo-dev 2023-08-02 11:28:11 UTC
*** Bug 911593 has been marked as a duplicate of this bug. ***
Comment 3 Larry the Git Cow gentoo-dev 2023-08-06 12:30:38 UTC
The bug has been referenced in the following commit(s):

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

commit ac96c5c7cbdc6c531ff2667f641eec7210abc677
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-08-06 12:24:17 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-08-06 12:30:28 +0000

    dev-python/shapely: Require <dev-python/cython-3
    
    Bug: https://bugs.gentoo.org/898708
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/shapely/shapely-2.0.1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Comment 4 Thomas Bettler 2023-10-09 20:56:21 UTC
see upstream PR has been merged

- patch https://github.com/shapely/shapely/pull/1872.patch
Comment 5 Larry the Git Cow gentoo-dev 2023-10-10 05:07:49 UTC
The bug has been closed via the following commit(s):

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

commit dc42b1f95ba7b2c2c5a0075ff300b87e729adf62
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-10-10 05:07:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-10-10 05:07:26 +0000

    dev-python/shapely: fix cython-3, skip known-bad test w/ new geos
    
    Closes: https://bugs.gentoo.org/898708
    Closes: https://bugs.gentoo.org/837038
    Signed-off-by: Sam James <sam@gentoo.org>

 .../shapely/files/shapely-2.0.1-cython3.patch      | 30 ++++++++++++
 dev-python/shapely/shapely-2.0.1-r1.ebuild         | 56 ++++++++++++++++++++++
 2 files changed, 86 insertions(+)