@sergio.correia Thanks mate. I'll try it out later tonight. I'll report back :)
Search Criteria
Package Details: powershell-git 7.0.0.preview.6.293.g5da06978b-1
Package Actions
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) |
Dependencies (10)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- icu (icu-gitAUR)
- krb5 (krb5-gitAUR)
- lttng-ust
- openssl-1.0AUR
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- cmake (cmake-gitAUR) (make)
- dotnet-sdk (dotnet-sdk-2.2AUR, dotnet-sdk-2.2-vs2017AUR, dotnet-sdk-3.0AUR, dotnet-sdk-2.1AUR, dotnet-sdk-5.0-binAUR, dotnet-sdk-6.0.110-binAUR, dotnet-sdk-7.0-binAUR, dotnet-sdk-8.0.300-binAUR, dotnet-sdk-6.0-binAUR, dotnet-sdk-preview-binAUR, dotnet-sdk-binAUR, dotnet-sdk-8.0-binAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
Required by (7)
- ddns-cloudflare-powershell-git (requires powershell)
- ilspycmd-git (requires powershell)
- ironpython-git (requires powershell) (make)
- nishang-scripts (requires powershell)
- powershell-editor-services (requires powershell)
- powershell-empire (requires powershell)
- powershell-empire-git (requires powershell)
Sources (3)
budimanjojo commented on 2016-08-25 06:17 (UTC)
qrwteyrutiyoup commented on 2016-08-24 23:08 (UTC) (edited on 2016-08-24 23:12 (UTC) by qrwteyrutiyoup)
@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 (UTC)
@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 (UTC)
@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 (UTC)
Here:
dotnet --version
1.0.0-preview2-003121
qrwteyrutiyoup commented on 2016-08-24 19:29 (UTC)
@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 (UTC)
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 (UTC)
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 (UTC)
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 (UTC)
@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.
Pinned Comments
kylesferrazza commented on 2017-10-26 17:49 (UTC)