ros / homebrew-deps

Homebrew Formula for common system ROS dependencies
8 stars 54 forks source link

error during 'make bootstrap' step of brew install gfortran #13

Open gunshi opened 8 years ago

gunshi commented 8 years ago

Error:

==> Installing gfortran from ros/deps ==> Downloading http://ftpmirror.gnu.org/gcc/gcc-4.8.2/gcc-4.8.2.tar.bz2 Already downloaded: /Library/Caches/Homebrew/gfortran-4.8.2.tar.bz2 Warning: SHA1 support is deprecated and will be removed in a future version. Please switch this formula to SHA256. ==> ../configure --prefix=/usr/local/Cellar/gfortran/4.8.2/gfortran --datarootdi ==> make bootstrap Last 15 lines from /Users/gunshigupta/Library/Logs/Homebrew/gfortran/02.make: c = isl_constraint_set_coefficient_si (c, isl_dim_out, time_depth, 1); ^ ../../gcc/graphite-interchange.c:199:3: error: use of undeclared identifier 'c' c = isl_constraint_set_coefficient_si (c, il_dim_out,

^ ../../gcc/graphite-interchange.c:199:42: error: use of undeclared identifier 'c' c = isl_constraint_set_coefficient_si (c, il_dim_out, ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[3]: * [graphite-interchange.o] Error 1 rm gcc.pod make[2]: * [all-stage1-gcc] Error 2 make[1]: * [stage1-bubble] Error 2 make: * [bootstrap] Error 2

READ THIS: https://git.io/brew-troubleshooting If reporting this issue please do so at (not Homebrew/brew): https://github.com/ros/homebrew-deps/issues

Thanks!

daravi commented 7 years ago

I am getting a similar error:

==> make bootstrap
Last 15 lines from /Users/daravi/Library/Logs/Homebrew/gfortran/02.make:
/usr/local/opt/isl/include/isl/union_map.h:225:10: note: candidate function not viable: no known conversion from 'int (isl_map *, void *)' to 'isl_stat (*)(isl_map *, void *)' for 2nd argument
isl_stat isl_union_map_foreach_map(__isl_keep isl_union_map *umap,
         ^
../../gcc/graphite-dependences.c:235:9: error: no matching function for call to 'isl_union_map_foreach_map'
  res = isl_union_map_foreach_map (x, extend_schedule_1, (void *) &str);
        ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/opt/isl/include/isl/union_map.h:225:10: note: candidate function not viable: no known conversion from 'int (isl_map *, void *)' to 'isl_stat (*)(isl_map *, void *)' for 2nd argument
isl_stat isl_union_map_foreach_map(__isl_keep isl_union_map *umap,
         ^
2 errors generated.
make[3]: *** [graphite-dependences.o] Error 1
rm gcc.pod
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [bootstrap] Error 2