From owner-freebsd-gnome@FreeBSD.ORG Sat Nov 6 15:22:36 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6246B16A4CE for ; Sat, 6 Nov 2004 15:22:36 +0000 (GMT) Received: from mail-out03.broadnet-mediascape.de (mail-out03.broadnet-mediascape.de [62.206.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id C19CE43D2D for ; Sat, 6 Nov 2004 15:22:34 +0000 (GMT) (envelope-from ino-qc@spotteswoode.de.eu.org) Received: (qmail 10933 invoked by uid 113); 6 Nov 2004 15:22:30 -0000 Received: from ino-qc@spotteswoode.de.eu.org by mail-out03 by uid 106 with qmail-scanner-1.20rc3 (trophie: 6.810-1005/238/73252. Clear:RC:1:. Processed in 0.711939 secs); 06 Nov 2004 15:22:30 -0000 X-Qmail-Scanner-Mail-From: ino-qc@spotteswoode.de.eu.org via mail-out03 X-Qmail-Scanner: 1.20rc3 (Clear:RC:1:. Processed in 0.711939 secs) Received: from d463cfd9.datahighways.de (HELO spotteswoode.dnsalias.org) (212.99.207.217) by mail-out03.broadnet-mediascape.de with SMTP; 6 Nov 2004 15:22:29 -0000 Received: (qmail 62059 invoked by uid 0); 6 Nov 2004 15:22:50 -0000 Date: 6 Nov 2004 16:22:27 +0100 Message-ID: From: "Clemens Fischer" To: "Joe Marcus Clarke" , gnome@FreeBSD.org In-Reply-To: <4187C733.2040309@marcuscom.com> (Joe Marcus Clarke's message of "Tue, 02 Nov 2004 12:43:15 -0500") References: <200410312230.i9VMUrnJ088544@freefall.freebsd.org> <4187C733.2040309@marcuscom.com> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Subject: Re: ports/73340: www/firefox install loops on invalid xinit invocation X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Nov 2004 15:22:36 -0000 * 2004-11-02 Joe Marcus Clarke: > | ,---- > | | 0 p2 # xinit /usr/X11R6/lib/firefox/lib/firefox-1.0/run-mozilla.sh \ > | | /usr/X11R6/lib/firefox/lib/firefox-1.0/firefox-bin > -install-global-themes -- \ > | | /usr/X11R6/bin/Xvfb :1001 > | | > | | cat: /root/.Xauthority: No such file or directory > | | load: 0.12 cmd: xinit 44869 [wait] 0.00u 0.01s 0% 1304k > | | load: 0.03 cmd: xinit 44869 [wait] 0.00u 0.01s 0% 1304k > | `---- > | > | this one doesn't finish. computer idles for about fifteen minutes > now. what > | is it supposed to do, and how do i check the steps manually? > > It's supposed to initialize the global extensions and themes datastore. ~ > Try aborting this, then run it again. no. it can't be "aborted" in the packages pkg-install, because signals are off and all output goes to dev/null! the offending lines are: 8<-- cut-from-here -->8 su - root -c "%%X11BASE%%/bin/xinit %%MOZDIR%%/run-mozilla.sh ${FIREFOX} -install-global-extension -- %%X11BASE%%/bin/Xvfb :1001" > /dev/null 2>&1 su - root -c "%%X11BASE%%/bin/xinit %%MOZDIR%%/run-mozilla.sh ${FIREFOX} -install-global-theme -- %%X11BASE%%/bin/Xvfb :100 1" > /dev/null 2>&1 8<-- cut-upto-here -->8 why not change them to: 8<-- cut-from-here -->8 su - root -c "PATH=$PATH %%X11BASE%%/bin/xinit %%MOZDIR%%/run-mozilla.sh ${FIREFOX} -install-global-extension -- %%X11BASE%%/bin/Xvfb :1001" > /dev/null 2>&1 su - root -c "PATH=$PATH %%X11BASE%%/bin/xinit %%MOZDIR%%/run-mozilla.sh ${FIREFOX} -install-global-theme -- %%X11BASE%%/bin/Xvfb :100 1" > /dev/null 2>&1 8<-- cut-upto-here -->8 i think this is the direction to go, because it will allow the procedure to find "non-standard" shells. i provided "local/bin/bash" for roots account. the idea came to me as i found a workaround for the queer situation: when the shell idled, i typed "true", followed by "^D" (CTRL-D), and the script seemed to finish all right. i got a working copy of firefox! clemens