pkgsrc-Bugs archive

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

pkg/38533: sendmail+ldap/NetBSD 3.1: _res is not supported

>Number:         38533
>Category:       pkg
>Synopsis:       sendmail with tls and pkgsrc openssl fails on NetBSD 3.1
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 28 11:00:00 +0000 2008
>Originator:     Stephen Borrill
>Release:        NetBSD 3.1_STABLE
System: NetBSD netmanager 3.1_STABLE NetBSD 3.1_STABLE (XEN3_DOMU) #0: Wed Apr 
23 11:42:28 UTC 2008
Architecture: i386
Machine: i386
I've just installed a NetBSD 3.1 box with sendmail 8.14.2 from pkgsrc
2008Q1 (PKG_OPTIONS ldap and tls). sendmail refuses to start and even the
most basic usage gives an abort:

netmanager 1# sendmail -bv root
_res is not supported for multi-threaded programs.
Apr 28 11:32:17 netmanager /netbsd: pid 1183 (sendmail), uid 0: exited on
signal 6 (core not dumped, err = 1)

The 8.14.2 I compiled from 2007Q4 works fine (same options, etc.). Using  
8.14.2 with the standard PKG_OPTIONS (i.e. no tls) works fine too.

Further testing show that it only fails IF you have tls PKG_OPTIONS.sendmail

So it looks as though the openssl update from openssl-0.9.7inb5 to 
has caused this.

Working (PREFER_PKGSRC+=openssl, but no tls in PKG_OPTIONS.sendmail):

        -lwrap.0 => /usr/lib/
        -lresolv.1 => /usr/lib/
        -lutil.7 => /usr/lib/
        -llber-2.4.2 => /usr/pkg/lib/
        -lcrypt.0 => /lib/
        -lcrypto.2 => /usr/lib/
        -lssl.3 => /usr/lib/
        -lldap-2.4.2 => /usr/pkg/lib/
        -lc.12 => /usr/lib/

Not working (PREFER_PKGSRC+=openssl and tls in PKG_OPTIONS.sendmail):
        -lwrap.0 => /usr/lib/
        -lpthread.0 => /usr/lib/
        -lcrypto.0.9.8 => /usr/pkg/lib/
        -lssl.0.9.8 => /usr/pkg/lib/
        -lresolv.1 => /usr/lib/
        -lutil.7 => /usr/lib/
        -llber-2.4.2 => /usr/pkg/lib/
        -lldap-2.4.2 => /usr/pkg/lib/
        -lc.12 => /usr/lib/

Get a NetBSD 3.1 machine and pkgsrc from 2008Q1.
Ensure PKG_OPTIONS.sendmail=tls and PREFER_PKGSRC+=openssl are in your mk.conf
Install mail/sendmail package
Go to a command line and run "sendmail -bv root"
Workaround is to remove either tls from PKG_OPTIONS.sendmail or remove 

Fix unknown


Home | Main Index | Thread Index | Old Index