pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/43931: mail/sendmail is broken with new db4

>Number:         43931
>Category:       pkg
>Synopsis:       mail/sendmail is broken with new db4
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 30 21:15:00 +0000 2010
>Originator:     Louis Guillaume
>Release:        5.1_RC4
NetBSD xx.xx.xxxx 5.1_RC4 NetBSD 5.1_RC4 (GENERIC) #4: Thu Sep 23 13:37:24 EDT 
2010  xx%xx.xx.xxxx@localhost:/usr/obj/sys/arch/i386/compile/GENERIC i386
It appears that since db4 was updated to 4.8 in pkgsrc-2010Q2, it now includes 
pthreads. It appears that db4 used to try and use native threads when using 
gcc, but now it explicitly includes pthreads no matter what.

mail/sendmail appears to inherit this (pthreads) from the in 
db4's pacakge and now we have runtime problems with sendmail. e.g.

$ mailq
_res is not supported for multi-threaded programs.

$ ldd /usr/pkg/libexec/sendmail/sendmail
        -lwrap.0 => /usr/lib/
        -lc.12 => /usr/lib/
        -lssl.6 => /usr/lib/
        -lcrypto.4 => /usr/lib/
        -lcrypt.0 => /lib/
        -lsasl2.2 => /usr/pkg/lib/
        -lresolv.1 => /usr/lib/
        -lutil.7 => /usr/lib/
        -lldap.2 => /usr/lib/
        -llber.2 => /usr/lib/
        -ldb4-4.8.8 => /usr/pkg/lib/
        -lpthread.0 => /usr/lib/

Install sendmail from pkgsrc-2010Q2 on netbsd-5, make sure db4 gets installed 
or updated in the process.

Home | Main Index | Thread Index | Old Index