Actions
Bug #52891
closednautilus: Build fails due to preprocessor failure stemming from 'nspr4/prlog.h'
% Done:
0%
Description
In file included from /working/ceph/src/googletest/googletest/include/gtest/gtest.h:62, from /working/ceph/src/test/librgw_file_nfsns.cc:26: /working/ceph/src/test/librgw_file_nfsns.cc:1082:6: error: pasting "LibRGW_" and "(" does not give a valid preprocessing token TEST(LibRGW, CLEANUP) { ^~~~~~ /working/ceph/src/test/librgw_file_nfsns.cc:1082:6: error: pasting "LibRGW_" and "(" does not give a valid preprocessing token TEST(LibRGW, CLEANUP) { ^~~~~~ /working/ceph/src/test/librgw_file_nfsns.cc:1082:6: error: pasting "LibRGW_" and "(" does not give a valid preprocessing token TEST(LibRGW, CLEANUP) { ^~~~~~ /working/ceph/src/test/librgw_file_nfsns.cc:1082:6: error: pasting "LibRGW_" and "(" does not give a valid preprocessing token TEST(LibRGW, CLEANUP) { ^~~~~~ /working/ceph/src/test/librgw_file_nfsns.cc:1082:6: error: pasting "LibRGW_" and "(" does not give a valid preprocessing token TEST(LibRGW, CLEANUP) { ^~~~~~ /working/ceph/src/test/librgw_file_nfsns.cc:1082:6: error: pasting "LibRGW_" and "(" does not give a valid preprocessing token TEST(LibRGW, CLEANUP) { ^~~~~~ /working/ceph/src/test/librgw_file_nfsns.cc:1082:6: error: pasting "LibRGW_" and "(" does not give a valid preprocessing token TEST(LibRGW, CLEANUP) { ^~~~~~ /working/ceph/src/test/librgw_file_nfsns.cc:1082:6: error: pasting "LibRGW_" and "(" does not give a valid preprocessing token TEST(LibRGW, CLEANUP) { ^~~~~~ /usr/include/nspr4/prlog.h:217:27: error: expected unqualified-id before 'void' #define PR_ASSERT(expr) ((void) 0)
This looks like an incompatibility between the existing code and a newer nspr library.
79edb93d06a1e0aef734c48f85a6085d088c829a removed NSS entirely early in Pacific which is why we don't see this failure there.
Updated by Brad Hubbard over 2 years ago
- Pull request ID set to 43491
Turns out it's related to duplicate test definitions failing during (Gtest) macro expansion.
Updated by Brad Hubbard over 2 years ago
- Status changed from New to Fix Under Review
Updated by Brad Hubbard over 2 years ago
- Status changed from Fix Under Review to In Progress
Updated by Yuri Weinstein over 2 years ago
Updated by Brad Hubbard over 2 years ago
- Status changed from In Progress to Resolved
Actions