Installing the brian optional package via "sage -i brian" seems broken in Sage-6.4:
sage: !sage -i brian Found package brian in /usr/local/sage/sage-6.4/upstream/brian-1.4.1.p0.spkg brian-1.4.1.p0 ==================================================== Extracting package /usr/local/sage/sage-6.4/upstream/brian-1.4.1.p0.spkg -rw-r--r-- 1 salvus salvus 552889 Nov 15 02:11 /usr/local/sage/sage-6.4/upstream/brian-1.4.1.p0.spkg Finished extraction **************************************************** Host system: Linux salvus-base 3.13.0-39-generic #66-Ubuntu SMP Tue Oct 28 13:30:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux **************************************************** C compiler: gcc C compiler version: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-in clude-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd 64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-t une=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) **************************************************** (Stripping trailing CRs from patch; use --binary to disable.) patching file brian/units.py Hunk #1 FAILED at 11173 (different line endings). 1 out of 1 hunk FAILED -- saving rejects to file brian/units.py.rej Error applying '../patches/units.py.patch'. real 0m0.018s user 0m0.000s sys 0m0.014s ************************************************************************ Error installing package brian-1.4.1.p0 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the relevant part of the log file /usr/local/sage/sage-6.4/logs/pkgs/brian-1.4.1.p0.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /usr/local/sage/sage-6.4/local/var/tmp/sage/build/brian-1.4.1.p0 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 '/usr/local/sage/sage-6.4/local/var/tmp/sage/build/brian-1.4.1.p0' && '/usr/local/sage/sage-6.4/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************ -- William Stein Professor of Mathematics University of Washington http://wstein.org -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
