Summary: | dev-python/reportlab-3.6.9: hangs in src_compile when net-libs/nodejs is installed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mgorny, williamh |
Priority: | Normal | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://pairlist2.pair.net/pipermail/reportlab-users/2022-March/012223.html | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=616680 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Sam James
2022-03-28 03:41:11 UTC
It's from the ebuild in src_install():
># set up a symlink structure that node-gyp expects..
>dodir /usr/include/node/deps/{v8,uv}
>dosym . /usr/include/node/src
>for var in deps/{uv,v8}/include; do
> dosym ../.. /usr/include/node/${var}
>done
Do we still need this?
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbd6fab6da23dc0647ae43031dfeaa7002aa0453 commit dbd6fab6da23dc0647ae43031dfeaa7002aa0453 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-03-28 04:00:10 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-03-28 04:00:10 +0000 profiles: mask dev-python/reportlab-3.6.9 (hangs in compile) Hangs b/c of /usr/include/node/src -> /usr/include/node symlink installed by net-libs/nodejs. Bug: https://bugs.gentoo.org/836301 Signed-off-by: Sam James <sam@gentoo.org> profiles/package.mask | 7 +++++++ 1 file changed, 7 insertions(+) Masked for now, need to do other things. We need to figure out if we can just drop / adapt this workaround in nodejs, really, as things are going to keep falling over this. I can't reproduce this, and I have the newest nodejs installed (and the "src" symlink is definitely there). Ok, I see the problem now. It's searching /usr/include for freetype2 headers (sic!) with following symlinks, so whether it hits a deadloop depends on whether freetype or nodejs happen first in fs. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73d7896e2f6ce064b2d20f603484d2b06eab51a1 commit 73d7896e2f6ce064b2d20f603484d2b06eab51a1 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2022-03-28 08:53:58 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2022-03-28 08:54:57 +0000 dev-python/reportlab: Disable broken freetype2 finding logic Closes: https://bugs.gentoo.org/836301 Signed-off-by: Michał Górny <mgorny@gentoo.org> .../reportlab/files/reportlab-3.6.9-paths.patch | 21 +++++++++++++++++++++ dev-python/reportlab/reportlab-3.6.9.ebuild | 4 ++++ profiles/package.mask | 7 ------- 3 files changed, 25 insertions(+), 7 deletions(-) |