ports/146371: mail.postfix fails to build WITH_BDB_HIGHEST - db50 unsupported

Volodymyr Kostyrko c.kworr at gmail.com
Fri May 7 07:40:03 UTC 2010


>Number:         146371
>Category:       ports
>Synopsis:       mail.postfix fails to build WITH_BDB_HIGHEST - db50 unsupported
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 07 07:40:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Volodymyr Kostyrko
>Release:        RELENG_8
>Organization:
>Environment:
FreeBSD urquan 8.0-STABLE FreeBSD 8.0-STABLE #0: Sun May  2 15:37:52 EEST 2010     arcade at urquan:/usr/obj/usr/src/sys/MINIMAL_8  amd64
>Description:
Trying to build port WITH_BDB_HIGHEST results in:
cc -DDEF_CONFIG_DIR=\"/usr/local/etc/postfix\" -DDEF_DAEMON_DIR=\"/usr/local/libexec/postfix\" -DDEF_COMMAND_DIR=\"/usr/local/sbin\" -DDEF_SENDMAIL_PATH=\"/usr/local/sbin/sendmail\" -DDEF_NEWALIAS_PATH=\"/usr/local/bin/newaliases\" -DDEF_MAILQ_PATH=\"/usr/local/bin/mailq\" -DDEF_MANPAGE_DIR=\"/usr/local/man\" -DDEF_README_DIR=\"no\" -DDEF_HTML_DIR=\"no\" -DDEF_QUEUE_DIR=\"/var/spool/postfix\" -DDEF_DATA_DIR=\"/var/db/postfix\" -DDEF_MAIL_OWNER=\"postfix\" -DDEF_SGID_GROUP=\"maildrop\" -DHAS_PCRE -I/usr/local/include -DUSE_TLS -I/usr/include -I/usr/local/include/db50  -O2 -pipe -march=nocona -fno-strict-aliasing -I. -DFREEBSD8 -c dict_cidr.c
cc -DDEF_CONFIG_DIR=\"/usr/local/etc/postfix\" -DDEF_DAEMON_DIR=\"/usr/local/libexec/postfix\" -DDEF_COMMAND_DIR=\"/usr/local/sbin\" -DDEF_SENDMAIL_PATH=\"/usr/local/sbin/sendmail\" -DDEF_NEWALIAS_PATH=\"/usr/local/bin/newaliases\" -DDEF_MAILQ_PATH=\"/usr/local/bin/mailq\" -DDEF_MANPAGE_DIR=\"/usr/local/man\" -DDEF_README_DIR=\"no\" -DDEF_HTML_DIR=\"no\" -DDEF_QUEUE_DIR=\"/var/spool/postfix\" -DDEF_DATA_DIR=\"/var/db/postfix\" -DDEF_MAIL_OWNER=\"postfix\" -DDEF_SGID_GROUP=\"maildrop\" -DHAS_PCRE -I/usr/local/include -DUSE_TLS -I/usr/include -I/usr/local/include/db50  -O2 -pipe -march=nocona -fno-strict-aliasing -I. -DFREEBSD8 -c dict_db.c
dict_db.c:685:2: error: #error "Unsupported Berkeley DB version"
>How-To-Repeat:
cd /usr/ports/mail/postfix; make -DWITH_BDB_HIGHEST
>Fix:
At least INVALID_BDB_VER=50+. This would result in:

===>  postfix-2.7.0,1 cannot install: does not work with Berkeley DB version 50 (50+ not supported).
*** Error code 1

A better way is to ask bsd.database.mk people to add the possibility to not fail on INVALID_BDB_VER but instead try each other version installed. So if 5.0 and 4.8 are installed simultaneously the 5.0 gets rejected and 4.8 is used instead.

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



More information about the freebsd-ports-bugs mailing list