From nobody@FreeBSD.org  Fri Apr 23 20:07:21 2004
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 23E0E16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 23 Apr 2004 20:07:21 -0700 (PDT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1C39543D41
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 23 Apr 2004 20:07:21 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i3O37KIn000569
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 23 Apr 2004 20:07:20 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.10/8.12.10/Submit) id i3O37Kg5000568;
	Fri, 23 Apr 2004 20:07:20 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200404240307.i3O37Kg5000568@www.freebsd.org>
Date: Fri, 23 Apr 2004 20:07:20 -0700 (PDT)
From: Coleman Kane <cokane@cokane.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: XFree86-4-libraries won't include in xc/lib/X11
X-Send-Pr-Version: www-2.3

>Number:         65924
>Category:       ports
>Synopsis:       XFree86-4-libraries won't include in xc/lib/X11
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 23 20:10:24 PDT 2004
>Closed-Date:    Fri Apr 23 23:35:38 PDT 2004
>Last-Modified:  Fri Apr 23 23:35:38 PDT 2004
>Originator:     Coleman Kane
>Release:        FreeBSD 5-current
>Organization:
>Environment:
FreeBSD blah 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Fri Apr 23 03:59:18 GMT 2004     root@blah:/usr/obj/usr/src/sys/BLAH  i386

>Description:
     x11/XFree86-4-libraries won't configure. Dies at making includes in xc/lib/X11 on building makekeys.
>How-To-Repeat:
      Build x11/XFree86-4-libraries from ports
>Fix:
      Modify the xc/config/cf/FreeBSD.cf file, and remove the NULL-quote from the SystemMTDefines #define. GCC interprets this as an argument, an input file named <NULL>, which it cannot find and it dies.

--- FreeBSD.cf  Sat Apr 24 02:43:59 2004
+++ FreeBSD.cf.old      Sat Apr 24 02:46:00 2004
@@ -89,7 +89,7 @@
 # endif
 # define HasPosixThreads       YES
 # define ThreadedX             YES
-# define SystemMTDefines       
+# define SystemMTDefines       ""
 /*
  * FreeBSD has tread-safe api but no getpwnam_r yet.
  */

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-ports-bugs 
Responsible-Changed-By: kris 
Responsible-Changed-When: Fri Apr 23 21:22:22 PDT 2004 
Responsible-Changed-Why:  
Misfiled PR 

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

From: Kris Kennaway <kris@obsecurity.org>
To: Coleman Kane <cokane@cokane.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/65924: XFree86-4-libraries won't include in xc/lib/X11
Date: Fri, 23 Apr 2004 21:24:22 -0700

 On Fri, Apr 23, 2004 at 08:07:20PM -0700, Coleman Kane wrote:
 > 
 > >Number:         65924
 > >Category:       misc
 > >Synopsis:       XFree86-4-libraries won't include in xc/lib/X11
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       low
 > >Responsible:    freebsd-bugs
 > >State:          open
 > >Quarter:        
 > >Keywords:       
 > >Date-Required:
 > >Class:          sw-bug
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Fri Apr 23 20:10:24 PDT 2004
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Coleman Kane
 > >Release:        FreeBSD 5-current
 > >Organization:
 > >Environment:
 > FreeBSD blah 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Fri Apr 23 03:59:18 GMT 2004     root@blah:/usr/obj/usr/src/sys/BLAH  i386
 > 
 > >Description:
 >      x11/XFree86-4-libraries won't configure. Dies at making includes in xc/lib/X11 on building makekeys.
 > >How-To-Repeat:
 >       Build x11/XFree86-4-libraries from ports
 > >Fix:
 >       Modify the xc/config/cf/FreeBSD.cf file, and remove the NULL-quote from the SystemMTDefines #define. GCC interprets this as an argument, an input file named <NULL>, which it cannot find and it dies.
 > 
 > --- FreeBSD.cf  Sat Apr 24 02:43:59 2004
 > +++ FreeBSD.cf.old      Sat Apr 24 02:46:00 2004
 > @@ -89,7 +89,7 @@
 >  # endif
 >  # define HasPosixThreads       YES
 >  # define ThreadedX             YES
 > -# define SystemMTDefines       
 > +# define SystemMTDefines       ""
 >  /*
 >   * FreeBSD has tread-safe api but no getpwnam_r yet.
 >   */
 
 This patch won't apply; what you describe is a side-effect of
 files/patch-FreeBSD.cf.  However there has to be more to the story,
 because the port has been building successfully on 5.x for the past 2
 months that the patch has been in place.
 
 Kris

From: Coleman Kane <cokane@cokane.org>
To: Kris Kennaway <kris@obsecurity.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/65924: XFree86-4-libraries won't include in xc/lib/X11
Date: Sat, 24 Apr 2004 06:00:56 +0000

 --5mCyUwZo2JvN/JJP
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 Yeah, my patch is backwards. This is what I had to apply, I'll look into the
 changes wrt patch-FreeBSD.cf.
 
 It should have been:
 --- FreeBSD.cf.old  Sat Apr 24 02:43:59 2004
 +++ FreeBSD.cf      Sat Apr 24 02:46:00 2004
 @@ -89,7 +89,7 @@
  # endif
  # define HasPosixThreads       YES
  # define ThreadedX             YES
 +# define SystemMTDefines      =20
 -# define SystemMTDefines       ""
  /*
   * FreeBSD has tread-safe api but no getpwnam_r yet.
   */
 
 On Fri, Apr 23, 2004 at 09:24:22PM -0700, Kris Kennaway wrote, and it was p=
 roclaimed:
 > On Fri, Apr 23, 2004 at 08:07:20PM -0700, Coleman Kane wrote:
 > >=20
 > > >Number:         65924
 > > >Category:       misc
 > > >Synopsis:       XFree86-4-libraries won't include in xc/lib/X11
 > > >Confidential:   no
 > > >Severity:       non-critical
 > > >Priority:       low
 > > >Responsible:    freebsd-bugs
 > > >State:          open
 > > >Quarter:       =20
 > > >Keywords:      =20
 > > >Date-Required:
 > > >Class:          sw-bug
 > > >Submitter-Id:   current-users
 > > >Arrival-Date:   Fri Apr 23 20:10:24 PDT 2004
 > > >Closed-Date:
 > > >Last-Modified:
 > > >Originator:     Coleman Kane
 > > >Release:        FreeBSD 5-current
 > > >Organization:
 > > >Environment:
 > > FreeBSD blah 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Fri Apr 23 03:59:18 GM=
 T 2004     root@blah:/usr/obj/usr/src/sys/BLAH  i386
 > >=20
 > > >Description:
 > >      x11/XFree86-4-libraries won't configure. Dies at making includes i=
 n xc/lib/X11 on building makekeys.
 > > >How-To-Repeat:
 > >       Build x11/XFree86-4-libraries from ports
 > > >Fix:
 > >       Modify the xc/config/cf/FreeBSD.cf file, and remove the NULL-quot=
 e from the SystemMTDefines #define. GCC interprets this as an argument, an =
 input file named <NULL>, which it cannot find and it dies.
 > >=20
 > > --- FreeBSD.cf  Sat Apr 24 02:43:59 2004
 > > +++ FreeBSD.cf.old      Sat Apr 24 02:46:00 2004
 > > @@ -89,7 +89,7 @@
 > >  # endif
 > >  # define HasPosixThreads       YES
 > >  # define ThreadedX             YES
 > > -# define SystemMTDefines      =20
 > > +# define SystemMTDefines       ""
 > >  /*
 > >   * FreeBSD has tread-safe api but no getpwnam_r yet.
 > >   */
 >=20
 > This patch won't apply; what you describe is a side-effect of
 > files/patch-FreeBSD.cf.  However there has to be more to the story,
 > because the port has been building successfully on 5.x for the past 2
 > months that the patch has been in place.
 >=20
 > Kris
 
 --5mCyUwZo2JvN/JJP
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.4 (FreeBSD)
 
 iD8DBQFAigKX/eUc+MkM8EkRAjh1AJwNhVeGq+hgZvOFjdkyqYq7wfxarQCePVMD
 Rf0uvnVGrAHMQmvxEz5cTDg=
 =JUhH
 -----END PGP SIGNATURE-----
 
 --5mCyUwZo2JvN/JJP--

