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/23 08:00:00 UTC

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

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

Ferenc Gerlits resolved MINIFICPP-1900.
---------------------------------------
    Resolution: Fixed

> 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
>            Priority: Minor
>             Fix For: 0.13.0
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> 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)