NetBSD Problem Report #57513

From taca@back-street.net  Sat Jul  8 05:59:48 2023
Return-Path: <taca@back-street.net>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id EF5E91A923D
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  8 Jul 2023 05:59:47 +0000 (UTC)
Message-Id: <20230708055933.42E5B768302@m2utm.a.back-street.net>
Date: Sat,  8 Jul 2023 14:59:33 +0900 (JST)
From: taca@back-street.net
Reply-To: taca@back-street.net
To: gnats-bugs@NetBSD.org
Subject: math/blas build dose not complete
X-Send-Pr-Version: 3.95

>Number:         57513
>Category:       pkg
>Synopsis:       math/blas build dose not complete
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 08 06:00:00 +0000 2023
>Originator:     Takahiro Kambe
>Release:        NetBSD 10.99.4
>Organization:

>Environment:


System: NetBSD m2utm.a.back-street.net 10.99.4 NetBSD 10.99.4 (GENERIC64) #6: Fri Jul 7 23:40:33 JST 2023 taca@m2utm.a.back-street.net:/data/current/evbarm/obj/sys/arch/evbarm/compile/GENERIC64 evbarm
Architecture: aarch64
Machine: evbarm

>Description:
	Building math/blas dose not complete by running test_zcomplexabs never complete.
>How-To-Repeat:
	Build math/blas on NetBSD 10.99.4 running on UTM 4.3.0 (https://getutm.app/)
	under macOS 13.4.1 / MacBook Air M2.  (Yes, it might be problem of 
	UTM 4.3.0 / qemu 8.0.0.)

PKG_COMP ==> Mounting sandboxed filesystems
Executing mount hooks.
PKG_COMP ==> Building and installing math/blas
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for lapack-3.11.0.tar.gz
=> Checksum SHA512 OK for lapack-3.11.0.tar.gz
===> Installing dependencies for blas-3.11.0
=> Tool dependency cmake>=0: found cmake-3.26.4
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency gcc10>=10.3.0nb2: found gcc10-10.4.0
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Overriding tools for blas-3.11.0
===> Extracting for blas-3.11.0
===> Patching for blas-3.11.0
=> Applying pkgsrc patches for blas-3.11.0
=> Verifying /usr/pkgsrc/math/blas/../../math/lapack/patches/patch-BLAS_SRC_CMakeLists.txt
=> Applying pkgsrc patch /usr/pkgsrc/math/blas/../../math/lapack/patches/patch-BLAS_SRC_CMakeLists.txt
...
=> Verifying /usr/pkgsrc/math/blas/../../math/lapack/patches/patch-TESTING_MATGEN_CMakeLists.txt
=> Applying pkgsrc patch /usr/pkgsrc/math/blas/../../math/lapack/patches/patch-TESTING_MATGEN_CMakeLists.txt
...
===> Creating toolchain wrappers for blas-3.11.0
===> Configuring for blas-3.11.0
=> Checking for portability problems in extracted files
-- The Fortran compiler identification is GNU 10.4.0
-- The C compiler identification is GNU 10.4.0
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: /pkg_comp/obj/pkgsrc/math/blas/default/.cwrapper/bin/gfortran - skipped
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /pkg_comp/obj/pkgsrc/math/blas/default/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Setting build type to 'Release' as none was specified.
-- Checking if build type is 'Coverage'
-- Checking if build type is 'Coverage': 0
-- Performing Test _frecursiveFlag
-- Performing Test _frecursiveFlag - Success
-- 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
-- Using supplied NETLIB BLAS implementation
-- Detecting Fortran/C Interface
-- Detecting Fortran/C Interface - Found GLOBAL and MODULE mangling
-- Verifying Fortran/C Compiler Compatibility
-- Verifying Fortran/C Compiler Compatibility - Success
-- Build html documentation: OFF
-- Build man documentation: OFF
-- Configuring done (4.0s)
-- Generating done (0.0s)
-- Build files have been written to: /pkg_comp/obj/pkgsrc/math/blas/default/lapack-3.11.0/cmake-pkgsrc-build
===> Building for blas-3.11.0
[  0%] Building Fortran object CMakeFiles/test_zcomplexdiv.dir/INSTALL/test_zcomplexdiv.f.o
[  0%] Building Fortran object CMakeFiles/test_zcomplexabs.dir/INSTALL/test_zcomplexabs.f.o
[  0%] Building Fortran object CMakeFiles/test_zminMax.dir/INSTALL/test_zminMax.f.o
[  1%] Building Fortran object CMakeFiles/test_zcomplexmult.dir/INSTALL/test_zcomplexmult.f.o
[  2%] Linking Fortran executable test_zminMax
[  3%] Linking Fortran executable test_zcomplexabs
[  3%] Built target test_zminMax
[  3%] Linking Fortran executable test_zcomplexdiv
[  3%] Linking Fortran executable test_zcomplexmult
[  3%] Running test_zminMax in /pkg_comp/obj/pkgsrc/math/blas/default/lapack-3.11.0/cmake-pkgsrc-build/INSTALL with stderr: test_zminMax.err
[i7] MIN(   0.,  NaN) =    0.
[i7] MAX(   0.,  NaN) =    0.
[i8] MIN(  NaN,   0.) =    0.
[i8] MAX(  NaN,   0.) =    0.
[  3%] Built target run_test_zminMax
[  3%] Built target test_zcomplexdiv
[  3%] Built target test_zcomplexabs
[  3%] Running test_zcomplexdiv in /pkg_comp/obj/pkgsrc/math/blas/default/lapack-3.11.0/cmake-pkgsrc-build/INSTALL with stderr: test_zcomplexdiv.err
 !! [a] fl( subnormal ) may be 0
 !! Some (x+x*I)/(x+x*I) differ from 1
 !! Some (x+x*I)/(x-x*I) differ from I
 # Please check the failed divisions in [stderr]
[  3%] Built target test_zcomplexmult
[  3%] Built target run_test_zcomplexdiv
[  3%] Running test_zcomplexabs in /pkg_comp/obj/pkgsrc/math/blas/default/lapack-3.11.0/cmake-pkgsrc-build/INSTALL with stderr: test_zcomplexabs.err
 !! [a] fl( subnormal ) may be 0
[  4%] Running test_zcomplexmult in /pkg_comp/obj/pkgsrc/math/blas/default/lapack-3.11.0/cmake-pkgsrc-build/INSTALL with stderr: test_zcomplexmult.err
[  4%] Building Fortran object BLAS/SRC/CMakeFiles/blas_static.dir/sasum.f.o
[  4%] Building Fortran object BLAS/SRC/CMakeFiles/blas_static.dir/isamax.f.o
[  4%] Built target run_test_zcomplexmult
[  5%] Building Fortran object BLAS/SRC/CMakeFiles/blas_static.dir/saxpy.f.o
...
[ 50%] Building Fortran object BLAS/SRC/CMakeFiles/blas_static.dir/ztrsm.f.o
[ 51%] Building Fortran object BLAS/SRC/CMakeFiles/blas_static.dir/zhemm.f.o
[ 51%] Building Fortran object BLAS/SRC/CMakeFiles/blas_static.dir/zherk.f.o
[ 51%] Building Fortran object BLAS/SRC/CMakeFiles/blas_static.dir/zher2k.f.o
[ 52%] Linking Fortran static library ../../lib/libblas.a
[ 52%] Built target blas_static

And now, test_zcomplexabs continute to running.

>Fix:
	Unknown.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.