This is a log
julia> using BinaryBuilder
[ Info: Precompiling BinaryBuilder [12aac903-9f7c-5d81-afc2-d9565ea332ae]
julia> BinaryBuilder.run_wizard()
o `.
o*o \'-_ 00000000: 01111111 .
\\ \;"". ,;.--* 00000001: 01000101 E
\\ ,\''--.--'/ 00000002: 01001100 L
:=\--<' `"" _ | 00000003: 01000110 F
||\\ `" / ''-- 00000004: 00000010 .
`/_\\,-| | 00000005: 00000001 .
\\/ L
\\ ,' \
_/ L' ` \ Join us in the #binarybuilder channel on the
/ / / / community slack: https://julialang.slack.com
/ / | \
"_''--_-''---__=; https://github.com/JuliaPackaging/BinaryBuilder.jl
Welcome to the BinaryBuilder wizard. We'll get you set up in no time.
# Step 1: Select your platforms
Make a platform selection
> All Supported Platforms
Select by Operating System
Fully Custom Platform Choice
# Step 2a: Obtain the source code
Please enter a URL (git repository or compressed archive) containing the source code to build:
> https://github.com/issp-center-dev/HPhi.git
Cloning: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| Time: 0:00:24
Cloning: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| Time: 0:00:24
Resolving Deltas: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████| Time: 0:00:27
You have selected a git repository. Please enter a branch, commit or tag to use.
Please note that for reproducibility, the exact commit will be recorded,
so updates to the remote resource will not be used automatically;
you will have to manually update the recorded commit.
> master
Recorded as 5e8b9d11216eb6716bd2dc151ffb39bfe2f15d67
Would you like to download additional sources? [y/N]: n
# Step 2b: Obtain binary dependencies (if any)
Do you require any (binary) dependencies? [y/N]: y
Enter JLL package name:
> OpenBLAS_jll
Would you like to provide additional dependencies? [y/N]: n
[ Info: Updating bare Yggdrasil clone in deps/Yggdrasil...
Enter a name for this project. This will be used for filenames:
> HPhi
Enter a version number for this project:
> 0.1.0
Do you want to customize the set of compilers? [y/N]: n
# Step 3: Build for Linux(:x86_64, libc=:glibc)
You will now be dropped into the cross-compilation environment.
Please compile the package. Your initial compilation target is x86_64-linux-gnu
The $prefix environment variable contains the target directory.
Once you are done, exit by typing `exit` or `^D`
You have the following contents in your working directory:
- HPhi
Hints:
- HPhi/CMakeLists.txt
This file is likely input to CMake. The recommended options for CMake are
cmake -DCMAKE_INSTALL_PREFIX=$prefix -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TARGET_TOOLCHAIN} -DCMAKE_BUILD_TYPE=Release
followed by `make` and `make install`. Since the prefix environment
variable is set already, this will automatically perform the installation
into the correct directory.
mount: mounting overlay on /workspace/srcdir failed: Invalid argument
sandbox:${WORKSPACE}/srcdir # ls /workspace/destdir/lib/
cmake libgfortran.so.3.0.0 libmudflapth.so.0 libquadmath.so.0 libtsan.so.0
libasan.so.0 libgomp.so.1 libmudflapth.so.0.0.0 libquadmath.so.0.0.0 libtsan.so.0.0.0
libasan.so.0.0.0 libgomp.so.1.0.0 libobjc.so.4 libssp.so.0 pkgconfig
libatomic.so.1 libitm.so.1 libobjc.so.4.0.0 libssp.so.0.0.0
libatomic.so.1.0.0 libitm.so.1.0.0 libopenblas64_.0.3.10.so libstdc++.so.6
libgcc_s.so.1 libmudflap.so.0 libopenblas64_.so libstdc++.so.6.0.19
libgfortran.so.3 libmudflap.so.0.0.0 libopenblas64_.so.0 libstdc++.so.6.0.26
sandbox:${WORKSPACE}/srcdir # mkdir HPhi.build
sandbox:${WORKSPACE}/srcdir # cd HPhi.build/
sandbox:${WORKSPACE}/srcdir/HPhi.build # cmake -DBLAS_LIBRARIES=/workspace/destdir/lib -DLAPACK_LIBRARIES=/workspace/destdir/lib -DCMAKE_INSTALL_PREFIX=$prefix -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TARGET_TOOLCHAIN} -DCMAKE_BUILD_TYPE=Release ../HPhi
Re-run cmake no build system arguments
-- Build type: Release
-- The C compiler identification is GNU 4.8.5
-- The Fortran compiler identification is GNU 4.8.5
-- Check for working C compiler: /opt/bin/x86_64-linux-gnu-gcc
-- Check for working C compiler: /opt/bin/x86_64-linux-gnu-gcc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working Fortran compiler: /opt/bin/x86_64-linux-gnu-gfortran
-- Check for working Fortran compiler: /opt/bin/x86_64-linux-gnu-gfortran - works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /opt/bin/x86_64-linux-gnu-gfortran supports Fortran 90
-- Checking whether /opt/bin/x86_64-linux-gnu-gfortran supports Fortran 90 - yes
-- Submodule update
-- Found OpenMP_C: -fopenmp (found version "3.1")
-- Found OpenMP_Fortran: -fopenmp (found version "3.1")
-- Found OpenMP: TRUE (found version "3.1")
-- Could NOT find MPI_C (missing: MPI_C_LIB_NAMES MPI_C_HEADER_DIR MPI_C_WORKS)
-- Could NOT find MPI_Fortran (missing: MPI_Fortran_LIB_NAMES MPI_Fortran_F77_HEADER_DIR MPI_Fortran_MODULE_DIR MPI_Fortran_WORKS)
-- Could NOT find MPI (missing: MPI_C_FOUND MPI_Fortran_FOUND)
Reason given by package: MPI component 'CXX' was requested, but language CXX is not enabled.
-- Found BLAS: /workspace/destdir/lib
-- A library with LAPACK API found.
-- Configuring done
WARNING: Target "HPhi" requests linking to directory "/workspace/destdir/lib". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "komega" requests linking to directory "/workspace/destdir/lib". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "greenr2k" requests linking to directory "/workspace/destdir/lib". Targets may link only to libraries. CMake is dropping the item.
-- Generating done
-- Build files have been written to: /workspace/srcdir/HPhi.build
after that
[ 90%] Building C object src/CMakeFiles/HPhi.dir/StdFace/submodule/src/Wannier90.c.o
cd /workspace/srcdir/HPhi.build/src && /opt/bin/x86_64-linux-gnu-gcc --sysroot=/opt/x86_64-linux-gnu/x86_64-linux-gnu/sys-root/ -DDSFMT_MEXP=19937 -D_HPhi -D_lapack -I/workspace/srcdir/HPhi/src/include -I/workspace/srcdir/HPhi/src/StdFace/submodule -fopenmp -O3 -DNDEBUG -o CMakeFiles/HPhi.dir/StdFace/submodule/src/Wannier90.c.o -c /workspace/srcdir/HPhi/src/StdFace/submodule/src/Wannier90.c
[ 92%] Building C object src/CMakeFiles/HPhi.dir/common/setmemory.c.o
cd /workspace/srcdir/HPhi.build/src && /opt/bin/x86_64-linux-gnu-gcc --sysroot=/opt/x86_64-linux-gnu/x86_64-linux-gnu/sys-root/ -DDSFMT_MEXP=19937 -D_HPhi -D_lapack -I/workspace/srcdir/HPhi/src/include -I/workspace/srcdir/HPhi/src/StdFace/submodule -fopenmp -O3 -DNDEBUG -o CMakeFiles/HPhi.dir/common/setmemory.c.o -c /workspace/srcdir/HPhi/src/common/setmemory.c
[ 93%] Linking C executable HPhi
cd /workspace/srcdir/HPhi.build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/HPhi.dir/link.txt --verbose=false
CMakeFiles/HPhi.dir/CalcByLOBPCG.c.o: In function `LOBPCG_Main':
CalcByLOBPCG.c:(.text+0x1bea): undefined reference to `zheevd_'
CalcByLOBPCG.c:(.text+0x1dc5): undefined reference to `zgemm_'
CalcByLOBPCG.c:(.text+0x1e1f): undefined reference to `zgemm_'
CalcByLOBPCG.c:(.text+0x1e98): undefined reference to `zheevd_'
CalcByLOBPCG.c:(.text+0x1ef2): undefined reference to `zgemm_'
CMakeFiles/HPhi.dir/CalcSpectrumByFullDiag.c.o: In function `CalcSpectrumByFullDiag':
CalcSpectrumByFullDiag.c:(.text+0x52): undefined reference to `zcopy_'
CMakeFiles/HPhi.dir/matrixlapack.c.o: In function `DSEVvalue':
matrixlapack.c:(.text+0x141): undefined reference to `dsyev_'
matrixlapack.c:(.text+0x1d9): undefined reference to `dsyev_'
CMakeFiles/HPhi.dir/matrixlapack.c.o: In function `DInv':
matrixlapack.c:(.text+0x2e7): undefined reference to `dgetrf_'
matrixlapack.c:(.text+0x30d): undefined reference to `dgetri_'
CMakeFiles/HPhi.dir/matrixlapack.c.o: In function `DSEVvector':
matrixlapack.c:(.text+0x490): undefined reference to `dsyev_'
matrixlapack.c:(.text+0x533): undefined reference to `dsyev_'
CMakeFiles/HPhi.dir/matrixlapack.c.o: In function `DSEVXU':
matrixlapack.c:(.text+0x663): undefined reference to `dlamch_'
matrixlapack.c:(.text+0x7ea): undefined reference to `dsyevx_'
CMakeFiles/HPhi.dir/matrixlapack.c.o: In function `ZHEEVall':
matrixlapack.c:(.text+0xa30): undefined reference to `zheev_'
matrixlapack.c:(.text+0xb4a): undefined reference to `zheev_'
komega/libkomega.so: undefined reference to `zscal_'
komega/libkomega.so: undefined reference to `ddot_'
komega/libkomega.so: undefined reference to `zaxpy_'
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/HPhi.dir/build.make:1245: src/HPhi] Error 1
make[2]: Leaving directory '/workspace/srcdir/HPhi.build'
make[1]: *** [CMakeFiles/Makefile2:180: src/CMakeFiles/HPhi.dir/all] Error 2
make[1]: Leaving directory '/workspace/srcdir/HPhi.build'
make: *** [Makefile:161: all] Error 2