Skip site navigation (1)Skip section navigation (2)
Date:      31 Oct 2004 13:40:26 -0000
From:      ino-qc@spotteswoode.dnsalias.org
To:        gnome@FreeBSD.org, FreeBSD-gnats-submit@freebsd.org
Cc:        ino-qc@spotteswoode.dnsalias.org
Message-ID:  <20041031134026.1951.qmail@nosuch.host.here>

next in thread | raw e-mail | index | archive | help
>Submitter-Id:	current-users
>Originator:	clemens fischer, ino-qc@spotteswoode.dnsalias.org
>Organization:	rarely
>Confidential:	no <FreeBSD PRs are public data>
>Synopsis:	www/firefox install loops on invalid xinit invocation
>Severity:	critical
>Priority:	high
>Category:	ports
>Class:		sw-bug
>Release:	FreeBSD 4.10-STABLE i386
>Environment:

System: FreeBSD spotteswoode.dnsalias.org 4.10-STABLE FreeBSD
4.10-STABLE #15: Sat Oct 30 18:14:29 CEST 2004
root@spotteswoode.dnsalias.org:/mail/freebsd/obj/mail/freebsd/RELENG_4/src/sys/n1
i386

>Description:

using "portinstall www/firefox", watch the installation phase apparently
stop doing nothing.

...
cd /usr/ports/www/firefox/work/fake && /usr/bin/find * | /usr/bin/cpio -dmp --quiet /usr/X11R6
===> Building Chrome's registry...
load: 0.42  cmd: bash 48358 [ttyin] 0.17u 0.10s 0% 1572k
load: 0.46  cmd: bash 48358 [ttyin] 0.17u 0.10s 0% 1572k
...

in "pkg-install.in", there's:

--- snip ---
...
FIREFOX=${MOZDIR}/firefox-bin
...
# Instantiate the extension space as root.
su - root -c "/usr/X11R6/bin/xinit /usr/X11R6/lib/firefox/lib/firefox-0.10.1/run-mozilla.sh ${FIREFOX} -install-global-exte
nsion -- /usr/X11R6/bin/Xvfb :1001" > /dev/null 2>&1
su - root -c "/usr/X11R6/bin/xinit /usr/X11R6/lib/firefox/lib/firefox-0.10.1/run-mozilla.sh ${FIREFOX} -install-global-them
e -- /usr/X11R6/bin/Xvfb :1001" > /dev/null 2>&1
...
--- snip ---

look what these lines result in when called manually:

--- snip ---
0 p4 # xinit /usr/X11R6/lib/firefox/lib/firefox-0.10.1/run-mozilla.sh /usr/X11R6/lib/firefox/lib/firefox-0.10.1/firefox-bin -install-global-extension -- /usr/X11R6/bin/Xvfb :1001

AUDIT: Thu Oct 28 16:36:18 2004: 48725 Xvfb: client 1 rejected from local host
Xlib: connection to ":1001.0" refused by server
Xlib: No protocol specified


waiting for X server to begin accepting connections .
AUDIT: Thu Oct 28 16:36:20 2004: 48725 Xvfb: client 1 rejected from local host
Xlib: connection to ":1001.0" refused by server
Xlib: No protocol specified

..
--- snip ---

and so on.  i'm not an X11 savvy, but i know this one should be easy to
fix.

>How-To-Repeat:

use "portinstall www/firefox" or "cd /ports/www/firefox && make install" and watch.

>Fix:



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