Package Details: powershell-git 6.2.0.rc.1.197.gceed73d73-1

Git Clone URL: https://aur.archlinux.org/powershell-git.git (read-only)
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.009257
First Submitted: 2016-08-21 20:35
Last Updated: 2019-04-24 18:39

Pinned Comments

kylesferrazza commented on 2017-10-26 17:49

Note that the binary is now called "pwsh"

Latest Comments

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

budimanjojo commented on 2016-08-25 06:17

@sergio.correia Thanks mate. I'll try it out later tonight. I'll report back :)

qrwteyrutiyoup commented on 2016-08-24 23:08

@linuxuser437442: hmm. there was an error caused by that test earlier that was fixed by https://github.com/PowerShell/PowerShell/commit/550a21e40e8b92d7972ebdd80681fbb1b5e0b89e, and this should be already present in the code, since we are getting it from a current git tree.

Could you check the current git revision you are trying to build? Enter the powershell directory and run "git rev-parse HEAD". I have just build revision e1f3494356e5a0a9a69d822a3d2129e71a1e5637 without issues.

Also, can you get more information on the failed test(s)?
Enter the test directory of libpsl-native (src/powershell/src/libpsl-native/test) and run the test manually "./psl-native-test". It should give a more verbose output of the 40 tests it runs.

linuxuser437442 commented on 2016-08-24 23:01

@sergio.correia

I"m not budimanjojo, but I'm getting this error:

Publishing powershell for .NETCoreApp,Version=v1.0/ubuntu.16.04-x64
publish: Published to /tmp/yaourt-tmp-<user>/aur-powershell-git/src/powershell/src/powershell-unix/bin/Linux/netcoreapp1.0/ubuntu.16.04-x64/publish
Published 1/1 projects successfully
==> Starting check()...
Running tests...
Test project /tmp/yaourt-tmp-<user>/aur-powershell-git/src/powershell/src/libpsl-native
Start 1: psl-native-test
1/1 Test #1: psl-native-test ..................***Failed 0.01 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) = 0.01 sec

The following tests FAILED:
1 - psl-native-test (Failed)
Errors while running CTest
make: *** [Makefile:62: test] Error 8
==> ERROR: A failure occurred in check().
Aborting...
==> ERROR: Makepkg was unable to build powershell-git.

qrwteyrutiyoup commented on 2016-08-24 22:51

@budimanjojo: I have updated the PKGBUILD to not build while publishing, which might avoid the issue you are encountering. Could you give it a try?

budimanjojo commented on 2016-08-24 20:49

Here:
dotnet --version
1.0.0-preview2-003121

qrwteyrutiyoup commented on 2016-08-24 19:29

@budimanjojo: sorry, I have been a bit busy the past days and couldn't reply earlier. I haven't seen this error before, but it shouldn't be trying to use icu55 instead of 57.

From the error message, I suppose it is giving problem during the publish stage?
Just to check, what's the output of "dotnet --version" you have there?

budimanjojo commented on 2016-08-24 03:25

I think my problem with the error above is because the compiler is using icu57 instead of icu55?

Skrypton commented on 2016-08-23 16:56

Nice to see that someone has created a working package for powershell. I've even add powershell to the command-line shells article of the wiki along with mentioning your package.

budimanjojo commented on 2016-08-23 16:43

I keep getting this error on build.
7f4371d2d000-7f4371d3a000 r-xp 0026a000 08:02 3041951 /usr/lib/libicui18n.so.57.1/opt/dotnet/dotnet compile-csc @/home/budiman/Projects/powershell-git/src/powershell/src/Microsoft.PowerShell.Commands.Utility/obj/Debug/netstandard1.6/dotnet-compile.rsp returned Exit Code 134

Compilation failed.
0 Warning(s)
0 Error(s)

Time elapsed 00:00:00.6339239

Published 0/1 projects successfully
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build powershell-git.
Any idea on why this is happening?

qrwteyrutiyoup commented on 2016-08-22 12:29

@Vaporeon: the build system (dotnet-cli, I believe) performs some checks and at this point it's kind of hardcoded expecting a few distros, such as Ubuntu, and it checks os-release to obtain such info, which is why we temporarily use a Ubuntu-like os-release during build. We use proot instead of sudo to do the mount --bind.