You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Laszlo Gaal (Jira)" <ji...@apache.org> on 2022/06/28 19:10:00 UTC

[jira] [Created] (IMPALA-11403) CMake warning triggered by a sed regexp in common/thrift

|  ![](cid:jira-generated-image-avatar-f4e1aaca-eb2c-4d89-a54d-5f9e36695e33) |
[Laszlo
Gaal](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=laszlog)
**created** an issue  
---|---  
|  
---  
|  [IMPALA](https://issues.apache.org/jira/browse/IMPALA) / [![Bug](cid:jira-
generated-image-
avatar-c66c974a-537e-4283-a3d5-b1d43eacd098)](https://issues.apache.org/jira/browse/IMPALA-11403)
[IMPALA-11403](https://issues.apache.org/jira/browse/IMPALA-11403)  
---  
[CMake warning triggered by a sed regexp in
common/thrift](https://issues.apache.org/jira/browse/IMPALA-11403)  
| Issue Type: |  ![Bug](cid:jira-generated-image-
avatar-c66c974a-537e-4283-a3d5-b1d43eacd098) Bug  
---|---  
Affects Versions: |  Impala 4.2.0  
Assignee: |  [Laszlo
Gaal](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=laszlog)  
Created: |  28/Jun/22 19:09  
Priority: |  ![Major](cid:jira-generated-image-static-
major-73bc8a10-6fa7-44e1-9a6e-2d277e934770) Major  
Reporter: |  [Laszlo
Gaal](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=laszlog)  
|

While investigating a different issue, a CMake warning was noticed in the
build output, complaining about a `sed` regexp in a build rule:

    
    
    00:02:26.836 CMake Warning (dev) at common/thrift/CMakeLists.txt:238 (add_custom_target):
    00:02:26.836   Syntax error in cmake code at
    00:02:26.836 
    00:02:26.836     /home/ubuntu/Impala/common/thrift/CMakeLists.txt:239
    00:02:26.836 
    00:02:26.836   when parsing string
    00:02:26.836 
    00:02:26.836     's|\(dispatchCallTemplated.*\));|\1) override;|'
    00:02:26.836 
    00:02:26.836   Invalid escape sequence \1
    00:02:26.836 
    00:02:26.836   Policy CMP0010 is not set: Bad variable reference syntax is an error.  Run
    00:02:26.836   "cmake --help-policy CMP0010" for policy details.  Use the cmake_policy
    00:02:26.836   command to set the policy and suppress this warning.
    00:02:26.836 This warning is for project developers.  Use -Wno-dev to suppress it.
    00:02:26.836 
    

This probably indicates an escaping problem: too many programs use the
backslash for escaping various special characters.  
  
---  
|  |  [ ![Add Comment](cid:jira-generated-image-static-comment-
icon-386c4ec4-7933-48eb-8e91-252535501865)
](https://issues.apache.org/jira/browse/IMPALA-11403#add-comment "Add
Comment") |  [Add
Comment](https://issues.apache.org/jira/browse/IMPALA-11403#add-comment "Add
Comment")  
---|---  
  
|  This message was sent by Atlassian Jira (v8.20.10#820010-sha1:ace47f9) |  |
![Atlassian logo](https://issues.apache.org/jira/images/mail/atlassian-email-
logo.png)  
---