Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Mar 2012 22:12:32 GMT
From:      Olivier Cochard-Labbé <olivier@cochard.me>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/165599: [x11/xkeyboard-config] x11/xkbcomp as a RUN_DEPENDS 
Message-ID:  <201203012212.q21MCWbn070537@red.freebsd.org>
Resent-Message-ID: <201203012220.q21MK9BC035516@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         165599
>Category:       ports
>Synopsis:       [x11/xkeyboard-config] x11/xkbcomp as a RUN_DEPENDS
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 01 22:20:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Cochard-Labbé
>Release:        9.0
>Organization:
BSD Media Center
>Environment:
FreeBSD laptop.bsdrp.net 9.0-RELEASE FreeBSD 9.0-RELEASE #2: Sat Jan  7 19:01:08 CET 2012     root@laptop.bsdrp.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Hi all,

On my system (9.0-amd64), if I install x11/xorg-minimal from port,
It's work great but if I install my self generated xorg-minimal
package, it didn't start: Xorg complain about missing xkbcomp in its
log file.
Looking the dependency tree, I've seen that x11/xkeyboard-config
include x11/xkbcomp as a BUILD_DEPENDS only (this why using the
package method didn't install x11/xkbcomp).
Should it be fix as RUN_DEPENDS ?

On the ports mailing-list another user report the same when it not using the default qwerty layout.
>How-To-Repeat:
Generate the pkg of x11/xorg-minimal, and install the pkg (and all its dependency) on a fresh install and try to start xorg using other keyboard layout than the default qwerty: Xorg failed to start and complain about missing xkbcomp.
>Fix:
Applying the Makefile patch that replace BUILD_DEPENDS by a RUN_DEPENDS.

Patch attached with submission follows:

--- Makefile.orig	2012-03-01 23:10:14.000000000 +0100
+++ Makefile	2012-03-01 23:10:24.000000000 +0100
@@ -15,7 +15,7 @@
 
 LICENSE=	MIT
 
-BUILD_DEPENDS=	xkbcomp:${PORTSDIR}/x11/xkbcomp
+RUN_DEPENDS=	xkbcomp:${PORTSDIR}/x11/xkbcomp
 
 XORG_CAT=	data
 


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203012212.q21MCWbn070537>