Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148056 - Deskbar-applet-2.16.0 fails to build
Summary: Deskbar-applet-2.16.0 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gnome2.16
  Show dependency tree
 
Reported: 2006-09-18 06:35 UTC by Andrew Frink
Modified: 2006-11-29 01:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
r1 ebuild that applies the patch (deskbar-applet-2.16.1-r1.ebuild,1.26 KB, text/plain)
2006-11-14 22:45 UTC, Patrick van Staveren
Details
patch for configure.ac to unset DISPLAY (deskbar-applet-2.16-nodisplay.patch,448 bytes, patch)
2006-11-14 22:45 UTC, Patrick van Staveren
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Frink 2006-09-18 06:35:49 UTC
Deskbar-applet-2.16.0 fails to build when being built from an ssh connection with 
"checking for gnomeapplet module... X11 connection rejected because of wrong authentication.". 
Setting DISPLAY="" or emerging from a VT both work just fine.
Comment 1 Patrick van Staveren 2006-11-14 22:45:07 UTC
Created attachment 101962 [details]
r1 ebuild that applies the patch
Comment 2 Patrick van Staveren 2006-11-14 22:45:47 UTC
Created attachment 101963 [details, diff]
patch for configure.ac to unset DISPLAY

This is a bug that should be fixed upstream.

Regardless, I've attached a hack/patch that runs 'unset DISPLAY' before doing the python gnomeapplet checks.  When python imports the gtk module (req'd by gnomeapplet) it won't see an X connection regardless, and thus does not try to connect to it.  It doesn't matter, because the shell session doesn't need an X server to build a package :)

This only will appear in very rare cases...for me, I had to ssh from one box to another, with -X, and then delete the .Xauthority file to mimic the behaviour as described.  This will fix it for everyone.

If anyone knows a bit more about python and can come up with a way to tell the importing of gtk to not try to connect to X, that'd be useful...else, I'll also file this upstream at bgo.
Comment 3 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-11-15 08:45:03 UTC
Fixed.
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2006-11-29 01:17:58 UTC
Closing as per dang's comment.