Patch Tuesday for November 2024#42165
Conversation
|
I forgot to make the Azure DevOps changes. Will deploy that and reopen. |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
I fixed this by 'setting up billing' but given that pipeline artifacts are documented to be unbillable it seems like a bug in either the product or the docs, I reported. |
|
Closed and reopened to kick CLABot |
| , Callback(callback) | ||
| , io(service.GetIOService()) | ||
| - , Timer(io, boost::posix_time::milliseconds(data.RevisedPublishingInterval)) | ||
| + , Timer(io, boost::posix_time::milliseconds((int)data.RevisedPublishingInterval)) |
There was a problem hiding this comment.
This part used to be in ports/freeopcua/improve_compatibility_with_recent_boost.patch
| typedef std::promise<void> Promise; | ||
| Promise promise; | ||
| +#if BOOST_VERSION >= 107000 | ||
| + boost::asio::post(Socket.get_executor(), bind(&Promise::set_value, &promise)); |
There was a problem hiding this comment.
This part used to be in boost-1.70.patch
| #include <iostream> | ||
| @@ -115,5 +115,3 @@ private: | ||
|
|
||
| } |
There was a problem hiding this comment.
Several of these patches were removing trailing whitespace from the file, I minimized the patch by dropping that edit.
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
| - #set(CMAKE_SHARED_LINKER_FLAGS "--no-undefined" ) | ||
| + add_definitions(-D_SCL_SECURE_NO_WARNINGS) | ||
| + add_definitions(-D_CRT_SECURE_NO_WARNINGS) | ||
| + add_compile_options(/bigobj) |
There was a problem hiding this comment.
The main reason I touched this port was to add this /bigobj because that's what the comment in ci.baseline.txt said it needed, and that appears to be correct :)
|
@BillyONeal: Any tips to make easyhook work? I simply cannot get it to pass the post build checks. What exactly needs to be installed by VS? |
It's currently working in CI. When it failed before it complained about .NET targeting stuff not being installed. |
Did it really complain about that or did it fail because the EasyHook.dll does not export any symbols? |
It failed because easyhook explicitly asks for .NET things in its build system. |
MSBuild version 17.11.9+a69bbaaf5 for .NET Framework
Build started 11/15/2024 3:36:06 PM.
1>Project "D:\b\easyhook\x64-windows-rel\EasyHook.sln" on node 1 (EasyHookDll target(s)).
1>ValidateSolutionConfiguration:
Building solution configuration "netfx4-Release|x64".
ValidateProjects:
The project "EasyHook.Tests" is not selected for building in solution configuration "netfx4-Release|x64".
1>Project "D:\b\easyhook\x64-windows-rel\EasyHook.sln" (1) is building "D:\b\easyhook\x64-windows-rel\EasyHookDll\EasyHookDll.vcxproj" (2) on node 1 (default targets).
2>Project "D:\b\easyhook\x64-windows-rel\EasyHookDll\EasyHookDll.vcxproj" (2) is building "D:\b\easyhook\x64-windows-rel\EasyHookSvc\EasyHookSvc.csproj" (3:2) on node 1 (default targets).
3>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(1259,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.7.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [D:\b\easyhook\x64-windows-rel\EasyHookSvc\EasyHookSvc.csproj]
3>_CleanRecordFileWrites:
Creating directory "obj\netfx4-Release\".
3>Done Building Project "D:\b\easyhook\x64-windows-rel\EasyHookSvc\EasyHookSvc.csproj" (default targets) -- FAILED.
2>Project "D:\b\easyhook\x64-windows-rel\EasyHookDll\EasyHookDll.vcxproj" (2) is building "D:\b\easyhook\x64-windows-rel\EasyHook\EasyHook.csproj" (4:2) on node 2 (default targets).
4>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(1259,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.7.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [D:\b\easyhook\x64-windows-rel\EasyHook\EasyHook.csproj]
4>_CleanRecordFileWrites:
Creating directory "obj\netfx4-Release\".
4>Done Building Project "D:\b\easyhook\x64-windows-rel\EasyHook\EasyHook.csproj" (default targets) -- FAILED.
2>Done Building Project "D:\b\easyhook\x64-windows-rel\EasyHookDll\EasyHookDll.vcxproj" (default targets) -- FAILED.
1>Done Building Project "D:\b\easyhook\x64-windows-rel\EasyHook.sln" (EasyHookDll target(s)) -- FAILED.
Build FAILED.
"D:\b\easyhook\x64-windows-rel\EasyHook.sln" (EasyHookDll target) (1) ->
"D:\b\easyhook\x64-windows-rel\EasyHookDll\EasyHookDll.vcxproj" (default target) (2) ->
"D:\b\easyhook\x64-windows-rel\EasyHookSvc\EasyHookSvc.csproj" (default target) (3:2) ->
(GetReferenceAssemblyPaths target) ->
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(1259,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.7.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [D:\b\easyhook\x64-windows-rel\EasyHookSvc\EasyHookSvc.csproj]
"D:\b\easyhook\x64-windows-rel\EasyHook.sln" (EasyHookDll target) (1) ->
"D:\b\easyhook\x64-windows-rel\EasyHookDll\EasyHookDll.vcxproj" (default target) (2) ->
"D:\b\easyhook\x64-windows-rel\EasyHook\EasyHook.csproj" (default target) (4:2) ->
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(1259,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.7.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [D:\b\easyhook\x64-windows-rel\EasyHook\EasyHook.csproj]
0 Warning(s)
2 Error(s)
Time Elapsed 00:00:00.71 |
PublishBuildArtifacts@1toPublishPipelineArtifact@1arm64-windows-static-mdas requested by Azure Core.[chartdir]'s supports expression to match its portfile.cmake.[freeopcua]needing /bigobj and combined patches of patches.