Subject: pkg/25575: security/cyrus-sasl2 doesn't build on Darwin
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <michael@nosflow.com>
List: pkgsrc-bugs
Date: 05/15/2004 04:20:33
>Number:         25575
>Category:       pkg
>Synopsis:       security/cyrus-sasl2 doesn't build on Darwin
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 15 04:21:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michael Wolfson
>Release:        Darwin 7.3.0
>Organization:
>Environment:
Darwin Gizmobook 7.3.0 Darwin Kernel Version 7.3.0: Fri Mar  5 14:22:55 PST 2004; root:xnu/xnu-517.3.15.obj~4/RELEASE_PPC  Power Macintosh powerpc
>Description:
Doesn't build:

[...]
 gcc -DHAVE_CONFIG_H -I. -I.. -I../include -no-cpp-precomp -Wall -W -O2 -MT db_n
dbm.lo -MD -MP -MF .deps/db_ndbm.Tpo -c db_ndbm.c -o db_ndbm.o >/dev/null 2>&1
/bin/sh ../libtool --mode=link gcc  -Wall -W -O2 -I/usr/include   -L/usr/lib -R/
usr/lib -L/usr/lib -o libsasldb.la   allockey.lo db_ndbm.lo -lresolv
ar cru .libs/libsasldb.a .libs/allockey.o .libs/db_ndbm.o
ranlib .libs/libsasldb.a
creating libsasldb.la
(cd .libs && rm -f libsasldb.la && ln -s ../libsasldb.la libsasldb.la)
ar cru .libs/libsasldb.a 
ar: no archive members specified
usage:  ar -d [-TLsv] archive file ...
        ar -m [-TLsv] archive file ...
[...]


Last few lines of work/.work.log:
==> Reordering libraries:  -lresolv
<.> /usr/pkg/bin/libtool --mode=link gcc -Wall -W -O2 -o libsasldb.la allockey.l
o db_ndbm.lo -L/Volumes/NetBSD/usr/src/pkgsrc/security/cyrus-sasl2/work/.buildli
nk/lib -lresolv
==> Fixed libsasldb.la

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: