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
>Organization:
Zabrico
>Environment:
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
>Description:
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 buildlink3.mk in 
db4's pacakge and now we have runtime problems with sendmail. e.g.

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

$ ldd /usr/pkg/libexec/sendmail/sendmail
/usr/pkg/libexec/sendmail/sendmail:
        -lwrap.0 => /usr/lib/libwrap.so.0
        -lc.12 => /usr/lib/libc.so.12
        -lssl.6 => /usr/lib/libssl.so.6
        -lcrypto.4 => /usr/lib/libcrypto.so.4
        -lcrypt.0 => /lib/libcrypt.so.0
        -lsasl2.2 => /usr/pkg/lib/libsasl2.so.2
        -lresolv.1 => /usr/lib/libresolv.so.1
        -lutil.7 => /usr/lib/libutil.so.7
        -lldap.2 => /usr/lib/libldap.so.2
        -llber.2 => /usr/lib/liblber.so.2
        -ldb4-4.8.8 => /usr/pkg/lib/libdb4-4.8.so.8
        -lpthread.0 => /usr/lib/libpthread.so.0



>How-To-Repeat:
Install sendmail from pkgsrc-2010Q2 on netbsd-5, make sure db4 gets installed 
or updated in the process.
>Fix:



Home | Main Index | Thread Index | Old Index