I'm pretty sure you can't build Sage with clang. You'll need a fortran 
compiler, too. The Sage installation guide has more.



On Friday, July 17, 2015 at 10:57:42 PM UTC+2, rshp...@ualberta.ca wrote:
>
> Debian Jessie minimal build and adding packages as needed. Possibly an 
> unsatisfied dependency?
>
> Do you need anything else?
> --
>
> ***************************************************************
> Error building Sage.
>
> The following package(s) may have failed to build:
>
> package: bzip2-1.0.6.20140317
> log file: 
> /home/raymond/sagemath/sage-6.7-x86_64-Linux/logs/pkgs/bzip2-1.0.6.20140317.log
> build directory: 
> /home/raymond/sagemath/sage-6.7-x86_64-Linux/local/var/tmp/sage/build/bzip2-1.0.6.20140317
>
> The build directory may contain configuration files and other potentially
> helpful information. WARNING: if you now run 'make' again, the build
> directory will, by default, be deleted. Set the environment variable
> SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.
> ...
> ************************************************************************
> Error installing package bzip2-1.0.6.20140317
> ************************************************************************
> Please email sage-devel (http://groups.google.com/group/sage-devel)
> explaining the problem and including the relevant part of the log file
>   
> /home/raymond/sagemath/sage-6.7-x86_64-Linux/logs/pkgs/bzip2-1.0.6.20140317.log
> Describe your computer, operating system, etc.
> If you want to try to fix the problem yourself, *don't* just cd to
> /home/raymond/sagemath/sage-6.7-x86_64-Linux/local/var/tmp/sage/build/bzip2-1.0.6.20140317
>  
> and type 'make' or whatever is appropriate.
> Instead, the following commands setup all environment variables
> correctly and load a subshell for you to debug the error:
>   (cd 
> '/home/raymond/sagemath/sage-6.7-x86_64-Linux/local/var/tmp/sage/build/bzip2-1.0.6.20140317'
>  
> && '/home/raymond/sagemath/sage-6.7-x86_64-Linux/sage' --sh)
> When you are done debugging, you can type "exit" to leave the subshell.
> ************************************************************************
>
> -----------------
> cat 
> /home/raymond/sagemath/sage-6.7-x86_64-Linux/logs/pkgs/bzip2-1.0.6.20140317.log
> -----------------
> Found local metadata for bzip2-1.0.6.20140317
> Attempting to download package bzip2-1.0.6.20140317
> Downloading the Sage mirror list
> Searching fastest mirror
>   778ms: http://echidna.maths.usyd.edu.au/sage/
>   431ms: http://files.sagemath.org/
>   727ms: http://ftp.kaist.ac.kr/sage/
>   649ms: http://ftp.riken.jp/sagemath/
>   607ms: http://ftp.tsukuba.wide.ad.jp/software/sage/
>  1227ms: http://ftp.yz.yamagata-u.ac.jp/pub/math/sage/
>   873ms: http://jambu.spms.ntu.edu.sg/sage/
>   669ms: http://linorg.usp.br/sage/
>   413ms: http://mirror.aarnet.edu.au/pub/sage/
>   521ms: http://mirror.switch.ch/mirror/sagemath/
>   513ms: http://mirror.yandex.ru/mirrors/sage.math.washington.edu/
>   557ms: http://mirrors-ru.go-parts.com/sage/sagemath/
>   480ms: http://mirrors-uk.go-parts.com/sage/sagemath/
>   322ms: http://mirrors-usa.go-parts.com/sage/sagemath/
>   533ms: http://mirrors.fe.up.pt/pub/sage/
>   477ms: http://mirrors.mit.edu/sage/
>  1480ms: http://mirrors.ustc.edu.cn/sagemath/
>   434ms: http://mirrors.xmission.com/sage/
>   834ms: http://sage.mirror.garr.it/mirrors/sage/
>  1111ms: http://sagemath.c3sl.ufpr.br/
>  2018ms: http://sagemath.polytechnic.edu.na/
>   754ms: http://sunsite.rediris.es/mirror/sagemath/
>  1106ms: http://www-ftp.lip6.fr/pub/math/sagemath/
>   661ms: http://www.cecm.sfu.ca/sage/
>   626ms: http://www.mirrorservice.org/sites/www.sagemath.org/
> Fastest mirror: http://mirrors-usa.go-parts.com/sage/sagemath/
>
> http://mirrors-usa.go-parts.com/sage/sagemath/spkg/upstream/bzip2/bzip2-1.0.6.20140317.tar.gz
> [............................................................]
> bzip2-1.0.6.20140317
> ====================================================
> Setting up build directory for bzip2-1.0.6.20140317
> mv: cannot stat 'bzip2-1.0.6.20140317*': No such file or directory
> Finished set up
> ****************************************************
> Host system:
> Linux gump3 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) 
> x86_64 GNU/Linux
> ****************************************************
>
> ----------
> clang++ -E -x c++ - -v < /dev/null
> ----------
> Debian clang version 3.5.0-10 (tags/RELEASE_350/final) (based on LLVM 
> 3.5.0)
> Target: x86_64-pc-linux-gnu
> Thread model: posix
> Found candidate GCC installation: /usr/bin/../lib/gcc/i586-linux-gnu/4.9
> Found candidate GCC installation: /usr/bin/../lib/gcc/i586-linux-gnu/4.9.2
> Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8
> Found candidate GCC installation: 
> /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8.4
> Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9
> Found candidate GCC installation: 
> /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9.2
> Found candidate GCC installation: /usr/lib/gcc/i586-linux-gnu/4.9
> Found candidate GCC installation: /usr/lib/gcc/i586-linux-gnu/4.9.2
> Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8
> Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8.4
> Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9
> Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9.2
> Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9
> Candidate multilib: .;@m64
> Selected multilib: .;@m64
>  "/usr/lib/llvm-3.5/bin/clang" -cc1 -triple x86_64-pc-linux-gnu -E 
> -disable-free -disable-llvm-verifier -main-file-name - -mrelocation-model 
> static -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases 
> -munwind-tables -fuse-init-array -target-cpu x86-64 -target-linker-version 
> 2.25 -v -dwarf-column-info -resource-dir 
> /usr/lib/llvm-3.5/bin/../lib/clang/3.5.0 -internal-isystem 
> /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9 
> -internal-isystem 
> /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/x86_64-linux-gnu/c++/4.9
>  
> -internal-isystem 
> /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/x86_64-linux-gnu/c++/4.9
>  
> -internal-isystem 
> /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/backward 
> -internal-isystem /usr/include/clang/3.5.0/include/ -internal-isystem 
> /usr/local/include -internal-isystem 
> /usr/lib/llvm-3.5/bin/../lib/clang/3.5.0/include -internal-externc-isystem 
> /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/include -internal-externc-isystem 
> /usr/include/x86_64-linux-gnu -internal-externc-isystem /include 
> -internal-externc-isystem /usr/include -fdeprecated-macro 
> -fdebug-compilation-dir /home/raymond/sagemath/sage-6.7-x86_64-Linux 
> -ferror-limit 19 -fmessage-length 108 -mstackrealign -fobjc-runtime=gcc 
> -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics 
> -o - -x c++ -
> clang -cc1 version 3.5.0 based upon LLVM 3.5.0 default target 
> x86_64-pc-linux-gnu
> ignoring nonexistent directory "/include"
> ignoring duplicate directory 
> "/usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/x86_64-linux-gnu/c++/4.9"
> ignoring duplicate directory "/usr/include/clang/3.5.0/include"
> #include "..." search starts here:
> #include <...> search starts here:
>  /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9
>
>  
> /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/x86_64-linux-gnu/c++/4.9
>
>  /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/backward
>  /usr/include/clang/3.5.0/include
>  /usr/local/include
>  /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/include
>  /usr/include/x86_64-linux-gnu
>  /usr/include
> End of search list.
> # 1 "<stdin>"
> # 1 "<built-in>" 1
> # 1 "<built-in>" 3
> # 318 "<built-in>" 3
> # 1 "<command line>" 1
> # 1 "<built-in>" 2
> # 1 "<stdin>" 2
>
> --------
> sudo find / -name "bzip2-1.0.6.20140317*"
> --------
>
> /home/raymond/sagemath/sage-6.7-x86_64-Linux/upstream/bzip2-1.0.6.20140317.tar.gz
>
> /home/raymond/sagemath/sage-6.7-x86_64-Linux/logs/pkgs/bzip2-1.0.6.20140317.log
>
> /home/raymond/sagemath/sage-6.7-x86_64-Linux/local/var/tmp/sage/build/bzip2-1.0.6.20140317
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to