You should not be downloading anything in the prepare function. See the VCS package guidelines wiki page for information about handling submodules.
It is also not the PKGBUILD's responsibility to run git clean.
And you have the git repo, why is there a separate patch to revert a commit instead of using git revert?
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)
Scimmia commented on 2016-09-28 16:13 (UTC) (edited on 2016-09-28 16:20 (UTC) by Scimmia)
qrwteyrutiyoup commented on 2016-09-28 15:56 (UTC)
@jsteel: updated, thanks.
jsteel commented on 2016-09-26 08:06 (UTC)
A PKGBUILD should not touch a user's home, please remove the following line:
rm -rf ~/.nuget
z3ntu commented on 2016-09-12 13:27 (UTC)
@saifikhan you need to install icu55 from the AUR first.
saifikhan commented on 2016-09-10 05:51 (UTC)
direct build using makepkg is unable to pull in the dependencies
$ makepkg --install --syncdeps
==> Making package: powershell-git 6.0.0.alpha.9.247.g0c4472e-1 (Sat Sep 10 11:16:31 IST 2016)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[sudo] password for saifi:
error: target not found: icu55
==> ERROR: 'pacman' failed to install missing dependencies.
$
Well the ICU library is already installed
$ pacman -S -s icu
extra/harfbuzz-icu 1.3.1-1 [installed]
OpenType text shaping engine (ICU integration)
extra/icu 57.1-1 [installed]
International Components for Unicode library
how do i specify the ICU library version for microsoft Powershell build ?
thatdude commented on 2016-09-07 09:11 (UTC)
Hi there, seems like something's broken somewhat recently, unless I've messed up my system somehow. The build now fails very quickly with this information:
[ 94%] Linking CXX executable psl-native-test
[ 94%] Built target psl-native-test
[ 97%] Linking CXX static library /home/declan/powershell-git/src/powershell/src/powershell-unix/libgtest_main.a
[100%] Built target gtest_main
~/powershell-git/src/powershell
proot info: pid 10396: terminated with signal 11
==> ERROR: A failure occurred in build().
Aborting...
It built successfully a few weeks ago. Help would be much appreciated.
qrwteyrutiyoup commented on 2016-09-06 19:49 (UTC)
@budimanjojo: thanks again. yeah, if we had dotnet-cli-git around, it would probably make things easier, but unfortuntely it's not around yet and I am currently unable to try and make one myself. I still cannot reproduce the problems you have there, though.
budimanjojo commented on 2016-09-06 16:35 (UTC)
@sergio.correia Seems like there's some improvements, but still failed like what @techwiz24 stated. It seems like dotnet is still looking for the wrong file name.
Here's the log: http://pastebin.com/uM3bKNb3
Maybe you should adopt a new dotnet-cli-git?
qrwteyrutiyoup commented on 2016-09-06 01:21 (UTC) (edited on 2016-09-06 01:21 (UTC) by qrwteyrutiyoup)
@techwiz: thanks for the effort. that indeed is the culprit, and I finally met the issue once I tried to build it cleanly. For now I am reverting c695d41 if we are using dotnet-cli older than build #3546, however this is too fragile, i.e. will likely break once we update dotnet-cli.
@budimanjojo: can you try building again?
nlowe commented on 2016-09-05 00:29 (UTC)
So this is an intentional change in [dotnet-cli](https://github.com/dotnet/cli/issues/4141). From what I understand, it can be fixed by installing preview3 of `dotnet-cli` (which I think is not yet released, so we'd need a `dotnet-cli-git` or similar)
Pinned Comments
kylesferrazza commented on 2017-10-26 17:49 (UTC)