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: 83
Popularity: 1.41
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 10 11 12 .. 18 Next › Last »

Obi_Juanb8b commented on 2020-01-25 18:20 (UTC)

Regarding the error message from @DuBistKomisch...I had a similiar error. I think the makedepends may need to be changed. In addition to the 'dotnet-sdk' (which is .NET Core 3) I had to install 'dotnet-sdk-2.2' from community as well. Then when I built this packaged it installed correctly.

DuBistKomisch commented on 2020-01-25 10:07 (UTC)

It was not possible to find any compatible framework version
The framework 'Microsoft.NETCore.App', version '2.1.0' was not found.
  - The following frameworks were found:
      3.1.0 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]

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

do the makedepends need to be more specific?

DDoSolitary commented on 2019-11-29 13:25 (UTC)

@kylesferrazza https://github.com/PowerShell/PowerShell-Native/issues/33

kylesferrazza commented on 2019-11-29 13:23 (UTC)

@DDoSolitary Can you link to the issue you opened upstream?

DDoSolitary commented on 2019-11-29 13:20 (UTC)

@user981257923 I've already opened an issue in the upstream repo (#33), but unfortunately haven't got any response yet and the repo doesn't seem to be actively maintained. A simple way to work this around would be removing the -Werror flag in CMakeLists.txt of that project. However, it is not very ideal because the code will eventually get broken after glibc removes that header.

user981257923 commented on 2019-11-29 12:45 (UTC) (edited on 2019-11-29 12:48 (UTC) by user981257923)

Log:

/usr/include/sys/sysctl.h:21:2: error: #warning "The <sys/sysctl.h> header is deprecated and will be removed." [-Werror=cpp]
   21 | #warning "The <sys/sysctl.h> header is deprecated and will be removed."
      |  ^~~~~~~
cc1plus: all warnings being treated as errors
make: *** [Makefile:141: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
Error making: powershell

Any way to fix this which doesn't involve upstream?

Case_Of commented on 2019-11-29 11:17 (UTC)

Hello, How to fix the following issue?

[quentin@G1DFXF2 powershell]$ makepkg -sirc
==> Making package: powershell 6.2.3-1 (Fri Nov 29 12:10:50 2019)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (7) dotnet-host-2.2.6+108-1  dotnet-runtime-2.2.6+108-1  jsoncpp-1.9.1-1  libuv-1.33.1-1  rhash-1.3.8-1
             cmake-3.16.0-1  dotnet-sdk-2.2.6+108-1

Total Installed Size:  227.65 MiB

:: Proceed with installation? [Y/n] 
(7/7) checking keys in keyring                                           [########################################] 100%
(7/7) checking package integrity                                         [########################################] 100%
(7/7) loading package files                                              [########################################] 100%
(7/7) checking for file conflicts                                        [########################################] 100%
(7/7) checking available disk space                                      [########################################] 100%
:: Processing package changes...
(1/7) installing jsoncpp                                                 [########################################] 100%
Optional dependencies for jsoncpp
    jsoncpp-doc: documentation
(2/7) installing libuv                                                   [########################################] 100%
(3/7) installing rhash                                                   [########################################] 100%
(4/7) installing cmake                                                   [########################################] 100%
Optional dependencies for cmake
    qt5-base: cmake-gui [installed]
(5/7) installing dotnet-host                                             [########################################] 100%
(6/7) installing dotnet-runtime                                          [########################################] 100%
Optional dependencies for dotnet-runtime
    lttng-ust: CoreCLR tracing
(7/7) installing dotnet-sdk                                              [########################################] 100%
:: Running post-transaction hooks...
(1/3) Updating icon theme caches...
(2/3) Updating the desktop file MIME type cache...
(3/3) Updating the MIME type database...
==> Retrieving sources...
  -> Updating powershell git repo...
Fetching origin
  -> Updating powershell-native git repo...
Fetching origin
  -> Found Microsoft.PowerShell.SDK.csproj.TypeCatalog.targets
==> Validating source files with md5sums...
    powershell ... Skipped
    powershell-native ... Skipped
    Microsoft.PowerShell.SDK.csproj.TypeCatalog.targets ... Passed
==> Extracting sources...
  -> Creating working copy of powershell git repo...
Reset branch 'makepkg'
  -> Creating working copy of powershell-native git repo...
Reset branch 'makepkg'
==> Starting prepare()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
  Restore completed in 41.56 ms for /home/quentin/powershell/src/powershell/src/Microsoft.PowerShell.Commands.Utility/Microsoft.PowerShell.Commands.Utility.csproj.
  Restore completed in 41.58 ms for /home/quentin/powershell/src/powershell/src/Microsoft.PowerShell.Commands.Management/Microsoft.PowerShell.Commands.Management.csproj.
  Restore completed in 41.53 ms for /home/quentin/powershell/src/powershell/src/Microsoft.PowerShell.ConsoleHost/Microsoft.PowerShell.ConsoleHost.csproj.
  Restore completed in 49.39 ms for /home/quentin/powershell/src/powershell/src/Microsoft.PowerShell.CoreCLR.Eventing/Microsoft.PowerShell.CoreCLR.Eventing.csproj.
  Restore completed in 0.93 ms for /home/quentin/powershell/src/powershell/src/System.Management.Automation/System.Management.Automation.csproj.
  Restore completed in 0.96 ms for /home/quentin/powershell/src/powershell/src/Microsoft.PowerShell.Security/Microsoft.PowerShell.Security.csproj.
  Restore completed in 0.96 ms for /home/quentin/powershell/src/powershell/src/Microsoft.PowerShell.MarkdownRender/Microsoft.PowerShell.MarkdownRender.csproj.
  Restore completed in 2.02 ms for /home/quentin/powershell/src/powershell/src/Microsoft.PowerShell.SDK/Microsoft.PowerShell.SDK.csproj.
  Restore completed in 8.47 ms for /home/quentin/powershell/src/powershell/src/powershell-unix/powershell-unix.csproj.
  Restore completed in 64.72 ms for /home/quentin/powershell/src/powershell/src/ResGen/ResGen.csproj.
  Restore completed in 55.13 ms for /home/quentin/powershell/src/powershell/src/TypeCatalogGen/TypeCatalogGen.csproj.
~/powershell/src/powershell/src/ResGen ~/powershell/src/powershell
ResGen for ../Microsoft.PowerShell.Security/gen/CmsCommands.cs
ResGen for ../Microsoft.PowerShell.Security/gen/SignatureCommands.cs
ResGen for ../Microsoft.PowerShell.Security/gen/CertificateCommands.cs
ResGen for ../Microsoft.PowerShell.Security/gen/SecureStringCommands.cs
ResGen for ../Microsoft.PowerShell.Security/gen/CertificateProviderStrings.cs
ResGen for ../Microsoft.PowerShell.Security/gen/UtilsStrings.cs
ResGen for ../Microsoft.PowerShell.Security/gen/ExecutionPolicyCommands.cs
ResGen for ../Microsoft.PowerShell.Security/gen/SecurityMshSnapinResources.cs
ResGen for ../Microsoft.PowerShell.Commands.Diagnostics/gen/GetEventResources.cs
ResGen for ../Microsoft.PowerShell.Commands.Management/gen/ClearRecycleBinResources.cs
ResGen for ../Microsoft.PowerShell.Commands.Management/gen/WebServiceResources.cs
ResGen for ../Microsoft.PowerShell.Commands.Management/gen/HotFixResources.cs
ResGen for ../Microsoft.PowerShell.Commands.Management/gen/TestPathResources.cs
ResGen for ../Microsoft.PowerShell.Commands.Management/gen/ClipboardResources.cs
ResGen for ../Microsoft.PowerShell.Commands.Management/gen/CmdletizationResources.cs
ResGen for ../Microsoft.PowerShell.Commands.Management/gen/TimeZoneResources.cs
ResGen for ../Microsoft.PowerShell.Commands.Management/gen/ControlPanelResources.cs
ResGen for ../Microsoft.PowerShell.Commands.Management/gen/ServiceResources.cs
ResGen for ../Microsoft.PowerShell.Commands.Management/gen/ManagementMshSnapInResources.cs
ResGen for ../Microsoft.PowerShell.Commands.Management/gen/ComputerInfoResources.cs
ResGen for ../Microsoft.PowerShell.Commands.Management/gen/ProcessCommandHelpResources.cs
ResGen for ../Microsoft.PowerShell.Commands.Management/gen/WmiResources.cs
ResGen for ../Microsoft.PowerShell.Commands.Management/gen/ProcessResources.cs
ResGen for ../Microsoft.PowerShell.Commands.Management/gen/TransactionResources.cs
ResGen for ../Microsoft.PowerShell.Commands.Management/gen/EventlogResources.cs
ResGen for ../Microsoft.PowerShell.Commands.Management/gen/TestConnectionResources.cs
ResGen for ../Microsoft.PowerShell.Commands.Management/gen/ComputerResources.cs
ResGen for ../Microsoft.PowerShell.Commands.Management/gen/NavigationResources.cs
ResGen for ../Microsoft.PowerShell.ConsoleHost/gen/CommandLineParameterParserStrings.cs
ResGen for ../Microsoft.PowerShell.ConsoleHost/gen/HostMshSnapinResources.cs
ResGen for ../Microsoft.PowerShell.ConsoleHost/gen/ConsoleHostUserInterfaceStrings.cs
ResGen for ../Microsoft.PowerShell.ConsoleHost/gen/ConsoleHostUserInterfaceSecurityResources.cs
ResGen for ../Microsoft.PowerShell.ConsoleHost/gen/ConsoleHostStrings.cs
ResGen for ../Microsoft.PowerShell.ConsoleHost/gen/ConsoleControlStrings.cs
ResGen for ../Microsoft.PowerShell.ConsoleHost/gen/ManagedEntranceStrings.cs
ResGen for ../Microsoft.PowerShell.ConsoleHost/gen/ProgressNodeStrings.cs
ResGen for ../Microsoft.PowerShell.ConsoleHost/gen/TranscriptStrings.cs
ResGen for ../Microsoft.PowerShell.ConsoleHost/gen/ConsoleHostRawUserInterfaceStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/WriteProgressResourceStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/FlashExtractStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/HostStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/SelectObjectStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/AddMember.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/CsvCommandStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/AddTypeStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/MeasureObjectStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/ConvertMarkdownStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/Debugger.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/SendMailMessageStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/NewObjectStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/ImplicitRemotingStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/FormatAndOut_out_gridview.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/SortObjectStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/GetMember.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/HttpCommandStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/AliasCommandStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/UtilityCommonStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/TestJsonCmdletStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/ConvertFromStringResources.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/TraceCommandStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/ImmutableStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/GetUptimeStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/VariableCommandStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/UpdateListStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/EventingStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/ImportLocalizedDataStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/OutPrinterDisplayStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/WebCmdletStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/ConvertFromStringData.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/UtilityMshSnapinResources.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/UpdateDataStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/ConvertHTMLStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/MatchStringStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/WriteErrorStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/GetRandomCommandStrings.cs
ResGen for ../Microsoft.PowerShell.Commands.Utility/gen/ConvertStringResources.cs
ResGen for ../System.Management.Automation/gen/ProgressRecordStrings.cs
ResGen for ../System.Management.Automation/gen/RegistryProviderStrings.cs
ResGen for ../System.Management.Automation/gen/PipelineStrings.cs
ResGen for ../System.Management.Automation/gen/ParserStrings.cs
ResGen for ../System.Management.Automation/gen/VerbDescriptionStrings.cs
ResGen for ../System.Management.Automation/gen/TabCompletionStrings.cs
ResGen for ../System.Management.Automation/gen/CredUI.cs
ResGen for ../System.Management.Automation/gen/MshSnapInCmdletResources.cs
ResGen for ../System.Management.Automation/gen/SessionStateProviderBaseStrings.cs
ResGen for ../System.Management.Automation/gen/DebuggerStrings.cs
ResGen for ../System.Management.Automation/gen/WildcardPatternStrings.cs
ResGen for ../System.Management.Automation/gen/DiscoveryExceptions.cs
ResGen for ../System.Management.Automation/gen/PathUtilsStrings.cs
ResGen for ../System.Management.Automation/gen/ConsoleInfoErrorStrings.cs
ResGen for ../System.Management.Automation/gen/CoreClrStubResources.cs
ResGen for ../System.Management.Automation/gen/ProviderBaseSecurity.cs
ResGen for ../System.Management.Automation/gen/Credential.cs
ResGen for ../System.Management.Automation/gen/CoreMshSnapinResources.cs
ResGen for ../System.Management.Automation/gen/FormatAndOutXmlLoadingStrings.cs
ResGen for ../System.Management.Automation/gen/SecuritySupportStrings.cs
ResGen for ../System.Management.Automation/gen/NativeCP.cs
ResGen for ../System.Management.Automation/gen/ParameterBinderStrings.cs
ResGen for ../System.Management.Automation/gen/CatalogStrings.cs
ResGen for ../System.Management.Automation/gen/Metadata.cs
ResGen for ../System.Management.Automation/gen/MiniShellErrors.cs
ResGen for ../System.Management.Automation/gen/ExtendedTypeSystem.cs
ResGen for ../System.Management.Automation/gen/HelpDisplayStrings.cs
ResGen for ../System.Management.Automation/gen/InternalHostStrings.cs
ResGen for ../System.Management.Automation/gen/RunspaceInit.cs
ResGen for ../System.Management.Automation/gen/Modules.cs
ResGen for ../System.Management.Automation/gen/EventingResources.cs
ResGen for ../System.Management.Automation/gen/AutomationExceptions.cs
ResGen for ../System.Management.Automation/gen/RunspaceStrings.cs
ResGen for ../System.Management.Automation/gen/MshSignature.cs
ResGen for ../System.Management.Automation/gen/CredentialAttributeStrings.cs
ResGen for ../System.Management.Automation/gen/HistoryStrings.cs
ResGen for ../System.Management.Automation/gen/CommandBaseStrings.cs
ResGen for ../System.Management.Automation/gen/SessionStateStrings.cs
ResGen for ../System.Management.Automation/gen/Authenticode.cs
ResGen for ../System.Management.Automation/gen/PSCommandStrings.cs
ResGen for ../System.Management.Automation/gen/CmdletizationCoreResources.cs
ResGen for ../System.Management.Automation/gen/HelpErrors.cs
ResGen for ../System.Management.Automation/gen/RunspacePoolStrings.cs
ResGen for ../System.Management.Automation/gen/TransactionStrings.cs
ResGen for ../System.Management.Automation/gen/RemotingErrorIdStrings.cs
ResGen for ../System.Management.Automation/gen/ErrorPackageRemoting.cs
ResGen for ../System.Management.Automation/gen/CimInstanceTypeAdapterResources.cs
ResGen for ../System.Management.Automation/gen/HostInterfaceExceptionsStrings.cs
ResGen for ../System.Management.Automation/gen/MshSnapinInfo.cs
ResGen for ../System.Management.Automation/gen/FormatAndOut_out_xxx.cs
ResGen for ../System.Management.Automation/gen/DescriptionsStrings.cs
ResGen for ../System.Management.Automation/gen/ErrorCategoryStrings.cs
ResGen for ../System.Management.Automation/gen/Serialization.cs
ResGen for ../System.Management.Automation/gen/PSListModifierStrings.cs
ResGen for ../System.Management.Automation/gen/ExperimentalFeatureStrings.cs
ResGen for ../System.Management.Automation/gen/Logging.cs
ResGen for ../System.Management.Automation/gen/AuthorizationManagerBase.cs
ResGen for ../System.Management.Automation/gen/ProxyCommandStrings.cs
ResGen for ../System.Management.Automation/gen/InternalCommandStrings.cs
ResGen for ../System.Management.Automation/gen/SuggestionStrings.cs
ResGen for ../System.Management.Automation/gen/EnumExpressionEvaluatorStrings.cs
ResGen for ../System.Management.Automation/gen/EtwLoggingStrings.cs
ResGen for ../System.Management.Automation/gen/FormatAndOut_format_xxx.cs
ResGen for ../System.Management.Automation/gen/MshHostRawUserInterfaceStrings.cs
ResGen for ../System.Management.Automation/gen/ErrorPackage.cs
ResGen for ../System.Management.Automation/gen/FileSystemProviderStrings.cs
ResGen for ../System.Management.Automation/gen/InternalHostUserInterfaceStrings.cs
ResGen for ../System.Management.Automation/gen/TypesXmlStrings.cs
ResGen for ../System.Management.Automation/gen/PowerShellStrings.cs
ResGen for ../System.Management.Automation/gen/FormatAndOut_MshParameter.cs
ResGen for ../System.Management.Automation/gen/PSDataBufferStrings.cs
ResGen for ../System.Management.Automation/gen/EventResource.cs
ResGen for ../System.Management.Automation/gen/GetErrorText.cs
ResGen for ../Microsoft.PowerShell.ScheduledJob/gen/ScheduledJobErrorStrings.cs
ResGen for ../Microsoft.PowerShell.CoreCLR.Eventing/gen/DotNetEventingStrings.cs
ResGen for ../Microsoft.WSMan.Management/gen/WsManResources.cs
ResGen for ../Microsoft.Management.Infrastructure.CimCmdlets/gen/Microsoft.Management.Infrastructure.CimCmdlets.Strings.cs
ResGen for ../Microsoft.PowerShell.LocalAccounts/gen/Microsoft.PowerShell.LocalAccounts.Strings.cs
~/powershell/src/powershell
~/powershell/src/powershell/src/TypeCatalogGen ~/powershell/src/powershell
~/powershell/src/powershell
~/powershell/src/powershell-native/src/libpsl-native ~/powershell/src/powershell
CMake Warning (dev) at CMakeLists.txt:2 (project):
  Policy CMP0048 is not set: project() command manages VERSION variables.
  Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The following variable(s) would be set to empty:

    CMAKE_PROJECT_VERSION
    CMAKE_PROJECT_VERSION_MAJOR
    CMAKE_PROJECT_VERSION_MINOR
    CMAKE_PROJECT_VERSION_PATCH
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Tests enabled
-- Configuring done
-- Generating done
-- Build files have been written to: /home/quentin/powershell/src/powershell-native/src/libpsl-native
[  1%] Building CXX object src/CMakeFiles/psl-native.dir/issymlink.cpp.o
[  3%] Building CXX object src/CMakeFiles/psl-native.dir/isexecutable.cpp.o
[  5%] Building CXX object src/CMakeFiles/psl-native.dir/getuserfrompid.cpp.o
[  7%] Building CXX object src/CMakeFiles/psl-native.dir/getppid.cpp.o
[  9%] Building CXX object src/CMakeFiles/psl-native.dir/issamefilesystemitem.cpp.o
[ 13%] Built target gtest
[ 15%] Building CXX object src/CMakeFiles/psl-native.dir/setdate.cpp.o
[ 16%] Building CXX object test/googletest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o
[ 18%] Building CXX object src/CMakeFiles/psl-native.dir/createhardlink.cpp.o
[ 20%] Building CXX object test/googletest/googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
In file included from /home/quentin/powershell/src/powershell-native/src/libpsl-native/src/getppid.cpp:11:
/usr/include/sys/sysctl.h:21:2: error: #warning "The <sys/sysctl.h> header is deprecated and will be removed." [-Werror=cpp]
   21 | #warning "The <sys/sysctl.h> header is deprecated and will be removed."
      |  ^~~~~~~
[ 22%] Building CXX object src/CMakeFiles/psl-native.dir/createsymlink.cpp.o
[ 24%] Building CXX object src/CMakeFiles/psl-native.dir/followsymlink.cpp.o
In file included from /home/quentin/powershell/src/powershell-native/src/libpsl-native/src/getuserfrompid.cpp:15:
/usr/include/sys/sysctl.h:21:2: error: #warning "The <sys/sysctl.h> header is deprecated and will be removed." [-Werror=cpp]
   21 | #warning "The <sys/sysctl.h> header is deprecated and will be removed."
      |  ^~~~~~~
[ 26%] Building CXX object src/CMakeFiles/psl-native.dir/createprocess.cpp.o
cc1plus: all warnings being treated as errors
make[2]: *** [src/CMakeFiles/psl-native.dir/build.make:141: src/CMakeFiles/psl-native.dir/getppid.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 28%] Building CXX object src/CMakeFiles/psl-native.dir/nativesyslog.cpp.o
cc1plus: all warnings being treated as errors
make[2]: *** [src/CMakeFiles/psl-native.dir/build.make:154: src/CMakeFiles/psl-native.dir/getuserfrompid.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:177: src/CMakeFiles/psl-native.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 30%] Linking CXX static library /home/quentin/powershell/src/powershell-native/src/powershell-unix/libgtest_main.a
[ 30%] Built target gtest_main
[ 32%] Linking CXX static library /home/quentin/powershell/src/powershell-native/src/powershell-unix/libgmock.a
[ 32%] Built target gmock
make: *** [Makefile:141: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> Removing installed dependencies...
checking dependencies...

Packages (7) cmake-3.16.0-1  dotnet-host-2.2.6+108-1  dotnet-runtime-2.2.6+108-1  dotnet-sdk-2.2.6+108-1
             jsoncpp-1.9.1-1  libuv-1.33.1-1  rhash-1.3.8-1

Total Removed Size:  227.65 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
(1/7) removing dotnet-sdk                                                [########################################] 100%
(2/7) removing dotnet-runtime                                            [########################################] 100%
(3/7) removing dotnet-host                                               [########################################] 100%
(4/7) removing cmake                                                     [########################################] 100%
(5/7) removing rhash                                                     [########################################] 100%
(6/7) removing libuv                                                     [########################################] 100%
(7/7) removing jsoncpp                                                   [########################################] 100%
:: Running post-transaction hooks...
(1/3) Updating icon theme caches...
(2/3) Updating the desktop file MIME type cache...
(3/3) Updating the MIME type database...

marcoh00 commented on 2019-11-05 20:18 (UTC)

I'm unable to build this package (6.2.3-1) - the build() step always fails with:

cp: cannot create regular file 'src/Microsoft.PowerShell.SDK/obj/Microsoft.PowerShell.SDK.csproj.TypeCatalog.targets': No such file or directory

Is anyone else experiencing the same problem?