On my computer, 7.4.beta6 doesn't seem to compile openblas successfully 
either.  After make distclean and make I get an error (log attached).

real 135m22.614s
user 407m51.656s
sys 21m22.276s
***************************************************************
Error building Sage.

The following package(s) may have failed to build (not necessarily
during this run of 'make all'):

* package: openblas-0.2.15
  log file: /home/martin/sage-develop/logs/pkgs/openblas-0.2.15.log
  build directory: 
/home/martin/sage-develop/local/var/tmp/sage/build/openblas-0.2.15


-- 
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 https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.
Found local metadata for openblas-0.2.15
Using cached file /home/martin/sage-develop/upstream/OpenBLAS-0.2.15.tar.gz
openblas-0.2.15
====================================================
Setting up build directory for openblas-0.2.15
Finished extraction
****************************************************
Host system:
Linux Martin-Laptop 4.1.0-040100rc1-generic #201504270235 SMP Mon Apr 27 
02:36:47 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/home/martin/sage-develop/local/libexec/gcc/x86_64-unknown-linux-gnu/4.9.3/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../src/configure --prefix=/home/martin/sage-develop/local 
--with-local-prefix=/home/martin/sage-develop/local 
--with-gmp=/home/martin/sage-develop/local 
--with-mpfr=/home/martin/sage-develop/local 
--with-mpc=/home/martin/sage-develop/local --with-system-zlib 
--disable-multilib --disable-nls --enable-languages=c,c++,fortran 
--disable-libitm  
Thread model: posix
gcc version 4.9.3 (GCC) 
****************************************************
patching file c_check
Building OpenBLAS: make 
make[3]: Entering directory 
'/home/martin/sage-develop/local/var/tmp/sage/build/openblas-0.2.15/src'
getarch_2nd.c: In function 'main':
getarch_2nd.c:12:35: error: 'SGEMM_DEFAULT_UNROLL_M' undeclared (first use in 
this function)
     printf("SGEMM_UNROLL_M=%d\n", SGEMM_DEFAULT_UNROLL_M);
                                   ^
getarch_2nd.c:12:35: note: each undeclared identifier is reported only once for 
each function it appears in
getarch_2nd.c:13:35: error: 'SGEMM_DEFAULT_UNROLL_N' undeclared (first use in 
this function)
     printf("SGEMM_UNROLL_N=%d\n", SGEMM_DEFAULT_UNROLL_N);
                                   ^
getarch_2nd.c:14:35: error: 'DGEMM_DEFAULT_UNROLL_M' undeclared (first use in 
this function)
     printf("DGEMM_UNROLL_M=%d\n", DGEMM_DEFAULT_UNROLL_M);
                                   ^
getarch_2nd.c:15:35: error: 'DGEMM_DEFAULT_UNROLL_N' undeclared (first use in 
this function)
     printf("DGEMM_UNROLL_N=%d\n", DGEMM_DEFAULT_UNROLL_N);
                                   ^
getarch_2nd.c:19:35: error: 'CGEMM_DEFAULT_UNROLL_M' undeclared (first use in 
this function)
     printf("CGEMM_UNROLL_M=%d\n", CGEMM_DEFAULT_UNROLL_M);
                                   ^
getarch_2nd.c:20:35: error: 'CGEMM_DEFAULT_UNROLL_N' undeclared (first use in 
this function)
     printf("CGEMM_UNROLL_N=%d\n", CGEMM_DEFAULT_UNROLL_N);
                                   ^
getarch_2nd.c:21:35: error: 'ZGEMM_DEFAULT_UNROLL_M' undeclared (first use in 
this function)
     printf("ZGEMM_UNROLL_M=%d\n", ZGEMM_DEFAULT_UNROLL_M);
                                   ^
getarch_2nd.c:22:35: error: 'ZGEMM_DEFAULT_UNROLL_N' undeclared (first use in 
this function)
     printf("ZGEMM_UNROLL_N=%d\n", ZGEMM_DEFAULT_UNROLL_N);
                                   ^
getarch_2nd.c:67:50: error: 'SGEMM_DEFAULT_Q' undeclared (first use in this 
function)
     printf("#define SLOCAL_BUFFER_SIZE\t%ld\n", (SGEMM_DEFAULT_Q * 
SGEMM_DEFAULT_UNROLL_N * 4 * 1 *  sizeof(float)));
                                                  ^
getarch_2nd.c:68:50: error: 'DGEMM_DEFAULT_Q' undeclared (first use in this 
function)
     printf("#define DLOCAL_BUFFER_SIZE\t%ld\n", (DGEMM_DEFAULT_Q * 
DGEMM_DEFAULT_UNROLL_N * 2 * 1 *  sizeof(double)));
                                                  ^
getarch_2nd.c:69:50: error: 'CGEMM_DEFAULT_Q' undeclared (first use in this 
function)
     printf("#define CLOCAL_BUFFER_SIZE\t%ld\n", (CGEMM_DEFAULT_Q * 
CGEMM_DEFAULT_UNROLL_N * 4 * 2 *  sizeof(float)));
                                                  ^
getarch_2nd.c:70:50: error: 'ZGEMM_DEFAULT_Q' undeclared (first use in this 
function)
     printf("#define ZLOCAL_BUFFER_SIZE\t%ld\n", (ZGEMM_DEFAULT_Q * 
ZGEMM_DEFAULT_UNROLL_N * 2 * 2 *  sizeof(double)));
                                                  ^
make[3]: *** [getarch_2nd] Error 1
Makefile:133: *** OpenBLAS: Detecting CPU failed. Please set TARGET explicitly, 
e.g. make TARGET=your_cpu_target. Please read README for the detail..  Stop.
make[3]: Leaving directory 
'/home/martin/sage-develop/local/var/tmp/sage/build/openblas-0.2.15/src'
Error building OpenBLAS

real    0m1.671s
user    0m0.592s
sys     0m0.152s
************************************************************************
Error installing package openblas-0.2.15
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
  /home/martin/sage-develop/logs/pkgs/openblas-0.2.15.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/martin/sage-develop/local/var/tmp/sage/build/openblas-0.2.15 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/martin/sage-develop/local/var/tmp/sage/build/openblas-0.2.15' && 
'/home/martin/sage-develop/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************

Reply via email to