-
Notifications
You must be signed in to change notification settings - Fork 191
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
dyld error when executing scenarios within cosmic-swingset makefile #4140
Comments
Can you please try pasting the output of running:
|
@michaelfig here's the output from running that. dyld[80804]: missing symbol called
zsh: abort DYLD_PRINT_LIBRARIES=t ./bin/ag-chain-cosmos --home=t1/n0 start i'll check out that link as well to see if it resolves this. updatein an attempt to figure this out i deleted npm ERR! code ENOENT
npm ERR! syscall chmod
npm ERR! path /Users/tg/agoric-sdk/packages/cosmic-swingset/node_modules/@agoric/swingset-vat/bin/vat
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/tg/agoric-sdk/packages/cosmic-swingset/node_modules/@agoric/swingset-vat/bin/vat'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent A lot of threads which discuss this |
Alright, last update here for the day 🙂 Further investigation has surfaced some info that I'm hoping we can find useful. Specifically, ~[agoric-sdk] % yarn workspaces info
{
"@agoric/cosmos": {
"location": "golang/cosmos",
"workspaceDependencies": [],
"mismatchedWorkspaceDependencies": []
},
"@agoric/lockdown": {
"location": "packages/lockdown",
"workspaceDependencies": [],
"mismatchedWorkspaceDependencies": []
},
"@agoric/assert": {
"location": "packages/assert",
"workspaceDependencies": [],
"mismatchedWorkspaceDependencies": []
},
"@agoric/install-ses": {
"location": "packages/install-ses",
"workspaceDependencies": [],
"mismatchedWorkspaceDependencies": []
},
"@agoric/import-manager": {
"location": "packages/import-manager",
"workspaceDependencies": [
"@agoric/swingset-vat"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/sparse-ints": {
"location": "packages/sparse-ints",
"workspaceDependencies": [],
"mismatchedWorkspaceDependencies": []
},
"@agoric/store": {
"location": "packages/store",
"workspaceDependencies": [
"@agoric/swingset-vat",
"@agoric/assert",
"@agoric/marshal"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/bundle-source": {
"location": "packages/bundle-source",
"workspaceDependencies": [
"@agoric/lockdown"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/import-bundle": {
"location": "packages/import-bundle",
"workspaceDependencies": [
"@agoric/bundle-source",
"@agoric/install-ses",
"@agoric/swingset-vat",
"@agoric/assert"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/eventual-send": {
"location": "packages/eventual-send",
"workspaceDependencies": [
"@agoric/assert",
"@agoric/lockdown"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/governance": {
"location": "packages/governance",
"workspaceDependencies": [
"@agoric/bundle-source",
"@agoric/install-ses",
"@agoric/swingset-vat",
"@agoric/assert",
"@agoric/captp",
"@agoric/ertp",
"@agoric/eventual-send",
"@agoric/marshal",
"@agoric/notifier",
"@agoric/promise-kit",
"@agoric/same-structure",
"@agoric/store",
"@agoric/zoe"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/promise-kit": {
"location": "packages/promise-kit",
"workspaceDependencies": [
"@agoric/eventual-send"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/marshal": {
"location": "packages/marshal",
"workspaceDependencies": [
"@agoric/lockdown",
"@agoric/assert",
"@agoric/eventual-send",
"@agoric/promise-kit"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/same-structure": {
"location": "packages/same-structure",
"workspaceDependencies": [
"@agoric/assert",
"@agoric/marshal"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/captp": {
"location": "packages/captp",
"workspaceDependencies": [
"@agoric/install-ses",
"@agoric/swingset-vat",
"@agoric/assert",
"@agoric/eventual-send",
"@agoric/marshal",
"@agoric/promise-kit"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/stat-logger": {
"location": "packages/stat-logger",
"workspaceDependencies": [],
"mismatchedWorkspaceDependencies": []
},
"@agoric/swing-store": {
"location": "packages/swing-store",
"workspaceDependencies": [
"@agoric/install-ses",
"@agoric/swing-store",
"@agoric/assert"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/swingset-vat": {
"location": "packages/SwingSet",
"workspaceDependencies": [
"@agoric/assert",
"@agoric/bundle-source",
"@agoric/captp",
"@agoric/eventual-send",
"@agoric/import-bundle",
"@agoric/install-ses",
"@agoric/marshal",
"@agoric/notifier",
"@agoric/promise-kit",
"@agoric/store",
"@agoric/swing-store",
"@agoric/xsnap"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/swingset-runner": {
"location": "packages/swingset-runner",
"workspaceDependencies": [
"@agoric/assert",
"@agoric/bundle-source",
"@agoric/ertp",
"@agoric/eventual-send",
"@agoric/install-ses",
"@agoric/marshal",
"@agoric/same-structure",
"@agoric/stat-logger",
"@agoric/swing-store",
"@agoric/swingset-vat",
"@agoric/zoe"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/ertp": {
"location": "packages/ERTP",
"workspaceDependencies": [
"@agoric/bundle-source",
"@agoric/swingset-vat",
"@agoric/assert",
"@agoric/eventual-send",
"@agoric/marshal",
"@agoric/notifier",
"@agoric/promise-kit",
"@agoric/same-structure",
"@agoric/store"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/spawner": {
"location": "packages/spawner",
"workspaceDependencies": [
"@agoric/bundle-source",
"@agoric/install-ses",
"@agoric/swingset-vat",
"@agoric/assert",
"@agoric/eventual-send",
"@agoric/import-bundle",
"@agoric/marshal"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/sharing-service": {
"location": "packages/sharing-service",
"workspaceDependencies": [
"@agoric/eventual-send",
"@agoric/swingset-vat",
"@agoric/assert",
"@agoric/marshal"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/zoe": {
"location": "packages/zoe",
"workspaceDependencies": [
"@agoric/install-ses",
"@agoric/captp",
"@agoric/assert",
"@agoric/bundle-source",
"@agoric/ertp",
"@agoric/eventual-send",
"@agoric/governance",
"@agoric/import-bundle",
"@agoric/marshal",
"@agoric/notifier",
"@agoric/promise-kit",
"@agoric/same-structure",
"@agoric/store",
"@agoric/swingset-vat"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/vats": {
"location": "packages/vats",
"workspaceDependencies": [
"@agoric/assert",
"@agoric/ertp",
"@agoric/eventual-send",
"@agoric/import-bundle",
"@agoric/install-ses",
"@agoric/marshal",
"@agoric/notifier",
"@agoric/pegasus",
"@agoric/promise-kit",
"@agoric/same-structure",
"@agoric/sharing-service",
"@agoric/sparse-ints",
"@agoric/store",
"@agoric/swingset-vat",
"@agoric/treasury",
"@agoric/wallet-backend",
"@agoric/zoe"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/access-token": {
"location": "packages/access-token",
"workspaceDependencies": [
"@agoric/assert"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/solo": {
"location": "packages/solo",
"workspaceDependencies": [
"@agoric/bundle-source",
"@agoric/ertp",
"@agoric/access-token",
"@agoric/assert",
"@agoric/captp",
"@agoric/cosmic-swingset",
"@agoric/eventual-send",
"@agoric/import-bundle",
"@agoric/install-ses",
"@agoric/marshal",
"@agoric/wallet",
"@agoric/notifier",
"@agoric/promise-kit",
"@agoric/spawner",
"@agoric/store",
"@agoric/swing-store",
"@agoric/swingset-vat",
"@agoric/vats",
"@agoric/xsnap"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/ui-components": {
"location": "packages/ui-components",
"workspaceDependencies": [
"@agoric/assert",
"@agoric/ertp",
"@agoric/eventual-send",
"@agoric/install-ses",
"@agoric/zoe"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/wallet": {
"location": "packages/wallet",
"workspaceDependencies": [
"agoric"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/wallet-backend": {
"location": "packages/wallet/api",
"workspaceDependencies": [
"@agoric/bundle-source",
"@agoric/install-ses",
"@agoric/vats",
"@agoric/assert",
"@agoric/ertp",
"@agoric/eventual-send",
"@agoric/marshal",
"@agoric/notifier",
"@agoric/promise-kit",
"@agoric/store",
"@agoric/zoe"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/wallet-ui": {
"location": "packages/wallet/ui",
"workspaceDependencies": [
"@agoric/assert",
"@agoric/captp",
"@agoric/eventual-send",
"@agoric/install-ses",
"@agoric/notifier",
"@agoric/ui-components",
"agoric"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/treasury": {
"location": "packages/treasury",
"workspaceDependencies": [
"@agoric/install-ses",
"@agoric/assert",
"@agoric/bundle-source",
"@agoric/captp",
"@agoric/deploy-script-support",
"@agoric/ertp",
"@agoric/eventual-send",
"@agoric/governance",
"@agoric/marshal",
"@agoric/notifier",
"@agoric/promise-kit",
"@agoric/same-structure",
"@agoric/store",
"@agoric/swingset-vat",
"@agoric/zoe"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/pegasus": {
"location": "packages/pegasus",
"workspaceDependencies": [
"@agoric/assert",
"@agoric/bundle-source",
"@agoric/captp",
"@agoric/deploy-script-support",
"@agoric/ertp",
"@agoric/eventual-send",
"@agoric/install-ses",
"@agoric/marshal",
"@agoric/notifier",
"@agoric/promise-kit",
"@agoric/store",
"@agoric/swingset-vat",
"@agoric/vats",
"@agoric/zoe"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/cosmic-swingset": {
"location": "packages/cosmic-swingset",
"workspaceDependencies": [
"@agoric/assert",
"@agoric/cosmos",
"@agoric/import-bundle",
"@agoric/install-ses",
"@agoric/marshal",
"@agoric/store",
"@agoric/swing-store",
"@agoric/vats",
"@agoric/xsnap",
"agoric"
],
"mismatchedWorkspaceDependencies": [
"@agoric/swingset-vat"
]
},
"agoric": {
"location": "packages/agoric-cli",
"workspaceDependencies": [
"@agoric/swingset-vat",
"@agoric/access-token",
"@agoric/assert",
"@agoric/bundle-source",
"@agoric/captp",
"@agoric/install-ses",
"@agoric/promise-kit"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/deployment": {
"location": "packages/deployment",
"workspaceDependencies": [
"@agoric/assert",
"@agoric/install-ses",
"@agoric/marshal"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/notifier": {
"location": "packages/notifier",
"workspaceDependencies": [
"@agoric/install-ses",
"@agoric/swingset-vat",
"@agoric/assert",
"@agoric/eventual-send",
"@agoric/marshal",
"@agoric/promise-kit"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/xsnap": {
"location": "packages/xsnap",
"workspaceDependencies": [
"@agoric/assert",
"@agoric/bundle-source",
"@agoric/eventual-send",
"@agoric/install-ses"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/deploy-script-support": {
"location": "packages/deploy-script-support",
"workspaceDependencies": [
"@agoric/swingset-vat",
"@agoric/assert",
"@agoric/bundle-source",
"@agoric/ertp",
"@agoric/eventual-send",
"@agoric/import-manager",
"@agoric/marshal",
"@agoric/notifier",
"@agoric/promise-kit",
"@agoric/same-structure",
"@agoric/store",
"@agoric/vats",
"@agoric/zoe"
],
"mismatchedWorkspaceDependencies": []
},
"@agoric/eslint-config": {
"location": "packages/eslint-config",
"workspaceDependencies": [],
"mismatchedWorkspaceDependencies": []
},
"@agoric/wallet-connection": {
"location": "packages/wallet-connection",
"workspaceDependencies": [
"@agoric/eventual-send",
"@agoric/install-ses",
"@agoric/assert",
"@agoric/captp",
"@agoric/marshal",
"@agoric/promise-kit"
],
"mismatchedWorkspaceDependencies": []
}
}
✨ Done in 0.06s. |
I ran into this recently on a newly wiped M1 mac. It turns out I was using the amd64 version of golang. Wiping my sdk directory clean, installing the arm64 version of golang instead, and starting over fixed it. |
Describe the bug
Following the steps outlined in the pegasus demo.md file always results in the following
dyld
:As per the demo instructions, i am executing make scenario2-setup-nobuild as well as
make scenario2-run-chain
. While the first command succeeds in building out the necessary files, the error arises upon the execution ofscenario2-run-chain
.To Reproduce
Steps to reproduce the behavior:
yarn install && yarn build
.3.cd packages/cosmic-swingset
make scenario2-setup-nobuild scenario2-run-chain
Expected behavior
A local chain should begin running on my machine as a result of
scenario2-run-chain
.Platform Environment
Additional context
Issue was witnessed by @dckc @michaelfig during today's office hours session.
Screenshots
Below is a screen recording of the error. In the video you can see that it's the running of the chain that causes the error whereas the setup process works fine.
cosmic-swingset.issue.mp4
Error text:
dyld[27131]: missing symbol called
The text was updated successfully, but these errors were encountered: