Package Details: powershell 7.4.1-4

Git Clone URL: https://aur.archlinux.org/powershell.git (read-only, click to copy)
Package Base: powershell
Description: A cross-platform automation and configuration tool/framework (latest release)
Upstream URL: https://github.com/PowerShell/PowerShell
Keywords: .net automation microsoft net powershell script scripting shell
Licenses: MIT
Submitter: jsteel
Maintainer: kylesferrazza (richardba, carsme)
Last Packager: carsme
Votes: 84
Popularity: 0.96
First Submitted: 2016-11-26 22:16 (UTC)
Last Updated: 2024-03-10 11:11 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 19 Next › Last »

PowaBanga commented on 2022-01-26 17:25 (UTC)

Building in workspace /var/lib/jenkins/workspace/Repository_x86_64_powershell
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/Repository_x86_64_powershell/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://aur.archlinux.org/powershell.git # timeout=10
Fetching upstream changes from https://aur.archlinux.org/powershell.git
 > git --version # timeout=10
 > git --version # 'git version 2.35.0'
 > git fetch --tags --force --progress -- https://aur.archlinux.org/powershell.git +refs/heads/*:refs/remotes/origin/* # timeout=10
Seen branch in repository origin/master
Seen 1 remote branch
 > git show-ref --tags -d # timeout=10
Checking out Revision 44e63d82b804d7d4ece77703134020fd0bfb0728 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 44e63d82b804d7d4ece77703134020fd0bfb0728 # timeout=10
Commit message: "v7.2.1"
 > git rev-list --no-walk 44e63d82b804d7d4ece77703134020fd0bfb0728 # timeout=10
[Repository_x86_64_powershell] $ /bin/sh -xe /tmp/jenkins2258055242562360853.sh
+ makepkg -cf
==> Création du paquet powershell 7.2.1-1 (mar 25 jan 2022 22:49:39)
==> Vérification des dépendances pour l’exécution…
==> Vérification des dépendances pour la compilation…
==> Récupération des sources…
  -> Mise à jour du dépôt powershell git…
Récupération de origin
Depuis https://github.com/PowerShell/PowerShell
 + d1a2a77ee3...0ccdd09779 update-cgmanifest     -> update-cgmanifest  (mise à jour forcée)
 + 36e0444688...a4ab7ff70b refs/pull/10295/merge -> refs/pull/10295/merge  (mise à jour forcée)
 + b0e14cb347...ca1cbc0ae2 refs/pull/10725/merge -> refs/pull/10725/merge  (mise à jour forcée)
 + a63ba4e206...e256f801a9 refs/pull/13543/merge -> refs/pull/13543/merge  (mise à jour forcée)
 + d1a2a77ee3...0ccdd09779 refs/pull/16437/head  -> refs/pull/16437/head  (mise à jour forcée)
 + 7d57be6192...7db6dbac4a refs/pull/16437/merge -> refs/pull/16437/merge  (mise à jour forcée)
   6f7d61f557..ae3e9e664c  refs/pull/16797/head  -> refs/pull/16797/head
 + d13caf6fe9...774dbe56e9 refs/pull/16797/merge -> refs/pull/16797/merge  (mise à jour forcée)
 * [nouvelle référence]    refs/pull/16800/head  -> refs/pull/16800/head
 * [nouvelle référence]    refs/pull/16800/merge -> refs/pull/16800/merge
  -> Mise à jour du dépôt powershell-native git…
Récupération de origin
  -> Microsoft.PowerShell.SDK.csproj.TypeCatalog.targets trouvé
==> Validation des fichiers source avec sha256sums…
    powershell ... Ignoré
    powershell-native ... Ignoré
    Microsoft.PowerShell.SDK.csproj.TypeCatalog.targets ... Ignoré
==> Extraction des sources…
  -> Création d’une copie de travail du dépot powershell git…
Depuis /var/lib/jenkins/workspace/Repository_x86_64_powershell/powershell
 + d1a2a77ee3...0ccdd09779 update-cgmanifest -> origin/update-cgmanifest  (mise à jour forcée)
Remise à zéro de la branche 'makepkg'
  -> Création d’une copie de travail du dépot powershell-native git…
Basculement sur la nouvelle branche 'makepkg'
==> Lancement de prepare()…
==> Suppression du répertoire $pkgdir/ existant…
==> Lancement de build()…
It was not possible to find any compatible framework version
The framework 'Microsoft.NETCore.App', version '6.0.0' (x64) was not found.
  - The following frameworks were found:
      6.0.0-rc.1.21451.13 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]

You can resolve the problem by installing the specified framework and/or SDK.

The specified framework can be found at:
  - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=6.0.0&arch=x64&rid=arch-x64
==> ERREUR : Une erreur s’est produite dans build().
    Abandon…
Build step 'Exécuter un script shell' marked build as failure
Finished: FAILURE

jakebailey commented on 2021-12-27 02:27 (UTC)

Does this package need openssl-1.0? dotnet has been able to use 1.1 (what's in the Arch repos) for a while now, and switching the PKGBUILD doesn't seem to produce a binary that doesn't work. IIRC dotnet programs are smart enough to pick up the newest available one.

jfaulknercourt commented on 2021-11-19 21:46 (UTC) (edited on 2021-11-19 21:48 (UTC) by jfaulknercourt)

Hi all,

I am unable to get the package to build due to the following error: The SDK 'Microsoft.NET.Sdk' specified could not be found.

The MSBuildSDKsPath is set at a global level and I have the latest SDK installed (6.0.0.sdk100-3). I've tried pacman and yay with the same result.

I know I have seen a fix for this before but I'm damned if I can find it again now. Can anyone please indulge me and offer some help?

jeagoss commented on 2021-11-15 21:31 (UTC) (edited on 2021-11-15 21:31 (UTC) by jeagoss)

With the dotnet-core package being updated, I was able to get this package to build with the following PKGBUILD.

https://pastebin.com/4Kq1AfYw

Here is a diff to show what is changed.

https://pastebin.com/YPueeDUJ

kingkingmax commented on 2021-11-03 15:26 (UTC)

I managed to get this package complied. First use yay to get this package downloaed. Second, remove contents from 'source' and 'sha256sums'. Third, update nuget.config file using https://pkgs.dev.azure.com/dnceng/public/_packaging/5.0.100-rtm.20526.5/nuget/v3/index.json. Last, do the PKGBuild again.

tolgon commented on 2021-11-03 11:14 (UTC)

I am also experiencing the same issue as the last 3 comments. Have any of you found a work around?

aabdulrahman commented on 2021-10-30 05:14 (UTC)

@kingkingmax and @pixel1138 I am also receiving this error. The URL listed in the error appears to not exist.

pixel1138 commented on 2021-10-29 01:17 (UTC)

@kingkingmax I also receive this error while attempting to update.

kingkingmax commented on 2021-10-26 08:18 (UTC) (edited on 2021-10-26 08:23 (UTC) by kingkingmax)

I got following error message when attempting to install it.

/usr/share/dotnet/sdk/5.0.402/NuGet.targets(131,5): error : Unable to load the service index for source 'https://pkgs.dev.azure.com/dnceng/public/_packaging/5.0.100-rtm.20526.5/nuget/v3/index.json. [/home/acc1/.cache/yay/powershell/src/powershell/src/ResGen/ResGen.csproj] /usr/share/dotnet/sdk/5.0.402/NuGet.targets(131,5): error : Response status code does not indicate success: 404 (Not Found - The feed with ID '5.0.100-rtm.20526.5' doesn't exist. (DevOps Activity ID: 3E296CD9-CA11-4A9E-A32B-2B8916B374E6)). [/home/acc1/.cache/yay/powershell/src/powershell/src/ResGen/ResGen.cspro

Any suggestion to fix this error?

theeternalsw0rd commented on 2021-08-22 14:14 (UTC)

If you happen to want to install powershell in arch linux when you have arch running as the linux distro for windows subsystem for linux, make sure you sudo chown / root as for some reason, it changes ownership to the standard user. Building powershell will fail in src/powershell-native/src/libpsl-native/test/test-getfileowner.cpp which checks that / is owned by root.