From: Coleman Kane <cokane@cokane.org>
To: Kris Kennaway <kris@obsecurity.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/65924: XFree86-4-libraries won't include in xc/lib/X11
Date: Sat, 24 Apr 2004 06:02:46 +0000

 --vGgW1X5XWziG23Ko
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 Actually, this can be closed. Had:
 PTHREAD_CFLAGS?=3D""
 in /etc/make.conf.
 
 d'oh!
 
 On Fri, Apr 23, 2004 at 09:24:22PM -0700, Kris Kennaway wrote, and it was p=
 roclaimed:
 > On Fri, Apr 23, 2004 at 08:07:20PM -0700, Coleman Kane wrote:
 > >=20
 > > >Number:         65924
 > > >Category:       misc
 > > >Synopsis:       XFree86-4-libraries won't include in xc/lib/X11
 > > >Confidential:   no
 > > >Severity:       non-critical
 > > >Priority:       low
 > > >Responsible:    freebsd-bugs
 > > >State:          open
 > > >Quarter:       =20
 > > >Keywords:      =20
 > > >Date-Required:
 > > >Class:          sw-bug
 > > >Submitter-Id:   current-users
 > > >Arrival-Date:   Fri Apr 23 20:10:24 PDT 2004
 > > >Closed-Date:
 > > >Last-Modified:
 > > >Originator:     Coleman Kane
 > > >Release:        FreeBSD 5-current
 > > >Organization:
 > > >Environment:
 > > FreeBSD blah 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Fri Apr 23 03:59:18 GM=
 T 2004     root@blah:/usr/obj/usr/src/sys/BLAH  i386
 > >=20
 > > >Description:
 > >      x11/XFree86-4-libraries won't configure. Dies at making includes i=
 n xc/lib/X11 on building makekeys.
 > > >How-To-Repeat:
 > >       Build x11/XFree86-4-libraries from ports
 > > >Fix:
 > >       Modify the xc/config/cf/FreeBSD.cf file, and remove the NULL-quot=
 e from the SystemMTDefines #define. GCC interprets this as an argument, an =
 input file named <NULL>, which it cannot find and it dies.
 > >=20
 > > --- FreeBSD.cf  Sat Apr 24 02:43:59 2004
 > > +++ FreeBSD.cf.old      Sat Apr 24 02:46:00 2004
 > > @@ -89,7 +89,7 @@
 > >  # endif
 > >  # define HasPosixThreads       YES
 > >  # define ThreadedX             YES
 > > -# define SystemMTDefines      =20
 > > +# define SystemMTDefines       ""
 > >  /*
 > >   * FreeBSD has tread-safe api but no getpwnam_r yet.
 > >   */
 >=20
 > This patch won't apply; what you describe is a side-effect of
 > files/patch-FreeBSD.cf.  However there has to be more to the story,
 > because the port has been building successfully on 5.x for the past 2
 > months that the patch has been in place.
 >=20
 > Kris
 
 --vGgW1X5XWziG23Ko
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.4 (FreeBSD)
 
 iD8DBQFAigMF/eUc+MkM8EkRArLpAJwJDFBnQLb6amKL7Xl9knyihikWAgCeNJuo
 OZ8SKEV/ne1oYtyLNnPllak=
 =wck7
 -----END PGP SIGNATURE-----
 
 --vGgW1X5XWziG23Ko--
State-Changed-From-To: open->closed 
State-Changed-By: kris 
State-Changed-When: Fri Apr 23 23:35:19 PDT 2004 
State-Changed-Why:  
Submitter reports problem was due a local misconfiguration. 

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