Skip to content

Instantly share code, notes, and snippets.

@fxcoudert
Created September 20, 2018 18:50
Show Gist options
  • Save fxcoudert/e9649006dedeae88440397afec97788c to your computer and use it in GitHub Desktop.
Save fxcoudert/e9649006dedeae88440397afec97788c to your computer and use it in GitHub Desktop.
calc
/usr/bin/sandbox-exec -f /private/tmp/homebrew20180920-15387-6tsxxm.sb nice /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby -W0 -I /usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/ruby-macho-2.0.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/plist-3.4.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/backports-3.11.4/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/activesupport-5.2.1/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/tzinfo-1.2.5/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/thread_safe-0.3.6/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/minitest-5.11.3/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/i18n-1.1.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby/2.3.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby/2.3.0/x86_64-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby/2.3.0/universal-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby/2.3.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby/2.3.0/universal-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/x86_64-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/universal-darwin9.0:/usr/local/Homebrew/Library/Homebrew -- /usr/local/Homebrew/Library/Homebrew/build.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/calc.rb --build-bottle --verbose
==> Downloading http://www.isthe.com/chongo/src/calc/calc-2.12.6.5.tar.bz2
Already downloaded: /Users/brew/Library/Caches/Homebrew/downloads/25bb3a0ac4ee4da1d75554296201fd2251eccab11a2b8464404244e5def3e09f--calc-2.12.6.5.tar.bz2
==> Verifying 25bb3a0ac4ee4da1d75554296201fd2251eccab11a2b8464404244e5def3e09f--calc-2.12.6.5.tar.bz2 checksum
tar xf /Users/brew/Library/Caches/Homebrew/downloads/25bb3a0ac4ee4da1d75554296201fd2251eccab11a2b8464404244e5def3e09f--calc-2.12.6.5.tar.bz2 -C /private/tmp/d20180920-15389-v4rw29
cp -pR /private/tmp/d20180920-15389-v4rw29/calc-2.12.6.5/. /private/tmp/calc-20180920-15389-1pi5ltk/calc-2.12.6.5
==> make install INCDIR=/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include BINDIR=/usr/local/Cellar/calc/2.12.6.5/bin LIBDIR=/usr/local/Cellar/calc/2.12.6.5/lib MANDIR=/usr/local/Cellar/calc/2.12.6.5/share/man/man1 CALC_INCDIR=/usr/local/Cellar/calc/2.12.6.5/include/calc CALC_SHAREDIR=/usr/local/Cellar/calc/2.12.6.5/share/calc USE_READLINE=-DUSE_READLINE READLINE_LIB=-L/usr/local/opt/readline/lib -lreadline READLINE_EXTRAS=-lhistory -lncurses
forming have_unistd.h
have_unistd.h formed
forming have_stdlib.h
have_stdlib.h formed
clang -DCALC_SRC -DCUSTOM -Wall -fPIC longbits.c -c
rm -f longbits
clang -DCALC_SRC -DCUSTOM -Wall -fPIC longbits.o -o longbits
forming longbits.h
longbits.h formed
forming align32.h
align32.h formed
forming have_string.h
have_string.h formed
forming args.h
args.h formed
forming calcerr.h
calcerr.h formed
forming conf.h
conf.h formed
clang -DCALC_SRC -DCUSTOM -Wall -fPIC endian.c -c
rm -f endian
clang -DCALC_SRC -DCUSTOM -Wall -fPIC endian.o -o endian
forming endian_calc.h
endian_calc.h formed
forming have_fpos.h
have_fpos.h formed
forming have_posscl.h
have_posscl.h formed
forming have_fpos_pos.h
have_fpos_pos.h formed
forming have_offscl.h
have_offscl.h formed
forming fposval.h
fposval.h formed
forming have_const.h
have_const.h formed
forming have_memmv.h
have_memmv.h formed
forming have_newstr.h
have_newstr.h formed
forming have_times.h
have_times.h formed
forming have_uid_t.h
have_uid_t.h formed
forming terminal.h
terminal.h formed
forming have_ustat.h
have_ustat.h formed
forming have_getsid.h
have_getsid.h formed
forming have_getpgid.h
have_getpgid.h formed
forming have_gettime.h
have_gettime.h formed
forming have_getprid.h
have_getprid.h formed
forming have_urandom.h
have_urandom.h formed
forming have_rusage.h
have_rusage.h formed
forming have_strdup.h
have_strdup.h formed
forming have_unused.h
have_unused.h formed
rm -f calc.1
forming calc.1 from calc.man
calc.1 formed
ERROR: critical directory missing: /usr/include
Without this critical directory, we cannot compile.
Perhaps your system isn't setup to compile C source?
For example, Apple OS X / darwin requres that XCode
must be installed and that you run the command:
xcode-select --install
make: *** [check_include] Error 1
==> Formula
Path: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/calc.rb
==> Configuration
HOMEBREW_VERSION: 1.7.5-51-g8125aba
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 8125aba04ecc86bc08328959cbe20ab349217821
Last commit: 2 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 84b22c745c58fed15bc8d65320ce853cb58de1a8
Core tap last commit: 39 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CACHE: /Users/brew/Library/Caches/Homebrew
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_FAIL_LOG_LINES: 150
HOMEBREW_GIT: git
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_HOME: /Users/brew/Jenkins/workspace/Homebrew Mojave Testing/version/mojave_testing/home
HOMEBREW_LOGS: /Users/brew/Jenkins/workspace/Homebrew Mojave Testing/version/mojave_testing/logs
HOMEBREW_MACOS_VERSION_NUMERIC: 101400
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_NO_EMOJI: 1
CPU: quad-core 64-bit ivybridge
Homebrew Ruby: 2.3.7 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby
Clang: 10.0 build 1000
Git: 2.17.1 => /Applications/Xcode-beta.app/Contents/Developer/usr/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 10.0.2, 9, 1.8.0_181
macOS: 10.14-x86_64
CLT: 10.0.0.0.1.1533942731
CLT headers: N/A
Xcode: 10.0 => /Applications/Xcode-beta.app/Contents/Developer
Error: calc 2.12.6.5 did not build
XQuartz: 2.7.11 => /opt/X11
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
CMAKE_PREFIX_PATH: /usr/local/opt/readline:/usr/local
CMAKE_INCLUDE_PATH: /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/libxml2:/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.14
HOMEBREW_GIT: git
HOMEBREW_SDKROOT: /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/bin:/bin:/usr/sbin:/sbin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment