Failure to build from source on Arch Linux
See original GitHub issueSteps to reproduce
- Use Arch Linux x86_64
- Install gtest, and dotnet-cli from AUR
- Try to build
- “dotnet build --configuration Linux” results in:
Project Microsoft.PowerShell.CoreCLR.AssemblyLoadContext (.NETStandard,Version=v1.6) will be compiled because expected outputs are missing
Compiling Microsoft.PowerShell.CoreCLR.AssemblyLoadContext for .NETStandard,Version=v1.6
/opt/dotnet/dotnet compile-csc @/tmp/powershell/src/PowerShell-6.0.0-alpha.9/src/Microsoft.PowerShell.CoreCLR.AssemblyLoadContext/obj/Linux/netstandard1.6/dotnet-compile.rsp returned Exit Code 1
/tmp/powershell/src/PowerShell-6.0.0-alpha.9/src/Microsoft.PowerShell.CoreCLR.AssemblyLoadContext/CoreCLR/CorePsAssemblyLoadContext.cs(112,35): error CS0103: The name 'InitializeTypeCatalog' does not exist in the current context
Compilation failed.
0 Warning(s)
1 Error(s)
Time elapsed 00:00:03.4195229
The PKGBUILD I’ve constructed as a WIP is here: https://github.com/chungy/powershell.aur
Expected behavior
To build PowerShell successfully
Actual behavior
Failed to build
Environment data
> $PSVersionTable
N/A
Issue Analytics
- State:
- Created 7 years ago
- Reactions:4
- Comments:14 (7 by maintainers)
Top Results From Across the Web
[SOLVED] Unable to Build from Source / Newbie Corner / ...
I am having a bit of an issue with building from source and I am sure that I am doing something really silly...
Read more >Packages fail to build from AUR : r/archlinux
Hi, I have already cleared my pacman cache, amongst other things. Upon doing paru -Syu I get this error : error: packages failed...
Read more >Unable to build zig from source on arch linux · Issue #14211
Zig Version master Steps to Reproduce and Observed Behavior Hi I've followed this https://github.com/ziglang/zig/wiki/How-to-build-LLVM ...
Read more >Failed to build setup.py on Arch Linux
It means the required module is missing so, try to install the module and try it. try this. sudo pip install pathlib2. or....
Read more >Can you build ARCH from source? Let's see!
The long answer is explained here: The minimal base/chroot of a system you must have to build Arch packages is base + base-devel...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Huh, that’s unfortunate. Thanks, I’ll take a look. Unfortunately I think this means the AUR build is broken unless we get a
dotnet-cli-git
package made.@jaseg thanks, I will try looking into it. In the meantime, I have used proot, as someone in the AUR suggested.
PKGBUILD here https://github.com/qrwteyrutiyoup/powershell-git.aur