Hello,
I've just installed Circos using the following command:
brew install brewsci/bio/circos
During installation no errors have occurred, but nevertheless I get an error when trying to run circos.
zsh: segmentation fault circos
I also tried to test the installation using brew test circos, I’ve listed the response at the end.
Running:
- macOS Monterey Version 12.0.1
- Homebrew 3.3.10
- perl v5.30.3
- circos v0.69-9
Many thanks in advance for any hint and helping me tracing down the problem.
Regards,
Dirk
########### ERROR ############
brew test circos
Fetching gem metadata from https://rubygems.org/.........
Using concurrent-ruby 1.1.9
Using minitest 5.15.0
Using zeitwerk 2.5.3
Using public_suffix 4.0.6
Using ast 2.4.2
Using bindata 2.4.10
Using msgpack 1.4.2
Using bundler 1.17.3
Using byebug 11.1.3
Using connection_pool 2.2.5
Using did_you_mean 1.6.1
Using diff-lcs 1.5.0
Using docile 1.4.0
Using unf_ext 0.0.8
Using regexp_parser 2.2.0
Using hana 1.3.7
Using hpricot 0.8.6
Using uri_template 0.7.0
Using mime-types-data 3.2022.0105
Using racc 1.6.0
Using net-http-digest_auth 1.4.1
Using rubyntlm 0.6.3
Using webrobots 0.1.2
Using mustache 1.1.1
Using parallel 1.21.0
Using plist 3.6.0
Using rack 2.2.3
Using mini_portile2 2.7.1
Using rdiscount 2.2.0.2
Using rexml 3.2.5
Using rspec-support 3.10.3
Using ruby-progressbar 1.11.0
Using unicode-display_width 2.1.0
Using ruby-macho 2.5.1
Using simplecov-html 0.12.3
Using simplecov_json_formatter 0.1.3
Using sorbet-runtime-stub 0.2.0
Using warning 1.2.1
Using i18n 1.8.11
Using tzinfo 2.0.4
Using addressable 2.8.0
Using webrick 1.7.0
Using unf 0.1.4
Fetching rainbow 3.1.1
Fetching bootsnap 1.9.4
Using ecma-re-validator 0.3.0
Using elftools 1.1.3
Using net-http-persistent 4.0.1
Using parser 3.1.0.0
Using mime-types 3.4.1
Using activesupport 6.1.4.4
Using nokogiri 1.13.0 (x86_64-darwin)
Using parallel_tests 3.7.3
Using ronn 0.7.3
Using rspec-core 3.10.1
Using rspec-expectations 3.10.1
Using rspec-mocks 3.10.2
Using simplecov 0.21.2
Using domain_name 0.5.20190701
Using json_schemer 0.2.18
Using http-cookie 1.0.4
Using patchelf 1.3.0
Using rspec 3.10.0
Using rspec-github 2.3.1
Using rspec-its 1.3.0
Using rspec-retry 0.6.2
Using rspec_junit_formatter 0.5.1
Using rubocop-ast 1.15.1
Using simplecov-cobertura 2.1.0
Using mechanize 2.8.3
Using rspec-wait 0.0.9
Installing rainbow 3.1.1
Installing bootsnap 1.9.4 with native extensions
Using rubocop 1.24.1
Using rubocop-performance 1.13.1
Using rubocop-rspec 2.7.0
Using rubocop-sorbet 0.6.5
Using rubocop-rails 2.13.1
Bundle complete! 34 Gemfile dependencies, 76 gems now installed.
Bundled gems are installed into `../Homebrew/Library/Homebrew/vendor/bundle`
Removing bootsnap (1.9.3)
Removing rainbow (3.0.0)
==> Testing brewsci/bio/circos
==> /usr/local/Cellar/circos/0.69-9/bin/circos -conf /usr/local/Cellar/circos/0.69-9/libexec/example/etc/circos.conf -debug_group summary,timer
Last 15 lines from /Users/dirk/Library/Logs/Homebrew/circos/test.01.circos:
2022-01-12 15:10:03 +0100
/usr/local/Cellar/circos/0.69-9/bin/circos
-conf
/usr/local/Cellar/circos/0.69-9/libexec/example/etc/circos.conf
-debug_group
summary,timer
Error: brewsci/bio/circos: failed
An exception occurred within a child process:
BuildError: Failed executing: /usr/local/Cellar/circos/0.69-9/bin/circos -conf /usr/local/Cellar/circos/0.69-9/libexec/example/etc/circos.conf -debug_group summary,timer
/usr/local/Homebrew/Library/Homebrew/formula.rb:2308:in `block in system'
/usr/local/Homebrew/Library/Homebrew/formula.rb:2244:in `open'
/usr/local/Homebrew/Library/Homebrew/formula.rb:2244:in `system'
/usr/local/Homebrew/Library/Taps/brewsci/homebrew-bio/Formula/circos.rb:39:in `block in <class:Circos>'
/usr/local/Homebrew/Library/Homebrew/formula.rb:2108:in `block (3 levels) in run_test'
/usr/local/Homebrew/Library/Homebrew/utils.rb:588:in `with_env'
/usr/local/Homebrew/Library/Homebrew/formula.rb:2107:in `block (2 levels) in run_test'
/usr/local/Homebrew/Library/Homebrew/formula.rb:948:in `with_logging'
/usr/local/Homebrew/Library/Homebrew/formula.rb:2106:in `block in run_test'
/usr/local/Homebrew/Library/Homebrew/mktemp.rb:63:in `block in run'
/usr/local/Homebrew/Library/Homebrew/mktemp.rb:63:in `chdir'
/usr/local/Homebrew/Library/Homebrew/mktemp.rb:63:in `run'
/usr/local/Homebrew/Library/Homebrew/formula.rb:2359:in `mktemp'
/usr/local/Homebrew/Library/Homebrew/formula.rb:2100:in `run_test'
/usr/local/Homebrew/Library/Homebrew/test.rb:43:in `block in <main>'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/timeout.rb:93:in `block in timeout'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/timeout.rb:33:in `block in catch'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/timeout.rb:33:in `catch'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/timeout.rb:33:in `catch'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/timeout.rb:108:in `timeout'
/usr/local/Homebrew/Library/Homebrew/test.rb:48:in `<main>'
--
You received this message because you are subscribed to the Google Groups "Circos" group.
To unsubscribe from this group and stop receiving emails from it, send an email to circos-data-visual...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/circos-data-visualization/432b96f5-27c9-4c82-b369-6385ea1ff115n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/circos-data-visualization/bb7f93b7-6ef0-49ac-9d62-c1ea9e8f1ec8n%40googlegroups.com.
Unfortunately the command env perl returns nothing, but env alone gives me the following:
TERM_PROGRAM=Apple_Terminal
SHELL=/bin/zsh
TERM=xterm-256color
TMPDIR=/var/folders/5n/kh2gl3tj7h7bn8dhrq72ksj00000gn/T/
TERM_PROGRAM_VERSION=443
TERM_SESSION_ID=6D9F1C5E-C61B-4498-BD4D-40BF052157A9
USER=dirk
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.3GzfnyBDOY/Listeners
PATH=/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/3.8/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS
LaunchInstanceID=32D76BBF-E715-4767-95FE-3BAFC9D74325
__CFBundleIdentifier=com.apple.Terminal
PWD=/usr/bin
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
SHLVL=1
HOME=/Users/dirk
LOGNAME=dirk
DISPLAY=/private/tmp/com.apple.launchd.39MWzsw8B9/org.macosforge.xquartz:0
SECURITYSESSIONID=19183
OLDPWD=/Users/dirk/Desktop/2020_PYTHON/lnd
LANGUAGE=en_US.UTF-8
LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8
LC_CTYPE=UTF-8
To view this discussion on the web visit https://groups.google.com/d/msgid/circos-data-visualization/21fa5301-7a84-4c4b-b4ba-a689d1e8341bn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/circos-data-visualization/58226727-4053-4068-9a29-9168e7432a9cn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/circos-data-visualization/6795b4ed-966c-4777-991d-bdad24451892n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/circos-data-visualization/406af011-6833-458a-9ab0-617ef315cddbn%40googlegroups.com.
The problem could be finally solve with the help of @håkon-hægland
I just needed to point to the correct perl version in the following file:
/usr/local/Cellar/circos/0.69-9/bin/circosChanged the following line to:
#!/bin/bash # PERL5LIB="/usr/local/Cellar/circos/0.69-9/libexec/lib/perl5" exec "/usr/local/Cellar/circos/0.69-9/libexec/bin/circos" "$@" PERL5LIB="/usr/local/bin/perl" exec "/usr/local/Cellar/circos/0.69-9/libexec/bin/circos" "$@"Many thanks again to @håkon-hægland and have a nice weekend :-)