ports/165599: [x11/xkeyboard-config] x11/xkbcomp as a RUN_DEPENDS

Olivier Cochard-Labbé olivier at cochard.me
Thu Mar 1 22:20:11 UTC 2012


>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 at 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:



More information about the freebsd-ports-bugs mailing list