[oe] devshell "No protocol specified"

Douglas Royds douglas.royds at tait.co.nz
Tue Apr 21 01:34:25 UTC 2009


Failing to get a devshell console. Fails for both XTERM and KONSOLE:

| No protocol specified
| xterm Xt error: Can't open display: :0

The failure is unique to one box (ie. it works fine on a different computer).

Invoking run.do_devshell.15108 directly succeeds, so the problem only occurs 
when we try to launch the devshell from within bitbake.

I used bitbake -D to see the list of environment variables that bitbake was 
unsetting. I tried listing the whole lot in BB_ENV_EXTRAWHITE, but still no joy.

Suggestions?
Douglas.


$ bitbake zlib -c devshell
NOTE: Handling BitBake files: \ (6591/6591) [100 %]
NOTE: Parsing finished. 6305 cached, 0 parsed, 286 skipped, 0 masked.
NOTE: Cache is clean, not saving.
NOTE: build 200904211325: started
fatal: Not a git repository

OE Build Configuration:
BB_VERSION        = "1.8.12"
METADATA_BRANCH   = "<unknown>"
METADATA_REVISION = "25344"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "davinci-dcb"
DISTRO            = "tait"
DISTRO_VERSION    = "trunk-20090421"
TARGET_FPU        = "soft"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 32 of 32 (ID: 4,
/media/storage/workspace/DBS/org.openembedded.dev/vendor/2009-02-21_dcbeaf393bed4d0b7071c100bf9e5d92ad3c20c5/packages/zlib/zlib_1.2.3.bb, 

do_devshell)
NOTE: package zlib-1.2.3: started
NOTE: package zlib-1.2.3-r5: task do_devshell: started
ERROR: function do_devshell failed
ERROR: log data follows
(/media/storage/workspace/DBS/build/tmp/work/armv5te-tait-linux-gnueabi/zlib-1.2.3-r5/temp/log.do_devshell.15108)
| No protocol specified
| xterm Xt error: Can't open display: :0
NOTE: Task failed:
/media/storage/workspace/DBS/build/tmp/work/armv5te-tait-linux-gnueabi/zlib-1.2.3-r5/temp/log.do_devshell.15108
NOTE: package zlib-1.2.3-r5: task do_devshell: failed
ERROR: TaskFailed event exception, aborting
NOTE: package zlib-1.2.3: failed
ERROR: Build of
/media/storage/workspace/DBS/org.openembedded.dev/vendor/2009-02-21_dcbeaf393bed4d0b7071c100bf9e5d92ad3c20c5/packages/zlib/zlib_1.2.3.bb 

do_devshell failed
ERROR: Task 4
(/media/storage/workspace/DBS/org.openembedded.dev/vendor/2009-02-21_dcbeaf393bed4d0b7071c100bf9e5d92ad3c20c5/packages/zlib/zlib_1.2.3.bb, 

do_devshell) failed
NOTE: Tasks Summary: Attempted 31 tasks of which 31 didn't need to be
rerun and 1 failed.
ERROR:
'/media/storage/workspace/DBS/org.openembedded.dev/vendor/2009-02-21_dcbeaf393bed4d0b7071c100bf9e5d92ad3c20c5/packages/zlib/zlib_1.2.3.bb' 

failed
NOTE: build 200904211325: completed





=======================================================================
This email, including any attachments, is only for the intended
addressee.  It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
 altered or corrupted during transmission.
=======================================================================





More information about the Openembedded-devel mailing list