[LU-15476] Our ci processes fail to build master on bionic Created: 24/Jan/22  Updated: 20/Apr/23

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: Upstream
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: James Beal Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None
Environment:

Upstream bionic cloud image in our ci.


Rank (Obsolete): 9223372036854775807

 Description   

We have a ci process for building various branches on bionic and focal.

I recently pulled master from upstream and our bionic builds started failing with:

In file included from include/linux/list.h:9:0,
                 from include/linux/wait.h:7,
                 from include/linux/wait_bit.h:8,
                 from include/linux/fs.h:6,
                 from /build/lustre-release/lustre/osd-ldiskfs/osd_io.c:45:
/build/lustre-release/lustre/osd-ldiskfs/osd_io.c: In function ‘osd_declare_write_commit’:
/build/lustre-release/lustre/osd-ldiskfs/osd_io.c:1487:34: error: ‘LDISKFS_MAX_EXTENT_DEPTH’ undeclared (first use in this function); did you mean ‘LDISKFS_MAX_TRANS_DATA’?
   depth = min(max(depth, 1) + 1, LDISKFS_MAX_EXTENT_DEPTH);

 

I could disable server but this is a regression I believe ?

 



 Comments   
Comment by Andreas Dilger [ 24/Jan/22 ]

We don't support server builds in every kernel/distribution. You should disable the server build for your clients.

It would be useful to know the exact distro and kernel version so that the server build is disabled by default in this case

Comment by James Beal [ 24/Jan/22 ]

This is with Ubuntu 18.04 with the latest kernel source.

We are building our own packages as we need dkms support ( and additionally in this case we need HWE support 5.4 on bionic because of the the cpu ).

Generated at Sat Feb 10 03:18:38 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.