Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898682 - dev-python/lxml-4.9.2 fails to compile (CYTHON3-SYSTEM): Cython.Compiler.Errors.CompileError: etree.pyx
Summary: dev-python/lxml-4.9.2 fails to compile (CYTHON3-SYSTEM): Cython.Compiler.Erro...
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: fixed in upstream git
Keywords:
Depends on:
Blocks: cython3-tracker
  Show dependency tree
 
Reported: 2023-03-02 08:23 UTC by Agostino Sarubbo
Modified: 2023-07-27 04:24 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,73.25 KB, text/plain)
2023-03-02 08:23 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:23:51 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/lxml-4.9.2 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:23:53 UTC
Created attachment 855532 [details]
build.log

build log and emerge --info
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-03-03 14:28:57 UTC
This seems to be fixed in the git repository but the most likely commit doesn't backport cleanly.
Comment 3 Larry the Git Cow gentoo-dev 2023-05-24 19:03:39 UTC
The bug has been referenced in the following commit(s):

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

commit 792e5b97633a8014c5068f5c3a0f6f6c7f4dc4f8
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-05-24 19:02:39 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-05-24 19:02:39 +0000

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

 dev-python/lxml/lxml-4.9.2.ebuild | 1 +
 1 file changed, 1 insertion(+)
Comment 4 Larry the Git Cow gentoo-dev 2023-07-27 04:24:43 UTC
The bug has been closed via the following commit(s):

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

commit 07f48c319ee7a5ebedbe615682f702c6ac99bbc9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-07-27 04:24:12 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-27 04:24:31 +0000

    dev-python/lxml: backport cython-3 fixes and test fixes for newer libxml2
    
    Closes: https://bugs.gentoo.org/898682
    Closes: https://bugs.gentoo.org/905643
    Closes: https://bugs.gentoo.org/906088
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/lxml/Manifest                           |   1 +
 .../files/lxml-4.9.3-tests-py3.11-cython3.patch    |  10 ++
 dev-python/lxml/lxml-4.9.3-r1.ebuild               | 116 +++++++++++++++++++++
 3 files changed, 127 insertions(+)