From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Feb 9 20:20:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D6A687CC for ; Sat, 9 Feb 2013 20:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id BABA5213 for ; Sat, 9 Feb 2013 20:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r19KK0J8034909 for ; Sat, 9 Feb 2013 20:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r19KK0XG034905; Sat, 9 Feb 2013 20:20:00 GMT (envelope-from gnats) Resent-Date: Sat, 9 Feb 2013 20:20:00 GMT Resent-Message-Id: <201302092020.r19KK0XG034905@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Fabian Keil Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C0F1F269 for ; Sat, 9 Feb 2013 20:14:50 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 998E613C for ; Sat, 9 Feb 2013 20:14:50 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r19JTnhJ034503 for ; Sat, 9 Feb 2013 19:29:49 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r19JTn91034502; Sat, 9 Feb 2013 19:29:49 GMT (envelope-from nobody) Message-Id: <201302091929.r19JTn91034502@red.freebsd.org> Date: Sat, 9 Feb 2013 19:29:49 GMT From: Fabian Keil To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/175990: Emacs doesn't start with DISPLAY set when compiled with DBUS=off and GSETTINGS=on X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2013 20:20:01 -0000 >Number: 175990 >Category: ports >Synopsis: Emacs doesn't start with DISPLAY set when compiled with DBUS=off and GSETTINGS=on >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Feb 09 20:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Fabian Keil >Release: HEAD >Organization: >Environment: FreeBSD r500.local 10.0-CURRENT FreeBSD 10.0-CURRENT #546 r+0317d0a: Sat Feb 9 10:12:18 CET 2013 fk@r500.local:/usr/obj/usr/src/sys/ZOEY amd64 >Description: editors/emacs-devel doesn't work for me when compiled with DBUS=off and GSETTINGS=on. When started from the terminal (urxvt) it doesn't start the GUI and blocks the keyboard except that CTRL-C still works. It even prevents the window manager (i3) from reacting to keyboard input: fk@r500 ~ $emacs ^C (emacs:2357): GLib-GIO-CRITICAL **: guint g_dbus_connection_add_filter(GDBusConnection *, GDBusMessageFilterFunction, gpointer, GDestroyNotify): assertion `G_IS_DBUS_CONNECTION (connection)' failed It works as expected when DISPLAY is unset first. It works with DISPLAY set when using the following OPTIONS: fk@r500 /usr/ports/editors/emacs-devel $make showconfig ===> The following configuration options are available for emacs-24.3.50.111312_1,2: DBUS=off: D-Bus IPC system GCONF=off: GConf configuration backend GIF=on: GIF image format GNUTLS=off: SSL/TLS via GnuTLS GSETTINGS=off: GSettings support JPEG=on: JPEG image format LTO=off: Enable link-time optimization (requires GCC 4.6+) M17N=on: M17N support for text-shaping MAGICK=off: ImageMagick library OTF=on: Opentype fonts suport PNG=on: PNG image format SCROLLBARS=on: Toolkit scroll-bars SOUND=off: Sound support SOURCES=off: Install sources SVG=on: SVG vector image format SYNC_INPUT=on: Synchronously process asynchronous input TIFF=on: TIFF image format XFT=on: Xft font library XIM=on: X Input Method Support XML=on: XML file/format/parser XPM=on: XPM pixmaps ====> Options available for the single X11TOOLKIT: you have to select exactly one of them GTK2=on: GTK+ 2 GUI toolkit GTK3=off: GTK+ 3 GUI toolkit XAW=off: Athena widgets XAW3D=off: Athena3D widgets MOTIF=off: Motif widget library ===> Use 'make config' to modify these settings >How-To-Repeat: Compile with DBUS=off and GSETTINGS=on and try to start emacs with GUI. >Fix: I think the Makefile should simply reject the combination DBUS=off and GSETTINGS=on. I don't mind having to disable GSETTINGS and thus didn't investigate the problem any further. >Release-Note: >Audit-Trail: >Unformatted: