pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/56763: dbus related (?) crash in xfce4-session



The following reply was made to PR pkg/56763; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/56763: dbus related (?) crash in xfce4-session
Date: Sat, 19 Mar 2022 20:28:37 +0100

 It turns out this option(s) fail because:
 
   7710   7710 dbus-launch GIO   fd 2 wrote 94 bytes
        "No terminal on standard input and no X display; cannot attach message \
         bus to session lifetime\n"
 
 
 ... and the "No terminal on standard input" is expected in this setup.
 But not being able to connect to the X server clearly is not.
 
 The code is in  dbus-1.14.0/tools/dbus-launch.c:kill_bus_when_session_ends
 and has this:
 
 #ifdef DBUS_BUILD_X11
   x11_init();
   if (xdisplay != NULL)
     {
       x_fd = ConnectionNumber (xdisplay);
     }
   else
     x_fd = -1;
 #else
   x_fd = -1;
 #endif
 
 
 and it seems that DBUS_BUILD_X11 is not defined when compiling this.
 
 I think the configure script is buggy, does everyone else use the cmake
 build instead? Haven't traced this lossage during configure, but it also
 fails to properly obey --enable-verbose-mode=yes (which would have helped
 during debugging).
 
 Martin
 


Home | Main Index | Thread Index | Old Index