Title: On porting PowerShell Core to FreeBSD · Issue #7207 · PowerShell/PowerShell · GitHub
Open Graph Title: On porting PowerShell Core to FreeBSD · Issue #7207 · PowerShell/PowerShell
X Title: On porting PowerShell Core to FreeBSD · Issue #7207 · PowerShell/PowerShell
Description: Hello, I'm working on a project with Google Summer of Code and the FreeBSD organization to port PowerShell -- as well as the .NET SDK -- to the FreeBSD platform. So far, I've successfully compiled both native (libpsl-native) and managed ...
Open Graph Description: Hello, I'm working on a project with Google Summer of Code and the FreeBSD organization to port PowerShell -- as well as the .NET SDK -- to the FreeBSD platform. So far, I've successfully compiled ...
X Description: Hello, I'm working on a project with Google Summer of Code and the FreeBSD organization to port PowerShell -- as well as the .NET SDK -- to the FreeBSD platform. So far, I've successfully c...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/7207
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"On porting PowerShell Core to FreeBSD","articleBody":"Hello,\r\n\r\nI'm working on a [project](https://wiki.freebsd.org/SummerOfCode2018Projects/PortingPowerShellPorting) with Google Summer of Code and the FreeBSD organization to port PowerShell -- as well as the .NET SDK -- to the FreeBSD platform. So far, I've successfully compiled both native (libpsl-native) and managed parts of the PowerShell code on FreeBSD.\r\n\r\nAt first, three libpsl tests were failing: `IsFileTest.RootIsFile`, `GetUserFromPid.Success` and `LocaleTest.Success`. The last one was just a missing `LANG` env variable, so as soon as I set it, the test passed. But the first two ones required code changes, which I'm submitting as a PR with questions I had related to specific lines, but they are now ALL passing.\r\n\r\nHowever, the resulting PowerShell build is misbehaving in some ways and I'd like some guidance as to what I should look for:\r\n\r\n- This is what I'm getting for the shell prompt: `PS Alias:/\u003e`.\r\n- Running any cmdlet gets me a `not recognized as the name of a cmdlet, function...` error.\r\n- Typing anything in results in repeated characters. For example, if I type in `Get-Help`, this is what I get: `PS Alias:/\u003e GGeGetGet-Get-HGet-HeGet-HelGet-Help`. Although, as I press Enter, the actual thing that gets read is `Get-Help`, and not the long string with repeated characters.\r\n\r\nThis is what my $PSVersionTable looks like:\r\n```\r\nName Value\r\n---- -----\r\nPSVersion 6.1.0-preview.3\r\nPSEdition Core\r\nGitCommitId v6.1.0-preview.3-59-ge56a6c4bc9c42ba0d0a4c413f31d4508c7a65b75\r\nOS FreeBSD 11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321309: Fri Jul 21 02:08:28 UTC 2017 ...\r\nPlatform Unix\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\nWSManStackVersion 3.0\r\n```\r\n\r\ncc @DragonSA @davidchisnall @SteveL-MSFT ","author":{"url":"https://github.com/mateusrodrigues","@type":"Person","name":"mateusrodrigues"},"datePublished":"2018-06-29T04:06:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/7207/PowerShell/issues/7207"}
| 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:1f2098df-02ec-17a3-bd8f-4b7ba7204990 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E7D4:F717:210274:2CC0A6:6A558AE4 |
| html-safe-nonce | 0509c734f99d674ce3205db9f3c8d847354ef0ec9250f2c289624c27cd844f6c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0Q0OkY3MTc6MjEwMjc0OjJDQzBBNjo2QTU1OEFFNCIsInZpc2l0b3JfaWQiOiIxMDM3OTQyNzYyMjcwNzIyNzg4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c2f39940b185ea0bd4f632dd8ca3acac57f29a1f363018364facbcc89c70192c |
| hovercard-subject-tag | issue:336856118 |
| 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/7207/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d4dfa5b52a382d30a5cfdf5fd94e24872502c96a60185d0452e0f04e6cab9806/PowerShell/PowerShell/issues/7207 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d4dfa5b52a382d30a5cfdf5fd94e24872502c96a60185d0452e0f04e6cab9806/PowerShell/PowerShell/issues/7207 |
| og:image:alt | Hello, I'm working on a project with Google Summer of Code and the FreeBSD organization to port PowerShell -- as well as the .NET SDK -- to the FreeBSD platform. So far, I've successfully compiled ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mateusrodrigues |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| 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 | 3215163789b3dc58dba97bd78a30c20c949f477f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width