Subject: make update of cyrus-imapd22 fails wanting make to be restarted!
To: NetBSD Packages Technical Discussion List <tech-pkg@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: tech-pkg
Date: 03/04/2005 00:46:38
I got this trying to "make update" in mail/cyrus-imapd22 on the 2004q4
branch today:

### Making all in /build/package-obj/mail/cyrus-imapd22/work/cyrus-imapd-2.2.12/perl/imap
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -ldb-4
Writing Makefile for Cyrus::IMAP
Makefile out-of-date with respect to /usr/pkg/lib/perl5/5.8.5/alpha-netbsd/Config.pm /usr/pkg/lib/perl5/5.8.5/alpha-netbsd/CORE/config.h
Cleaning current config before rebuilding Makefile...
/usr/bin/make -f Makefile.old clean > /dev/null 2>&1 || /bin/sh -c true
/usr/pkg/bin/perl Makefile.PL "PREFIX=/usr/pkg"
Checking if your kit is complete...
Looks good
Writing Makefile for Cyrus::IMAP
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
false
*** Error code 1


Also, why the heck is it trying to use "-ldb-4" !?!?!?!   It's supposed
to be either "-ldb4-4" or "-ldb4", no?

$ l /usr/pkg/lib/libdb*
/usr/pkg/lib/libdb4-4.2.a               /usr/pkg/lib/libdb4.so@
/usr/pkg/lib/libdb4-4.2.la              /usr/pkg/lib/libdb4_cxx-4.2.a
/usr/pkg/lib/libdb4-4.2.so@             /usr/pkg/lib/libdb4_cxx-4.2.la
/usr/pkg/lib/libdb4-4.2.so.2@           /usr/pkg/lib/libdb4_cxx-4.2.so*
/usr/pkg/lib/libdb4-4.2.so.2.0.52*      /usr/pkg/lib/libdb4_cxx-4.so@
/usr/pkg/lib/libdb4-4.so@               /usr/pkg/lib/libdb4_cxx.a
/usr/pkg/lib/libdb4.a                   /usr/pkg/lib/libdb4_cxx.so@
$ ls -l /usr/pkg/lib/libdb4.so
lrwxr-xr-x  1 root  wheel  13 Feb 28  2025 /usr/pkg/lib/libdb4.so -> libdb4-4.2.so


This didn't happen with cyrus-imapd22 before the update for 2.2.12 was
pulled up.

-- 
						Greg A. Woods

H:+1 416 218-0098  W:+1 416 489-5852 x122  VE3TCP  RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>          Secrets of the Weird <woods@weird.com>