[LU-12263] build breakage with 2.12.53 tag Created: 02/May/19 Updated: 25/Nov/19 Resolved: 12/Jul/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.13.0 |
| Fix Version/s: | Lustre 2.13.0 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Oleg Drokin | Assignee: | Hongchao Zhang |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
We got hit by a time bomb again it looks like. This time LMV_HASH_FLAG_DEAD is only defined until 2.12.52 or below. In file included from /tmp/rpmbuild-lustre-jenkins-VTQiYiSB/BUILD/lustre-2.12.53/libcfs/include/libcfs/libcfs.h:45:0,
from /tmp/rpmbuild-lustre-jenkins-VTQiYiSB/BUILD/lustre-2.12.53/lustre/include/obd_support.h:42,
from /tmp/rpmbuild-lustre-jenkins-VTQiYiSB/BUILD/lustre-2.12.53/lustre/ptlrpc/wiretest.c:40:
/tmp/rpmbuild-lustre-jenkins-VTQiYiSB/BUILD/lustre-2.12.53/lustre/ptlrpc/wiretest.c: In function 'lustre_assert_wire_constants':
/tmp/rpmbuild-lustre-jenkins-VTQiYiSB/BUILD/lustre-2.12.53/lustre/ptlrpc/wiretest.c:1854:11: error: 'LMV_HASH_FLAG_DEAD' undeclared (first use in this function)
CLASSERT(LMV_HASH_FLAG_DEAD == 0x40000000);
^
/tmp/rpmbuild-lustre-jenkins-VTQiYiSB/BUILD/lustre-2.12.53/libcfs/include/libcfs/libcfs_private.h:363:46: note: in definition of macro 'CLASSERT'
#define CLASSERT(cond) do {switch (1) {case (cond): case 0: break; } } while (0)
^
/tmp/rpmbuild-lustre-jenkins-VTQiYiSB/BUILD/lustre-2.12.53/lustre/ptlrpc/wiretest.c:1854:11: note: each undeclared identifier is reported only once for each function it appears in
CLASSERT(LMV_HASH_FLAG_DEAD == 0x40000000);
^
/tmp/rpmbuild-lustre-jenkins-VTQiYiSB/BUILD/lustre-2.12.53/libcfs/include/libcfs/libcfs_private.h:363:46: note: in definition of macro 'CLASSERT'
#define CLASSERT(cond) do {switch (1) {case (cond): case 0: break; } } while (0)
^
/tmp/rpmbuild-lustre-jenkins-VTQiYiSB/BUILD/lustre-2.12.53/lustre/ptlrpc/wiretest.c: At top level:
cc1: error: unrecognized command line option "-Wno-format-truncation" [-Werror]
cc1: all warnings being treated as errors
make[7]: *** [/tmp/rpmbuild-lustre-jenkins-VTQiYiSB/BUILD/lustre-2.12.53/lustre/ptlrpc/wiretest.o] Error 1
make[7]: *** Waiting for unfinished jobs....
make[6]: *** [/tmp/rpmbuild-lustre-jenkins-VTQiYiSB/BUILD/lustre-2.12.53/lustre/ptlrpc] Error 2
make[5]: *** [/tmp/rpmbuild-lustre-jenkins-VTQiYiSB/BUILD/lustre-2.12.53/lustre] Error 2
make[4]: *** [_module_/tmp/rpmbuild-lustre-jenkins-VTQiYiSB/BUILD/lustre-2.12.53] Error 2
make[3]: *** [modules] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
|
| Comments |
| Comment by Gerrit Updater [ 02/May/19 ] |
|
Oleg Drokin (green@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34793 |
| Comment by Gerrit Updater [ 02/May/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34793/ |
| Comment by Peter Jones [ 14/Jun/19 ] |
|
Hongchao Can you please investigate? Thanks Peter |
| Comment by Andreas Dilger [ 08/Jul/19 ] |
|
At this point, it makes sense to just delete all uses of LMV_HASH_FLAG_DEAD rather than making the code conditional on the version. |
| Comment by Peter Jones [ 12/Jul/19 ] |
|
As per Hongchao, this has been fixed by the landing of https://review.whamcloud.com/#/c/35318/ |