You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Ferenc Gerlits (Jira)" <ji...@apache.org> on 2022/08/08 15:47:00 UTC

[jira] [Created] (MINIFICPP-1900) The script extension does not build on Windows

Ferenc Gerlits created MINIFICPP-1900:
-----------------------------------------

             Summary: The script extension does not build on Windows
                 Key: MINIFICPP-1900
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1900
             Project: Apache NiFi MiNiFi C++
          Issue Type: Bug
            Reporter: Ferenc Gerlits
            Assignee: Ferenc Gerlits
             Fix For: 0.13.0


If you run {{cmake}} with {{-DENABLE_SCRIPTING=ON}} on Windows, it fails when it tries to apply a patch, because of line ending differences:
{noformat}
patching file 'C:/Users/Ferenc Gerlits/src/minifi2/build/_deps/sol2//sol/sol.hpp'
Hunk #1 FAILED at 9746 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file 'C:/Users/Ferenc Gerlits/src/minifi2/build/_deps/sol2//sol/sol.hpp.rej'
CMake Error at cmake/Sol2.cmake:35 (message):
  Failed to patch sol.hpp
Call Stack (most recent call first):
  extensions/script/CMakeLists.txt:24 (include)
{noformat}
TODO:
1. Fix this.
2. Check if there are other issues.
3. Fix those.



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