Homebrew / homebrew-core

🍻 Default formulae for the missing package manager for macOS (or Linux)
https://brew.sh
BSD 2-Clause "Simplified" License
13.65k stars 12.36k forks source link

rcsdiff aborts with "Illegal instruction: 4" #18593

Closed permezel closed 7 years ago

permezel commented 7 years ago

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

Please always follow these steps:

$ brew info rcs rcs: stable 5.9.4 (bottled) GNU revision control system https://www.gnu.org/software/rcs/ /usr/local/Cellar/rcs/5.9.4 (27 files, 732.2KB) * Built from source on 2017-09-27 at 12:53:49 From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/rcs.rb

$ brew update Updated 1 tap (homebrew/core). ==> Updated Formulae snakemake $ brew update Already up-to-date. $ brew reinstall rcs ==> Reinstalling rcs ==> Downloading https://homebrew.bintray.com/bottles/rcs-5.9.4.high_sierra.bottle.1.tar.gz Already downloaded: /Users/nimda/Library/Caches/Homebrew/rcs-5.9.4.high_sierra.bottle.1.tar.gz ==> Pouring rcs-5.9.4.high_sierra.bottle.1.tar.gz 🍺 /usr/local/Cellar/rcs/5.9.4: 27 files, 732.2KB $ rcsdiff Illegal instruction: 4

$ brew doctor Your system is ready to brew. $ brew update; brew update Already up-to-date. Already up-to-date. $ brew reinstall rcs ==> Reinstalling rcs ==> Downloading https://homebrew.bintray.com/bottles/rcs-5.9.4.high_sierra.bottle.1.tar.gz Already downloaded: /Users/nimda/Library/Caches/Homebrew/rcs-5.9.4.high_sierra.bottle.1.tar.gz ==> Pouring rcs-5.9.4.high_sierra.bottle.1.tar.gz 🍺 /usr/local/Cellar/rcs/5.9.4: 27 files, 732.2KB $ rcsdiff Illegal instruction: 4

$ brew gist-logs rcs https://gist.github.com/db926459d7f197fd78270d64dfa93dd9

To help us debug your issue please explain:

Trying to run rcsdiff against a file. That fails. rcsdiff fails with zero args in the same way. Other rcs-based functions can be made to fail similarly.

% rcsdiff ts Illegal instruction: 4

I expected the programme to function correctly, not field an illegal instruction trap.

It appears that there is some change in the underlying system library implementation.

$ lldb /usr/local/Cellar/rcs/5.9.4/bin/rcs
(lldb) target create "/usr/local/Cellar/rcs/5.9.4/bin/rcs" Current executable set to '/usr/local/Cellar/rcs/5.9.4/bin/rcs' (x86_64). (lldb) run rcsdiff Process 27057 launched: '/usr/local/Cellar/rcs/5.9.4/bin/rcs' (x86_64) Process 27057 stopped

Formula additions or changes

To get formulae added or changed in Homebrew please file a Pull Request We will close issues requesting formulae changes.

ilovezfs commented 7 years ago

This is now fixed if you brew update.

ilovezfs commented 7 years ago

And brew upgrade of course.

permezel commented 7 years ago

Works. Thanks.

On 27 Sep 2017, at 14:52, ilovezfs notifications@github.com wrote:

And brew upgrade of course.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Homebrew/homebrew-core/issues/18593#issuecomment-332408353, or mute the thread https://github.com/notifications/unsubscribe-auth/ACNOlK8CL5DI3cINWrpl-jHz7IF4_rnkks5smdSBgaJpZM4PlLbK.