Summary: | app-text/tetex-3.0_p1-r3 inherits virtualx.eclass | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jérémy Just <jeremy_just> |
Component: | New packages | Assignee: | TeX project <tex> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | ehmsen, jakub, jeremy_just, truedfx |
Priority: | Highest | ||
Version: | 2006.1 | ||
Hardware: | PPC | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Trivial patch to avoid unneeded dependencies on X server |
Description
Jérémy Just
2006-11-14 06:04:39 UTC
How about that you remove X from your use flags... Just to add: this is not actually INVALID, since USE=X is supposed to be set for such a system. However, this problem has come up before with for example gtk+, and the decision was not to fix it, since unfortunately there's simply not a good way to do so, and you can work around it by using /etc/portage/package.use to turn off the X flag for the few packages that pull in a server. (In reply to comment #2) > Just to add: this is not actually INVALID, since USE=X is supposed to be set > for such a system. Yes, I have set USE=X, so I can export xterms through ssh, for example. > you can work around it by using /etc/portage/package.use to turn off > the X flag for the few packages that pull in a server. That's the temporary fix I have choosen. But as a side effect, I lose "xdvi". > However, this problem has come up before with for example > gtk+, and the decision was not to fix it, since unfortunately > there's simply not a good way to do so I hoped this were related to this topic: http://www.gentoo.org/proj/en/desktop/x/x11/porting-modular-x-howto.xml Thank you. Created attachment 101970 [details, diff]
Trivial patch to avoid unneeded dependencies on X server
No, the virtualx eclass is needed. The ebuild already explains why. I think the bug comes from an undue call to "virtualx.eclass" in the inherit line. "tetex.class" sets properly the X dependencies (mentionning only the minimal set of libraries), and I don't understand why "virtualx.eclass" should also be called (in the changelog, Martin Ehmsen explains it is for make test [#69439]; I add him in CC, so he can confirm). Everything seems to compile/run fine for me with the trivial patch I've attached. Comment on attachment 101970 [details, diff]
Trivial patch to avoid unneeded dependencies on X server
As said, the inherit is needed.
(In reply to comment #6) > I think the bug comes from an undue call to "virtualx.eclass" in the inherit > line. Either fix the tests properly (read Bug 69439) or stick 'app-text/tetex -X' into /etc/portage/package.use. Closing this. Feel free to reopen with a *real* patch so that the tests don't require this eclass. |