Code Monkey home page Code Monkey logo

Comments (13)

tyama711 avatar tyama711 commented on May 28, 2024 1

Thank you so much!!
Now I can run this version on my M1 Mac!

❯ trdsql --version
trdsql version v0.13.0-rc8

from trdsql.

noborus avatar noborus commented on May 28, 2024

Hmmm. Could you tell me the environment such as os, os version, cpu, etc.?

from trdsql.

rdsedmundo avatar rdsedmundo commented on May 28, 2024
$ pnpx envinfo

  System:
    OS: macOS 12.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 1.75 GB / 32.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.15.0 - ~/.volta/tools/image/node/16.15.0/bin/node
    Yarn: 1.22.18 - ~/.volta/tools/image/yarn/1.22.18/bin/yarn
    npm: 8.5.5 - ~/.volta/tools/image/node/16.15.0/bin/npm
  Managers:
    Cargo: 1.59.0 - ~/homebrew/bin/cargo
    Homebrew: 3.5.10 - /Users/work/homebrew/bin/brew
    pip3: 21.3.1 - ~/homebrew/bin/pip3
    RubyGems: 3.0.3.1 - /usr/bin/gem
  Utilities:
    Make: 3.81 - /usr/bin/make
    GCC: 13.1.6 - /usr/bin/gcc
    Git: 2.32.0 - /usr/bin/git
    Clang: 13.1.6 - /usr/bin/clang
  Servers:
    Apache: 2.4.51 - /usr/sbin/apachectl
  Virtualization:
    Docker: 20.10.12 - /usr/local/bin/docker
  IDEs:
    Nano: 2.0.6 - /usr/bin/nano
    VSCode: 1.70.2 - /usr/local/bin/code
    Vim: 8.2 - /usr/bin/vim
    Xcode: /undefined - /usr/bin/xcodebuild
  Languages:
    Bash: 3.2.57 - /bin/bash
    Go: 1.17.3 - /Users/work/homebrew/bin/go
    Java: 17.0.1 - /usr/bin/javac
    Perl: 5.30.3 - /usr/bin/perl
    Python: 2.7.18 - /usr/bin/python
    Python3: 3.9.10 - /Users/work/homebrew/bin/python3
    Ruby: 2.6.8 - /usr/bin/ruby
    Rust: 1.59.0 - /Users/work/homebrew/bin/rustc
  Databases:
    SQLite: 3.36.0 - /usr/bin/sqlite3
  Browsers:
    Chrome: 104.0.5112.101
    Chrome Canary: 107.0.5261.1
    Firefox: 104.0
    Safari: 15.2

from trdsql.

noborus avatar noborus commented on May 28, 2024

Thank you for the information.
I ran homebrew macos-12 install test on github actions.
it seems to be working.

https://github.com/noborus/homebrew-tap/runs/8047261109?check_suite_focus=true#step:3:33

So I don't know the cause yet.

from trdsql.

srizzo avatar srizzo commented on May 28, 2024

I believe github actions are running on an x86 and the issue happens on arm64

from trdsql.

noborus avatar noborus commented on May 28, 2024

Hmm, could this be a code signing issue?

from trdsql.

srizzo avatar srizzo commented on May 28, 2024

Hmm, could this be a code signing issue?

So it seems.

My arm64 binary:

$ /opt/homebrew/Cellar/trdsql/0.10.1/bin/trdsql --version
Killed: 9
$ codesign --verify --deep --verbose /opt/homebrew/Cellar/trdsql/0.10.1/bin/trdsql
/opt/homebrew/Cellar/trdsql/0.10.1/bin/trdsql: invalid signature (code or signature have been modified)
In architecture: arm64

My x86 binary:

$ /usr/local/Cellar/trdsql/0.10.1/bin/trdsql --version
trdsql version v0.10.1
$ codesign --verify --deep --verbose /usr/local/Cellar/trdsql/0.10.1/bin/trdsql
/usr/local/Cellar/trdsql/0.10.1/bin/trdsql: code object is not signed at all
In architecture: x86_64

from trdsql.

noborus avatar noborus commented on May 28, 2024

Hmm, could this be a code signing issue?

So it seems.

Thank you. What should I do...?

from trdsql.

tyama711 avatar tyama711 commented on May 28, 2024

I also faced the same issue, but I was able to work around the problem by using go install to install it.

go install github.com/noborus/trdsql/cmd/trdsql@latest

from trdsql.

noborus avatar noborus commented on May 28, 2024

Sorry for not being able to reply.
For a while, I've been thinking of writing a note to remove the arm64 binary on the Mac in Homebrew,
and the arm64 binary on the Mac, and use go install instead.

from trdsql.

noborus avatar noborus commented on May 28, 2024

I tried changing the build method using github actions.
Please let me know the results of your trial.

version: v.013.0-rc8

Homebrew(brew install noborus/tap/trdsql)
https://github.com/noborus/homebrew-tap/blob/master/trdsql.rb

binary
https://github.com/noborus/trdsql/releases/download/v0.13.0-rc8/trdsql_v0.13.0-rc8_darwin_arm64.zip

from trdsql.

noborus avatar noborus commented on May 28, 2024

Thank you so much!! Now I can run this version on my M1 Mac!

❯ trdsql --version
trdsql version v0.13.0-rc8

Thank you for your report. appreciate.

from trdsql.

noborus avatar noborus commented on May 28, 2024

I think it's resolved, so I'll close it.

from trdsql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.