Opened 2 years ago

Closed 2 years ago

#17247 closed enhancement (fixed)

postfix-3.7.3 fails to build on linux-6.0

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

Description (last modified by ken@…)

Postfix looks at the running kernel version and fails to configure if Linux is >5.

Change History (3)

comment:1 by ken@…, 2 years ago

Description: modified (diff)
Summary: Issues with postfix-3.7.3.postfix-3.7.3 fails to build on linux-6.0

(Reworded description, which I had cut down - but insufficiently - initially I thought there was also a perms problem on the sgid files.)

Built ok in chroot running a 5.9 kernel (it is the running kernel that gets tested). I've just completed a chroot build on a (host) 6.0.5 kernel. Fails, similar to when Linux-4 was released, but two files need correcting:

sed -i 's/Linux..345/&6/' makedefs sed -i 's/LINUX2/LINUX6/' src/util/sys_defs.h

The second is needed to prevent a build error (change LINUX2 in a set of 2| 3 | 4 | 5 tests):

In file included from argv_split.c:51: ./sys_defs.h:1264:2: error: #error "unsupported platform"

1264 | #error "unsupported platform"

|

comment:2 by ken@…, 2 years ago

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

Now booted and working

comment:3 by ken@…, 2 years ago

Resolution: fixed
Status: assignedclosed

Fixed in g4c59e8328793 11.2-348

Note: See TracTickets for help on using tickets.