spacepaste

  1.  
  2. prt-get: updating /usr/ports/romster/lapack
  3. prt-get: starting build Fri Apr 6 17:05:09 2018
  4. =======> Building '/home/pkgmk/packages/lapack#3.7.1-1.pkg.tar.xz'.
  5. bsdtar -p -o -C /home/pkgmk/work/lapack/src -xf /home/pkgmk/distfiles/lapack-3.7.1.tgz
  6. + build
  7. + install -d build
  8. + cd build
  9. + cmake ../lapack-3.7.1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_RPATH=ON -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DUSE_OPTIMIZED_BLAS=ON -DCMAKE_Fortran_COMPILER=gfortran -DLAPACKE=ON -DCBLAS=ON -DBUILD_DEPRECATED=ON -Wno-dev
  10. -- The Fortran compiler identification is GNU 7.3.0
  11. -- The C compiler identification is GNU 7.3.0
  12. -- Check for working Fortran compiler: /usr/bin/gfortran
  13. -- Check for working Fortran compiler: /usr/bin/gfortran -- works
  14. -- Detecting Fortran compiler ABI info
  15. -- Detecting Fortran compiler ABI info - done
  16. -- Checking whether /usr/bin/gfortran supports Fortran 90
  17. -- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes
  18. -- Check for working C compiler: /usr/bin/cc
  19. -- Check for working C compiler: /usr/bin/cc -- works
  20. -- Detecting C compiler ABI info
  21. -- Detecting C compiler ABI info - done
  22. -- Detecting C compile features
  23. -- Detecting C compile features - done
  24. -- Looking for Python greater than 2.6 -
  25. -- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.14", minimum required is "2.7")
  26. -- Using Python version 2.7.14
  27. -- Reducing RELEASE optimization level to O2
  28. -- Looking for Fortran NONE - found
  29. -- Looking for Fortran INT_CPU_TIME - found
  30. -- Looking for Fortran EXT_ETIME - not found
  31. -- Looking for Fortran EXT_ETIME_ - not found
  32. -- Looking for Fortran INT_ETIME - found
  33. -- --> Will use second_INT_ETIME.f and dsecnd_INT_ETIME.f as timing function.
  34. -- Build tests: OFF
  35. -- Build deprecated routines: ON
  36. -- Build single precision real: ON
  37. -- Build double precision real: ON
  38. -- Build single precision complex: ON
  39. -- Build double precision complex: ON
  40. -- Looking for Fortran sgemm
  41. -- Looking for Fortran sgemm - not found
  42. -- Looking for pthread.h
  43. -- Looking for pthread.h - found
  44. -- Looking for pthread_create
  45. -- Looking for pthread_create - not found
  46. -- Looking for pthread_create in pthreads
  47. -- Looking for pthread_create in pthreads - not found
  48. -- Looking for pthread_create in pthread
  49. -- Looking for pthread_create in pthread - found
  50. -- Found Threads: TRUE
  51. -- Could NOT find BLAS (missing: BLAS_LIBRARIES)
  52. -- Using supplied NETLIB BLAS implementation
  53. -- CBLAS enable
  54. -- Detecting Fortran/C Interface
  55. -- Detecting Fortran/C Interface - Found GLOBAL and MODULE mangling
  56. -- Verifying Fortran/C Compiler Compatibility
  57. -- Verifying Fortran/C Compiler Compatibility - Failed
  58. CMake Error at /usr/share/cmake/Modules/FortranCInterface.cmake:383 (message):
  59. The Fortran compiler:
  60. /usr/bin/gfortran
  61. and the C compiler:
  62. /usr/bin/cc
  63. failed to compile a simple test project using both languages. The output
  64. was:
  65. Change Dir: /home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC
  66. Run Build Command:"/usr/bin/make" "VerifyFortranC"
  67. /usr/bin/cmake -H/usr/share/cmake/Modules/FortranCInterface/Verify -B/home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC --check-build-system CMakeFiles/Makefile.cmake 0
  68. /usr/bin/make -f CMakeFiles/Makefile2 VerifyFortranC
  69. make[1]: Entering directory '/home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC'
  70. /usr/bin/cmake -H/usr/share/cmake/Modules/FortranCInterface/Verify -B/home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC --check-build-system CMakeFiles/Makefile.cmake 0
  71. /usr/bin/cmake -E cmake_progress_start /home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles 5
  72. /usr/bin/make -f CMakeFiles/Makefile2 CMakeFiles/VerifyFortranC.dir/all
  73. make[2]: Entering directory '/home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC'
  74. /usr/bin/make -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/depend
  75. make[3]: Entering directory '/home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC'
  76. cd /home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/share/cmake/Modules/FortranCInterface/Verify /usr/share/cmake/Modules/FortranCInterface/Verify /home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC /home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC /home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles/VerifyFortran.dir/DependInfo.cmake
  77. Scanning dependencies of target VerifyFortran
  78. make[3]: Leaving directory '/home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC'
  79. /usr/bin/make -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/build
  80. make[3]: Entering directory '/home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC'
  81. [ 20%] Building Fortran object CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o
  82. /usr/bin/gfortran -I/home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC -O2 -DNDEBUG -O2 -c /usr/share/cmake/Modules/FortranCInterface/Verify/VerifyFortran.f -o CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o
  83. [ 40%] Linking Fortran static library libVerifyFortran.a
  84. /usr/bin/cmake -P CMakeFiles/VerifyFortran.dir/cmake_clean_target.cmake
  85. /usr/bin/cmake -E cmake_link_script CMakeFiles/VerifyFortran.dir/link.txt --verbose=1
  86. /usr/bin/ar qc libVerifyFortran.a CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o
  87. /usr/bin/ranlib libVerifyFortran.a
  88. make[3]: Leaving directory '/home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC'
  89. [ 40%] Built target VerifyFortran
  90. /usr/bin/make -f CMakeFiles/VerifyFortranC.dir/build.make CMakeFiles/VerifyFortranC.dir/depend
  91. make[3]: Entering directory '/home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC'
  92. cd /home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/share/cmake/Modules/FortranCInterface/Verify /usr/share/cmake/Modules/FortranCInterface/Verify /home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC /home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC /home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles/VerifyFortranC.dir/DependInfo.cmake
  93. Scanning dependencies of target VerifyFortranC
  94. make[3]: Leaving directory '/home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC'
  95. /usr/bin/make -f CMakeFiles/VerifyFortranC.dir/build.make CMakeFiles/VerifyFortranC.dir/build
  96. make[3]: Entering directory '/home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC'
  97. [ 60%] Building C object CMakeFiles/VerifyFortranC.dir/main.c.o
  98. /usr/bin/cc -I/home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC -O2 -march=x86-64 -pipe -O3 -DNDEBUG -o CMakeFiles/VerifyFortranC.dir/main.c.o -c /usr/share/cmake/Modules/FortranCInterface/Verify/main.c
  99. [ 80%] Building C object CMakeFiles/VerifyFortranC.dir/VerifyC.c.o
  100. /usr/bin/cc -I/home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC -O2 -march=x86-64 -pipe -O3 -DNDEBUG -o CMakeFiles/VerifyFortranC.dir/VerifyC.c.o -c /usr/share/cmake/Modules/FortranCInterface/Verify/VerifyC.c
  101. [100%] Linking C executable VerifyFortranC
  102. /usr/bin/cmake -E cmake_link_script CMakeFiles/VerifyFortranC.dir/link.txt --verbose=1
  103. /usr/bin/cc -O2 -march=x86-64 -pipe -O3 -DNDEBUG CMakeFiles/VerifyFortranC.dir/main.c.o CMakeFiles/VerifyFortranC.dir/VerifyC.c.o -o VerifyFortranC libVerifyFortran.a -lgfortran -lm -lquadmath -lm
  104. /usr/bin/ld: libVerifyFortran.a(VerifyFortran.f.o): relocation R_X86_64_32S against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
  105. /usr/bin/ld: final link failed: Nonrepresentable section on output
  106. collect2: error: ld returned 1 exit status
  107. make[3]: *** [CMakeFiles/VerifyFortranC.dir/build.make:103: VerifyFortranC] Error 1
  108. make[3]: Leaving directory '/home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC'
  109. make[2]: *** [CMakeFiles/Makefile2:108: CMakeFiles/VerifyFortranC.dir/all] Error 2
  110. make[2]: Leaving directory '/home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC'
  111. make[1]: *** [CMakeFiles/Makefile2:120: CMakeFiles/VerifyFortranC.dir/rule] Error 2
  112. make[1]: Leaving directory '/home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC'
  113. make: *** [Makefile:134: VerifyFortranC] Error 2
  114. Call Stack (most recent call first):
  115. CBLAS/CMakeLists.txt:9 (FortranCInterface_VERIFY)
  116. -- Configuring incomplete, errors occurred!
  117. See also "/home/pkgmk/work/lapack/src/build/CMakeFiles/CMakeOutput.log".
  118. See also "/home/pkgmk/work/lapack/src/build/CMakeFiles/CMakeError.log".
  119. =======> ERROR: Building '/home/pkgmk/packages/lapack#3.7.1-1.pkg.tar.xz' failed.
  120.