[MacPorts] #33818: xorg-server-1.12 fails to build on PPC Tiger, 10.4.11

MacPorts noreply at macports.org
Sun Apr 1 15:17:00 PDT 2012


#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 documentation (man xauth) tells:


 DISPLAY NAMES
        Display names for the add, [n]extract, [n]list,  [n]merge,  and
 remove
        commands  use  the  same format as the DISPLAY environment variable
 and
        the common -display command line argument.   Display-specific
 informa-
        tion  (such  as  the screen number) is unnecessary and will be
 ignored.
        Same-machine connections (such as local-host  sockets,  shared
 memory,
        and  the Internet Protocol hostname localhost) are referred to as
 host-
        name/unix:displaynumber so that local entries  for  different
 machines
        may be stored in one authority file.

 So the startx script is indeed incorrect. It needs to be patched:

 {{{
 --- /opt/local/bin/startx.orig  2012-03-29 14:24:38.000000000 +0200
 +++ /opt/local/bin/startx       2012-04-01 22:50:29.000000000 +0200
 @@ -271,9 +271,9 @@
      # now add the same credentials to the client authority file
      # if '$displayname' already exists do not overwrite it as another
      # server man need it. Add them to the '$xserverauthfile' instead.
 -    for displayname in $authdisplay $hostname$authdisplay; do
 +    for displayname in $authdisplay ${hostname}/unix$authdisplay; do
          authcookie=`xauth list "$displayname" \
 -        | sed -n "s/.*$displayname[[:space:]*].*[[:space:]*]//p"`
 2>/dev/null;
 +        | sed -n "s,.*$displayname[[:space:]*].*[[:space:]*],,p"`
 2>/dev/null;
          if [ "z${authcookie}" = "z" ] ; then
              xauth -q << EOF
  add $displayname . $mcookie
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/33818#comment:15>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list