No subject

ino-qc at spotteswoode.dnsalias.org ino-qc at spotteswoode.dnsalias.org
Sun Oct 31 05:40:31 PST 2004


>Submitter-Id:	current-users
>Originator:	clemens fischer, ino-qc at 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 at 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:


More information about the freebsd-gnome mailing list