Advertisement
Guest User

failing liblapack build

a guest
May 27th, 2015
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.97 KB | None | 0 0
  1. $ nix-build '<nixpkgs>' -A liblapack
  2. these derivations will be built:
  3. /nix/store/4kzibfx3c646h403xn0qxymm0qr0ic7r-liblapack-3.4.1.drv
  4. building path(s) ‘/nix/store/l73pwinpjxmf0b8s032czr0n1yair4d6-liblapack-3.4.1’
  5. unpacking sources
  6. unpacking source archive /nix/store/yvlz7fgsbln0xiyxrfhy70xgz1cbl3mi-lapack-3.4.1.tgz
  7. source root is lapack-3.4.1
  8. patching sources
  9. configuring
  10. fixing cmake files...
  11. cmake flags: -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DCMAKE_INSTALL_NAME_DIR=/nix/store/l73pwinpjxmf0b8s032czr0n1yair4d6-liblapack-3.4.1/lib -DCMAKE_INSTALL_PREFIX=/nix/store/l73pwinpjxmf0b8s032czr0n1yair4d6-liblapack-3.4.1 -DUSE_OPTIMIZED_BLAS=ON -DBLAS_ATLAS_f77blas_LIBRARY=/nix/store/n136yqcxcskhmxq8kxdc25q227wmiing-atlas-3.10.2/lib/libf77blas.a -DBLAS_ATLAS_atlas_LIBRARY=/nix/store/n136yqcxcskhmxq8kxdc25q227wmiing-atlas-3.10.2/lib/libatlas.a -DCMAKE_Fortran_FLAGS=-fPIC
  12. -- The Fortran compiler identification is GNU
  13. -- Checking whether Fortran compiler has -isysroot
  14. -- Checking whether Fortran compiler has -isysroot - yes
  15. -- Checking whether Fortran compiler supports OSX deployment target flag
  16. -- Checking whether Fortran compiler supports OSX deployment target flag - yes
  17. -- Check for working Fortran compiler: /nix/store/02cxmcw530v0racgbsmnf35x975iczn5-gfortran-5.1.0/bin/gfortran
  18. -- Check for working Fortran compiler: /nix/store/02cxmcw530v0racgbsmnf35x975iczn5-gfortran-5.1.0/bin/gfortran -- broken
  19. CMake Error at /nix/store/8g2v9cnv0fnlav84jrkkf4zyxym60m2p-cmake-3.2.2/share/cmake-3.2/Modules/CMakeTestFortranCompiler.cmake:54 (message):
  20. The Fortran compiler
  21. "/nix/store/02cxmcw530v0racgbsmnf35x975iczn5-gfortran-5.1.0/bin/gfortran"
  22. is not able to compile a simple test program.
  23.  
  24. It fails with the following output:
  25.  
  26. Change Dir: /private/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/nix-build-liblapack-3.4.1.drv-0/lapack-3.4.1/build/CMakeFiles/CMakeTmp
  27.  
  28.  
  29.  
  30. Run Build
  31. Command:"/nix/store/ks46jqh8qf2x60gm0vzvbqcm06kv9p38-gnumake-4.1/bin/make"
  32. "cmTryCompileExec3048645405/fast"
  33.  
  34. /nix/store/ks46jqh8qf2x60gm0vzvbqcm06kv9p38-gnumake-4.1/bin/make -f
  35. CMakeFiles/cmTryCompileExec3048645405.dir/build.make
  36. CMakeFiles/cmTryCompileExec3048645405.dir/build
  37.  
  38. make[1]: Entering directory
  39. '/private/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/nix-build-liblapack-3.4.1.drv-0/lapack-3.4.1/build/CMakeFiles/CMakeTmp'
  40.  
  41.  
  42. /nix/store/8g2v9cnv0fnlav84jrkkf4zyxym60m2p-cmake-3.2.2/bin/cmake -E
  43. cmake_progress_report
  44. /private/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/nix-build-liblapack-3.4.1.drv-0/lapack-3.4.1/build/CMakeFiles/CMakeTmp/CMakeFiles
  45. 1
  46.  
  47. Building Fortran object
  48. CMakeFiles/cmTryCompileExec3048645405.dir/testFortranCompiler.f.o
  49.  
  50.  
  51. /nix/store/02cxmcw530v0racgbsmnf35x975iczn5-gfortran-5.1.0/bin/gfortran
  52. -fPIC -arch x86_64 -isysroot
  53. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk
  54. -c
  55. /private/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/nix-build-liblapack-3.4.1.drv-0/lapack-3.4.1/build/CMakeFiles/CMakeTmp/testFortranCompiler.f
  56. -o CMakeFiles/cmTryCompileExec3048645405.dir/testFortranCompiler.f.o
  57.  
  58. Linking Fortran executable cmTryCompileExec3048645405
  59.  
  60. /nix/store/8g2v9cnv0fnlav84jrkkf4zyxym60m2p-cmake-3.2.2/bin/cmake -E
  61. cmake_link_script CMakeFiles/cmTryCompileExec3048645405.dir/link.txt
  62. --verbose=1
  63.  
  64.  
  65. /nix/store/02cxmcw530v0racgbsmnf35x975iczn5-gfortran-5.1.0/bin/gfortran
  66. -fPIC -arch x86_64 -isysroot
  67. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk
  68. CMakeFiles/cmTryCompileExec3048645405.dir/testFortranCompiler.f.o -o
  69. cmTryCompileExec3048645405
  70.  
  71. impure path
  72. `/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk'
  73. used in link
  74.  
  75. collect2: error: ld returned 1 exit status
  76.  
  77. CMakeFiles/cmTryCompileExec3048645405.dir/build.make:88: recipe for target
  78. 'cmTryCompileExec3048645405' failed
  79.  
  80. make[1]: *** [cmTryCompileExec3048645405] Error 1
  81.  
  82. make[1]: Leaving directory
  83. '/private/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/nix-build-liblapack-3.4.1.drv-0/lapack-3.4.1/build/CMakeFiles/CMakeTmp'
  84.  
  85.  
  86. Makefile:117: recipe for target 'cmTryCompileExec3048645405/fast' failed
  87.  
  88. make: *** [cmTryCompileExec3048645405/fast] Error 2
  89.  
  90.  
  91.  
  92.  
  93.  
  94. CMake will not be able to correctly generate this project.
  95. Call Stack (most recent call first):
  96. CMakeLists.txt:2 (project)
  97.  
  98.  
  99. -- Configuring incomplete, errors occurred!
  100. See also "/private/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/nix-build-liblapack-3.4.1.drv-0/lapack-3.4.1/build/CMakeFiles/CMakeOutput.log".
  101. See also "/private/var/folders/wr/g_dl81tn5_x0t_yz3jw602cr0000gn/T/nix-build-liblapack-3.4.1.drv-0/lapack-3.4.1/build/CMakeFiles/CMakeError.log".
  102. builder for ‘/nix/store/4kzibfx3c646h403xn0qxymm0qr0ic7r-liblapack-3.4.1.drv’ failed with exit code 1
  103. error: build of ‘/nix/store/4kzibfx3c646h403xn0qxymm0qr0ic7r-liblapack-3.4.1.drv’ failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement