#33818: xorg-server-1.12 fails to build on PPC Tiger, 10.4.11 ---------------------------------------+------------------------------------ Reporter: Peter_Dyballa@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: tiger Port: xorg-server | ---------------------------------------+------------------------------------ Comment(by Peter_Dyballa@…): The software compiles and installs on PPC Tiger, Mac OS X 10.4.11 – but it does not launch! Maybe it's a problem with xauth: {{{ pete 228 /\ sh -x /opt/local/bin/startx | tee Start\ X + unset DBUS_SESSION_BUS_ADDRESS + unset SESSION_MANAGER + bindir=/opt/local/bin + oldbindir=/usr/X11R6/bin + '[' -d /usr/X11R6/bin ']' + export PATH + userclientrc=/Users/pete/.xinitrc + sysclientrc=/opt/local/lib/X11/xinit/xinitrc + userserverrc=/Users/pete/.xserverrc + sysserverrc=/opt/local/lib/X11/xinit/xserverrc + defaultclient=xterm + defaultserver=/opt/local/bin/X + defaultclientargs= + defaultserverargs= + defaultdisplay=:0 + clientargs= + serverargs= + '[' x = x ']' + export X11_PREFS_DOMAIN=org.macports.X11 + X11_PREFS_DOMAIN=org.macports.X11 + defaults read org.macports.X11 cache_fonts + defaults read org.macports.X11 no_auth + defaults read org.macports.X11 nolisten_tcp ++ defaults read org.macports.X11 cache_fonts + '[' x1 = x1 ']' + '[' -x /opt/local/bin/font_cache ']' + /opt/local/bin/font_cache font_cache: Scanning user font directories to generate X11 font caches + '[' -x /opt/local/lib/X11/xinit/privileged_startx ']' + /opt/local/lib/X11/xinit/privileged_startx privileged_startx: bootstrap_look_up(org.macports.privileged_startx): 1102l ++ defaults read org.macports.X11 no_auth + '[' x0 = x0 ']' + enable_xauth=1 ++ defaults read org.macports.X11 nolisten_tcp font_cache: Updating FC cache + '[' x1 = x1 ']' + defaultserverargs= -nolisten tcp + defaults read org.macports.X11 dpi ++ defaults read org.macports.X11 dpi + defaultserverargs= -nolisten tcp -dpi 100 + d=0 + true + '[' -e /tmp/.X0-lock ']' + break + defaultdisplay=:0 + unset d + whoseargs=client + '[' x '!=' x ']' + '[' x = x ']' + client=xterm + '[' x = x ']' + '[' -f /Users/pete/.xinitrc ']' + client=/Users/pete/.xinitrc + '[' x = x ']' + clientargs= + '[' x = x ']' + server=/opt/local/bin/X + '[' x = x -a x = x ']' + '[' -f /Users/pete/.xserverrc ']' + '[' -f /opt/local/lib/X11/xinit/xserverrc ']' + '[' x = x ']' + serverargs= -nolisten tcp -dpi 100 + '[' x = x ']' + display=:0 + '[' x1 = x1 ']' + '[' x = x ']' + XAUTHORITY=/Users/pete/.Xauthority + export XAUTHORITY + removelist= ++ uname ++ hostname + hostname=hier.do.main + authdisplay=:0 + '[' -r /dev/urandom ']' ++ dd if=/dev/urandom bs=16 count=1 ++ hexdump -e '"%08x"' + mcookie=0151eed519cb4d3f649d054984820fa7 + test x0151eed519cb4d3f649d054984820fa7 = x + dummy=0 + xserverauthfile=/Users/pete/.serverauth.23224 + trap 'rm -f '\''/Users/pete/.serverauth.23224'\''' HUP INT QUIT ILL TRAP KILL BUS TERM + xauth -q -f /Users/pete/.serverauth.23224 xauth: file /Users/pete/.serverauth.23224 does not exist ++ echo /Users/pete/.serverauth.23224 ++ sed 's/'\''/'\''\\'\'''\''/g' + xserverauthfilequoted=/Users/pete/.serverauth.23224 + serverargs= -nolisten tcp -dpi 100 -auth '/Users/pete/.serverauth.23224' ++ xauth list :0 ++ sed -n 's/.*:0[[:space:]*].*[[:space:]*]//p' + authcookie=1d26291abc8e954041589d3ca81f181e + '[' z1d26291abc8e954041589d3ca81f181e = z ']' + dummy=1 + xauth -q -f /Users/pete/.serverauth.23224 ++ xauth list hier.do.main:0 ++ sed -n 's/.*hier.do.main:0[[:space:]*].*[[:space:]*]//p' font_cache: Done xauth: (argv):1: bad display name "hier.do.main:0" in "list" command + authcookie= + '[' z = z ']' + xauth -q xauth: (stdin):1: bad display name "hier.do.main:0" in "add" command + removelist=hier.do.main:0 + eval xinit '"/Users/pete/.xinitrc"' -- '"/opt/local/bin/X"' :0 -nolisten tcp -dpi 100 -auth ''\''/Users/pete/.serverauth.23224'\''' ++ xinit /Users/pete/.xinitrc -- /opt/local/bin/X :0 -nolisten tcp -dpi 100 -auth /Users/pete/.serverauth.23224 waiting for X server to begin accepting connections . .. .. .. .. .. .. .. .. xinit: giving up xinit: unable to connect to X server: Connection refused xinit: server error + retval=1 + '[' x1 = x1 ']' + '[' 'xhier.do.main:0 ' '!=' x ']' + xauth remove hier.do.main:0 xauth: (argv):1: bad display name "hier.do.main:0" in "remove" command + '[' x/Users/pete/.serverauth.23224 '!=' x ']' + rm -f /Users/pete/.serverauth.23224 + exit 1 Exit 1 }}} This happens more than just my account, even the most simple ones, just created: {{{ latsche:~ x11$ sh -x /opt/local/bin/startx + unset DBUS_SESSION_BUS_ADDRESS + unset SESSION_MANAGER + bindir=/opt/local/bin + oldbindir=/usr/X11R6/bin + '[' -d /usr/X11R6/bin ']' + PATH=/opt/local/bin:/opt/local/sbin:/usr/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/x11:/usr/X11R6/bin + export PATH + userclientrc=/Users/x11/.xinitrc + sysclientrc=/opt/local/lib/X11/xinit/xinitrc + userserverrc=/Users/x11/.xserverrc + sysserverrc=/opt/local/lib/X11/xinit/xserverrc + defaultclient=xterm + defaultserver=/opt/local/bin/X + defaultclientargs= + defaultserverargs= + defaultdisplay=:0 + clientargs= + serverargs= + '[' x = x ']' + export X11_PREFS_DOMAIN=org.macports.X11 + X11_PREFS_DOMAIN=org.macports.X11 + defaults read org.macports.X11 cache_fonts + defaults read org.macports.X11 no_auth + defaults read org.macports.X11 nolisten_tcp ++ defaults read org.macports.X11 cache_fonts + '[' x1 = x1 ']' + '[' -x /opt/local/bin/font_cache ']' + /opt/local/bin/font_cache + '[' -x /opt/local/lib/X11/xinit/privileged_startx ']' + /opt/local/lib/X11/xinit/privileged_startx privileged_startx: bootstrap_look_up(org.macports.privileged_startx): 1102l ++ defaults read org.macports.X11 no_auth font_cache: Scanning user font directories to generate X11 font caches font_cache: Updating FC cache + '[' x0 = x0 ']' + enable_xauth=1 ++ defaults read org.macports.X11 nolisten_tcp font_cache: Done + '[' x1 = x1 ']' + defaultserverargs= -nolisten tcp + defaults read org.macports.X11 dpi + d=0 + true + '[' -e /tmp/.X0-lock ']' + break + defaultdisplay=:0 + unset d + whoseargs=client + '[' x '!=' x ']' + '[' x = x ']' + client=xterm + '[' x = x ']' + '[' -f /Users/x11/.xinitrc ']' + '[' -f /opt/local/lib/X11/xinit/xinitrc ']' + client=/opt/local/lib/X11/xinit/xinitrc + '[' x = x ']' + clientargs= + '[' x = x ']' + server=/opt/local/bin/X + '[' x = x -a x = x ']' + '[' -f /Users/x11/.xserverrc ']' + '[' -f /opt/local/lib/X11/xinit/xserverrc ']' + '[' x = x ']' + serverargs= -nolisten tcp + '[' x = x ']' + display=:0 + '[' x1 = x1 ']' + '[' x = x ']' + XAUTHORITY=/Users/x11/.Xauthority + export XAUTHORITY + removelist= ++ uname ++ hostname + hostname=hier.do.main + authdisplay=:0 + '[' -r /dev/urandom ']' ++ dd if=/dev/urandom bs=16 count=1 ++ hexdump -e '"%08x"' + mcookie=aa3fb122e48306526a3d205ade109e2a + test xaa3fb122e48306526a3d205ade109e2a = x + dummy=0 + xserverauthfile=/Users/x11/.serverauth.22648 + trap 'rm -f '\''/Users/x11/.serverauth.22648'\''' HUP INT QUIT ILL TRAP KILL BUS TERM + xauth -q -f /Users/x11/.serverauth.22648 xauth: file /Users/x11/.serverauth.22648 does not exist ++ echo /Users/x11/.serverauth.22648 ++ sed 's/'\''/'\''\\'\'''\''/g' + xserverauthfilequoted=/Users/x11/.serverauth.22648 + serverargs= -nolisten tcp -auth '/Users/x11/.serverauth.22648' ++ xauth list :0 ++ sed -n 's/.*:0[[:space:]*].*[[:space:]*]//p' + authcookie=e2fe0039356f971c084850bc477f32f1 + '[' ze2fe0039356f971c084850bc477f32f1 = z ']' + dummy=1 + xauth -q -f /Users/x11/.serverauth.22648 ++ xauth list hier.do.main:0 ++ sed -n 's/.*hier.do.main:0[[:space:]*].*[[:space:]*]//p' xauth: (argv):1: bad display name "hier.do.main:0" in "list" command + authcookie= + '[' z = z ']' + xauth -q xauth: (stdin):1: bad display name "hier.do.main:0" in "add" command + removelist=hier.do.main:0 + eval xinit '"/opt/local/lib/X11/xinit/xinitrc"' -- '"/opt/local/bin/X"' :0 -nolisten tcp -auth ''\''/Users/x11/.serverauth.22648'\''' ++ xinit /opt/local/lib/X11/xinit/xinitrc -- /opt/local/bin/X :0 -nolisten tcp -auth /Users/x11/.serverauth.22648 waiting for X server to begin accepting connections . .. .. .. .. .. .. .. .. xinit: giving up xinit: unable to connect to X server: Connection refused xinit: server error + retval=1 + '[' x1 = x1 ']' + '[' 'xhier.do.main:0 ' '!=' x ']' + xauth remove hier.do.main:0 xauth: (argv):1: bad display name "hier.do.main:0" in "remove" command + '[' x/Users/x11/.serverauth.22648 '!=' x ']' + rm -f /Users/x11/.serverauth.22648 + exit 1 }}} The X server in /usr/X11R6, X11 1.1.3 - XFree86 4.4.0, has no problems to launch. -- Ticket URL: <https://trac.macports.org/ticket/33818#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS