Summary: | Cannot emerge dia because of pygtk trying to connect to the X server | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sascha Silbe <sascha-gentoo-bugzilla> |
Component: | Current packages | Assignee: | Alastair Tse (RETIRED) <liquidx> |
Status: | RESOLVED WORKSFORME | ||
Severity: | major | CC: | ceder, liquidx |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Build script of dia-0.92.2 |
Description
Sascha Silbe
2003-10-20 05:47:28 UTC
I'm sad to say that this bug did not receive a lot of attention. Can it still be reproduced? It also seems weird to me, since I've built dia numerous times with and without a running X, as well as over ssh. I'm taking a random and uninformed guess, but I suspect it's automake. Please reopen this bug if it can still be reproduced and if more information is available. I was able to update today (haven't tried for a few weeks now), so it seems to be resolved. Happens again for dia-0.92.2. I remember recently rebuilding some packages because of changed gtk/gtk2 USE flags (I'm not setting them explicitly in /etc/make.conf, so the default gtk/gtk2 settings are used). Maybe it has something to do with that. Created attachment 28974 [details]
Build script of dia-0.92.2
i fixed a slew of these pygtk without x bugs, but i couldn't reproduce it with dia. if i can't reproduce it, i can't fix it, unfortunately :( Still the same here (with dia-0.93 now). How can I help you reproduce it? If I set DISPLAY="", everything works fine. I suggest you add this to the ebuild. Had the same problem today with dia-0.94-r1, the problem seems not to be resolved. It seems the X11 authentication issue has something to do with portage's usersandbox-feature. If I emerge dia without FEATURES="userpriv usersandbox", the configure-script finds the python gtk-module without a hitch. Same if I run configure by hand. Only if I emerge dia with FEATURES="userpriv usersandbox" set, the configure-script can't connect to the X-Server. (Allthough like Sascha mentioned, if I unset the DISPLAY variable, it doesn't try to) Does this help to reproduce the bug? Cheers, Alex i've removed the import gtk test now, so it should work. i think previously this ebuild used virtualx to simulate it, but we've since removed it and hence triggered this regression. |