Skip to contentSkip to conversation

Question about dependency graphs of building busybox

DISCUSSION ☆星空☆ 2 participants 2 messages Aug 13, 2012 – Aug 14, 2012

lore
Share & tools
lore
#0 lore raw

Hi all,
Recently I am learning to see how the poky build busybox.Because there exists too many recipes and files related,I want to find out the detail process or dependency graphs of building busybox.And now I use "bitbake -g -u depexp busybox" to see the process,but it failed when I execute the command. Following is the message console output :

** (bitbake:2454): WARNING **: Command line `dbus-launch --autolaunch=686c0ec16da125f1568f5d990000000a --binary-syntax --close-stderr' exited with non-zero exit
status 1: Autolaunch error: X11 initialization failed.\n
Segmentation fault (core dumped)

I want to konw how to solve this problem.Is there any good suggestion to help me learn the detail process of building
busybox ?
Thanks,
Yu Liu

#1 lore raw

Hi,

Quoted 11 lines · ☆星空☆

Recently I am learning to see how the poky build busybox.Because there
exists too many recipes and files related,I want to find out the detail process or dependency graphs of building busybox.And now I use "bitbake -g -u depexp busybox" to see the process,but it failed when I execute the command. Following is the message console output :

** (bitbake:2454): WARNING **: Command line `dbus-launch --autolaunch=686c0ec16da125f1568f5d990000000a --binary-syntax --close-stderr' exited with non-zero exit
status 1: Autolaunch error: X11 initialization failed.\n
Segmentation fault (core dumped)

I'm surprised that dbus-launch is being invoked, my only guess is that a GTK+ module is using DBus and that is attempting to initialise.

However, if X11 initialisation is failing then you won't have much luck with depexp - it's a X11 application. If you're running on a server without X11 then you can't use depexp. By using "bitbake -g busybox" you'll get the dependency graph in .dot format, which you can browse on another machine using something like XDot
(http://code.google.com/p/jrfonseca/wiki/XDot).

Ross