On Mon, 26 Oct 2015 21:50:40 +0000 Chris Lamb <la...@debian.org> wrote: > yelp fails to build from source in unstable/amd64. (Whilst it segfaults, > I think this actually is due to the lack of an $DISPLAY - see the > warnings. Perhaps something like xvfb is needed?) > > [..] > > gtkdoc-scangobj $scanobj_options --module=libyelp; \ > else \ > for i in libyelp.args libyelp.hierarchy libyelp.interfaces > libyelp.prerequisites libyelp.signals ; do \ > test -f $i || touch $i ; \ > done \ > fi > > (process:14998): Gtk-CRITICAL **: gtk_icon_theme_get_for_screen: > assertion 'GDK_IS_SCREEN (screen)' failed > > ** (process:14998): WARNING **: Unable to connect to dbus: Cannot > autolaunch D-Bus without X11 $DISPLAY > Segmentation fault
After looking into this further, I noticed that the build failure happened after the switch from webkit to webkit2. The gtk-doc scanner is linked against libwebkit2gtk-4.0, and this is where it segfaults if DISPLAY is unset. What I did is the following, build the package with unset DISPLAY, then run gdb docs/libyelp/.libs/lt-libyelp-scan The resulting backtrace is attached. Berto, Gustavo, any ideas? Should we clone this bug and reassign to webkit2gtk? Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
Starting program: /home/michael/debian/build-area/yelp-3.20.1/docs/libyelp/.libs/lt-libyelp-scan [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffa25ff700 (LWP 3277)] [New Thread 0x7fffa1dfe700 (LWP 3278)] Program received signal SIGSEGV, Segmentation fault. 0x00007fffea66bd84 in XCloseDisplay () from /usr/lib/x86_64-linux-gnu/libX11.so.6 #0 0x00007fffea66bd84 in XCloseDisplay () from /usr/lib/x86_64-linux-gnu/libX11.so.6 No symbol table info available. #1 0x00007ffff4eab831 in WebCore::PlatformDisplayX11::~PlatformDisplayX11 (this=0x7fffe2dfc028, __in_chrg=<optimized out>) at /build/webkit2gtk-ea7lQt/webkit2gtk-2.12.1/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp:53 No locals. #2 0x00007ffff4eab849 in WebCore::PlatformDisplayX11::~PlatformDisplayX11 (this=0x7fffe2dfc028, __in_chrg=<optimized out>) at /build/webkit2gtk-ea7lQt/webkit2gtk-2.12.1/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp:54 No locals. #3 0x00007ffff70aee08 in __run_exit_handlers (status=0, listp=0x7ffff74175f8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82 atfct = <optimized out> onfct = <optimized out> cxafct = <optimized out> #4 0x00007ffff70aee55 in __GI_exit (status=<optimized out>) at exit.c:104 No locals. #5 0x00007ffff7099617 in __libc_start_main (main=0x401cb0 <main>, argc=1, argv=0x7fffffffe028, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe018) at libc-start.c:325 result = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 2377229656176593814, 4207744, 140737488347168, 0, 0, -2377229103128507498, -2377210842853799018}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x404280 <__libc_csu_init>, 0x7fffffffe028}, data = {prev = 0x0, cleanup = 0x0, canceltype = 4211328}}} not_first_call = <optimized out> #6 0x00000000004034a9 in _start () No symbol table info available. Undefined command: "qit". Try "help".
signature.asc
Description: OpenPGP digital signature