Skip to content
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

Framework issue when executing "envelope" #10

Open
pusateri opened this issue Mar 6, 2023 · 4 comments
Open

Framework issue when executing "envelope" #10

pusateri opened this issue Mar 6, 2023 · 4 comments
Assignees

Comments

@pusateri
Copy link

pusateri commented Mar 6, 2023

Here's the log from macOS Monterey 12.6.3:

rm -rf .build
pusateri@butte-937 envelope-cli-swift % ./build.sh
Fetching https://github.com/WolfMcNally/WolfBase from cache
Fetching https://github.com/krzyzanowskim/CryptoSwift.git from cache
Fetching https://github.com/WolfMcNally/GraphDot.git from cache
Fetched https://github.com/WolfMcNally/GraphDot.git (0.67s)
Fetching https://github.com/WolfMcNally/GraphMermaid.git from cache
Fetched https://github.com/krzyzanowskim/CryptoSwift.git (0.67s)
Fetched https://github.com/WolfMcNally/WolfBase (0.67s)
Fetching https://github.com/BlockchainCommons/BCSwiftFoundation.git from cache
Fetching https://github.com/apple/swift-algorithms from cache
Fetched https://github.com/WolfMcNally/GraphMermaid.git (0.35s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-algorithms (0.47s)
Fetched https://github.com/BlockchainCommons/BCSwiftFoundation.git (0.47s)
Fetching https://github.com/BlockchainCommons/blake3-swift.git from cache
Fetching https://github.com/ChimeHQ/Flexer.git from cache
Fetched https://github.com/apple/swift-argument-parser (0.42s)
Fetching https://github.com/BlockchainCommons/URKit.git from cache
Computing version for https://github.com/WolfMcNally/WolfBase
Fetched https://github.com/ChimeHQ/Flexer.git (0.35s)
Fetched https://github.com/BlockchainCommons/blake3-swift.git (0.35s)
Fetching https://github.com/nixberg/crypto-traits-swift from cache
Fetching https://github.com/nixberg/endianbytes-swift from cache
Fetched https://github.com/BlockchainCommons/URKit.git (0.35s)
Fetching https://github.com/WolfMcNally/TreeDistance.git from cache
Fetched https://github.com/nixberg/endianbytes-swift (0.36s)
Fetching https://github.com/WolfMcNally/Graph.git from cache
Fetched https://github.com/nixberg/crypto-traits-swift (0.36s)
Fetching https://github.com/apple/swift-numerics from cache
Fetched https://github.com/WolfMcNally/TreeDistance.git (0.36s)
Fetching https://github.com/wolfmcnally/swift-collections from cache
Fetched https://github.com/WolfMcNally/Graph.git (0.37s)
Fetching https://github.com/BlockchainCommons/BCSwiftSecureComponents.git from cache
Fetched https://github.com/apple/swift-numerics (0.41s)
Fetching https://github.com/BlockchainCommons/secp256k1-zkp.swift.git from cache
Computed https://github.com/WolfMcNally/WolfBase at 5.0.1 (1.05s)
Computing version for https://github.com/apple/swift-argument-parser
Fetched https://github.com/wolfmcnally/swift-collections (0.37s)
Fetching https://github.com/BlockchainCommons/BCSwiftEnvelope.git from cache
Fetched https://github.com/BlockchainCommons/BCSwiftSecureComponents.git (0.37s)
Fetched https://github.com/BlockchainCommons/secp256k1-zkp.swift.git (0.33s)
Fetched https://github.com/BlockchainCommons/BCSwiftEnvelope.git (0.38s)
Computed https://github.com/apple/swift-argument-parser at 1.2.0 (1.04s)
Computing version for https://github.com/BlockchainCommons/BCSwiftFoundation.git
Computed https://github.com/BlockchainCommons/BCSwiftFoundation.git at 4.6.0 (0.65s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.0.0 (0.65s)
Computing version for https://github.com/BlockchainCommons/BCSwiftEnvelope.git
Computed https://github.com/BlockchainCommons/BCSwiftEnvelope.git at 0.1.0 (0.64s)
Computing version for https://github.com/BlockchainCommons/BCSwiftSecureComponents.git
Computed https://github.com/BlockchainCommons/BCSwiftSecureComponents.git at 0.39.0 (0.64s)
Computing version for https://github.com/ChimeHQ/Flexer.git
Computed https://github.com/ChimeHQ/Flexer.git at 0.1.0 (0.63s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.64s)
Computing version for https://github.com/WolfMcNally/TreeDistance.git
Computed https://github.com/WolfMcNally/TreeDistance.git at 0.1.0 (0.63s)
Computing version for https://github.com/WolfMcNally/GraphDot.git
Computed https://github.com/WolfMcNally/GraphDot.git at 0.4.0 (0.63s)
Computing version for https://github.com/WolfMcNally/GraphMermaid.git
Computed https://github.com/WolfMcNally/GraphMermaid.git at 0.4.0 (0.63s)
Computing version for https://github.com/WolfMcNally/Graph.git
Computed https://github.com/WolfMcNally/Graph.git at 0.7.0 (0.64s)
Computing version for https://github.com/BlockchainCommons/secp256k1-zkp.swift.git
Computed https://github.com/BlockchainCommons/secp256k1-zkp.swift.git at 0.5.1 (0.66s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.6.0 (0.66s)
Computing version for https://github.com/BlockchainCommons/blake3-swift.git
Computed https://github.com/BlockchainCommons/blake3-swift.git at 0.1.3 (0.63s)
Computing version for https://github.com/BlockchainCommons/URKit.git
Computed https://github.com/BlockchainCommons/URKit.git at 8.0.0 (0.64s)
Computing version for https://github.com/wolfmcnally/swift-collections
Computed https://github.com/wolfmcnally/swift-collections at 1.1.0 (0.66s)
Computing version for https://github.com/nixberg/endianbytes-swift
Computed https://github.com/nixberg/endianbytes-swift at 0.4.0 (0.62s)
Computing version for https://github.com/nixberg/crypto-traits-swift
Computed https://github.com/nixberg/crypto-traits-swift at 0.2.1 (0.62s)
Creating working copy for https://github.com/WolfMcNally/GraphDot.git
Working copy of https://github.com/WolfMcNally/GraphDot.git resolved at 0.4.0
Creating working copy for https://github.com/WolfMcNally/TreeDistance.git
Working copy of https://github.com/WolfMcNally/TreeDistance.git resolved at 0.1.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.6.0
Creating working copy for https://github.com/BlockchainCommons/BCSwiftEnvelope.git
Working copy of https://github.com/BlockchainCommons/BCSwiftEnvelope.git resolved at 0.1.0
Creating working copy for https://github.com/BlockchainCommons/blake3-swift.git
Working copy of https://github.com/BlockchainCommons/blake3-swift.git resolved at 0.1.3
Creating working copy for https://github.com/BlockchainCommons/URKit.git
Working copy of https://github.com/BlockchainCommons/URKit.git resolved at 8.0.0
Creating working copy for https://github.com/wolfmcnally/swift-collections
Working copy of https://github.com/wolfmcnally/swift-collections resolved at 1.1.0
Creating working copy for https://github.com/BlockchainCommons/BCSwiftFoundation.git
Working copy of https://github.com/BlockchainCommons/BCSwiftFoundation.git resolved at 4.6.0
Creating working copy for https://github.com/BlockchainCommons/secp256k1-zkp.swift.git
Working copy of https://github.com/BlockchainCommons/secp256k1-zkp.swift.git resolved at 0.5.1
Creating working copy for https://github.com/nixberg/endianbytes-swift
Working copy of https://github.com/nixberg/endianbytes-swift resolved at 0.4.0
Creating working copy for https://github.com/WolfMcNally/Graph.git
Working copy of https://github.com/WolfMcNally/Graph.git resolved at 0.7.0
Creating working copy for https://github.com/WolfMcNally/WolfBase
Working copy of https://github.com/WolfMcNally/WolfBase resolved at 5.0.1
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.0.0
Creating working copy for https://github.com/ChimeHQ/Flexer.git
Working copy of https://github.com/ChimeHQ/Flexer.git resolved at 0.1.0
Creating working copy for https://github.com/WolfMcNally/GraphMermaid.git
Working copy of https://github.com/WolfMcNally/GraphMermaid.git resolved at 0.4.0
Creating working copy for https://github.com/nixberg/crypto-traits-swift
Working copy of https://github.com/nixberg/crypto-traits-swift resolved at 0.2.1
Creating working copy for https://github.com/BlockchainCommons/BCSwiftSecureComponents.git
Working copy of https://github.com/BlockchainCommons/BCSwiftSecureComponents.git resolved at 0.39.0
Compiling plugin Generate Manual...
Building for production...
remark: Incremental compilation has been disabled: it is not compatible with whole module remark: Incremental compilation has been disabled: it is not compatible with whole module remark: Incremental compilation has been disabled: it is not compatible with whole module remark: Incremental compilation has been disabled: it is not compatible with whole module remark: Incremental compilation has been disabled: it is not compatible with whole module remark: Incremental compilation has been disabled: it is not compatible with whole module remark: Incremental compilation has been disabled: it is not compatible with whole module remark: Incremental compilation has been disabled: it is not compatible with whole module remark: Incremental compilation has been disabled: it is not compatible with whole module remark: Incremental compilation has been disabled: it is not compatible with whole module remark: Incremental compilation has been disabled: it is not compatible with whole module remark: Incremental compilation has been disabled: it is not compatible with whole module remark: Incremental compilation has been disabled: it is not compatible with whole module remark: Incremental compilation has been disabled: it is not compatible with whole module remark: Incremental compilation has been disabled: it is not compatible with whole module remark: Incremental compilation has been disabled: it is not compatible with whole module remark: Incremental compilation has been disabled: it is not compatible with whole module remark: Incremental compilation has been disabled: it is not compatible with whole module remark: Incremental compilation has been disabled: it is not compatible with whole module remark: Incremental compilation has been disabled: it is not compatible with whole module remark: Incremental compilation has been disabled: it is not compatible with whole module remark: Incremental compilation has been disabled: it is not compatible with whole module remark: Incremental compilation has been disabled: it is not compatible with whole module remark: Incremental compilation has been disabled: it is not compatible with whole module remark: Incremental compilation has been disabled: it is not compatible with whole module remark: Incremental compilation has been disabled: it is not compatible with whole module remark: Incremental compilation has been disabled: it is not compatible with whole module remark: Incremental compilation has been disabled: it is not compatible with whole module remark: Incremental compilation has been disabled: it is not compatible with whole module [37/37] Linking EnvelopeTool
Build complete! (161.33s)
pusateri@butte-937 envelope-cli-swift % ./link.sh    
pusateri@butte-937 envelope-cli-swift % rehash
pusateri@butte-937 envelope-cli-swift % which envelope
/usr/local/bin/envelope
pusateri@butte-937 envelope-cli-swift % envelope help
dyld[5252]: Symbol not found: (_$s10Foundation11JSONDecoderC6decode_4fromxxm_AA4DataVtKSeRzlFTj)
  Referenced from: '/Users/pusateri/Projects/envelope-cli-swift/.build/x86_64-apple-macosx/release/EnvelopeTool'
  Expected in: '/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation'
zsh: abort      envelope help

pusateri@butte-937 envelope-cli-swift % xcodebuild -version 
Xcode 14.2
Build version 14C18
@pusateri
Copy link
Author

pusateri commented Apr 9, 2023

Intel Mac issue?

@ChristopherA
Copy link
Contributor

Given https://github.com/orgs/BlockchainCommons/projects/7/views/6?pane=issue&itemId=25113991, I suspect so. Assigned to @wolfmcnally to investigate.

(BTW, he is heads down on the Rust version of Envelope right now)

@pusateri
Copy link
Author

pusateri commented Apr 9, 2023

Excellent. I love Rust. I look forward it. Got some interesting projects in mind for this technology.

@pusateri
Copy link
Author

Did swift package update and rebuilt. Failed building BCSwiftCrypto with unsupported architecture.

@ChristopherA ChristopherA moved this from 2023 Q3 Priority to 2024 Q4 Priority in High Level Roadmap Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 2023 Q4 Priority
Development

No branches or pull requests

3 participants