Title: Building on macOS fails as of 22 Jul 2017 (pre-beta 5) · Issue #4324 · PowerShell/PowerShell · GitHub
Open Graph Title: Building on macOS fails as of 22 Jul 2017 (pre-beta 5) · Issue #4324 · PowerShell/PowerShell
X Title: Building on macOS fails as of 22 Jul 2017 (pre-beta 5) · Issue #4324 · PowerShell/PowerShell
Description: Steps to reproduce Clone the repo on macOS 10.12.5 Open a PowerShell instance from the latest package-installed version (beta4) Set-Location to the cloned repo. Run ipmo ./build Run Start-PSBootstrap Run Start-PSBuild -Clean Run Start-PS...
Open Graph Description: Steps to reproduce Clone the repo on macOS 10.12.5 Open a PowerShell instance from the latest package-installed version (beta4) Set-Location to the cloned repo. Run ipmo ./build Run Start-PSBootstr...
X Description: Steps to reproduce Clone the repo on macOS 10.12.5 Open a PowerShell instance from the latest package-installed version (beta4) Set-Location to the cloned repo. Run ipmo ./build Run Start-PSBootstr...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/4324
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Building on macOS fails as of 22 Jul 2017 (pre-beta 5)","articleBody":"Steps to reproduce\r\n------------------\r\n\r\n* Clone the repo on macOS 10.12.5\r\n* Open a PowerShell instance from the latest package-installed version (beta4)\r\n* `Set-Location` to the cloned repo.\r\n* Run `ipmo ./build`\r\n* Run `Start-PSBootstrap`\r\n* Run `Start-PSBuild -Clean`\r\n* Run `Start-PSPester`\r\n\r\nExpected behavior\r\n-----------------\r\n\r\nAll steps should succeed, including all tests.\r\n\r\nActual behavior\r\n---------------\r\n\r\nThe `Start-PSPester` step fails as follows:\r\n\r\n```none\r\nDescribing PackageManagement Acceptance Test\r\n [-] Error occurred in Describe block 88ms\r\n The term 'Register-PackageSource' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.\r\n At /Users/mklement/Projects/OSS/PowerShell.Org/test/powershell/Modules/PackageManagement/PackageManagement.Tests.ps1:23 char:5\r\nDescribing PowerShellGet - Module tests\r\nImport-Module : The specified module 'PackageManagement' was not loaded because no valid module file was found in any module directory.\r\nAt /Users/mklement/Projects/OSS/PowerShell.Org/test/powershell/Modules/PowerShellGet/PowerShellGet.Tests.ps1:73 char:5\r\n+ Import-Module PackageManagement\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n + CategoryInfo : ResourceUnavailable: (PackageManagement:String) [Import-Module], FileNotFoundException\r\n + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand\r\n \r\n [-] Error occurred in Describe block 152ms\r\n The term 'Get-PackageProvider' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.\r\n At /Users/mklement/Projects/OSS/PowerShell.Org/test/powershell/Modules/PowerShellGet/PowerShellGet.Tests.ps1:74 char:5\r\n [-] Error occurred in test script '/Users/mklement/Projects/OSS/PowerShell.Org/test/powershell/Modules/PowerShellGet/PowerShellGet.Tests.ps1' 139ms\r\n Cannot index into a null array.\r\n at Describe, /Users/mklement/Projects/OSS/PowerShell.Org/src/powershell-unix/bin/Linux/netcoreapp2.0/osx.10.12-x64/publish/Modules/Pester/Functions/Describe.ps1: line 117\r\n [-] Error occurred in test script '/Users/mklement/Projects/OSS/PowerShell.Org/test/powershell/Modules/PSDesiredStateConfiguration/MOF-Compilation.Tests.ps1' 123ms\r\n Exception calling \"EnterDescribe\" with \"1\" argument(s): \"You already are in Describe, you cannot enter Describe twice\"\r\n at Describe, /Users/mklement/Projects/OSS/PowerShell.Org/src/powershell-unix/bin/Linux/netcoreapp2.0/osx.10.12-x64/publish/Modules/Pester/Functions/Describe.ps1: line 85\r\n [-] Error occurred in test script '/Users/mklement/Projects/OSS/PowerShell.Org/test/powershell/Modules/PSReadLine/PSReadLine.Tests.ps1' 115ms\r\n Exception calling \"EnterDescribe\" with \"1\" argument(s): \"You already are in Describe, you cannot enter Describe twice\"\r\n at Describe, /Users/mklement/Projects/OSS/PowerShell.Org/src/powershell-unix/bin/Linux/netcoreapp2.0/osx.10.12-x64/publish/Modules/Pester/Functions/Describe.ps1: line 85\r\n [-] Error occurred in test script '/Users/mklement/Projects/OSS/PowerShell.Org/test/powershell/Provider/ProviderIntrinsics.Tests.ps1' 125ms\r\n Exception calling \"EnterDescribe\" with \"1\" argument(s): \"You already are in Describe, you cannot enter Describe twice\"\r\n at Describe, /Users/mklement/Projects/OSS/PowerShell.Org/src/powershell-unix/bin/Linux/netcoreapp2.0/osx.10.12-x64/publish/Modules/Pester/Functions/Describe.ps1: line 85\r\n [-] Error occurred in test script '/Users/mklement/Projects/OSS/PowerShell.Org/test/powershell/SDK/Json.Tests.ps1' 127ms\r\n Exception calling \"EnterDescribe\" with \"1\" argument(s): \"You already are in Describe, you cannot enter Describe twice\"\r\n at Describe, /Users/mklement/Projects/OSS/PowerShell.Org/src/powershell-unix/bin/Linux/netcoreapp2.0/osx.10.12-x64/publish/Modules/Pester/Functions/Describe.ps1: line 85\r\n [-] Error occurred in test script '/Users/mklement/Projects/OSS/PowerShell.Org/test/powershell/SDK/PSDebugging.Tests.ps1' 121ms\r\n Exception calling \"EnterDescribe\" with \"1\" argument(s): \"You already are in Describe, you cannot enter Describe twice\"\r\n at Describe, /Users/mklement/Projects/OSS/PowerShell.Org/src/powershell-unix/bin/Linux/netcoreapp2.0/osx.10.12-x64/publish/Modules/Pester/Functions/Describe.ps1: line 85\r\nTests completed in 348.08s\r\nPassed: 5298 Failed: 8 Skipped: 609 Pending: 149\r\n```\r\n\r\nEnvironment data\r\n----------------\r\n\r\n```powershell\r\nPowerShell Core post-v6.0.0-beta.4, with master branch as of 22 Jul 2017\r\n```\r\n","author":{"url":"https://github.com/mklement0","@type":"Person","name":"mklement0"},"datePublished":"2017-07-22T15:51:51Z","url":"https://github.com/PowerShell/PowerShell/issues/4324"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:145c79a2-6761-3f52-26a2-1e322c06b1d5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8CEA:2014BA:A2E92A:E973ED:6AFD8D77 |
| html-safe-nonce | dcd1ccea9822d32f91fb060543918ba0b709fe12a86591b26bda6a3985cb04b8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Q0VBOjIwMTRCQTpBMkU5MkE6RTk3M0VEOjZBRkQ4RDc3IiwidmlzaXRvcl9pZCI6IjM0ODI3NDM4MzM0MjUxODYxNjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 83e155c3f492464c027de87d5aecb043f7e76c79f40610485a45e39751135a19 |
| hovercard-subject-tag | issue:244854962 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/4324/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e5f2c4917370c12fe2e535657708916cb1f32f71c2b358776a21b64b5592e0fd/PowerShell/PowerShell/issues/4324 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e5f2c4917370c12fe2e535657708916cb1f32f71c2b358776a21b64b5592e0fd/PowerShell/PowerShell/issues/4324 |
| og:image:alt | Steps to reproduce Clone the repo on macOS 10.12.5 Open a PowerShell instance from the latest package-installed version (beta4) Set-Location to the cloned repo. Run ipmo ./build Run Start-PSBootstr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mklement0 |
| hostname | github.com |
| expected-hostname | github.com |
| None | bc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 927a6c5ab1c32b38830f1b9d3050c0b9e9aa92e1 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width