pkgsrc-Bugs archive

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

pkg/43637: postfix with mysql fails on NetBSD 5.1_RC3



>Number:         43637
>Category:       pkg
>Synopsis:       postfix with mysql fails on NetBSD 5.1_RC3
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 18 14:50:00 +0000 2010
>Originator:     Friedrich Holzapfel
>Release:        NetBSD 5.1_RC3
>Organization:
>Environment:
NetBSD mail 5.1_RC3 NetBSD 5.1_RC3 (XEN3_DOMU) #0: Sat Jun 12 20:22:22 UTC 2010 
 
builds%b8.netbsd.org@localhost:/home/builds/ab/netbsd-5-1-RC3/amd64/201006130031Z-obj/home/builds/ab/netbsd-5-1-RC3/src/sys/arch/amd64/compile/XEN3_DOMU
 amd64
>Description:
Postfix 2.7.1 from pkgsrc-2010Q2 (PKG_OPTIONS mysql and tls) aborts while 
trying to send queued mails.


Jul 17 04:06:57 mail postfix/master[1070]: warning: process 
/usr/pkg/libexec/postfix/smtp pid 1435 killed by signal 6
Jul 17 04:06:57 mail postfix/master[1070]: warning: 
/usr/pkg/libexec/postfix/smtp: bad command startup -- throttling


  1070      1 smtp     write(0x2, 0x7f7ffcc0bde0, 0x33) = 51
       "_res is not supported for multi-threaded programs.\n"
  1070      1 smtp     __sigprocmask14(0x3, 0x7f7fffffbbb0, 0) = 0
  1070      1 smtp     _lwp_self()                 = 1
  1070      1 smtp     _lwp_kill(0x1, 0x6)         = 0
  1070      1 smtp     SIGABRT SIG_DFL


/usr/pkg/libexec/postfix/smtp:
        -lssl.0.9.8 => /usr/pkg/lib/libssl.so.0.9.8
        -lcrypto.0.9.8 => /usr/pkg/lib/libcrypto.so.0.9.8
        -lc.12 => /usr/lib/libc.so.12
        -lmysqlclient.16 => /usr/pkg/lib/mysql/libmysqlclient.so.16
        -lpthread.0 => /usr/lib/libpthread.so.0
        -lcrypt.0 => /usr/lib/libcrypt.so.0
        -lm.0 => /usr/lib/libm.so.0
        -lz.1 => /usr/lib/libz.so.1



The problem seems to originate in the dependency of 
/usr/pkg/lib/mysql/libmysqlclient.so.16 (needed by 
/usr/pkg/libexec/postfix/smtp) on /usr/lib/libpthread.so.0 when 
databases/mysql51-client is compiled with SSL support enabled (default) and an 
incompatibility somewhere in the latter shared library:
Signal 6 (SIGABRT) after printing "_res is not supported for multi-threaded 
programs.\n".



>How-To-Repeat:
Install mail/postfix with PKG_OPTIONS mysql and MySQL client 5.1 (default 
PKG_OPTIONS ssl) on NetBSD 5.1_RC3 (XEN3_DOMU). Current postfix in pkgsrc 
(mail/postfix-current) is also affected.

OpenSSL from pkgsrc and from base are both affected (here 
PREFER.openssl=pkgsrc).



>Fix:
To workaround this disable the ssl PKG_OPTION for MySQL
 PKG_OPTIONS.mysql5+= -ssl


Fix unknown





Home | Main Index | Thread Index | Old Index