bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU Wdiff: Testsuite fails


From: Ludovic Courtès
Subject: Re: GNU Wdiff: Testsuite fails
Date: Mon, 11 Feb 2013 10:19:12 +0100
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)

Nikita Karetnikov <address@hidden> skribis:

> /tmp/nix-build-wdiff-1.1.2.drv-12/wdiff-1.1.2/src/wdiff: failed to execute 
> diff: No such file or directory

So, the test suite creates ‘diff’ binaries, for instance, with an
invalid shebang.

To fix that you need to add a phase that does:

  (substitute* "tests/testsuite"
    (("#! /bin/sh")
     (string-append "#!" (which "sh"))))

I believe this should be enough.

HTH,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]