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

Marton Szasz resolved MINIFICPP-2253.
-------------------------------------
    Resolution: Fixed

> Strawberry perl's patch.exe fails CI builds on Win2022 runner
> -------------------------------------------------------------
>
>                 Key: MINIFICPP-2253
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-2253
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Bug
>            Reporter: Gábor Gyimesi
>            Assignee: Gábor Gyimesi
>            Priority: Major
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> On the latest Windows 2022 runner the strawberry perl causes build failure 
> due to the strawberry perl's patch.exe being in the path before the git's 
> patch.exe
> {code:java}
> + C:/Strawberry/c/bin/patch.exe -p1 -R -s -f --dry-run -i 
> D:/a/nifi-minifi-cpp/nifi-minifi-cpp/thirdparty/civetweb/openssl3.patch
> 1 out of 1 hunk FAILED
> + C:/Strawberry/c/bin/patch.exe -p1 -N -i 
> D:/a/nifi-minifi-cpp/nifi-minifi-cpp/thirdparty/civetweb/openssl3.patch
> patching file src/main.c
> C:\Strawberry\c\bin\patch.exe: **** Can't rename file src/main.c.oEB6AUf to 
> src/main.c : No such file or directory
> FAILED: 
> civetweb-populate-prefix/src/civetweb-populate-stamp/civetweb-populate-patch 
> D:/a/nifi-minifi-cpp/b/_deps/civetweb-subbuild/civetweb-populate-prefix/src/civetweb-populate-stamp/civetweb-populate-patch
>  
> cmd.exe /C "cd /D D:\a\nifi-minifi-cpp\b\_deps\civetweb-src && ( "C:\Program 
> Files\Git\usr\bin\bash.exe" -c "set -x &&        
> (\"C:/Strawberry/c/bin/patch.exe\" -p1 -R -s -f --dry-run -i 
> \"D:/a/nifi-minifi-cpp/nifi-minifi-cpp/thirdparty/civetweb/openssl3.patch\" 
> || \"C:/Strawberry/c/bin/patch.exe\" -p1 -N -i 
> \"D:/a/nifi-minifi-cpp/nifi-minifi-cpp/thirdparty/civetweb/openssl3.patch\")" 
> ) && C:\Strawberry\c\bin\cmake.exe -E touch 
> D:/a/nifi-minifi-cpp/b/_deps/civetweb-subbuild/civetweb-populate-prefix/src/civetweb-populate-stamp/civetweb-populate-patch"
> ninja: build stopped: subcommand failed.
> {code}



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

Reply via email to