Skip to content

Build failure: intel-graphics-compiler #448304

@Frontear

Description

@Frontear

Nixpkgs version

  • Unstable (25.11)

Steps to reproduce

Ran into this while trying to build and test #427968. Reproduce with nix build github:NixOS/nixpkgs/d3736636ac39ed678e557977b65d620ca75142d0#intel-compute-runtime (hash of staging revision).

Can Hydra reproduce this build failure?

Yes, Hydra can reproduce this build failure.

Link to Hydra build job

https://hydra.nixos.org/build/307976312

Relevant log output

note: keeping build directory '/nix/var/nix/builds/nix-build-intel-graphics-compiler-2.18.5.drv-2'
error: builder for '/nix/store/4f224v44dzzqm896qmkaw3ah4zksbi3p-intel-graphics-compiler-2.18.5.drv' failed with exit code 1;
       last 56 log lines:
       > Running phase: unpackPhase
       > unpacking source archive /nix/store/i259znqc1g979s3rcmr6az0lh2chc6b5-igc
       > unpacking source archive /nix/store/13ib83vbrm64f87ammpf8ykxqybl7m14-llvm-project
       > unpacking source archive /nix/store/wxcyw1hk2bcab9zsyk03cign6nkz13f6-vc-intrinsics
       > unpacking source archive /nix/store/qhy1zw18zyq5nwk9ahrvdm08lyzviy7a-opencl-clang
       > unpacking source archive /nix/store/iadchxhsa4n08fhqgnp8npr10n7vgwkb-llvm-spirv
       > source root is .
       > Running phase: patchPhase
       > patching script interpreter paths in igc/IGC/Scripts/igc_create_linker_script.sh
       > igc/IGC/Scripts/igc_create_linker_script.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/cl2gkgnh26mmpka81pc2g5bzjfrili92-bash-5.3p3/bin/bash"
       > hint: Using 'master' as the name for the initial branch. This default branch name
       > hint: is subject to change. To configure the initial branch name to use in all
       > hint: of your new repositories, which will suppress this warning, call:
       > hint:
       > hint:    git config --global init.defaultBranch <name>
       > hint:
       > hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
       > hint: 'development'. The just-created branch can be renamed via this command:
       > hint:
       > hint:      git branch -m <name>
       > hint:
       > hint: Disable this message with "git config set advice.defaultBranchName false"
       > Initialized empty Git repository in /build/llvm-project/.git/
       > [master (root-commit) 246cfb6] stub
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Updating Autotools / GNU config script to a newer upstream version: ./llvm-project/llvm/cmake/config.guess
       > Running phase: configurePhase
       > cmake flags: -GNinja -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/1pk1j2dxz1skksbchjj7c09zvwj0ln4b-intel-graphics-compiler-2.18.5/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/1pk1j2dxz1skksbchjj7c09zvwj0ln4b-intel-graphics-compiler-2.18.5/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/1pk1j2dxz1skksbchjj7c09zvwj0ln4b-intel-graphics-compiler-2.18.5/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/1pk1j2dxz1skksbchjj7c09zvwj0ln4b-intel-graphics-compiler-2.18.5/share/doc/IGC -DCMAKE_INSTALL_INFODIR=/nix/store/1pk1j2dxz1skksbchjj7c09zvwj0ln4b-intel-graphics-compiler-2.18.5/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/1pk1j2dxz1skksbchjj7c09zvwj0ln4b-intel-graphics-compiler-2.18.5/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/1pk1j2dxz1skksbchjj7c09zvwj0ln4b-intel-graphics-compiler-2.18.5/include -DCMAKE_INSTALL_SBINDIR=/nix/store/1pk1j2dxz1skksbchjj7c09zvwj0ln4b-intel-graphics-compiler-2.18.5/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/1pk1j2dxz1skksbchjj7c09zvwj0ln4b-intel-graphics-compiler-2.18.5/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/1pk1j2dxz1skksbchjj7c09zvwj0ln4b-intel-graphics-compiler-2.18.5/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/dmypp1h4ldn0vfk3fi6yfyf5yxp9yz0k-gcc-wrapper-14.3.0/bin/strip -DCMAKE_RANLIB=/nix/store/dmypp1h4ldn0vfk3fi6yfyf5yxp9yz0k-gcc-wrapper-14.3.0/bin/ranlib -DCMAKE_AR=/nix/store/dmypp1h4ldn0vfk3fi6yfyf5yxp9yz0k-gcc-wrapper-14.3.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/1pk1j2dxz1skksbchjj7c09zvwj0ln4b-intel-graphics-compiler-2.18.5 -DIGC_OPTION__SPIRV_TOOLS_MODE=Prebuilds -DIGC_OPTION__USE_PREINSTALLED_SPIRV_HEADERS=ON -DSPIRV-Headers_INCLUDE_DIR=/nix/store/gl1fb13la5dfab5x2m0m80gf4zp44hh6-spirv-headers-1.4.321.0-unstable-2025-06-24/include -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=/nix/store/67nxf71a1gn489gx1lfdl8j85jjjmr4d-source -Wno-dev
       > -- The C compiler identification is GNU 14.3.0
       > -- The CXX compiler identification is GNU 14.3.0
       > -- Detecting C compiler ABI info
       > -- Detecting C compiler ABI info - done
       > -- Check for working C compiler: /nix/store/dmypp1h4ldn0vfk3fi6yfyf5yxp9yz0k-gcc-wrapper-14.3.0/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/dmypp1h4ldn0vfk3fi6yfyf5yxp9yz0k-gcc-wrapper-14.3.0/bin/g++ - skipped
       > -- Detecting CXX compile features
       > -- Detecting CXX compile features - done
       > CMake Warning at IGC/CMakeLists.txt:168 (message):
       >   IGC_OPTION__ARCHITECTURE_TARGET: Target architecture is not specified.
       >   Trying to deduce it from context.
       >
       > 
       > CMake Error at IGC/MDAutogen/CMakeLists.txt:9 (cmake_minimum_required):
       >   Compatibility with CMake < 3.5 has been removed from CMake.
       >
       >   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
       >   to tell CMake that the project requires at least <min> but has been updated
       >   to work with policies introduced by <max> or earlier.
       >
       >   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
       >
       > 
       > -- Configuring incomplete, errors occurred!
       For full logs, run 'nix log /nix/store/4f224v44dzzqm896qmkaw3ah4zksbi3p-intel-graphics-compiler-2.18.5.drv'.
note: keeping build directory '/nix/var/nix/builds/nix-build-python3.13-requests-2.32.5.drv-1'
error: 1 dependencies of derivation '/nix/store/yfm8gpxvs5jai3ps7pb3v977hag4jh1c-intel-compute-runtime-25.35.35096.9.drv' failed to build

Additional context

There's been an update to pkgs.cmake and pkgs.intel-compute-runtime, so I'm uncertain which one is at fault. I'm currently trying to rebuild before the pkgs.cmake update from 77b73f8.

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.16.8-xanmod1, NixOS, 25.11 (Xantusia), 25.11.20250924.e643668
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Lix, like Nix) 2.93.3 System type: x86_64-linux Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux, x86_64-v4-linux Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /home/frontear/.config/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/frontear/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/frontear/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/frontear/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/23a2fc0ha64j2ygaq8b9gaqc5sb0whf7-lix-2.93.3/share
  • nixpkgs: /nix/store/8mcwwpq0nhx00pw2by55g8iqd7br6nfk-input-farm/nixpkgs

Notify maintainers

@ttuegel @LnL7 as maintainers of pkgs.cmake
@SuperSandro2000 as maintainer of pkgs.intel-compute-runtime


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions