Date: Sun, 11 Mar 2012 08:55:58 +1100 (EST) From: Peter Jeremy <peterjeremy@acm.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/165908: [patch] x11-servers/xorg-server has runtime dependency on x11/xkbcomp Message-ID: <201203102155.q2ALtwpV009223@server.vk2pj.dyndns.org> Resent-Message-ID: <201203102210.q2AMA9pq034004@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203102155.q2ALtwpV009223>