Skip to content

Build failure: pkgsStatic.llhttp #420197

@Jayman2000

Description

@Jayman2000

Nixpkgs version

  • Unstable (25.11)

Steps to reproduce

  1. Create a file named llhttp-static.nix that contains this Nix expression:

    # This file is dedicated to the public domain using 🅭🄍1.0:
    # <https://creativecommons.org/publicdomain/zero/1.0>.
    let
      nixpkgsCommit = "237c201bb3fcebb6886ae6d5c27c4c1615e72f4d";
      nixpkgsTarball = builtins.fetchTarball {
        url = "https://github.com/NixOS/nixpkgs/archive/${nixpkgsCommit}.tar.gz";
        sha256 = "0a87r03ng46334cj58h46l31b4glrx1cxa1ii78lx4kjr2fakqfm";
      };
      pkgs = import nixpkgsTarball { };
    in
    pkgs.pkgsStatic.llhttp
  2. Try to build that Nix expression by running this command:

    nix-build <path to llhttp-static.nix>

Can Hydra reproduce this build failure?

Yes, Hydra can reproduce this build failure.

Link to Hydra build job

https://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.nixStatic.x86_64-linux

Relevant log output

Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/m02k42lp544d4bdsy78f4h187781gvb4-source
source root is source
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "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/q42c1w19xphdnldbdjdrlv4pkxscgagk-llhttp-static-x86_64-unknown-linux-musl-9.3.0/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/q42c1w19xphdnldbdjdrlv4pkxscgagk-llhttp-static-x86_64-unknown-linux-musl-9.3.0/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/q42c1w19xphdnldbdjdrlv4pkxscgagk-llhttp-static-x86_64-unknown-linux-musl-9.3.0/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/q42c1w19xphdnldbdjdrlv4pkxscgagk-llhttp-static-x86_64-unknown-linux-musl-9.3.0/share/doc/llhttp -DCMAKE_INSTALL_INFODIR=/nix/store/q42c1w19xphdnldbdjdrlv4pkxscgagk-llhttp-static-x86_64-unknown-linux-musl-9.3.0/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/q42c1w19xphdnldbdjdrlv4pkxscgagk-llhttp-static-x86_64-unknown-linux-musl-9.3.0/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/dqs0s2iyb58vf30ka7adl5jfabykp0wq-llhttp-static-x86_64-unknown-linux-musl-9.3.0-dev/include -DCMAKE_INSTALL_SBINDIR=/nix/store/q42c1w19xphdnldbdjdrlv4pkxscgagk-llhttp-static-x86_64-unknown-linux-musl-9.3.0/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/q42c1w19xphdnldbdjdrlv4pkxscgagk-llhttp-static-x86_64-unknown-linux-musl-9.3.0/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/q42c1w19xphdnldbdjdrlv4pkxscgagk-llhttp-static-x86_64-unknown-linux-musl-9.3.0/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/m8ggqv2dfrw6raz49ipnnab98cljx1k2-x86_64-unknown-linux-musl-gcc-wrapper-14.3.0/bin/x86_64-unknown-linux-musl-strip -DCMAKE_RANLIB=/nix/store/m8ggqv2dfrw6raz49ipnnab98cljx1k2-x86_64-unknown-linux-musl-gcc-wrapper-14.3.0/bin/x86_64-unknown-linux-musl-ranlib -DCMAKE_AR=/nix/store/m8ggqv2dfrw6raz49ipnnab98cljx1k2-x86_64-unknown-linux-musl-gcc-wrapper-14.3.0/bin/x86_64-unknown-linux-musl-ar -DCMAKE_C_COMPILER=x86_64-unknown-linux-musl-gcc -DCMAKE_CXX_COMPILER=x86_64-unknown-linux-musl-g++ -DCMAKE_INSTALL_PREFIX=/nix/store/q42c1w19xphdnldbdjdrlv4pkxscgagk-llhttp-static-x86_64-unknown-linux-musl-9.3.0 -DBUILD_SHARED_LIBS=ON -DBUILD_SHARED_LIBS:BOOL=OFF -DCMAKE_SKIP_INSTALL_RPATH=On -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_PROCESSOR=x86_64 -DCMAKE_HOST_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_PROCESSOR=x86_64 -DCMAKE_CROSSCOMPILING_EMULATOR=env -DCMAKE_LINK_SEARCH_START_STATIC=ON
-- 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/m8ggqv2dfrw6raz49ipnnab98cljx1k2-x86_64-unknown-linux-musl-gcc-wrapper-14.3.0/bin/x86_64-unknown-linux-musl-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/m8ggqv2dfrw6raz49ipnnab98cljx1k2-x86_64-unknown-linux-musl-gcc-wrapper-14.3.0/bin/x86_64-unknown-linux-musl-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 
-- 
-- Project configure summary:
-- 
--   CMake build type .................: RELEASE
--   Install prefix ...................: /nix/store/q42c1w19xphdnldbdjdrlv4pkxscgagk-llhttp-static-x86_64-unknown-linux-musl-9.3.0
--   Build shared library .............: OFF
--   Build static library .............: OFF
-- 
-- Configuring done (0.3s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    BUILD_TESTING
    CMAKE_CROSSCOMPILING_EMULATOR
    CMAKE_EXPORT_NO_PACKAGE_REGISTRY
    CMAKE_FIND_USE_PACKAGE_REGISTRY
    CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY
    CMAKE_INSTALL_NAME_DIR
    CMAKE_POLICY_DEFAULT_CMP0025


-- Build files have been written to: /build/source/build
cmake: enabled parallel building
cmake: enabled parallel installing
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
build flags: -j1 SHELL=/nix/store/00zrahbb32nzawrmv9sjxn36h7qk9vrs-bash-5.2p37/bin/bash
Running phase: installPhase
@nix { "action": "setPhase", "phase": "installPhase" }
install flags: -j1 SHELL=/nix/store/00zrahbb32nzawrmv9sjxn36h7qk9vrs-bash-5.2p37/bin/bash install
make: *** No rule to make target 'install'.  Stop.

Additional context

For the “Link to Hydra build job” section, I pasted a link for a Hydra job that builds nixStatic, not a link for a Hydra job that builds pkgsStatic.llhttp. That being said, nixStatic depends on pkgsStatic.llhttp, so that Hydra job ends up reproducing the build failure.

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.12.34, NixOS, 25.05 (Warbler), 25.05.20250622.c7ab752
  • multi-user?: no
  • sandbox: yes
  • version: nix-env (Nix) 2.28.3
  • nixpkgs: not found

Notify maintainers

@aduh95


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

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions