spacepaste

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