Homebrew / legacy-homebrew

💀 The former home of Homebrew/homebrew (deprecated)
https://brew.sh
26.99k stars 11.36k forks source link

suite-sparse silently fails to install cholmod #19239

Closed sandwichmaker closed 11 years ago

sandwichmaker commented 11 years ago

brew install suite-sparse -v

The offending bits seem to have to do with ccolamd

brew: superenv removed: -O3 cc -O3 -fexceptions -fPIC -DNPARTITION -c -I../../AMD/Include -I../../AMD/Source -I../../COLAMD/Include -I../Include -I../../SuiteSparse_config ../Supernodal/cholmod_super_numeric.c brew: superenv removed: -O3 cc -O3 -fexceptions -fPIC -DNPARTITION -c -I../../AMD/Include -I../../AMD/Source -I../../COLAMD/Include -I../Include -I../../SuiteSparse_config ../Supernodal/cholmod_super_solve.c brew: superenv removed: -O3 cc -O3 -fexceptions -fPIC -DNPARTITION -c -I../../AMD/Include -I../../AMD/Source -I../../COLAMD/Include -I../Include -I../../SuiteSparse_config ../Supernodal/cholmod_super_symbolic.c brew: superenv removed: -O3 cc -O3 -fexceptions -fPIC -DNPARTITION -c -I../../AMD/Include -I../../AMD/Source -I../../COLAMD/Include -I../Include -I../../SuiteSparse_config ../Partition/cholmod_ccolamd.c brew: superenv removed: -O3 ../Partition/cholmod_ccolamd.c:28:10: fatal error: 'ccolamd.h' file not found # include "ccolamd.h" ``` ^ ``` 1 error generated. make[2]: **\* [cholmod_ccolamd.o] Error 1 make[1]: **\* [library] Error 2 make: [library] Error 2 (ignored) ( cd KLU && /usr/bin/make library ) ( cd Lib ; /usr/bin/make ) and it continues on letting the user think that they have a working suitesparse install, when infact cholmod is not installed.
sandwichmaker commented 11 years ago

Updating the formula to 4.2.0 fixes this problems.

Also, the --with-metis support is entirely broken right now and results in a broken build too. It should be removed till homebrew can deal with multiple versions of metis at the same time.

jacknagel commented 11 years ago

This should be filed at: https://github.com/Homebrew/homebrew-science