You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Gábor Gyimesi (Jira)" <ji...@apache.org> on 2023/10/19 08:27:00 UTC
[jira] [Updated] (MINIFICPP-2253) Strawberry perl's patch.exe fails CI builds on Win2022 runner
[ https://issues.apache.org/jira/browse/MINIFICPP-2253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gábor Gyimesi updated MINIFICPP-2253:
-------------------------------------
Summary: Strawberry perl's patch.exe fails CI builds on Win2022 runner (was: in Win2022 runner)
> 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
>
> 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)