Package Details: powershell-git 7.0.0.preview.6.293.g5da06978b-1

Git Clone URL: https://aur.archlinux.org/powershell-git.git (read-only, click to copy)
Package Base: powershell-git
Description: A cross-platform automation and configuration tool/framework (git version)
Upstream URL: https://github.com/PowerShell/PowerShell
Keywords: microsoft powershell shell
Licenses: MIT
Conflicts: powershell
Provides: powershell
Submitter: qrwteyrutiyoup
Maintainer: kylesferrazza
Last Packager: kylesferrazza
Votes: 21
Popularity: 0.000000
First Submitted: 2016-08-21 20:35 (UTC)
Last Updated: 2020-03-19 17:31 (UTC)

Pinned Comments

kylesferrazza commented on 2017-10-26 17:49 (UTC)

Note that the binary is now called "pwsh"

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

nlowe commented on 2016-09-04 23:11 (UTC)

Found it. I'll make a comment on https://github.com/PowerShell/PowerShell/issues/1929 (The existing issue for arch) and open a new one if needed. c695d41c47c8baa48db1a590fe7378641a9e0ab9 is the first bad commit commit c695d41c47c8baa48db1a590fe7378641a9e0ab9 Author: Andrew Schwartzmeyer <andrew@schwartzmeyer.com> Date: Thu Sep 1 16:24:11 2016 -0700 Use lowercase name for package folders (#2162) .NET CLI build 3546 started placing packages in: ~/.nuget/packages/microsoft.codeanalysis.common instead of: ~/.nuget/packages/Microsoft.CodeAnalysis.Common Where the previous (capitalized) version corresponded directly to the package's name. Now they are all lower-cased. :040000 040000 dbafd345af60c831d25551d9769a2e6b01481fe1 bfc7b206ad7c45a39ec25ac1d90862efa46e3a4e M src

nlowe commented on 2016-09-04 22:19 (UTC)

So it seems the proot workaround no longer works. I'm going to try to bisect to see if I can find the offending commit: Unhandled Exception: System.IO.InvalidDataException: Reference assembly '/home/nathan/.nuget/packages/microsoft.codeanalysis.common/1.1.1/lib/portable-net45+win8/Microsoft.CodeAnalysis.dll' is declared in the reference list file '/home/nathan/.cache/pacaur/powershell-git/src/powershell/src/TypeCatalogGen/powershell.inc', but the assembly doesn't exist. at Microsoft.PowerShell.CoreCLR.TypeCatalogGen.ResolveReferenceAssemblies(String path) at Microsoft.PowerShell.CoreCLR.TypeCatalogGen.Main(String[] args) ~/.cache/pacaur/powershell-git/src/powershell Telemetry is: Enabled Project Microsoft.PowerShell.CoreCLR.AssemblyLoadContext (.NETStandard,Version=v1.6) will be compiled because expected outputs are missing /home/nathan/.cache/pacaur/powershell-git/src/powershell/src/Microsoft.PowerShell.CoreCLR.AssemblyLoadContext/bin/Linux/netstandard1.6/Microsoft.PowerShell.CoreCLR.AssemblyLoadContext.dll /home/nathan/.cache/pacaur/powershell-git/src/powershell/src/Microsoft.PowerShell.CoreCLR.AssemblyLoadContext/bin/Linux/netstandard1.6/Microsoft.PowerShell.CoreCLR.AssemblyLoadContext.pdb Compiling Microsoft.PowerShell.CoreCLR.AssemblyLoadContext for .NETStandard,Version=v1.6 Running /opt/dotnet/dotnet /opt/dotnet/sdk/1.0.0-preview2-003121/csc.dll -noconfig @/home/nathan/.cache/pacaur/powershell-git/src/powershell/src/Microsoft.PowerShell.CoreCLR.AssemblyLoadContext/obj/Linux/netstandard1.6/dotnet-compile-csc.rsp Process ID: 9389 /opt/dotnet/dotnet compile-csc @/home/nathan/.cache/pacaur/powershell-git/src/powershell/src/Microsoft.PowerShell.CoreCLR.AssemblyLoadContext/obj/Linux/netstandard1.6/dotnet-compile.rsp returned Exit Code 1 /home/nathan/.cache/pacaur/powershell-git/src/powershell/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:00.9760053 ==> ERROR: A failure occurred in build(). Aborting... :: failed to build powershell-git package(s)

