Opened 6 years ago

Closed 6 years ago

#10984 closed defect (fixed)

DB-18.1.25 breaks postfix build.

Reported by: ken@… Owned by: ken@…
Priority: normal Milestone: 8.3
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

I note that nobody else except homebrew (mac) are using DB-18. The problems seems to be the past relicensing for DB-6, see e.g. https://lwn.net/Articles/557820/.

Arch have 5 as part of their system (with one minimal patch to make it build), but they also have 4.9 with changes to provide unique names, and 6 in AUR (conflicts with system version).

The breakage is from:

#if DB_VERSION_MAJOR == 6
DB_VERSION_MAJOR == 5

(DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR > 0)

I will try a minimal fix, but I wonder if we should revert to DB-5.

NB 5 years since the last similar issue, http://archive.linuxfromscratch.org/mail-archives/blfs-dev/2013-August/025556.html

Change History (3)

comment:1 by ken@…, 6 years ago

Owner: changed from blfs-book to ken@…
Status: newassigned

My fix seems to work for my current minimal use case (run postfix on a desktop machine without SASL to forward fcron mail to another local machine).

Whether it will work correctly in all circumstances depends on whatever changed between db-6 and db-18.

I'll raise a separate ticket for possibly reverting to 5.3 later.

comment:2 by ken@…, 6 years ago

Addressed for the immediate issue in r20268.

comment:3 by ken@…, 6 years ago

Resolution: fixed
Status: assignedclosed

I've now raised #10989 to revert to db-5 which (apart from any build issues it has with our current toolchain) should be accepted by all packages which use it.

Closing.

Note: See TracTickets for help on using tickets.