Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-11403

CMake warning triggered by a sed regexp in common/thrift

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 4.2.0
    • Impala 4.2.0
    • None
    • None
    • ghx-label-8

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              laszlog Laszlo Gaal
              laszlog Laszlo Gaal
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: