From lucid@osi.secret.org  Thu Feb 27 06:32:05 2003
Return-Path: <lucid@osi.secret.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B61D237B401
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 27 Feb 2003 06:32:05 -0800 (PST)
Received: from osi.secret.org (osi.secret.org [216.213.189.2])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C0D1943FDD
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 27 Feb 2003 06:32:03 -0800 (PST)
	(envelope-from lucid@osi.secret.org)
Received: from osi.secret.org (localhost [127.0.0.1])
	by osi.secret.org (8.12.6/8.12.6) with ESMTP id h1REYkN8020827;
	Thu, 27 Feb 2003 09:34:46 -0500 (EST)
	(envelope-from lucid@osi.secret.org)
Received: (from lucid@localhost)
	by osi.secret.org (8.12.6/8.12.6/Submit) id h1REYjgT020826;
	Thu, 27 Feb 2003 09:34:45 -0500 (EST)
Message-Id: <200302271434.h1REYjgT020826@osi.secret.org>
Date: Thu, 27 Feb 2003 09:34:45 -0500 (EST)
From: William Morris <me@williammorris.com>
Reply-To: William Morris <me@williammorris.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: William Morris <me@williammorris.com>
Subject: fix for broken gdm2 port due to openpam
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         48746
>Category:       ports
>Synopsis:       fix for broken gdm2 port due to openpam
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gnome
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 27 06:40:03 PST 2003
>Closed-Date:    Thu Feb 27 09:13:18 PST 2003
>Last-Modified:  Thu Feb 27 09:13:18 PST 2003
>Originator:     William Morris <me@williammorris.com>
>Release:        FreeBSD 5.0-RELEASE-p1 i386
>Organization:
William Morris Consulting
>Environment:
System: FreeBSD williammorris.com 5.0-RELEASE-p1 FreeBSD 5.0-RELEASE-p1 #0: Sat Feb 22 23:14:42 EST 2003 me@williammorris.com:/usr/obj/usr/src/sys/J00KIE i386


>Description:
	Port fails to build due to missing misc_conv in openpam
/bin/sh ../libtool --mode=link cc  -O -pipe -mcpu=pentiumpro -g -Wall
-Wpointer-arith                 -Wmissing-prototypes -Wmissing-declarations   -o
 gdmaskpass  gdmaskpass.o -lintl                        -lpam -L/usr/local/lib
cc -O -pipe -mcpu=pentiumpro -g -Wall -Wpointer-arith -Wmissing-prototypes -Wmis
sing-declarations -o gdmaskpass gdmaskpass.o  -lintl -lpam -L/usr/local/lib
gdmaskpass.o: In function `main':
/usr/ports/x11/gdm2/work/gdm-2.4.1.3/utils/gdmaskpass.c:18: undefined reference
to `misc_conv'
gmake[2]: *** [gdmaskpass] Error 1
gmake[2]: Leaving directory `/usr/ports/x11/gdm2/work/gdm-2.4.1.3/utils'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/gdm2/work/gdm-2.4.1.3'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

>How-To-Repeat:
	cd /usr/ports/x11/gdm2; make
>Fix:
--- utils/gdmaskpass.c.orig     Mon Nov  5 23:46:28 2001
+++ utils/gdmaskpass.c  Thu Feb 27 04:15:12 2003
@@ -7,9 +7,10 @@
 #include <unistd.h>
 #include <security/pam_appl.h>
 #include <security/pam_misc.h>
+#include <security/openpam.h>

 static struct pam_conv conv = {
-       misc_conv,
+       openpam_ttyconv,
        NULL
 };
>Release-Note:
>Audit-Trail:

From: me@williammorris.com
To: freebsd-gnats-submit@FreeBSD.org, me@williammorris.com
Cc:  
Subject: Re: ports/48746: fix for broken gdm2 port due to o
Date: Thu, 27 Feb 2003 04:50:38 -0500 (EST)

 Please close PR
 same as ports/46538
 
Responsible-Changed-From-To: freebsd-ports-bugs->gnome 
Responsible-Changed-By: marcus 
Responsible-Changed-When: Thu Feb 27 09:11:26 PST 2003 
Responsible-Changed-Why:  
Over to maintainers. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=48746 
State-Changed-From-To: open->closed 
State-Changed-By: marcus 
State-Changed-When: Thu Feb 27 09:11:41 PST 2003 
State-Changed-Why:  
This is not a problem in gdm2, but rather a problem withour /usr/include 
directory.  What you need to do is an rm -rf /usr/include/* just after 
a buildkernel and before an installworld.  Once you do that, this problem 
will be resolved. 

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