question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failure to build from source on Arch Linux

See original GitHub issue

Steps to reproduce

  1. Use Arch Linux x86_64
  2. Install gtest, and dotnet-cli from AUR
  3. Try to build
  4. “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:closed
  • Created 7 years ago
  • Reactions:4
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
nlowecommented, Sep 5, 2016

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.

1reaction
qrwteyrutiyoupcommented, Aug 20, 2016

@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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found