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

CMake 2.8.12.x has problem for packing rpm with file path "@"

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: Later
    • Fix Version/s: None
    • Component/s: Build process
    • Labels:
    • Environment:
      HPCC Platform build on Linux

      Description

      HPCC plaform build fails on Fedora 19/20 due to following problem:

      Some HPCC Platform install files under directory xxx/@temp/yyy/
      For CMake 2.8.11.1 "cpack -configure <config file>" run OK until
      CMake 2.8.12.0 which has fix for mantis ticket 0014063
      Patch file name: 0001-CPackRPM-protect-character-in-filename-processed-in-.patch<http://public.kitware.com/Bug/file_download.php?file_id=4715&type=bug>

      Here is what happens:

      1) Cpack_Packages/Linux-x86_64/RPM/SPECT/<project>.spec.in<http://spec.in/> has:
      %files
      %defattr(,root,root,)
      @CPACK_RPM_INSTALL_FILES@
      @CPACK_RPM_ABSOLUTE_INSTALL_FILES@
      @CPACK_RPM_USER_INSTALL_FILES@

      2) @CPACK_RPM_INSTALL_FILES@ has the files which includes some files with "@temp"

      3) During CPack execution <project>.spec is generated. For previous CMake it keeps "@temp" and everything run OK.

      But with above patch or CMake 2.8.12.x "@temp" become "@PROJECT_AT at temp". cpack fails with error: cannot find

      Files with path contains "@PROJECT_AT at temp".

        Attachments

          Activity

            People

            • Assignee:
              xwang2713 Xiaoming Wang
              Reporter:
              xwang2713 Xiaoming Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: