Subject: Re: courier-imap build failure
To: NetBSD Packages Technical Discussion List <tech-pkg@NetBSD.ORG>
From: Joerg Sonnenberger <email@example.com>
Date: 10/30/2005 01:55:35
On Mon, Oct 24, 2005 at 11:14:28AM -0400, Johnny C. Lam wrote:
> Joerg Sonnenberger wrote:
> >On Mon, Oct 24, 2005 at 05:59:44AM -0700, Chuck Silvers wrote:
> >>looks like libstdc++ is missing a shared library dependency.
> >>the attached patch should fix it. (apply the patch and
> >>rebuild src/gnu/lib/libstdc++-v3.)
> >I don't think that is the problem. It seems that courier-imap wants to
> >build a C program with the C++ library, but doesn't feel like using the
> >GCC wrapper (which adds -lm automatically). On the other hand, I can't
> >reproduce this on HEAD.
> Yes, this analysis is correct. I'm taking a look at this now.
I should add that I'm at least partly responsible for this. Before the
last commit to sysutils/fam, it added a hard-dependency on libcstc++,
which hid the real problem. The strange in this case is that libtool is
called with tag=CC, but cc as program.