-
Notifications
You must be signed in to change notification settings - Fork 200
Open
Labels
Needs: Triage (Functions)potential-bugItems opened using the bug report template, not yet triaged and confirmed as a bugItems opened using the bug report template, not yet triaged and confirmed as a bug
Description
Description
After upgrading my box to Ubuntu 24.04 from 22.04 I can no longer build my AzureFunction:
/home/martin/.nuget/packages/microsoft.azure.webjobs.script.extensionsmetadatagenerator/4.0.1/build/Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator.targets(37,5): warning : No usable version of libssl was found [/home/martin/MyFunction/src/MyFunction.AzureFunctions/obj/Release/net8.0/WorkerExtensions/WorkerExtensions.csproj]
/home/martin/.nuget/packages/microsoft.azure.webjobs.script.extensionsmetadatagenerator/4.0.1/build/Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator.targets(37,5): error : Metadata generation failed. Exit code: '134' Error: 'No usable version of libssl was found' [/home/martin/MyFunction/src/MyFunction.AzureFunctions/obj/Release/net8.0/WorkerExtensions/WorkerExtensions.csproj]
I've checked that the requirements for dotnet are installed
sudo apt install ca-certificates libc6 libgcc-s1 libgssapi-krb5-2 libicu74 libssl3t64 libstdc++6 tzdata zlib1g
And I'm using the latest SDK nuget package
<PackageVersion Include="Microsoft.Azure.Functions.Worker.Sdk" Version="2.0.7" />
Other Microsoft teams seems to pin their build agents to be 22.04 due to this error:
Azure/azure-functions-sql-extension#1175
Support for LibSSL 1.1.1 ended more than 2 years ago (11 Sep 2023)
Steps to reproduce
Use Ubuntu 24.04 and try and build an Azure Function using dotnet.
Metadata
Metadata
Assignees
Labels
Needs: Triage (Functions)potential-bugItems opened using the bug report template, not yet triaged and confirmed as a bugItems opened using the bug report template, not yet triaged and confirmed as a bug