Summary: | sci-mathematics/Macaulay2-1.4-r1: fails to build with ncurses[tinfo] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Gentoo Science Mathematics related packages <sci-mathematics> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | sci-mathematics, treecleaner |
Priority: | Normal | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Diego Elio Pettenò (RETIRED)
2013-02-28 06:10:47 UTC
This bug seems to be addressed in https://github.com/Macaulay2/M2/commit/fa064eea13e5ea126d9812ae431189bad4ddbb6c (In reply to Felix Janda from comment #1) > This bug seems to be addressed in > > https://github.com/Macaulay2/M2/commit/ > fa064eea13e5ea126d9812ae431189bad4ddbb6c Well, yes and no. I vaguely remember that there was a right way to fix it and a wrong way to fix it. Diego Patteno described it long time ago on his blog, or maybe gentoo-dev. I can't find it anymore. Somehow, the solution was to depend on whether the user has split tinfo or embedded (in ncurses) tinfo. It semms that the patch in Macaulay2 makes it look for tgoto also in a seprate tinfo library. So yes, maybe that's the right way to fix it. I'm not sure. Can you try to find flameeyes old research on this matter? Have you tested that it works now with ncurses[tinfo]? The proper fix is to use PKG_CHECK_MODULES and use the pkg-config files, anything else amounts to pure insanity, as you cannot predict how upstream ncurses will change its library package/structure, and the only way for upstream to convey such information is via .pc files. We should just nuke the AC_SEARCH_LIBS crap and stick a PKG_CHECK_MODULES in there instead. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e38c4220a19d1fb89f091f49c10fd0b0402773e2 commit e38c4220a19d1fb89f091f49c10fd0b0402773e2 Author: David Seifert <soap@gentoo.org> AuthorDate: 2019-12-07 23:49:08 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2019-12-07 23:49:08 +0000 profiles: Mask sci-mathematics/Macaulay2 for removal Bug: https://bugs.gentoo.org/345233 Bug: https://bugs.gentoo.org/459640 Bug: https://bugs.gentoo.org/474782 Bug: https://bugs.gentoo.org/474784 Bug: https://bugs.gentoo.org/474788 Bug: https://bugs.gentoo.org/474790 Bug: https://bugs.gentoo.org/474792 Bug: https://bugs.gentoo.org/620942 Bug: https://bugs.gentoo.org/631876 Bug: https://bugs.gentoo.org/671130 Signed-off-by: David Seifert <soap@gentoo.org> profiles/package.mask | 7 +++++++ 1 file changed, 7 insertions(+) |