Project

General

Profile

Actions

Bug #52891

closed

nautilus: Build fails due to preprocessor failure stemming from 'nspr4/prlog.h'

Added by Brad Hubbard over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
build
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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.

Actions #1

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.

Actions #2

Updated by Brad Hubbard over 2 years ago

  • Status changed from New to Fix Under Review
Actions #3

Updated by Brad Hubbard over 2 years ago

  • Status changed from Fix Under Review to In Progress
Actions #5

Updated by Brad Hubbard over 2 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF