nixpkgs icon indicating copy to clipboard operation
nixpkgs copied to clipboard

Build failure: p8-platform

Open siflfran opened this issue 1 year ago • 1 comments

Nixpkgs version

  • Unstable (25.11)

Steps to reproduce

nix-shell -p libcec

Can Hydra reproduce this build failure?

Hydra is currently rebuilding this package.

Link to Hydra build job

No response

Relevant log output

CMake Warning (dev) at CMakeLists.txt:1 (project):
  cmake_minimum_required() should be called prior to this top-level project()
  call.  Please see the cmake-commands(7) manual for usage documentation of
  both commands.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- 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 Error at CMakeLists.txt:3 (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!
error: Cannot build '/nix/store/04gdw0v8mamaks0qwin43jpsrl7nnawg-p8-platform-2.1.0.1.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/na2riwimsjyc1j2c66533sg51rsqvh73-p8-platform-2.1.0.1
       Last 25 log lines:
       > This warning is for project developers.  Use -Wno-dev to suppress it.
       >
       > -- 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 Error at CMakeLists.txt:3 (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/04gdw0v8mamaks0qwin43jpsrl7nnawg-p8-platform-2.1.0.1.drv
error: Cannot build '/nix/store/czb6wbpxs09cnqbmiwvdzxbb96mb56gw-libcec-7.1.1.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/74dfap8yc6bvqfycnvshazqc8gh9wwc5-libcec-7.1.1

Additional context

No response

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.12.50, NixOS, 25.11 (Xantusia), 25.11.20251007.f15bc49
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.31.2
  • channels(ffranzmann): "home-manager, nixpkgs"
  • channels(root): "nixos"
  • nixpkgs: /nix/store/cyyr1zvbd6i8v3b32cdfiq8b5y1822g8-nixpkgs/nixpkgs

Notify maintainers

@aanderse @cpages @dschrempf @edwtjo @nvmd @minijackson @peterhoeg


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 :+1: reaction to issues you find important.

siflfran avatar Oct 08 '25 07:10 siflfran

Thanks for your report! This is a duplicate of https://github.com/NixOS/nixpkgs/pull/449090; closing.

dschrempf avatar Oct 08 '25 07:10 dschrempf