From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 20 14:10:05 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 68BF216A41F for ; Sun, 20 May 2007 14:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 4809513C457 for ; Sun, 20 May 2007 14:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l4KEA5ui082252 for ; Sun, 20 May 2007 14:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4KEA528082250; Sun, 20 May 2007 14:10:05 GMT (envelope-from gnats) Resent-Date: Sun, 20 May 2007 14:10:05 GMT Resent-Message-Id: <200705201410.l4KEA528082250@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, Olivier Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8A11416A46C for ; Sun, 20 May 2007 14:04:33 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 7A7DB13C457 for ; Sun, 20 May 2007 14:04:33 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l4KE4WEa085532 for ; Sun, 20 May 2007 14:04:33 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l4KDxU1i084153; Sun, 20 May 2007 13:59:30 GMT (envelope-from nobody) Message-Id: <200705201359.l4KDxU1i084153@www.freebsd.org> Date: Sun, 20 May 2007 13:59:30 GMT From: Olivier To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: ports/112806: x11/xorg doesn't build on a system with NO_RCMDS=yes X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2007 14:10:05 -0000 >Number: 112806 >Category: ports >Synopsis: x11/xorg doesn't build on a system with NO_RCMDS=yes >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: Sun May 20 14:10:04 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Olivier >Release: FreeBSD 6.2-STABLE #0: Fri Apr 27 16:19:36 CEST 2007 >Organization: gid0.org >Environment: FreeBSD 6.2-STABLE #0: Fri Apr 27 16:19:36 CEST 2007 >Description: When using a fresh system installed with NO_RCMDS=yes in /etc/make.conf (or /etc/src.conf for -CURRENT), x11/xorg fails to compile because of x11/xorg-apps which depends on x11/xsm which wants an rsh-like program during configure : # cd /usr/ports/x11/xorg # make install clean [...] checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking for rsh... no checking for rcmd... no checking for remsh... no configure: error: No rsh like program found ===> Script "configure" failed unexpectedly. [...] *** Error code 1 Stop in /usr/ports/x11/xsm. *** Error code 1 Stop in /usr/ports/x11/xorg-apps. *** Error code 1 Stop in /usr/ports/x11/xorg. >How-To-Repeat: # echo 'NO_RCMDS=yes' >> /etc/make.conf # cd /usr/src # make buildworld # make installworld # make delete-old # cd /usr/ports/x11/xsm # make >Fix: Since x11/xsm can't be built without RSH, remove the line xsm:${PORTSDIR}/x11/xsm \ from x11/xorg-apps/Makefile Or, if you need xsm, (only a temporary workaround, very dirty) : # touch /usr/local/bin/rsh # cd /usr/ports/x11/xsm # make install clean # rm /usr/local/bin/rsh # cd /usr/ports/x11/xorg # make install clean It would maybe be better for x11/xorg-apps to only install xsm if {rsh,rcmd,remsh} is present, or if NO_RCMDS isn't set. >Release-Note: >Audit-Trail: >Unformatted: