From nobody@FreeBSD.org  Thu Sep 19 15:38:51 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4C9A137B401
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 19 Sep 2002 15:38:51 -0700 (PDT)
Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id EE63643E42
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 19 Sep 2002 15:38:50 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g8JMcj7R028171
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 19 Sep 2002 15:38:45 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.6/8.12.6/Submit) id g8JMcj22028170;
	Thu, 19 Sep 2002 15:38:45 -0700 (PDT)
Message-Id: <200209192238.g8JMcj22028170@www.freebsd.org>
Date: Thu, 19 Sep 2002 15:38:45 -0700 (PDT)
From: Eduardo Viruena Silva <mrspock@esfm.ipn.mx>
To: freebsd-gnats-submit@FreeBSD.org
Subject: xdm is not working on FreeBSD 4.6-RELEASE and 4.6.2-RELEASE
X-Send-Pr-Version: www-1.0

>Number:         42973
>Category:       ports
>Synopsis:       xdm is not working on FreeBSD 4.6-RELEASE and 4.6.2-RELEASE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    anholt
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 19 15:40:02 PDT 2002
>Closed-Date:    Sun Oct 06 19:18:47 PDT 2002
>Last-Modified:  Sun Oct 06 19:18:47 PDT 2002
>Originator:     Eduardo Viruena Silva
>Release:        FreeBSD 4.6-RELEASE and FreeBSD 4.6.2-RELEASE-p2
>Organization:
ESFM - IPN
>Environment:
FreeBSD michelle.esfm.ipn.mx 4.6.2-RELEASE-p2 FreeBSD 4.6.2-RELEASE-p2 #3: Fri Sep 13 23:37:16 CDT 2002     root@michelle.esfm.ipn.mx:/usr/src/sys/compile/eviruena  i386

>Description:
I had a computer running FreeBSD 4.5-RELEASE.  I installed on it
XFree86-4 distributed in binary by www.XFree86.org because I have
an ATI all in wonder 128 pro video card and X11 release 3.3 did 
not support it.  It worked perfectly.

I installed in my computer FreeBSD 4.6-RELEASE, I also installed 
to XFree86 4.2 included in the CD.

xdm stop working, it just tried to start unsuccessfully.
I tried compiling XFree86-4 from the ports with the same result.

Curiously, xdm reports:

  /usr/libexec/ld-elf.so.1: xdm: Undefined symbol "_XdmcpWrapperToOddParity"

which means that some object [a function or a variable] is not present
in a dynamic library. 

I downloaded the binary distribution of X11 release 4.2 from
ftp.XFree86.org and installed it.  It worked perfectly,
and xdm also worked fine.


>How-To-Repeat:
Install FreeBSD 4.6-RELEASE or FreeBSD-4.6.2-RELEASE and patch it.
Install X and change /etc/ttys
Configure X:
		X -configure

test X is working properly:

		startx

if it works, press:  Ctrl-Alt-Backspace


Now, run xdm:

		/usr/X11R6/bin/xdm

:-?

>Fix:
Even though is was a solution, it does not fix the problem
in the ports.

Download X11 release 4.2 from ftp://ftp.XFree86.org 
[in its binary form] and install it.

By the way, the missing object "_XdmcpWrapperToOddParity"
seems to be present in three different libraries in
the X11 distribution from XFree86.org but it is only
present in one library in the FreeBSD distribution 
[package and compiling the port].
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->anholt 
Responsible-Changed-By: ijliao 
Responsible-Changed-When: Thu Sep 19 22:37:49 PDT 2002 
Responsible-Changed-Why:  
over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=42973 

From: Cy Schubert - CITS Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>
To: Eduardo Viruena Silva <mrspock@esfm.ipn.mx>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: ports/42973: xdm is not working on FreeBSD 4.6-RELEASE and 
 4.6.2-RELEASE
Date: Fri, 20 Sep 2002 10:13:58 -0700

 I've had no problems with XDM (XFree86 4.1.0, 4.2.0, and 4.2.1) under 
 FreeBSD 2.0.5 through to 4.7-PRERELEASE. I've had a number of machines 
 running 4.6 and currently running 4.6.2 which run XDM without a 
 problem. Check to see if anything failed to build or install when you 
 build the port.
 
 
 --
 Cheers,                          Phone:  250-387-8437
 Cy Schubert                        Fax:  250-387-5766
 Team Leader, Sun/Alpha Team      Email:  Cy.Schubert@osg.gov.bc.ca
 Open Systems Group, CITS
 Ministry of Management Services
 Province of BC            
                     FreeBSD UNIX:  cy@FreeBSD.org
 
 

From: Eric Anholt <eta@lclark.edu>
To: Eduardo Viruena Silva <mrspock@esfm.ipn.mx>
Cc: gnats <freebsd-gnats-submit@FreeBSD.ORG>
Subject: Re: ports/42973: xdm is not working on FreeBSD 4.6-RELEASE and
	4.6.2-RELEASE
Date: 20 Sep 2002 11:24:55 -0700

 > I installed in my computer FreeBSD 4.6-RELEASE, I also installed 
 > to XFree86 4.2 included in the CD.
 > 
 > xdm stop working, it just tried to start unsuccessfully.
 > I tried compiling XFree86-4 from the ports with the same result.
 
 What versions of XFree86-4-clients had you installed from release and
 ports?  I haven't seen this error here, so having port/package versions
 (e.g. XFree86-clients-4.2.1_1)  would help to figure out if this is
 still a problem or has been fixed.
 
 -- 
 Eric Anholt <eta@lclark.edu>
 http://people.freebsd.org/~anholt/dri/
 
 

From: Eduardo Viruena Silva <mrspock@esfm.ipn.mx>
To: Eric Anholt <eta@lclark.edu>
Cc: gnats <freebsd-gnats-submit@FreeBSD.ORG>
Subject: Re: ports/42973: xdm is not working on FreeBSD 4.6-RELEASE and
 4.6.2-RELEASE
Date: Sat, 21 Sep 2002 20:42:50 -0500 (CDT)

 On 20 Sep 2002, Eric Anholt wrote:
 
 >Date: 20 Sep 2002 11:24:55 -0700
 >From: Eric Anholt <eta@lclark.edu>
 >To: Eduardo Viruena Silva <mrspock@esfm.ipn.mx>
 >Cc: gnats <freebsd-gnats-submit@FreeBSD.ORG>
 >Subject: Re: ports/42973: xdm is not working on FreeBSD 4.6-RELEASE and
 >    4.6.2-RELEASE
 >
 >> I installed in my computer FreeBSD 4.6-RELEASE, I also installed
 >> to XFree86 4.2 included in the CD.
 >>
 >> xdm stop working, it just tried to start unsuccessfully.
 >> I tried compiling XFree86-4 from the ports with the same result.
 >
 >What versions of XFree86-4-clients had you installed from release and
 >ports?  I haven't seen this error here, so having port/package versions
 >(e.g. XFree86-clients-4.2.1_1)  would help to figure out if this is
 >still a problem or has been fixed.
 
 I found the problem Eric.
 It seems to be my video card.
 Somehow my old configuration is not working properly.
 X reports that 8 bits depth color mode is not supported
 for my card [ati all in wonder 128 pro]
 
 thanks.
 
 please, close this report.
 >
 >--
 >Eric Anholt <eta@lclark.edu>
 >http://people.freebsd.org/~anholt/dri/
 >
 >
 
  /\  /\                _______                 _
 /  \/  \    *         /   /###\               / \       __
 =    .. \____     *  /  ./#### \        *  \__|_/      |  |
 =          \_|       |   b#####|   *        _ |   __   |  |  __
  =   \_______/       \ \_\#####/           / \|  /  \  |  | /\_\/
   |  |          *     \___\###/      *     \_/\_/\__/\__\/_/\__/
 
 
 
 
State-Changed-From-To: open->closed 
State-Changed-By: anholt 
State-Changed-When: Sun Oct 6 19:18:08 PDT 2002 
State-Changed-Why:  
Submitter said it was fixed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=42973 
>Unformatted:
