mail-mta/postfix-2.11.1 is failing to build on ~amd64 after a recent world update that caused postfix to be under a @preserved-rebuild from a sys-libs/db upgrade. The error is salient (full logs also attached): dict_db.c: In function ‘dict_db_open’: dict_db.c:705:2: error: #error "Unsupported Berkeley DB version" Reproducible: Always Steps to Reproduce: 1. Upgrade to ~amd64 2. Match my USE flags (maybe) 3. Install postfix Actual Results: postfix build fails Expected Results: postfix builds
Created attachment 382200 [details] Build log of failure
Created attachment 382202 [details] Output of emerge --info
Created attachment 382212 [details, diff] proposed patch It seems to me that upstream does not support db v6, but it compile and works for me with attached patch. Well, I am sure that MORE test are required because my mail setup is very simple.
See Wietse Venema comment & patch regarding Berkeley DB6: http://thread.gmane.org/gmane.mail.postfix.user/243705/focus=243802
*** Bug 519150 has been marked as a duplicate of this bug. ***
+*postfix-2.11.1-r1 (07 Aug 2014) + + 07 Aug 2014; Eray Aslan <eras@gentoo.org> +files/postfix-2.11.1-db6.patch, + +postfix-2.11.1-r1.ebuild: + Support building with db6 - bug #518994 +