Skip to content

jellyfin-media-player: qtwebengine-5.15.18 does not build on aarch64-darwin #392290

@nagyv

Description

@nagyv

Nixpkgs version

  • Unstable (25.05)

Describe the bug

Adding pkgs.jellyfin-media-player to environment.systemPackages in nix-darwin fails the build.

Steps to reproduce

  1. Add pkgs.jellyfin-media-player to environment.systemPackages in nix-darwin
  2. Run darwin-rebuild switch --flake .

Expected behaviour

The build succeeds

Screenshots

No response

Relevant log output

$ darwin-rebuild switch --flake .
building the system configuration...
evaluation warning: 'vam' attribute is deprecated. Use 'packages' instead in your vim configuration
these 6 derivations will be built:
  /nix/store/9xslzbb1fwm453rxhb04hyqcvllhp34k-darwin-version.json.drv
  /nix/store/pxzlgylnis6prnz4czn5lc4ld2ykgcym-qtwebengine-5.15.18.drv
  /nix/store/pasw3wq7rim2dmhbkgd479h4l9ypqyzh-jellyfin-media-player-1.11.1.drv
  /nix/store/ck6xd4m8g9wwixc3licjw0h0h5fgwr1k-system-path.drv
  /nix/store/qf3khmpxjnhv9qf6cf8fpy2w4cjb6l6p-system-applications.drv
  /nix/store/233i3291bsjrjbk9p59z7gfmay9s1sj3-darwin-system-25.05.adf5c88.drv
building '/nix/store/9xslzbb1fwm453rxhb04hyqcvllhp34k-darwin-version.json.drv'...
building '/nix/store/pxzlgylnis6prnz4czn5lc4ld2ykgcym-qtwebengine-5.15.18.drv'...
error: builder for '/nix/store/pxzlgylnis6prnz4czn5lc4ld2ykgcym-qtwebengine-5.15.18.drv' failed with exit code 2;
       last 25 log lines:
       >   185 | #  define OS_CODE 19
       >       |           ^
       > ../../3rdparty/chromium/third_party/zlib/zutil.h:156:11: note: previous definition is here
       >   156 | #  define OS_CODE  7
       >       |           ^
       > 1 warning generated.
       > [35/23645] CC obj/third_party/zlib/bundled_zlib/deflate.oend/cm:devtools_entrypoint-cm-copy(//build/toolchain/mac:clang_arm64)
       > In file included from ../../3rdparty/chromium/third_party/zlib/deflate.c:52:
       > In file included from ../../3rdparty/chromium/third_party/zlib/deflate.h:16:
       > ../../3rdparty/chromium/third_party/zlib/zutil.h:185:11: warning: 'OS_CODE' macro redefined [-Wmacro-redefined]
       >   185 | #  define OS_CODE 19
       >       |           ^
       > ../../3rdparty/chromium/third_party/zlib/zutil.h:156:11: note: previous definition is here
       >   156 | #  define OS_CODE  7
       >       |           ^
       > 1 warning generated.
       > [41/23645] CXX obj/third_party/protobuf/protobuf_full/any_lite.oerated:generated-typescript(//build/toolchain/mac:clang_arm64)rm64)
       > ninja: build stopped: subcommand failed.
       > make[3]: *** [Makefile.gn_run:386: run_ninja] Error 1
       > make[3]: Leaving directory '/private/tmp/nix-build-qtwebengine-5.15.18.drv-0/source/src/core'
       > make[2]: *** [Makefile:89: sub-gn_run-pro-make_first] Error 2
       > make[2]: Leaving directory '/private/tmp/nix-build-qtwebengine-5.15.18.drv-0/source/src/core'
       > make[1]: *** [Makefile:87: sub-core-make_first] Error 2
       > make[1]: Leaving directory '/private/tmp/nix-build-qtwebengine-5.15.18.drv-0/source/src'
       > make: *** [Makefile:56: sub-src-make_first] Error 2
       For full logs, run 'nix log /nix/store/pxzlgylnis6prnz4czn5lc4ld2ykgcym-qtwebengine-5.15.18.drv'.
error: 1 dependencies of derivation '/nix/store/pasw3wq7rim2dmhbkgd479h4l9ypqyzh-jellyfin-media-player-1.11.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/qf3khmpxjnhv9qf6cf8fpy2w4cjb6l6p-system-applications.drv' failed to build
error: 1 dependencies of derivation '/nix/store/233i3291bsjrjbk9p59z7gfmay9s1sj3-darwin-system-25.05.adf5c88.drv' failed to build

Additional context

To narrow the issue down to MacOs, I run nix-shell -p jellyfin-media-player in the nix docker container. It worked.

System metadata

  • system: "aarch64-darwin"
  • host os: Darwin 24.3.0, macOS 15.3.2
  • multi-user?: yes
  • sandbox: no
  • version: nix-env (Nix) 2.24.12
  • channels(root): "nixpkgs"
  • nixpkgs: /nix/store/wiwcgq0wn3n1szp6i508kaidwzchxn2l-source

Are you using nix-darwin?

Yes, I am using nix-darwin.

Notify maintainers

@jojosch @Kranzes @paumr (thank you for maintaining this package!)


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

    0.kind: bugSomething is broken6.topic: darwinRunning or building packages on Darwin

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions