prt-get: updating /usr/ports/local/lapack prt-get: starting build Sat Apr 7 12:37:15 2018 =======> WARNING: Signature file not found, falling back to old md5sum checking. =======> Building '/home/pkgmk/packages/lapack#3.8.0-1.pkg.tar.xz'. bsdtar -p -o -C /home/pkgmk/work/lapack/src -xf /home/pkgmk/distfiles/lapack-3.8.0.tar.gz + build + install -d build + cd build + 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 -- The Fortran compiler identification is GNU 7.3.0 -- The C compiler identification is GNU 7.3.0 -- Check for working Fortran compiler: /usr/bin/gfortran -- Check for working Fortran compiler: /usr/bin/gfortran -- works -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Checking whether /usr/bin/gfortran supports Fortran 90 -- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Looking for Python greater than 2.6 - -- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.14", minimum required is "2.7") -- Using Python version 2.7.14 -- Build tests: OFF -- Reducing RELEASE optimization level to O2 -- Looking for Fortran NONE - found -- Looking for Fortran INT_CPU_TIME - found -- Looking for Fortran EXT_ETIME - not found -- Looking for Fortran EXT_ETIME_ - not found -- Looking for Fortran INT_ETIME - found -- --> Will use second_INT_ETIME.f and dsecnd_INT_ETIME.f as timing function. -- Build deprecated routines: ON -- Build single precision real: ON -- Build double precision real: ON -- Build single precision complex: ON -- Build double precision complex: ON -- Looking for Fortran sgemm -- Looking for Fortran sgemm - not found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Could NOT find BLAS (missing: BLAS_LIBRARIES) -- Using supplied NETLIB BLAS implementation -- CBLAS enable -- Detecting Fortran/C Interface -- Detecting Fortran/C Interface - Found GLOBAL and MODULE mangling -- Verifying Fortran/C Compiler Compatibility -- Verifying Fortran/C Compiler Compatibility - Failed CMake Error at /usr/share/cmake/Modules/FortranCInterface.cmake:383 (message): The Fortran compiler: /usr/bin/gfortran and the C compiler: /usr/bin/cc failed to compile a simple test project using both languages. The output was: Change Dir: /home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC Run Build Command:"/usr/bin/make" "VerifyFortranC" /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 /usr/bin/make -f CMakeFiles/Makefile2 VerifyFortranC make[1]: Entering directory '/home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC' /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 /usr/bin/cmake -E cmake_progress_start /home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles 5 /usr/bin/make -f CMakeFiles/Makefile2 CMakeFiles/VerifyFortranC.dir/all make[2]: Entering directory '/home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC' /usr/bin/make -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/depend make[3]: Entering directory '/home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC' 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 Scanning dependencies of target VerifyFortran make[3]: Leaving directory '/home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC' /usr/bin/make -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/build make[3]: Entering directory '/home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC' [ 20%] Building Fortran object CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o /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 [ 40%] Linking Fortran static library libVerifyFortran.a /usr/bin/cmake -P CMakeFiles/VerifyFortran.dir/cmake_clean_target.cmake /usr/bin/cmake -E cmake_link_script CMakeFiles/VerifyFortran.dir/link.txt --verbose=1 /usr/bin/ar qc libVerifyFortran.a CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o /usr/bin/ranlib libVerifyFortran.a make[3]: Leaving directory '/home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC' [ 40%] Built target VerifyFortran /usr/bin/make -f CMakeFiles/VerifyFortranC.dir/build.make CMakeFiles/VerifyFortranC.dir/depend make[3]: Entering directory '/home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC' 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 Scanning dependencies of target VerifyFortranC make[3]: Leaving directory '/home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC' /usr/bin/make -f CMakeFiles/VerifyFortranC.dir/build.make CMakeFiles/VerifyFortranC.dir/build make[3]: Entering directory '/home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC' [ 60%] Building C object CMakeFiles/VerifyFortranC.dir/main.c.o /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 [ 80%] Building C object CMakeFiles/VerifyFortranC.dir/VerifyC.c.o /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 [100%] Linking C executable VerifyFortranC /usr/bin/cmake -E cmake_link_script CMakeFiles/VerifyFortranC.dir/link.txt --verbose=1 /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 /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 /usr/bin/ld: final link failed: Nonrepresentable section on output collect2: error: ld returned 1 exit status make[3]: *** [CMakeFiles/VerifyFortranC.dir/build.make:103: VerifyFortranC] Error 1 make[3]: Leaving directory '/home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC' make[2]: *** [CMakeFiles/Makefile2:108: CMakeFiles/VerifyFortranC.dir/all] Error 2 make[2]: Leaving directory '/home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC' make[1]: *** [CMakeFiles/Makefile2:120: CMakeFiles/VerifyFortranC.dir/rule] Error 2 make[1]: Leaving directory '/home/pkgmk/work/lapack/src/build/CMakeFiles/FortranCInterface/VerifyC' make: *** [Makefile:134: VerifyFortranC] Error 2 Call Stack (most recent call first): CBLAS/CMakeLists.txt:9 (FortranCInterface_VERIFY) -- Configuring incomplete, errors occurred! See also "/home/pkgmk/work/lapack/src/build/CMakeFiles/CMakeOutput.log". See also "/home/pkgmk/work/lapack/src/build/CMakeFiles/CMakeError.log". =======> ERROR: Building '/home/pkgmk/packages/lapack#3.8.0-1.pkg.tar.xz' failed.