Skip to content

Build failure: chromedriver (aarch64-darwin) #329202

@n8henrie

Description

@n8henrie

Steps To Reproduce

$ nix build github:nixos/nixpkgs#chromedriver
error: builder for '/nix/store/4cnbf5s6c9mqdxi831rjapfqdvd1dq6h-chromedriver-126.0.6478.182.drv' failed with exit code 1;
       last 10 log lines:
       > calling 'envHostTargetHook' function hook 'bintoolsWrapper_addLDVars' /nix/store/04w1mgkhawycg64s4q3n8mkcvma5ppx0-apple-framework-CoreFoundation-11.0.0
       > calling 'envHostTargetHook' function hook 'gatherLibraries' /nix/store/lybzq28v1ay0zac24hp0pw38s76ijvsj-libobjc-11.0.0
       > calling 'envHostTargetHook' function hook 'bintoolsWrapper_addLDVars' /nix/store/lybzq28v1ay0zac24hp0pw38s76ijvsj-libobjc-11.0.0
       > calling 'envHostTargetHook' function hook 'sdkRootHook' /nix/store/lybzq28v1ay0zac24hp0pw38s76ijvsj-libobjc-11.0.0
       > calling 'envHostTargetHook' function hook 'ccWrapper_addCVars' /nix/store/lybzq28v1ay0zac24hp0pw38s76ijvsj-libobjc-11.0.0
       > calling 'envHostTargetHook' function hook 'bintoolsWrapper_addLDVars' /nix/store/lybzq28v1ay0zac24hp0pw38s76ijvsj-libobjc-11.0.0
       > Running phase: unpackPhase
       > unpacking source archive /nix/store/jrz3iszjad55yzzazxlkq4kkcr2mkbzd-chromedriver-mac-arm64.zip
       > calling 'unpackCmd' function hook '_defaultUnpack' /nix/store/jrz3iszjad55yzzazxlkq4kkcr2mkbzd-chromedriver-mac-arm64.zip
       > do not know how to unpack source archive /nix/store/jrz3iszjad55yzzazxlkq4kkcr2mkbzd-chromedriver-mac-arm64.zip
       For full logs, run 'nix log /nix/store/4cnbf5s6c9mqdxi831rjapfqdvd1dq6h-chromedriver-126.0.6478.182.drv'.

Build log

Above has the important part.

Additional context

unzip is missing from nativeBuildInputs after 4919b62

Fixing the immediate issue then reveals that autoPatchelfHook will try to run on darwin, which also doesn't work.

PR incoming.

Notify maintainers

From the above commit: @K900 @paveloom

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-darwin"`
 - host os: `Darwin 23.5.0, macOS 14.5`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.19.6`
 - channels(n8henrie): `""`
 - channels(root): `""`
 - nixpkgs: `/nix/store/h5m0sr1l5cwqga83zfdm7qbbrnm1iill-source`

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