Subject: pkg/33646: cyrus-imapd won't build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Carl Brewer <carl@rollcage2.bl.echidna.id.au>
List: pkgsrc-bugs
Date: 06/05/2006 07:30:00
>Number:         33646
>Category:       pkg
>Synopsis:       cyrus-imapd won't build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 05 07:30:00 +0000 2006
>Originator:     Carl Brewer
>Release:        NetBSD 3.0_STABLE
>Organization:
	
>Environment:
	
	
System: NetBSD rollcage2.bl.echidna.id.au 3.0_STABLE NetBSD 3.0_STABLE (GENERIC) #2: Mon Apr 24 16:03:58 EST 2006 carl@rollcage2.bl.echidna.id.au:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:

rollcage2# pwd
/usr/pkgsrc/mail/cyrus-imapd
rollcage2# make
make: "/usr/pkgsrc/mail/cyrus-imapd/Makefile" line 120: Could not find ../../security/cyrus-sasl2/buildlink3.mk
make: Fatal errors encountered -- cannot continue

make: stopped in /usr/pkgsrc/mail/cyrus-imapd

rollcage2# pkg_info | grep cyr
cyrus-imapd-2.2.12nb4 Cyrus IMAP server
cyrus-sasl-2.1.21   Simple Authentication and Security Layer

Why is it looking in security/cyrus-sasl2?  it shuold be looking in security/cyrus-sasl :

rollcage2# cd security
rollcage2# ls cyr*
cyrus-sasl:
CVS              DESCR            Makefile         PLIST            buildlink3.mk    patches
DEINSTALL        MESSAGE          Makefile.common  README.html      distinfo         work

cyrus-sasl2:
CVS         README.html work



>How-To-Repeat:
	current CVS, try and build cyrus-imapd

>Fix:

hack the Makefile to look in the right directory.

>Unformatted: