-
-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OS X package contains random X11 headers #15
Comments
See issue conda-forge#15. Build number bumped to 5.
I agree that it seems strange that these headers are included in the OS X package but looking at the I'm worried that removing these may break downstream packages which expect these headers to be present. Looking at other other OS X based |
In that case, I would propose that the OSX version of the tk package depend on the modern-xorg-stack package that I have submitted, which would provide the X11 headers in a more sensible place. Admittedly, this would be a fairly big change: you'd be setting conda-forge on the path of providing its own X11 libraries everywhere. Which I think would be good! But it would be big. |
A status update here. For context: I have some packages that require full X11 client libraries on OSX and at first I was hoping that I'd be able to build and deploy them under the current state of affairs. But I'm now convinced that, no, for them to work, conda-forge needs to provide its own set of X11 client libraries. We discussed this in the January videoconference and there was consensus that this was a direction in which people were comfortable going. So I've begun submitting packages for the X.org X11 libraries, as has been discussed a bit in the As for |
Pull request #17 uses the newly-available |
Also figured I'd mention this comment. That should be a good intermediate solution if switching this over to X11 immediately feels like too big of a change ATM. |
Ah, that's very helpful! But I'll emphasize that |
Completely agree @pkgw. Not advocating it as a long term fix either. More as a way of letting X.org libraries to continue to be added ATM without letting this Tk issue become a total blocker. We certainly will need to start embracing X.org instead of say |
This issue is causing me grief and it appears we have a lot more xorg stuff in conda-forge. What is the path to making a useful PR here? |
@beckermr Good question. It's clear that there's a lot of desire to maintain good alignment with mainline Anaconda, which does not provide its own X packages and uses the CDT model for Linux packages that do depend on X (among other things). I think it would be very hard to persuade folks to introduce a new dep for Thus far, I've always been able to get things working under the status quo. With a concerted effort I'm sure that folks could converge on a more self-consistent and sensible situation, but empirically it doesn't seem to have risen up anybody's priority queue. This seems like an area where we're going to be limping along awkwardly for a while :-/ |
Got it. Can we ask the upstream tk devs to change this maybe instead of us trying to patch around it? |
It seems to me that the headers are overwritten by whichever package is installed last, so I was able to work around this by force-reinstalling the xorg-* packages in my build recipe. Very kludgy solution, but just thought I'd share in case this is causing headaches for anyone else. |
(This is the same as anaconda-issues #600.)
I'm not sure if this is a bug or a feature, but the OS X package of
tk
includes some X11 header files that, in my opinion, almost surely don't belong:This causes problems for me because I'm working on a "modern Xorg stack" package that tries to provide a consistent X11 library environment for building other software, and it needs Python (hence
tk
) to build. Sotk
's X11 headers supersede mine. The mix-and-match of header files causes all sorts of bad news downstream.I'll note that the
linux-64
package oftk
does not include these files.The text was updated successfully, but these errors were encountered: