Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fedora in install script #104860

Merged
merged 7 commits into from
Jul 14, 2024
Merged

Add fedora in install script #104860

merged 7 commits into from
Jul 14, 2024

Conversation

am11
Copy link
Member

@am11 am11 commented Jul 13, 2024

As discussed in #104859 (comment).

@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jul 13, 2024
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Jul 13, 2024
@am11 am11 added area-Infrastructure and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Jul 13, 2024
@am11
Copy link
Member Author

am11 commented Jul 13, 2024

Technically the zlib dependency is needed until global.json points to preview 7 (which will happen soon: #104696 (comment)).

to avoid errors like:

  cdac-build-tool -> /runtime/artifacts/bin/coreclr/linux.arm64.Debug/cdac-build-tool/cdac-build-tool.dll
  Generating native code
  /usr/bin/ld.bfd: cannot find -lz: No such file or directory
clang : error : linker command failed with exit code 1 (use -v to see invocation) [/runtime/src/native/managed/cdacreader/src/cdacreader.csproj]
/root/.nuget/packages/microsoft.dotnet.ilcompiler/9.0.0-preview.7.24357.2/build/Microsoft.NETCore.Native.targets(368,5): error MSB3073: The command ""clang" "/runtime/artifacts/obj/cdacreader/Debug/net9.0/linux-arm64/native/libcdacreader.o" -o "/runtime/artifacts/bin/cdacreader/Debug/net9.0/linux-arm64/native/libcdacreader.so" -Wl,--version-script=/runtime/artifacts/obj/cdacreader/Debug/net9.0/linux-arm64/native/libcdacreader.exports -Wl,--export-dynamic -Wl,-soname=cdacreader.so -gz=zlib -fuse-ld=bfd /root/.nuget/packages/runtime.linux-arm64.microsoft.dotnet.ilcompiler/9.0.0-preview.7.24357.2/sdk/libbootstrapperdll.o /root/.nuget/packages/runtime.linux-arm64.microsoft.dotnet.ilcompiler/9.0.0-preview.7.24357.2/sdk/libRuntime.WorkstationGC.a /root/.nuget/packages/runtime.linux-arm64.microsoft.dotnet.ilcompiler/9.0.0-preview.7.24357.2/sdk/libeventpipe-disabled.a /root/.nuget/packages/runtime.linux-arm64.microsoft.dotnet.ilcompiler/9.0.0-preview.7.24357.2/sdk/libstandalonegc-disabled.a /root/.nuget/packages/runtime.linux-arm64.microsoft.dotnet.ilcompiler/9.0.0-preview.7.24357.2/sdk/libstdc++compat.a /root/.nuget/packages/runtime.linux-arm64.microsoft.dotnet.ilcompiler/9.0.0-preview.7.24357.2/framework/libSystem.Native.a /root/.nuget/packages/runtime.linux-arm64.microsoft.dotnet.ilcompiler/9.0.0-preview.7.24357.2/framework/libSystem.IO.Compression.Native.a /root/.nuget/packages/runtime.linux-arm64.microsoft.dotnet.ilcompiler/9.0.0-preview.7.24357.2/framework/libSystem.Net.Security.Native.a /root/.nuget/packages/runtime.linux-arm64.microsoft.dotnet.ilcompiler/9.0.0-preview.7.24357.2/framework/libSystem.Security.Cryptography.Native.OpenSsl.a -g -Wl,-rpath,'$ORIGIN' -Wl,--build-id=sha1 -Wl,--as-needed -Wl,-e0x0 -pthread -ldl -lz -lrt -lm -shared -Wl,-z,relro -Wl,-z,now -Wl,--eh-frame-hdr -Wl,--discard-all -Wl,--gc-sections" exited with code 1. [/runtime/src/native/managed/cdacreader/src/cdacreader.csproj]

Build FAILED.

clang : error : linker command failed with exit code 1 (use -v to see invocation) [/runtime/src/native/managed/cdacreader/src/cdacreader.csproj]
/root/.nuget/packages/microsoft.dotnet.ilcompiler/9.0.0-preview.7.24357.2/build/Microsoft.NETCore.Native.targets(368,5): error MSB3073: The command ""clang" "/runtime/artifacts/obj/cdacreader/Debug/net9.0/linux-arm64/native/libcdacreader.o" -o "/runtime/artifacts/bin/cdacreader/Debug/net9.0/linux-arm64/native/libcdacreader.so" -Wl,--version-script=/runtime/artifacts/obj/cdacreader/Debug/net9.0/linux-arm64/native/libcdacreader.exports -Wl,--export-dynamic -Wl,-soname=cdacreader.so -gz=zlib -fuse-ld=bfd /root/.nuget/packages/runtime.linux-arm64.microsoft.dotnet.ilcompiler/9.0.0-preview.7.24357.2/sdk/libbootstrapperdll.o /root/.nuget/packages/runtime.linux-arm64.microsoft.dotnet.ilcompiler/9.0.0-preview.7.24357.2/sdk/libRuntime.WorkstationGC.a /root/.nuget/packages/runtime.linux-arm64.microsoft.dotnet.ilcompiler/9.0.0-preview.7.24357.2/sdk/libeventpipe-disabled.a /root/.nuget/packages/runtime.linux-arm64.microsoft.dotnet.ilcompiler/9.0.0-preview.7.24357.2/sdk/libstandalonegc-disabled.a /root/.nuget/packages/runtime.linux-arm64.microsoft.dotnet.ilcompiler/9.0.0-preview.7.24357.2/sdk/libstdc++compat.a /root/.nuget/packages/runtime.linux-arm64.microsoft.dotnet.ilcompiler/9.0.0-preview.7.24357.2/framework/libSystem.Native.a /root/.nuget/packages/runtime.linux-arm64.microsoft.dotnet.ilcompiler/9.0.0-preview.7.24357.2/framework/libSystem.IO.Compression.Native.a /root/.nuget/packages/runtime.linux-arm64.microsoft.dotnet.ilcompiler/9.0.0-preview.7.24357.2/framework/libSystem.Net.Security.Native.a /root/.nuget/packages/runtime.linux-arm64.microsoft.dotnet.ilcompiler/9.0.0-preview.7.24357.2/framework/libSystem.Security.Cryptography.Native.OpenSsl.a -g -Wl,-rpath,'$ORIGIN' -Wl,--build-id=sha1 -Wl,--as-needed -Wl,-e0x0 -pthread -ldl -lz -lrt -lm -shared -Wl,-z,relro -Wl,-z,now -Wl,--eh-frame-hdr -Wl,--discard-all -Wl,--gc-sections" exited with code 1. [/runtime/src/native/managed/cdacreader/src/cdacreader.csproj]
    0 Warning(s)
    2 Error(s)

Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@jkotas jkotas merged commit e4c4ab4 into dotnet:main Jul 14, 2024
149 checks passed
@am11 am11 deleted the patch-6 branch July 14, 2024 17:23
@github-actions github-actions bot locked and limited conversation to collaborators Aug 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Infrastructure community-contribution Indicates that the PR has been added by a community member
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants