Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 518994 - mail-mta/postfix-2.11.1 build failure with sys-libs/db:6.0
Summary: mail-mta/postfix-2.11.1 build failure with sys-libs/db:6.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
: 519150 (view as bug list)
Depends on:
Blocks: db:6.0
  Show dependency tree
 
Reported: 2014-08-04 01:25 UTC by Gregory Beauregard
Modified: 2014-08-07 05:56 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log of failure (build.log,16.16 KB, text/plain)
2014-08-04 01:25 UTC, Gregory Beauregard
Details
Output of emerge --info (emergeinfo.log,5.11 KB, text/plain)
2014-08-04 01:27 UTC, Gregory Beauregard
Details
proposed patch (db6.patch,675 bytes, patch)
2014-08-04 06:35 UTC, Cănărău Constantin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gregory Beauregard 2014-08-04 01:25:12 UTC
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
Comment 1 Gregory Beauregard 2014-08-04 01:25:50 UTC
Created attachment 382200 [details]
Build log of failure
Comment 2 Gregory Beauregard 2014-08-04 01:27:25 UTC
Created attachment 382202 [details]
Output of emerge --info
Comment 3 Cănărău Constantin 2014-08-04 06:35:59 UTC
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.
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2014-08-04 11:46:12 UTC
See Wietse Venema comment & patch regarding Berkeley DB6:

http://thread.gmane.org/gmane.mail.postfix.user/243705/focus=243802
Comment 5 Mike Gilbert gentoo-dev 2014-08-05 18:30:29 UTC
*** Bug 519150 has been marked as a duplicate of this bug. ***
Comment 6 Eray Aslan gentoo-dev 2014-08-07 05:56:50 UTC
+*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
+