budimanjojo commented on 2016-08-31 16:47 (UTC)

@sergio.correia Here you go: http://pastebin.com/dA7GtBN2

qrwteyrutiyoup commented on 2016-08-30 16:45 (UTC)

@budimanjojo: thanks. Can you do it again, please? I updated the build script to pass a verbose flag. It might help debugging the issue.

budimanjojo commented on 2016-08-30 15:57 (UTC)

Sorry I've been busy for quite some time, here's the full output: http://pastebin.com/b8p3yJSC Thanks before, @sergio.correia :)

qrwteyrutiyoup commented on 2016-08-27 14:28 (UTC)

@budimanjojo: yeah, that fix wasn't targeted at you, but since you mentioned it always fails in different things, I was curious to see if you still encountered problems. Would you be able to capture the whole build output and upload it as a gist/pastebin and post a link here? Maybe there is a hint somewhere in there on what is going on. Maybe something like "makepkg 2>&1 | tee output.log".

budimanjojo commented on 2016-08-26 21:00 (UTC)

@sergio.correia Still get the same error: Compiling Microsoft.PowerShell.CoreCLR.Eventing for .NETStandard,Version=v1.6 /opt/dotnet/dotnet compile-csc @/home/budiman/Projects/powershell-git/src/powershell/src/Microsoft.PowerShell.CoreCLR.Eventing/obj/Linux/netstandard1.6/dotnet-compile.rsp returned Exit Code 139 Compilation failed. 0 Warning(s) 0 Error(s) Time elapsed 00:00:00.5751896 Publishing powershell for .NETCoreApp,Version=v1.0/ubuntu.16.04-x64 Could not find file '/home/budiman/Projects/powershell-git/src/powershell/src/powershell-unix/bin/Linux/netcoreapp1.0/ubuntu.16.04-x64/powershell.dll'. ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build powershell-git. I already have my LANG set in /etc/locale.conf all the time. So I think this is a different problem. My error always ended with the 'Couldn't find file' error.

qrwteyrutiyoup commented on 2016-08-26 20:07 (UTC)

@TAG95: thanks for the info. I changed the check to pass LANG=en_US.UTF-8 to prevent a failure in this case. @linuxuser437442: can you try again to see if it's still failing any tests? @budimanjojo: still getting these random build failures?

TAG95 commented on 2016-08-26 05:35 (UTC)

@sergio.correia I encountered the same failure as @budimanjojo in psl-native-test. For me, it failed a check for locale UTF8 charmap. Setting a UTF8 charmap in /etc/locale.conf and rebooting solved the issue for me.

budimanjojo commented on 2016-08-25 17:09 (UTC)

Still getting errors: Compilation succeeded. 0 Warning(s) 0 Error(s) Time elapsed 00:00:00.9300680 Project Microsoft.PackageManagement.MetaProvider.PowerShell (.NETStandard,Version=v1.6) will be compiled because dependencies changed Compiling Microsoft.PackageManagement.MetaProvider.PowerShell for .NETStandard,Version=v1.6 /opt/dotnet/dotnet compile-csc @/home/budiman/Projects/powershell-git/src/powershell/src/Microsoft.PackageManagement.MetaProvider.PowerShell/obj/Linux/netstandard1.6/dotnet-compile.rsp returned Exit Code 139 Compilation failed. 0 Warning(s) 0 Error(s) Time elapsed 00:00:00.4291914 Publishing powershell for .NETCoreApp,Version=v1.0/ubuntu.16.04-x64 Could not find file '/home/budiman/Projects/powershell-git/src/powershell/src/powershell-unix/bin/Linux/netcoreapp1.0/ubuntu.16.04-x64/powershell.dll'. ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build powershell-git. This is really weird, because everytime I try to recompile, it always failed in different things.