Subject: pkg/31413: psi won't build if libidn is installed
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <smb@cs.columbia.edu>
List: pkgsrc-bugs
Date: 09/29/2005 03:00:01
>Number:         31413
>Category:       pkg
>Synopsis:       psi won't build if libidn is installed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 29 03:00:00 +0000 2005
>Originator:     Steven M. Bellovin
>Release:        NetBSD 3.99.9
>Organization:
>Environment:
	
	
System: NetBSD bigboy.machshav.com 3.99.9 NetBSD 3.99.9 (BIGBOY) #0: Thu Sep 22 02:08:51 EDT 2005 smb@bigboy.machshav.com:/usr/BUILD/obj/sys/arch/i386/compile/BIGBOY i386
Architecture: i386
Machine: i386
>Description:
	If libidn is installed from pkgsrc, psi won't compile.  The
	problem is that libidn installs pkg/include/stringprep.h.  psi has
	its own stringprep.h, and the -I path generated by something
	puts pkg/include before psi's own directories.  It thus gets
	inconsistent results.

	The actual results are shown in
	http://mail-index.netbsd.org/tech-pkg/2005/08/08/0007.html
>How-To-Repeat:
	cd /usr/pkgsrc/devel/libidn && make install &&
	cd /usr/pkgsrc/chat/psi && make install
>Fix:
	I changed the INCPATHS line in psi/src/Makefile; that's one bypass.
	Another is to delete libidn, and reinstall it later.

>Unformatted: