Subject: pkg/31413: psi won't build if libidn is installed
To: None <,,>
From: None <>
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
System: NetBSD 3.99.9 NetBSD 3.99.9 (BIGBOY) #0: Thu Sep 22 02:08:51 EDT 2005 i386
Architecture: i386
Machine: i386
	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
	cd /usr/pkgsrc/devel/libidn && make install &&
	cd /usr/pkgsrc/chat/psi && make install
	I changed the INCPATHS line in psi/src/Makefile; that's one bypass.
	Another is to delete libidn, and reinstall it later.