pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

math/blas on netbsd-7



On a bootstrapped netbsd-7 installation I cannot build math/blas which is needed for net/nmap

-- Check for working Fortran compiler: /usr/pkgsrc/math/blas/work/.cwrapper/bin/gfortran - broken CMake Error at /usr/pkg/share/cmake-3.19/Modules/CMakeTestFortranCompiler.cmake:51 (message):
  The Fortran compiler

    "/usr/pkgsrc/math/blas/work/.cwrapper/bin/gfortran"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /usr/pkgsrc/math/blas/work/lapack-3.9.0/build/CMakeFiles/CMakeTmp

    Run Build Command(s):/usr/pkg/bin/gmake cmTC_7f7f5/fast && make  -f CMakeFiles/cmTC_7f7f5.dir/build.make CMakeFiles/cmTC_7f7f5.dir/build
    Building Fortran object CMakeFiles/cmTC_7f7f5.dir/testFortranCompiler.f.o
    /usr/pkgsrc/math/blas/work/.cwrapper/bin/gfortran   -O -c /usr/pkgsrc/math/blas/work/lapack-3.9.0/build/CMakeFiles/CMakeTmp/testFortranCompiler.f -o CMakeFiles/cmTC_7f7f5.dir/testFortranCompiler.f.o
    Linking Fortran executable cmTC_7f7f5
    /usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7f7f5.dir/link.txt --verbose=1
    /usr/pkgsrc/math/blas/work/.cwrapper/bin/gfortran -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib  -O  CMakeFiles/cmTC_7f7f5.dir/testFortranCompiler.f.o -o cmTC_7f7f5
    /usr/pkg/gcc7/lib/gcc/x86_64--netbsd/7.5.0/../../../libgfortran.so: undefined reference to `__netf2@GCC_3.0'
    /usr/pkg/gcc7/lib/gcc/x86_64--netbsd/7.5.0/../../../libgfortran.so: undefined reference to `__floatsitf@GCC_3.0'
    /usr/pkg/gcc7/lib/gcc/x86_64--netbsd/7.5.0/../../../libgfortran.so: undefined reference to `__floatditf@GCC_3.0'
    /usr/pkg/gcc7/lib/gcc/x86_64--netbsd/7.5.0/../../../libgfortran.so: undefined reference to `__unordtf2@GCC_4.5.0'
    /usr/pkg/gcc7/lib/gcc/x86_64--netbsd/7.5.0/../../../libgfortran.so: undefined reference to `__multf3@GCC_3.0'
    /usr/pkg/gcc7/lib/gcc/x86_64--netbsd/7.5.0/../../../libgfortran.so: undefined reference to `__subtf3@GCC_3.0'
    /usr/pkg/gcc7/lib/gcc/x86_64--netbsd/7.5.0/../../../libgfortran.so: undefined reference to `__addtf3@GCC_3.0'
    /usr/pkg/gcc7/lib/gcc/x86_64--netbsd/7.5.0/../../../libgfortran.so: undefined reference to `__getf2@GCC_3.0'
    /usr/pkg/gcc7/lib/gcc/x86_64--netbsd/7.5.0/../../../libgfortran.so: undefined reference to `__gttf2@GCC_3.0'
    /usr/pkg/gcc7/lib/gcc/x86_64--netbsd/7.5.0/../../../libgfortran.so: undefined reference to `__letf2@GCC_3.0'
    /usr/pkg/gcc7/lib/gcc/x86_64--netbsd/7.5.0/../../../libgfortran.so: undefined reference to `__floatunditf@GCC_4.2.0'
    /usr/pkg/gcc7/lib/gcc/x86_64--netbsd/7.5.0/../../../libgfortran.so: undefined reference to `__divtf3@GCC_3.0'
    /usr/pkg/gcc7/lib/gcc/x86_64--netbsd/7.5.0/../../../libgfortran.so: undefined reference to `__eqtf2@GCC_3.0'
    /usr/pkg/gcc7/lib/gcc/x86_64--netbsd/7.5.0/../../../libgfortran.so: undefined reference to `__lttf2@GCC_3.0'
    collect2: error: ld returned 1 exit status
    *** Error code 1

    Stop.
    make[1]: stopped in /usr/pkgsrc/math/blas/work/lapack-3.9.0/build/CMakeFiles/CMakeTmp
    gmake: *** [Makefile:140: cmTC_7f7f5/fast] Error 1


--
Stephen



Home | Main Index | Thread Index | Old Index