From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Mar 10 22:10:09 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96496106566B for ; Sat, 10 Mar 2012 22:10:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5D10B8FC16 for ; Sat, 10 Mar 2012 22:10:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2AMA9cc034005 for ; Sat, 10 Mar 2012 22:10:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2AMA9pq034004; Sat, 10 Mar 2012 22:10:09 GMT (envelope-from gnats) Resent-Date: Sat, 10 Mar 2012 22:10:09 GMT Resent-Message-Id: <201203102210.q2AMA9pq034004@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, Peter Jeremy Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0C18106566B for ; Sat, 10 Mar 2012 22:01:59 +0000 (UTC) (envelope-from peterjeremy@acm.org) Received: from fallbackmx06.syd.optusnet.com.au (fallbackmx06.syd.optusnet.com.au [211.29.132.8]) by mx1.freebsd.org (Postfix) with ESMTP id 3CD2D8FC16 for ; Sat, 10 Mar 2012 22:01:59 +0000 (UTC) Received: from mail26.syd.optusnet.com.au (mail26.syd.optusnet.com.au [211.29.133.167]) by fallbackmx06.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id q2ALu7D4008484 for ; Sun, 11 Mar 2012 08:56:07 +1100 Received: from server.vk2pj.dyndns.org (c220-239-116-103.belrs4.nsw.optusnet.com.au [220.239.116.103]) by mail26.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id q2ALtxO0026528 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 11 Mar 2012 08:56:00 +1100 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.5/8.14.4) with ESMTP id q2ALtweE009224; Sun, 11 Mar 2012 08:55:58 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.5/8.14.4/Submit) id q2ALtwpV009223; Sun, 11 Mar 2012 08:55:58 +1100 (EST) (envelope-from peter) Message-Id: <201203102155.q2ALtwpV009223@server.vk2pj.dyndns.org> Date: Sun, 11 Mar 2012 08:55:58 +1100 (EST) From: Peter Jeremy To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/165908: [patch] x11-servers/xorg-server has runtime dependency on x11/xkbcomp X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Peter Jeremy List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2012 22:10:09 -0000 >Number: 165908 >Category: ports >Synopsis: [patch] x11-servers/xorg-server has runtime dependency on x11/xkbcomp >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 Mar 10 22:10:09 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Peter Jeremy >Release: FreeBSD 8.2-STABLE i386 >Organization: n/a >Environment: System: FreeBSD m3.vk2pj.dyndns.org 8.2-STABLE FreeBSD 8.2-STABLE #0: Fri Apr 22 09:55:37 EST 2011 root@server.vk2pj.dyndns.org:/usr/obj/usr/src/sys/m3 i386 with the following ports installed: bitstream-vera-1.10_5 compositeproto-0.4.2 damageproto-1.2.1 dmxproto-2.3 dri-7.4.4,2 dri2proto-2.3 encodings-1.0.4,1 expat-2.0.1_2 fixesproto-5.0 font-adobe-100dpi-1.0.3 font-adobe-75dpi-1.0.3 font-adobe-utopia-100dpi-1.0.4 font-adobe-utopia-75dpi-1.0.4 font-adobe-utopia-type1-1.0.4 font-alias-1.0.3 font-arabic-misc-1.0.3 font-bh-100dpi-1.0.3 font-bh-75dpi-1.0.3 font-bh-lucidatypewriter-100dpi-1.0.3 font-bh-lucidatypewriter-75dpi-1.0.3 font-bh-ttf-1.0.3 font-bh-type1-1.0.3 font-bitstream-100dpi-1.0.3 font-bitstream-75dpi-1.0.3 font-bitstream-type1-1.0.3 font-cronyx-cyrillic-1.0.3 font-cursor-misc-1.0.3 font-daewoo-misc-1.0.3 font-dec-misc-1.0.3 font-ibm-type1-1.0.3 font-isas-misc-1.0.3 font-jis-misc-1.0.3 font-micro-misc-1.0.3 font-misc-cyrillic-1.0.3 font-misc-ethiopic-1.0.3 font-misc-meltho-1.0.3 font-misc-misc-1.1.2 font-mutt-misc-1.0.3 font-schumacher-misc-1.1.2 font-screen-cyrillic-1.0.4 font-sony-misc-1.0.3 font-sun-misc-1.0.3 font-util-1.2.0 font-winitzki-cyrillic-1.0.3 font-xfree86-type1-1.0.4 fontcacheproto-0.1.3 fontconfig-2.8.0_1,1 fontsproto-2.1.1 freetype2-2.4.7 gettext-0.18.1.1 gmake-3.82 inputproto-2.0.2 kbproto-1.0.5 libFS-1.0.3 libGL-7.4.4 libICE-1.0.7,1 libSM-1.2.0,1 libX11-1.4.4,1 libXScrnSaver-1.2.1 libXTrap-1.0.0 libXau-1.0.6 libXaw-1.0.8,2 libXcomposite-0.4.3,1 libXcursor-1.1.12 libXdamage-1.1.3 libXdmcp-1.1.0 libXevie-1.0.3 libXext-1.3.0_1,1 libXfixes-5.0 libXfont-1.4.4,1 libXfontcache-1.0.5 libXft-2.1.14 libXi-1.4.3,1 libXinerama-1.1.1,1 libXmu-1.1.0,1 libXp-1.0.1,1 libXpm-3.5.9 libXrandr-1.3.2 libXrender-0.9.6 libXres-1.0.5 libXt-1.0.9,1 libXtst-1.2.0 libXv-1.0.6,1 libXvMC-1.0.6 libXxf86dga-1.1.2 libXxf86misc-1.0.3 libXxf86vm-1.1.1 libdmx-1.1.1 libdrm-2.4.12_1 libfontenc-1.1.0 libiconv-1.13.1_2 liboldX-1.0.1 libpciaccess-0.12.1 libpthread-stubs-0.3_3 libtool-2.4.2 libxcb-1.7 libxkbfile-1.0.7 libxkbui-1.0.2_1 mkfontdir-1.0.6 mkfontscale-1.0.9 pciids-20120227 perl-5.14.2_2 pixman-0.24.2 pkg-config-0.25_1 portaudit-0.5.17 portmaster-3.11 printproto-1.0.5 randrproto-1.3.2 recordproto-1.14.1 renderproto-0.11.1 scrnsaverproto-1.2.1 trapproto-3.4.3 videoproto-2.3.1 xauth-1.0.6 xextproto-7.2.0 xf86-input-keyboard-1.5.0 xf86-input-mouse-1.6.0 xf86-video-mach64-6.8.2_1 xf86-video-vesa-2.3.0_1 xf86dgaproto-2.1 xf86miscproto-0.9.3 xf86vidmodeproto-2.3.1 xineramaproto-1.2.1 xkeyboard-config-2.1 xorg-cf-files-1.0.4 xorg-drivers-7.5.1 xorg-fonts-100dpi-7.5.1 xorg-fonts-7.5.1 xorg-fonts-75dpi-7.5.1 xorg-fonts-cyrillic-7.5.1 xorg-fonts-miscbitmaps-7.5.1 xorg-fonts-truetype-7.5.1 xorg-fonts-type1-7.5.1 xorg-libraries-7.5.1 xorg-macros-1.16.1 xorg-server-1.7.7_3,1 xproto-7.0.22 xtrans-1.2.6 >Description: If xkbcomp is not installed then the Xserver will log the following and die: (II) Initializing built-in extension COMPOSITE (II) Initializing built-in extension DAMAGE (II) AIGLX: Loaded and initialized /usr/local/lib/dri/swrast_dri.so (II) GLX: Initialized DRISWRAST GL provider for screen 0 (EE) Error compiling keymap (server-0) (EE) XKB: Couldn't compile keymap XKB: Failed to compile keymap Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config. Fatal server error: Failed to activate core devices. Looking at the source for x11-servers/xorg-server, it popen(3)s xkbcomp several times during startup. This dependency is not listed in the xorg-server port Makefile. Note that I have my Xserver compiled WITHOUT_HAL and the relevant sections of my xorg.conf are: Section "ServerFlags" Option "DontZoom" "True" Option "DontZap" "False" Option "AllowEmptyInput" "False" Option "AutoAddDevices" "False" EndSection Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection As an unrelated issue, I notice xorg-server/Makefile still contains a long obsolete "NOT_FOR_ARCHS= alpha" >How-To-Repeat: Either install the above ports & try to start X or, given a working X environment, rename /usr/local/bin/xkbcomp and restart X. >Fix: Index: Makefile =================================================================== RCS file: /usr/ncvs/ports/x11-servers/xorg-server/Makefile,v retrieving revision 1.84 diff -u -r1.84 Makefile --- Makefile 9 Nov 2011 15:26:03 -0000 1.84 +++ Makefile 10 Mar 2012 20:00:04 -0000 @@ -17,7 +17,8 @@ COMMENT= X.Org X server and related programs LIB_DEPENDS= drm:${PORTSDIR}/graphics/libdrm -RUN_DEPENDS= ${LOCALBASE}/share/X11/xkb/rules/base.xml:${PORTSDIR}/x11/xkeyboard-config +RUN_DEPENDS= ${LOCALBASE}/share/X11/xkb/rules/base.xml:${PORTSDIR}/x11/xkeyboard-config \ + ${LOCALBASE}/bin/xkbcomp:${PORTSDIR}/x11/xkbcomp XORG_CAT= xserver >Release-Note: >Audit-Trail: >Unformatted: