Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-17014

gpg: can't open `sm_keycheck.tmp': No such file or directory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.4.0
    • Fix Version/s: 6.2.6
    • Component/s: Build process
    • Labels:
      None

      Description

      CMake execute_process seems run parallel not sequentially.
      So following commands will run not as expected:

      execute_process(
      COMMAND rm -f sm_keycheck.tmp sm_keycheck.asc
      COMMAND touch sm_keycheck.tmp
      COMMAND bash "-c" "${GPG_COMMAND_STR}"
      TIMOUT 120
      WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
      RESULT_VARIABLE rc_var
      OUTPUT_VARIABLE out_var
      ERROR_VARIABLE err_var
      )

      http://marc.info/?l=cmake&m=145882610812531&w=2

      Workaround is to separate these three commands

        Attachments

          Activity

            People

            • Assignee:
              Michael-Gardner Michael Gardner
              Reporter:
              xwang2713 Xiaoming Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: