danieljprice / homebrew-all

homebrew install scripts for various packages I maintain, e.g. brew tap danieljprice/all; brew install splash
GNU General Public License v2.0
1 stars 0 forks source link

failure to install giza via homebrew #2

Closed danieljprice closed 4 years ago

danieljprice commented 4 years ago

Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> New Formulae
libtorch            onnxruntime         tio                 vale
==> Updated Formulae
abcl                                     libcoap
abcmidi                                  libepoxy
alexjs                                   libgusb
ansiweather                              libphonenumber
apache-arrow                             librsvg
arm-linux-gnueabihf-binutils             libtrace
arp-scan                                 libusbmuxd
audacious                                lilv
aws-cdk                                  mame
azure-cli                                memcached
babeld                                   menhir
bind                                     mono-libgdiplus
binutils                                 node
clojure                                  orc-tools
dafny                                    osquery
dnstwist                                 pachi
duck                                     paket
dvc                                      parallel
eslint                                   pdns
ethereum                                 pgpool-ii
exploitdb                                php-cs-fixer
fauna-shell                              pianobar
freeradius-server                        pianod
fs-uae                                   psqlodbc
gatsby-cli                               pylint
gjs                                      pypy
glooctl                                  pypy3
googler                                  scipy
grafana                                  ssh-audit
grakn                                    stress-ng
haproxy                                  swiftformat
hyperfine                                terrahub
i386-elf-binutils                        thrift
imapsync                                 todoman
imlib2                                   urbit
include-what-you-use                     urh
jailkit                                  vice
jenkins                                  vim
jfrog-cli-go                             xapian
kepubify                                 z3
lazygit
==> Installing splash from danieljprice/all
==> Installing dependencies for danieljprice/all/splash: giza
==> Installing danieljprice/all/splash dependency: giza
==> Downloading https://github.com/danieljprice/giza/releases/download/v1.1.0/gi
Already downloaded: /Users/jaime/Library/Caches/Homebrew/downloads/9f6e0ef33708b2a87597ca794daac64683737172da4dc2a46f608e70cbbc1a5c--giza-1.1.0.tar.gz
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/giza/1.1.0
==> make install
Last 15 lines from /Users/jaime/Library/Logs/Homebrew/giza/02.make:
f951: Warning: Nonexistent include directory '/usr/X11/include' [-Wmissing-include-dirs]
libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I.. -I/usr/X11/include -g -O2 -c giza-fortran.F90 -o libpgplot_la-giza-fortran.o >/dev/null 2>&1
/bin/sh ../libtool  --tag=FC   --mode=compile gfortran  -g -O2 -c -o giza-pgplot.lo giza-pgplot.f90
libtool: compile:  gfortran -g -O2 -c giza-pgplot.f90  -fno-common -o .libs/giza-pgplot.o
libtool: compile:  gfortran -g -O2 -c giza-pgplot.f90 -o giza-pgplot.o >/dev/null 2>&1
/bin/sh ../libtool  --tag=FC   --mode=link gfortran  -g -O2 -version-info 1:0:1 -no-undefined -L/usr/X11/lib -lX11 -L/usr/X11/lib -lcairo -lgiza  -o libpgplot.la -rpath /usr/local/Cellar/giza/1.1.0/lib libpgplot_la-giza-fortran.lo giza-pgplot.lo  
libtool: link: gfortran -dynamiclib  -o .libs/libpgplot.0.dylib  .libs/libpgplot_la-giza-fortran.o .libs/giza-pgplot.o   -L/usr/X11/lib /private/tmp/giza-20191127-23741-7oo6kk/giza-1.1.0/src/.libs/libgiza.dylib -lX11 -lcairo  -g -O2   -install_name  /usr/local/Cellar/giza/1.1.0/lib/libpgplot.0.dylib -compatibility_version 2 -current_version 2.0 -Wl,-single_module
ld: warning: directory not found for option '-L/usr/X11/lib'
Undefined symbols for architecture x86_64:
  "__gfortran_os_error", referenced from:
      ___giza_MOD_giza_plot in libpgplot_la-giza-fortran.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[1]: *** [libpgplot.la] Error 1
make: *** [install-recursive] Error 1```
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/danieljprice/homebrew-all/issues
danieljprice commented 4 years ago

from the phantom slack channel

danieljprice commented 4 years ago

this is now checked, no failure for "brew install giza" on macOS-latest, presumably must be related to different gfortran version?