pkgsrc-Bugs archive

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

pkg/55772: pkgsrc/math/blas fails to compile on earmv7hf



	Note: There was a bad value `' for the field `Class'.
	It was set to the default value of `sw-bug'.

>Number:         55772
>Category:       pkg
>Synopsis:       pkgsrc/math/blas fails to compile on earmv7hf
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 01 16:10:00 +0000 2020
>Originator:     John Klos
>Release:        NetBSD 9.1_STABLE
>Organization:
	
>Environment:
	
	
System: NetBSD anath.zia.io 9.1_STABLE NetBSD 9.1_STABLE (ANATH) #0: Sun Nov 1 01:34:48 UTC 2020 john%anath.zia.io@localhost:/usr/obj-evbarm/sys/arch/evbarm/compile/ANATH evbarm
Architecture: earmv7hf
Machine: evbarm
>Description:
	
pkgsrc/math/blas, which now requires gcc 7.5.0 from pkgsrc, doesn't compile on earmv7hf:

=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
-- The Fortran compiler identification is GNU 7.5.0
-- The C compiler identification is GNU 7.5.0
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - failed
-- Check for working Fortran compiler: /usr/pkgsrc/math/blas/work/.cwrapper/bin/gfortran
-- Check for working Fortran compiler: /usr/pkgsrc/math/blas/work/.cwrapper/bin/gfortran - broken
CMake Error at /usr/local/share/cmake-3.18/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/local/bin/gmake cmTC_77106/fast && make  -f CMakeFiles/cmTC_77106.dir/build.make CMakeFiles/cmTC_77106.dir/build
    Building Fortran object CMakeFiles/cmTC_77106.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_77106.dir/testFortranCompiler.f.o
    Linking Fortran executable cmTC_77106
    /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_77106.dir/link.txt --verbose=1
    /usr/pkgsrc/math/blas/work/.cwrapper/bin/gfortran -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/lib -Wl,-R/usr/lib  -O  CMakeFiles/cmTC_77106.dir/testFortranCompiler.f.o -o cmTC_77106 
    /usr/bin/ld: /usr/local/gcc7/lib/gcc/armv7--netbsdelf-eabihf/7.5.0/../../../libgfortran.so: warning: warning: reference to compatibility cabsf()
    /usr/bin/ld: /usr/local/gcc7/lib/gcc/armv7--netbsdelf-eabihf/7.5.0/../../../libgfortran.so: warning: warning: reference to compatibility cabs()
    /usr/bin/ld: /usr/local/gcc7/lib/gcc/armv7--netbsdelf-eabihf/7.5.0/../../../libgfortran.so: undefined reference to `_Unwind_VRS_Get@GCC_3.5'
    /usr/bin/ld: /usr/local/gcc7/lib/gcc/armv7--netbsdelf-eabihf/7.5.0/../../../libgfortran.so: undefined reference to `_Unwind_Backtrace@GCC_4.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_77106/fast] Error 1
    
    

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:3 (project)


-- Configuring incomplete, errors occurred!
See also "/usr/pkgsrc/math/blas/work/lapack-3.9.0/build/CMakeFiles/CMakeOutput.log".
See also "/usr/pkgsrc/math/blas/work/lapack-3.9.0/build/CMakeFiles/CMakeError.log".
*** Error code 1

Stop.
make[2]: stopped in /usr/pkgsrc/math/blas
*** Error code 1



>How-To-Repeat:
	
>Fix:
	

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index