=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for lapack-3.12.0.tar.gz => Checksum SHA512 OK for lapack-3.12.0.tar.gz ===> Installing dependencies for blas-3.12.0 => Tool dependency cmake>=0: found cmake-3.31.6 => Tool dependency mktools-[0-9]*: found mktools-20250213 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency gcc12>=12.1.0nb1: found gcc12-12.4.0nb1 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for blas-3.12.0 ===> Extracting for blas-3.12.0 ===> Patching for blas-3.12.0 => Applying pkgsrc patches for blas-3.12.0 => Verifying /usr/pkgsrc/math/blas/../../math/lapack/patches/patch-BLAS_CMakeLists.txt => Applying pkgsrc patch /usr/pkgsrc/math/blas/../../math/lapack/patches/patch-BLAS_CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-BLAS_CMakeLists.txt,v 1.1 2025/01/14 11:41:00 wiz Exp $ | |A changeset that I pushed upstream in a PR, to enable separate libblas build, |un-break standalone CBLAS build with included BLAS, not unconditionally |require unnecessary C++ compiler. | |See: https://github.com/Reference-LAPACK/lapack/pull/972 | |diff --git a/BLAS/CMakeLists.txt b/BLAS/CMakeLists.txt |index a33f38f25..8e34fa858 100644 |--- BLAS/CMakeLists.txt.orig 2024-12-03 11:39:11.000000000 +0000 |+++ BLAS/CMakeLists.txt -------------------------- Patching file BLAS/CMakeLists.txt using Plan A... Hunk #1 succeeded at 14. done => Verifying /usr/pkgsrc/math/blas/../../math/lapack/patches/patch-CBLAS_src_CMakeLists.txt => Applying pkgsrc patch /usr/pkgsrc/math/blas/../../math/lapack/patches/patch-CBLAS_src_CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-CBLAS_src_CMakeLists.txt,v 1.6 2024/01/09 03:32:48 ryoon Exp $ | |* Use fortran compiler as linker to fix gfortran from lang/gcc10 link. | |--- CBLAS/src/CMakeLists.txt.orig 2024-01-09 03:26:10.559613758 +0000 |+++ CBLAS/src/CMakeLists.txt -------------------------- Patching file CBLAS/src/CMakeLists.txt using Plan A... Hunk #1 succeeded at 164. done => Verifying /usr/pkgsrc/math/blas/../../math/lapack/patches/patch-CMakeLists.txt => Applying pkgsrc patch /usr/pkgsrc/math/blas/../../math/lapack/patches/patch-CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-CMakeLists.txt,v 1.7 2025/01/14 11:41:00 wiz Exp $ | |A changeset that I pushed upstream in a PR, to enable separate libblas build, |un-break standalone CBLAS build with included BLAS, not unconditionally |require unnecessary C++ compiler. | |See: https://github.com/Reference-LAPACK/lapack/pull/972 | |--- CMakeLists.txt.orig 2023-11-24 20:41:15.000000000 +0000 |+++ CMakeLists.txt -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 244. Hunk #3 succeeded at 281. Hunk #4 succeeded at 356. Hunk #5 succeeded at 423. Hunk #6 succeeded at 435. Hunk #7 succeeded at 494. Hunk #8 succeeded at 515. Hunk #9 succeeded at 531. Hunk #10 succeeded at 570. Hunk #11 succeeded at 584. Hunk #12 succeeded at 598. done ===> Creating toolchain wrappers for blas-3.12.0 ===> Configuring for blas-3.12.0 => Checking for portability problems in extracted files CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. -- The Fortran compiler identification is GNU 12.4.0 -- The C compiler identification is GNU 12.2.0 -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Check for working Fortran compiler: /var/work/math/blas/work/.cwrapper/bin/gfortran - skipped -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /var/work/math/blas/work/.cwrapper/bin/cc - 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 -- Build tests: OFF -- 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 - Failed CMake Error at /usr/pkg/share/cmake-3.31/Modules/FortranCInterface.cmake:398 (message): The Fortran compiler: /var/work/math/blas/work/.cwrapper/bin/gfortran and the C compiler: /var/work/math/blas/work/.cwrapper/bin/cc failed to compile a simple test project using both languages. The output was: Change Dir: '/var/work/math/blas/work/lapack-3.12.0/cmake-pkgsrc-build/CMakeFiles/FortranCInterface/VerifyC' Run Build Command(s): /usr/pkg/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile VerifyFortranC /usr/pkg/bin/cmake -S/usr/pkg/share/cmake-3.31/Modules/FortranCInterface/Verify -B/var/work/math/blas/work/lapack-3.12.0/cmake-pkgsrc-build/CMakeFiles/FortranCInterface/VerifyC --check-build-system CMakeFiles/Makefile.cmake 0 make -f CMakeFiles/Makefile2 VerifyFortranC /usr/pkg/bin/cmake -S/usr/pkg/share/cmake-3.31/Modules/FortranCInterface/Verify -B/var/work/math/blas/work/lapack-3.12.0/cmake-pkgsrc-build/CMakeFiles/FortranCInterface/VerifyC --check-build-system CMakeFiles/Makefile.cmake 0 /usr/pkg/bin/cmake -E cmake_progress_start /var/work/math/blas/work/lapack-3.12.0/cmake-pkgsrc-build/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles 5 make -f CMakeFiles/Makefile2 CMakeFiles/VerifyFortranC.dir/all make -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/depend cd /var/work/math/blas/work/lapack-3.12.0/cmake-pkgsrc-build/CMakeFiles/FortranCInterface/VerifyC && /usr/pkg/bin/cmake -E cmake_depends "Unix Makefiles" /usr/pkg/share/cmake-3.31/Modules/FortranCInterface/Verify /usr/pkg/share/cmake-3.31/Modules/FortranCInterface/Verify /var/work/math/blas/work/lapack-3.12.0/cmake-pkgsrc-build/CMakeFiles/FortranCInterface/VerifyC /var/work/math/blas/work/lapack-3.12.0/cmake-pkgsrc-build/CMakeFiles/FortranCInterface/VerifyC /var/work/math/blas/work/lapack-3.12.0/cmake-pkgsrc-build/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles/VerifyFortran.dir/DependInfo.cmake Dependee "/var/work/math/blas/work/lapack-3.12.0/cmake-pkgsrc-build/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles/VerifyFortran.dir/DependInfo.cmake" is newer than depender "/var/work/math/blas/work/lapack-3.12.0/cmake-pkgsrc-build/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles/VerifyFortran.dir/depend.internal". Dependee "/var/work/math/blas/work/lapack-3.12.0/cmake-pkgsrc-build/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/work/math/blas/work/lapack-3.12.0/cmake-pkgsrc-build/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles/VerifyFortran.dir/depend.internal". Scanning dependencies of target VerifyFortran make -f CMakeFiles/VerifyFortran.dir/build.make CMakeFiles/VerifyFortran.dir/build [ 20%] Building Fortran object CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o /var/work/math/blas/work/.cwrapper/bin/gfortran -I/var/work/math/blas/work/lapack-3.12.0/cmake-pkgsrc-build/CMakeFiles/FortranCInterface/VerifyC -O -frecursive -c /usr/pkg/share/cmake-3.31/Modules/FortranCInterface/Verify/VerifyFortran.f -o CMakeFiles/VerifyFortran.dir/VerifyFortran.f.o [ 40%] Linking Fortran static library libVerifyFortran.a /usr/pkg/bin/cmake -P CMakeFiles/VerifyFortran.dir/cmake_clean_target.cmake /usr/pkg/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 [ 40%] Built target VerifyFortran make -f CMakeFiles/VerifyFortranC.dir/build.make CMakeFiles/VerifyFortranC.dir/depend cd /var/work/math/blas/work/lapack-3.12.0/cmake-pkgsrc-build/CMakeFiles/FortranCInterface/VerifyC && /usr/pkg/bin/cmake -E cmake_depends "Unix Makefiles" /usr/pkg/share/cmake-3.31/Modules/FortranCInterface/Verify /usr/pkg/share/cmake-3.31/Modules/FortranCInterface/Verify /var/work/math/blas/work/lapack-3.12.0/cmake-pkgsrc-build/CMakeFiles/FortranCInterface/VerifyC /var/work/math/blas/work/lapack-3.12.0/cmake-pkgsrc-build/CMakeFiles/FortranCInterface/VerifyC /var/work/math/blas/work/lapack-3.12.0/cmake-pkgsrc-build/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles/VerifyFortranC.dir/DependInfo.cmake Dependee "/var/work/math/blas/work/lapack-3.12.0/cmake-pkgsrc-build/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles/VerifyFortranC.dir/DependInfo.cmake" is newer than depender "/var/work/math/blas/work/lapack-3.12.0/cmake-pkgsrc-build/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles/VerifyFortranC.dir/depend.internal". Dependee "/var/work/math/blas/work/lapack-3.12.0/cmake-pkgsrc-build/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/work/math/blas/work/lapack-3.12.0/cmake-pkgsrc-build/CMakeFiles/FortranCInterface/VerifyC/CMakeFiles/VerifyFortranC.dir/depend.internal". Scanning dependencies of target VerifyFortranC make -f CMakeFiles/VerifyFortranC.dir/build.make CMakeFiles/VerifyFortranC.dir/build [ 60%] Building C object CMakeFiles/VerifyFortranC.dir/main.c.o /var/work/math/blas/work/.cwrapper/bin/cc -I/var/work/math/blas/work/lapack-3.12.0/cmake-pkgsrc-build/CMakeFiles/FortranCInterface/VerifyC -O2 -I/usr/pkg/include -I/usr/include -DNDEBUG -o CMakeFiles/VerifyFortranC.dir/main.c.o -c /usr/pkg/share/cmake-3.31/Modules/FortranCInterface/Verify/main.c [ 80%] Building C object CMakeFiles/VerifyFortranC.dir/VerifyC.c.o /var/work/math/blas/work/.cwrapper/bin/cc -I/var/work/math/blas/work/lapack-3.12.0/cmake-pkgsrc-build/CMakeFiles/FortranCInterface/VerifyC -O2 -I/usr/pkg/include -I/usr/include -DNDEBUG -o CMakeFiles/VerifyFortranC.dir/VerifyC.c.o -c /usr/pkg/share/cmake-3.31/Modules/FortranCInterface/Verify/VerifyC.c [100%] Linking C executable VerifyFortranC /usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/VerifyFortranC.dir/link.txt --verbose=1 /usr/bin/ld: libVerifyFortran.a(VerifyFortran.f.o): relocation R_X86_64_32S against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: failed to set dynamic section sizes: bad value collect2: error: ld returned 1 exit status /var/work/math/blas/work/.cwrapper/bin/cc -O2 -I/usr/pkg/include -I/usr/include -DNDEBUG -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64 CMakeFiles/VerifyFortranC.dir/main.c.o CMakeFiles/VerifyFortranC.dir/VerifyC.c.o -o VerifyFortranC -L/usr/pkg/gcc12/lib/gcc/x86_64-debian-linux/12.4.0 -L/usr/pkg/gcc12/lib64 -L/usr/pkg/gcc12/lib libVerifyFortran.a -lgfortran -lm -lssp_nonshared -lssp -lquadmath -lm *** Error code 1 Stop. make[3]: stopped making "CMakeFiles/VerifyFortranC.dir/build" in /var/work/math/blas/work/lapack-3.12.0/cmake-pkgsrc-build/CMakeFiles/FortranCInterface/VerifyC *** Error code 1 Stop. make[2]: stopped making "CMakeFiles/VerifyFortranC.dir/all" in /var/work/math/blas/work/lapack-3.12.0/cmake-pkgsrc-build/CMakeFiles/FortranCInterface/VerifyC *** Error code 1 Stop. make[1]: stopped making "VerifyFortranC" in /var/work/math/blas/work/lapack-3.12.0/cmake-pkgsrc-build/CMakeFiles/FortranCInterface/VerifyC gmake: *** [Makefile:147: VerifyFortranC] Error 1 Call Stack (most recent call first): LAPACKE/include/CMakeLists.txt:17 (FortranCInterface_VERIFY) -- Configuring incomplete, errors occurred! *** Error code 1 Stop. bmake[1]: stopped making "configure" in /usr/pkgsrc/math/blas *** Error code 1 Stop. bmake: stopped making "configure" in /usr/pkgsrc/math/blas