Skip to content

Build failure: libffi #279955

@ghost

Description

Steps To Reproduce

Steps to reproduce the behavior:

  1. build libffi-3.3

Build log

trying https://drivers.amd.com/drivers/linux/amdgpu-pro-21.30-1290604-ubuntu-20.04.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
Running phase: unpackPhase
unpacking source archive /nix/store/xf097h6i4i3dpg4dk45zzpkbfz6kw6cf-libffi-3.3.tar.gz
source root is libffi-3.3
setting SOURCE_DATE_EPOCH to timestamp 1574525816 of file libffi-3.3/doc/libffi.pdf
Running phase: patchPhase
applying patch /nix/store/bhg3i6gf8wq0x4v735ry3932cwyf7pih-fix-implicit-fun-decl.patch
patching file include/ffi_common.h
Hunk #1 succeeded at 103 with fuzz 2 (offset -25 lines).
can't find file to patch at input line 36
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/src/tramp.c b/src/tramp.c
|index 7e005b054..5f19b557f 100644
|--- a/src/tramp.c
|+++ b/src/tramp.c
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
1 out of 1 hunk ignored

...

error: builder for '/nix/store/zkfl27m3pvq3jgxhp3xwimfhdjn99yvr-libffi-3.3.drv' failed with exit code 1

Additional context

Fails as a dependency of amdgpu-pro

Notify maintainers

@tjni @trofi @armeenm

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: `"x86_64-linux"`
 - host os: `Linux 6.1.69, NixOS, 24.05 (Uakari), 24.05pre562833.5f64a12a7289`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions