[ 
https://issues.apache.org/jira/browse/IMPALA-11403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Quanlong Huang resolved IMPALA-11403.
-------------------------------------
    Fix Version/s: Impala 4.2.0
       Resolution: Fixed

Resolving this. Thank [~laszlog]!

> CMake warning triggered by a sed regexp in common/thrift
> --------------------------------------------------------
>
>                 Key: IMPALA-11403
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11403
>             Project: IMPALA
>          Issue Type: Bug
>    Affects Versions: Impala 4.2.0
>            Reporter: Laszlo Gaal
>            Assignee: Laszlo Gaal
>            Priority: Major
>             Fix For: Impala 4.2.0
>
>
> While investigating a different issue, a CMake warning was noticed in the 
> build output, complaining about a {{sed}} regexp in a build rule:{code}
> 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 
> {code}
> This probably indicates an escaping problem: too many programs use the 
> backslash for escaping various special characters.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to