Open Trafo opened 2 years ago
OpenSSL developers are claiming that this RC is set by the Conan script. Sadly just looking into the Conan script, I don't see where it is done.
It has been added in openssl 1.1.1x branch by https://github.com/conan-io/conan-center-index/pull/5441, then kept when 3.x.x branch was created.
@Trafo Did you happen to get a successful build? I ran into the same issue with Visual Studio 2022 on Windows 11 with OpenSSL 3.0.7 recently. Is there a workaround?
Package and Environment Details
Conan profile
Steps to reproduce (Include if Applicable)
My description
I opened already a bug ticket in OpenSSL: https://github.com/openssl/openssl/issues/18299
The main problem is, that there is a variable set:
RC = "C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\rc.exe"
The quotes are the problem there. Because this leads to the call inside of the build script:""C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\rc.exe"" /foapps\openssl-bin-openssl.res "apps\openssl.rc"
which leads to the failure:The system cannot find the path specified.
OpenSSL developers are claiming that this RC is set by the Conan script. Sadly just looking into the Conan script, I don't see where it is done.Logs (Include/Attach if Applicable)
Click to expand log
Build log: ``` openssl/3.0.3: Applying build-requirement: strawberryperl/5.30.0.1 openssl/3.0.3: Applying build-requirement: nasm/2.15.05 openssl/3.0.3: WARN: Build folder is dirty, removing it: C:\Users\mathiaseggert\.conan\data\openssl\3.0.3\_\_\build\cdb6fd543ab5677fd09e2c988f468d700c5445bc openssl/3.0.3: Copying sources to build folder openssl/3.0.3: Building your package in C:\Users\mathiaseggert\.conan\data\openssl\3.0.3\_\_\build\cdb6fd543ab5677fd09e2c988f468d700c5445bc openssl/3.0.3: Generator txt created conanbuildinfo.txt openssl/3.0.3: Aggregating env generators openssl/3.0.3: Calling build() Conan:vcvars already set openssl/3.0.3: using target: VC-conan-Release-Windows-x86_64-Visual Studio-17 -> VC-WIN64A openssl/3.0.3: my %targets = ( "VC-conan-Release-Windows-x86_64-Visual Studio-17" => { inherit_from => [ "VC-WIN64A" ], cflags => add("-O2 -Ob2 -MD"), cxxflags => add("-O2 -Ob2 -MD"), defines => add("NDEBUG"), includes => add("C:/Users/mathiaseggert/.conan/data/zlib/1.2.12/_/_/package/5a61a86bb3e07ce4262c80e1510f9c05e9b6d48b/include"), lflags => add(""), cxx => "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.31.31103/bin/Hostx64/x64/cl.exe", }, ); WARN: replace_in_file didn't find pattern '/MTd ' in 'Configurations\10-main.conf' file. WARN: replace_in_file didn't find pattern '/MTd"' in 'Configurations\10-main.conf' file. Configuring OpenSSL version 3.0.3 for target VC-conan-Release-Windows-x86_64-Visual Studio-17 Using os-specific seed configuration Creating configdata.pm Running configdata.pm Creating makefile.in Creating makefile ********************************************************************** *** *** *** OpenSSL has been successfully configured *** *** *** *** If you encounter a problem while building, please open an *** *** issue on GitHub