buger / goreplay

GoReplay is an open-source tool for capturing and replaying live HTTP traffic into a test environment in order to continuously test your system with real data. It can be used to increase confidence in code deployments, configuration changes and infrastructure changes.
https://goreplay.org
Other
18.67k stars 29 forks source link

DEB-Package contains Mach-O binary #661

Open PhilSwiss opened 5 years ago

PhilSwiss commented 5 years ago

Tested gor_1.0.0_amd64.deb on Ubuntu 18.04 (bionic):

  1. gives me "-bash: usr/local/bin/gor: cannot execute binary file: Exec format error"
  2. Analysed it with file and that gives me "usr/local/bin/gor: Mach-O 64-bit x86_64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL>"
  3. tested that binary on Mac OS X, worked liked charm.

Maybe, the wrong binary was included in the DEB-Package, the RPM could also be affected. Would be happy for a fixed package, thanks alot (also for goreplay itself).

kinow commented 5 years ago

Same happened for me, freshly installed 1.0.0 deb in Ubuntu LTS, gor:

$ gor
bash: /usr/local/bin/gor: cannot execute binary file: Exec format error

$ file $(which gor)
/usr/local/bin/gor: Mach-O 64-bit x86_64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL>
guteksan commented 5 years ago

Any followup on this issue? I also get the same error when I installed gor from https://github.com/buger/goreplay/releases/download/v1.0.0/gor_1.0.0_amd64.deb on ubuntu Xenial.

williamscales commented 5 years ago

Has anyone looked in to this? I'm still seeing the erroneous Mach-O binary in the release package for Debian.

addy90 commented 4 years ago

Same problem here on Debian 9 Stable.

chaoyongzhou commented 4 years ago

download https://github.com/buger/goreplay/releases/download/v1.0.0/gor_1.0.0_x64.tar.gz, and unpack it and then overwrite /usr/local/bin/gor with it.