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

Syncthing fails to execute on macOS 10.15 #45353

Closed
4 tasks done
NoLooseEnds opened this issue Oct 15, 2019 · 4 comments
Closed
4 tasks done

Syncthing fails to execute on macOS 10.15 #45353

NoLooseEnds opened this issue Oct 15, 2019 · 4 comments
Labels
10.15 Catalina is specifically affected outdated PR was locked due to age

Comments

@NoLooseEnds
Copy link

  • ran brew update and can still reproduce the problem?
  • ran brew doctor, fixed all issues and can still reproduce the problem?
  • ran brew gist-logs <formula> (where <formula> is the name of the formula that failed) and included the output link? (Got no output)
  • if brew gist-logs didn't work: ran brew config and brew doctor and included their output with your issue?

Syncthing will not execute, apparantly an error with the executable.

zsh: exec format error: /usr/local/opt/syncthing/bin/syncthing

Please see this post over at the syncthing forum: https://forum.syncthing.net/t/syncthing-1-3-0-from-homebrew-on-catalina-fails-with-cannot-execute-binary-file/13852

brew config

HOMEBREW_VERSION: 2.1.14
ORIGIN: https://github.com/Homebrew/brew
HEAD: f1702e5
Last commit: 27 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 84a9806
Core tap last commit: 24 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: --appdir=/Applications
CPU: octa-core 64-bit kabylake
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
Clang: 11.0 build 1100
Git: 2.21.0 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.64.1 => /usr/bin/curl
Java: 12.0.2
macOS: 10.15-x86_64
CLT: N/A
Xcode: 11.1
XQuartz: 2.7.11 => /opt/X11

brew doctor

Your system is ready to brew.

@fxcoudert
Copy link
Member

This looks like this bottle corruption issue, due to Catalina tar: Homebrew/brew#6539

@iwelch
Copy link

iwelch commented Oct 24, 2019

I do not think this should bug should be closed or is catalina based. see, syncthing 1.2.1 works just fine. only syncthing 1.3.0 is corrupt. this looks more like a bad brew package. oh, and it is still not working. (1.3.0 should be removed asap. just keep 1.2.1 if need be, or fix 1.3.0.)

@iwelch
Copy link

iwelch commented Oct 24, 2019

I do not think this should bug should be closed or is catalina based. see, syncthing 1.2.1 works just fine. only syncthing 1.3.0 is corrupt. this looks more like a bad brew package. oh, and it is still not working. (1.3.0 should be removed asap. just keep 1.2.1 if need be, or fix 1.3.0.)

until then, my advice is to go to http://syncthing.net, download the macos version, and replace the binary with the original one. it will work then.

@fxcoudert fxcoudert added the 10.15 Catalina is specifically affected label Oct 24, 2019
@fxcoudert
Copy link
Member

See #45616 for further details

@lock lock bot added the outdated PR was locked due to age label Jan 1, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Jan 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
10.15 Catalina is specifically affected outdated PR was locked due to age
Projects
None yet
Development

No branches or pull requests

3 participants