-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix dylib references of bundled programs on macOS #2135
Conversation
af99d54
to
e25ba1f
Compare
|
||
tests[wallet].each do |cmd| | ||
tests[wallet].unshift(wallet).each do |cmd| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My first ruby program 🙂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
f9a9720
to
3e4a4ac
Compare
Looks like there is some issue in iohk-nix, and they aren't getting statically built on linux any more.
9530a0e
to
e43dace
Compare
bors r+ |
2135: Fix dylib references of bundled programs on macOS r=rvl a=rvl ### Issue Number Resolves #2134 ### Overview - On macOS rewrite dylib references from `/nix/store` to `@executable_path` - for every executable in the bundle. - Add linking tests to `check-bundle.rb` for macOS and Linux. Co-authored-by: Rodney Lorrimar <[email protected]>
Build failed: https://hydra.iohk.io/build/4137204/nixlog/1/tail Extract from log: Failures:
src/Test/Integration/Scenario/API/Shelley/Wallets.hs:467:23:
1) API Specifications, SHELLEY_WALLETS, WALLETS_CREATE_08 - address_pool_gap, 100000
expected: Status {statusCode = 201, statusMessage = "Created"}
but got: Status {statusCode = 409, statusMessage = "Conflict"}
from the following response: Left (DecodeFailure "Error in $: parsing Cardano.Wallet.Api.Types.ApiWallet(ApiWallet) failed, key \"id\" not found: Response {responseStatus = Status {statusCode = 409, statusMessage = \"Conflict\"}, responseVersion = HTTP/1.1, responseHeaders = [(\"Transfer-Encoding\",\"chunked\"),(\"Date\",\"Wed, 16 Sep 2020 07:19:28 GMT\"),(\"Server\",\"Warp/3.3.5\")], responseBody = \"{\\\"code\\\":\\\"wallet_already_exists\\\",\\\"message\\\":\\\"This operation would yield a wallet with the following id: a6b6625cd2bfc51a296b0933f77020991cc80374 However, I already know of a wallet with this id.\\\"}\", responseCookieJar = CJ {expose = []}, responseClose' = ResponseClose}")
To rerun use: --match "/API Specifications/SHELLEY_WALLETS/WALLETS_CREATE_08 - address_pool_gap/100000/" |
bors r+ |
2125: CLI: Add option "cardano-wallet transaction create --metadata=JSON" r=rvl a=rvl ### Issue Number ADP-307 / #2076 ### Overview - Adds `--metadata=JSON` option to transaction create and fee estimate commands. ### Comments Will update the CLI wiki page after merging. 2135: Fix dylib references of bundled programs on macOS r=rvl a=rvl ### Issue Number Resolves #2134 ### Overview - On macOS rewrite dylib references from `/nix/store` to `@executable_path` - for every executable in the bundle. - Add linking tests to `check-bundle.rb` for macOS and Linux. 2141: Make Jörmungandr tests pass again r=rvl a=piotr-iohk # Issue Number <!-- Put here a reference to the issue this PR relates to and which requirements it tackles --> # Overview - 3665332 Disable STAKE_POOLS_* tests due to #2140 - 6e276af Remove hard-coded mnemonics in case not necessary in integration tests - 038c365 Remove Shelley specific transaction suite. Add few more basic transaction tests to Jormungandr suite. - 6e98d4b BYRON_MIGRATE_01 - make Jormungandr big wallet for migration smaller (the same as Shelley one) and adjust to pass on both backends - e3d6a55 adjust genMnemonics to be more standard # Comments <!-- Additional comments or screenshots to attach if any --> <!-- Don't forget to: ✓ Self-review your changes to make sure nothing unexpected slipped through ✓ Assign yourself to the PR ✓ Assign one or several reviewer(s) ✓ Once created, link this PR to its corresponding ticket ✓ Assign the PR to a corresponding milestone ✓ Acknowledge any changes required to the Wiki --> Co-authored-by: Rodney Lorrimar <[email protected]> Co-authored-by: Piotr Stachyra <[email protected]>
Build failed (retrying...): |
2135: Fix dylib references of bundled programs on macOS r=rvl a=rvl ### Issue Number Resolves #2134 ### Overview - On macOS rewrite dylib references from `/nix/store` to `@executable_path` - for every executable in the bundle. - Add linking tests to `check-bundle.rb` for macOS and Linux. 2141: Make Jörmungandr tests pass again r=rvl a=piotr-iohk # Issue Number <!-- Put here a reference to the issue this PR relates to and which requirements it tackles --> # Overview - 3665332 Disable STAKE_POOLS_* tests due to #2140 - 6e276af Remove hard-coded mnemonics in case not necessary in integration tests - 038c365 Remove Shelley specific transaction suite. Add few more basic transaction tests to Jormungandr suite. - 6e98d4b BYRON_MIGRATE_01 - make Jormungandr big wallet for migration smaller (the same as Shelley one) and adjust to pass on both backends - e3d6a55 adjust genMnemonics to be more standard # Comments <!-- Additional comments or screenshots to attach if any --> <!-- Don't forget to: ✓ Self-review your changes to make sure nothing unexpected slipped through ✓ Assign yourself to the PR ✓ Assign one or several reviewer(s) ✓ Once created, link this PR to its corresponding ticket ✓ Assign the PR to a corresponding milestone ✓ Acknowledge any changes required to the Wiki --> Co-authored-by: Rodney Lorrimar <[email protected]> Co-authored-by: Piotr Stachyra <[email protected]>
Build failed (retrying...): |
2135: Fix dylib references of bundled programs on macOS r=rvl a=rvl ### Issue Number Resolves #2134 ### Overview - On macOS rewrite dylib references from `/nix/store` to `@executable_path` - for every executable in the bundle. - Add linking tests to `check-bundle.rb` for macOS and Linux. Co-authored-by: Rodney Lorrimar <[email protected]>
Build failed: |
bors r+ |
Build succeeded: |
Issue Number
Resolves #2134
Overview
/nix/store
to@executable_path
- for every executable in the bundle.check-bundle.rb
for macOS and Linux.