Running phase: unpackPhase unpacking source archive /nix/store/6921h2246wdkwc4a6fivnkx6ci22v021-source source root is source Running phase: patchPhase patching script interpreter paths in build build/svn-info-revision.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash" build/runme.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash" build/recursive-sed.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash" build/rebuild-libflame-doxygen-docs.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash" build/rebuild-libflame-book.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash" build/print-tree.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash" build/prepend-license.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash" build/mirror-tree.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash" build/lntexinputs.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash" build/gen-make-frag.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash" build/gen-header.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash" build/flatten-headers.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/26yi95240650jxp5dj78xzch70i1kzlz-python3-3.12.9/bin/python3" build/find-dependents.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash" build/export-for-release.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash" build/dvi-ps.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash" build/bump-version.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/sh" build/ac-utils/mkinstalldirs: interpreter directive changed from "#! /bin/sh" to "/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/sh" build/ac-utils/missing: interpreter directive changed from "#! /bin/sh" to "/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/sh" build/ac-utils/install-sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/sh" substituteStream() in derivation amd-libflame-5.0: WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. (file 'CMakeLists.txt') Running phase: updateAutotoolsGnuConfigScriptsPhase Updating Autotools / GNU config script to a newer upstream version: ./build/ac-utils/config.sub Updating Autotools / GNU config script to a newer upstream version: ./build/ac-utils/config.guess Running phase: configurePhase fixing cmake files... cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/b84cv57yfhp2ln7vs4x1r4wwva8fp7kk-amd-libflame-5.0/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/b84cv57yfhp2ln7vs4x1r4wwva8fp7kk-amd-libflame-5.0/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/b84cv57yfhp2ln7vs4x1r4wwva8fp7kk-amd-libflame-5.0/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/b84cv57yfhp2ln7vs4x1r4wwva8fp7kk-amd-libflame-5.0/share/doc/AOCL-LibFLAME-Win -DCMAKE_INSTALL_INFODIR=/nix/store/b84cv57yfhp2ln7vs4x1r4wwva8fp7kk-amd-libflame-5.0/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/b84cv57yfhp2ln7vs4x1r4wwva8fp7kk-amd-libflame-5.0/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/b84cv57yfhp2ln7vs4x1r4wwva8fp7kk-amd-libflame-5.0/include -DCMAKE_INSTALL_SBINDIR=/nix/store/b84cv57yfhp2ln7vs4x1r4wwva8fp7kk-amd-libflame-5.0/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/b84cv57yfhp2ln7vs4x1r4wwva8fp7kk-amd-libflame-5.0/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/b84cv57yfhp2ln7vs4x1r4wwva8fp7kk-amd-libflame-5.0/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/1ighxngml0jm35485mmffzyv7kyn5jbq-gfortran-wrapper-14-20241116/bin/strip -DCMAKE_RANLIB=/nix/store/1ighxngml0jm35485mmffzyv7kyn5jbq-gfortran-wrapper-14-20241116/bin/ranlib -DCMAKE_AR=/nix/store/1ighxngml0jm35485mmffzyv7kyn5jbq-gfortran-wrapper-14-20241116/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/b84cv57yfhp2ln7vs4x1r4wwva8fp7kk-amd-libflame-5.0 -DLIBAOCLUTILS_LIBRARY_PATH=/nix/store/44ypxwf17992ljdd7ccqknjl3z6r2baa-aocl-utils-5.0/lib/libaoclutils.so -DLIBAOCLUTILS_INCLUDE_PATH=/nix/store/44ypxwf17992ljdd7ccqknjl3z6r2baa-aocl-utils-5.0/include -DENABLE_BUILTIN_LAPACK2FLAME=ON -DENABLE_CBLAS_INTERFACES=ON -DENABLE_EXT_LAPACK_INTERFACE=ON -DENABLE_AMD_OPT=ON -- The C compiler identification is GNU 14.2.1 -- The CXX compiler identification is GNU 14.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /nix/store/1ighxngml0jm35485mmffzyv7kyn5jbq-gfortran-wrapper-14-20241116/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /nix/store/1ighxngml0jm35485mmffzyv7kyn5jbq-gfortran-wrapper-14-20241116/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- External blas library Path : -- External blas library name : -- CMAKE_C_COMPILER_ID: GNU -- C compiler version: 14.2.1 Machine ISA configuration set to AVX2 LF_ISA_CONFIG selected:AVX2 -- CMAKE_BUILD_TYPE : Release -- checking SIMD -- Enabled ENABLE_BLAS_EXT_GEMMT : ON -- Enabled ENABLE_AMD_OPT : ON -- Enabled ENABLE_BUILTIN_LAPACK2FLAME : ON -- Enabled ENABLE_EXT_LAPACK_INTERFACE : ON -- Enabled ENABLE_F2C_DOTC : OFF -- Enabled ENABLE_VOID_RETURN_COMPLEX_FUNCTION : OFF -- Enabled ENABLE_MULTITHREADING : ON -- Enabled MULTITHREADING_MODEL : -- Enabled ENABLE_OPENMP : TRUE -- Enabled FLA_ENABLE_MULTITHREADING : TRUE -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") -- Enabled ENABLE_OPENMP : TRUE -- Enabled FLA_ENABLE_AMD_OPT : ON CMake Warning (dev) at CMakeLists.txt:555 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. -- Found PythonInterp: /nix/store/26yi95240650jxp5dj78xzch70i1kzlz-python3-3.12.9/bin/python (found version "3.12.9") /build/source/build/flatten-headers.py:113: SyntaxWarning: invalid escape sequence '\s' return re.sub( '\s+', ' ', s ).strip() /build/source/build/flatten-headers.py:169: SyntaxWarning: invalid escape sequence '\.' is_h = re.search( "\.h", item ) /build/source/build/flatten-headers.py:201: SyntaxWarning: invalid escape sequence '\*' return re.sub( "/\*.*?\*/", "", string, flags=re.S ) /build/source/build/flatten-headers.py:509: SyntaxWarning: invalid escape sequence '\s' regex = re.compile( '^[\s]*#include (["<])([\w\.\-/]*)([">])' ) /build/source/build/flatten-headers.py:113: SyntaxWarning: invalid escape sequence '\s' return re.sub( '\s+', ' ', s ).strip() /build/source/build/flatten-headers.py:169: SyntaxWarning: invalid escape sequence '\.' is_h = re.search( "\.h", item ) /build/source/build/flatten-headers.py:201: SyntaxWarning: invalid escape sequence '\*' return re.sub( "/\*.*?\*/", "", string, flags=re.S ) /build/source/build/flatten-headers.py:509: SyntaxWarning: invalid escape sequence '\s' regex = re.compile( '^[\s]*#include (["<])([\w\.\-/]*)([">])' ) /build/source/build/flatten-headers.py:113: SyntaxWarning: invalid escape sequence '\s' return re.sub( '\s+', ' ', s ).strip() /build/source/build/flatten-headers.py:169: SyntaxWarning: invalid escape sequence '\.' is_h = re.search( "\.h", item ) /build/source/build/flatten-headers.py:201: SyntaxWarning: invalid escape sequence '\*' return re.sub( "/\*.*?\*/", "", string, flags=re.S ) /build/source/build/flatten-headers.py:509: SyntaxWarning: invalid escape sequence '\s' regex = re.compile( '^[\s]*#include (["<])([\w\.\-/]*)([">])' ) -- Shared library PROJECT_NAME: flame -- CMAKE_INSTALL_PREFIX : /nix/store/b84cv57yfhp2ln7vs4x1r4wwva8fp7kk-amd-libflame-5.0 -- COMPILE_DEFINITIONS : NOCHANGE;FLA_ENABLE_EXTRA_SYMBOLS;FLA_ENABLE_MULTITHREADING;FLA_MULTITHREADING_MODEL;BLIS1_FROM_LIBFLAME;LAPACK_COMPLEX_STRUCTURE;HAVE_LAPACK_CONFIG_H;FLA_ENABLE_LAPACK2FLAME;FLA_ENABLE_AMD_OPT;FLA_LIBFLAME_VERSION="5.0.0 Build 19800101";EXPMODULE -- CMAKE_C_FLAGS : -O3 -mavx2 -mfma -g0 -Wall -Wno-comment -std=c11 -D_GNU_SOURCE -Wno-unused-function -Wno-parentheses -Wfatal-errors -fopenmp -- Configuring done (2.1s) -- Generating done (0.9s) CMake Warning: Manually-specified variables were not used by the project: BUILD_TESTING CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DOCDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_INFODIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_LOCALEDIR CMAKE_INSTALL_MANDIR CMAKE_INSTALL_SBINDIR CMAKE_POLICY_DEFAULT_CMP0025 -- Build files have been written to: /build/source/build cmake: enabled parallel building cmake: enabled parallel installing Running phase: buildPhase build flags: -j2 SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash [ 0%] Building C object src/lapack/x86/avx512/CMakeFiles/FLA_LAPACK_AVX512.dir/fla_dgetrf_small_avx512.c.o [ 0%] Building C object src/lapack/x86/avx2/CMakeFiles/FLA_LAPACK_AVX2.dir/fla_dgeqrf_small_avx2.c.o In file included from /build/source/src/lapack/x86/avx2/fla_dgeqrf_small_avx2.c:9: /build/source/include/./FLAME.h:87:9: warning: "FLA_ENABLE_MULTITHREADING" redefined 87 | #define FLA_ENABLE_MULTITHREADING | ^~~~~~~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from /build/source/src/lapack/x86/avx512/fla_dgetrf_small_avx512.c:5: /build/source/include/./FLAME.h:87:9: warning: "FLA_ENABLE_MULTITHREADING" redefined 87 | #define FLA_ENABLE_MULTITHREADING | ^~~~~~~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from /build/source/src/lapack/x86/avx2/fla_dgesvd_small_avx2.h:12, from /build/source/src/lapack/x86/avx2/fla_lapack_avx2_kernels.h:15, from /build/source/src/lapack/x86/avx2/fla_dgeqrf_small_avx2.c:10: /build/source/src/lapack/x86/avx2/fla_dgeqrf_small_avx2.c: In function 'fla_dgeqrf_small_avx2': /build/source/src/lapack/x86/avx2/fla_dgeqrf_small_avx2.h:259:13: error: implicit declaration of function 'dscal_'; did you mean 'drscl_'? [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 259 | dscal_(&slen, &rsafmin, &v[2], &c__1); \ | ^~~~~~ /build/source/src/lapack/x86/avx2/fla_dgeqrf_small_avx2.c:43:13: note: in expansion of macro 'FLA_LARF_GEN_DSMALL_COL' 43 | FLA_LARF_GEN_DSMALL_COL(i, m, n, tau); | ^~~~~~~~~~~~~~~~~~~~~~~ compilation terminated due to -Wfatal-errors. make[2]: *** [src/lapack/x86/avx2/CMakeFiles/FLA_LAPACK_AVX2.dir/build.make:79: src/lapack/x86/avx2/CMakeFiles/FLA_LAPACK_AVX2.dir/fla_dgeqrf_small_avx2.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:13498: src/lapack/x86/avx2/CMakeFiles/FLA_LAPACK_AVX2.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 0%] Building C object src/lapack/x86/avx512/CMakeFiles/FLA_LAPACK_AVX512.dir/fla_zgetrf_small_avx512.c.o In file included from /build/source/src/lapack/x86/avx512/fla_zgetrf_small_avx512.c:5: /build/source/include/./FLAME.h:87:9: warning: "FLA_ENABLE_MULTITHREADING" redefined 87 | #define FLA_ENABLE_MULTITHREADING | ^~~~~~~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition [ 0%] Building C object src/lapack/x86/avx512/CMakeFiles/FLA_LAPACK_AVX512.dir/fla_dscal_ix1_avx512.c.o In file included from /build/source/src/lapack/x86/avx512/fla_dscal_ix1_avx512.c:9: /build/source/include/./FLAME.h:87:9: warning: "FLA_ENABLE_MULTITHREADING" redefined 87 | #define FLA_ENABLE_MULTITHREADING | ^~~~~~~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition [ 0%] Building C object src/lapack/x86/avx512/CMakeFiles/FLA_LAPACK_AVX512.dir/fla_dlange_kernels_avx512.c.o [ 0%] Building C object src/lapack/x86/avx512/CMakeFiles/FLA_LAPACK_AVX512.dir/fla_drot_avx512.c.o In file included from /build/source/src/lapack/x86/avx512/fla_dlange_kernels_avx512.c:6: /build/source/include/./FLAME.h:87:9: warning: "FLA_ENABLE_MULTITHREADING" redefined 87 | #define FLA_ENABLE_MULTITHREADING | ^~~~~~~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from /build/source/src/lapack/x86/avx512/fla_drot_avx512.c:9: /build/source/include/./FLAME.h:87:9: warning: "FLA_ENABLE_MULTITHREADING" redefined 87 | #define FLA_ENABLE_MULTITHREADING | ^~~~~~~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition [ 0%] Building C object src/lapack/x86/avx512/CMakeFiles/FLA_LAPACK_AVX512.dir/fla_zrot_avx512.c.o In file included from /build/source/src/lapack/x86/avx512/fla_zrot_avx512.c:9: /build/source/include/./FLAME.h:87:9: warning: "FLA_ENABLE_MULTITHREADING" redefined 87 | #define FLA_ENABLE_MULTITHREADING | ^~~~~~~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition [ 0%] Building C object src/lapack/x86/avx512/CMakeFiles/FLA_LAPACK_AVX512.dir/fla_dhrot3_avx512.c.o In file included from /build/source/src/lapack/x86/avx512/fla_dhrot3_avx512.c:9: /build/source/include/./FLAME.h:87:9: warning: "FLA_ENABLE_MULTITHREADING" redefined 87 | #define FLA_ENABLE_MULTITHREADING | ^~~~~~~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition [ 0%] Building C object src/lapack/x86/avx512/CMakeFiles/FLA_LAPACK_AVX512.dir/fla_sscal_ix1_avx512.c.o In file included from /build/source/src/lapack/x86/avx512/fla_sscal_ix1_avx512.c:9: /build/source/include/./FLAME.h:87:9: warning: "FLA_ENABLE_MULTITHREADING" redefined 87 | #define FLA_ENABLE_MULTITHREADING | ^~~~~~~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition [ 0%] Building C object src/lapack/x86/avx512/CMakeFiles/FLA_LAPACK_AVX512.dir/fla_zscal_ix1_avx512.c.o In file included from /build/source/src/lapack/x86/avx512/fla_zscal_ix1_avx512.c:9: /build/source/include/./FLAME.h:87:9: warning: "FLA_ENABLE_MULTITHREADING" redefined 87 | #define FLA_ENABLE_MULTITHREADING | ^~~~~~~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition [ 0%] Building C object src/lapack/x86/avx512/CMakeFiles/FLA_LAPACK_AVX512.dir/fla_dlarf_kernels_avx512.c.o In file included from /build/source/src/lapack/x86/avx512/fla_dlarf_kernels_avx512.c:6: /build/source/include/./FLAME.h:87:9: warning: "FLA_ENABLE_MULTITHREADING" redefined 87 | #define FLA_ENABLE_MULTITHREADING | ^~~~~~~~~~~~~~~~~~~~~~~~~ : note: this is the location of the previous definition [ 0%] Built target FLA_LAPACK_AVX512 make: *** [Makefile:136: all] Error 2