52ccc27c1e
Currently autobuild failed to build in both master and release-16.03. The
error message is
mv: cannot stat '/nix/store/a4jzlkrhd4b4nr5760caj3rrjxhyg4z3-autobuild-5.3/bin/abput-sourceforge': No such file or directory
builder for ‘/nix/store/l19vywq8zvbarswby5h7vl4iq1c1pvq7-autobuild-5.3.drv’ failed with exit code 1
It happens in post install script
postInstall = ''
wrapProgram $out/bin/ab{put,build}-sourceforge \
--prefix PATH ":" "${stdenv.lib.makeBinPath [ openssh rsync ]}"
'';
The problem is that in autobuild 5.0 the ab{put,build}-sourceforge were removed
* Version 5.0 (released 2008-11-25)
...
** abput, abput-sourceforge, abput-testdrive: Remove.
** abbuild, abbuild-sourceforge: Remove.
Both the SourceForge and TestDrive systems have been shutdown. The
scripts were of questionable value anyway.
Possibly the bug was introduced in commit
8c4fcc87f8
: autobuild: 3.5 -> 5.3.
As the package doesn't contain these programs there is no need in wrapping
them. This commit just remove the postInstall section of corresponding
package.
34 lines
1.1 KiB
Nix
34 lines
1.1 KiB
Nix
{ fetchurl, stdenv, makeWrapper, perl, openssh, rsync }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "autobuild-5.3";
|
|
|
|
src = fetchurl {
|
|
url = "http://savannah.spinellicreations.com/autobuild/${name}.tar.gz";
|
|
sha256 = "0gv7g61ja9q9zg1m30k4snqwwy1kq7b4df6sb7d2qra7kbdq8af1";
|
|
};
|
|
|
|
buildInputs = [ makeWrapper perl openssh rsync ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
description = "Continuous integration tool";
|
|
|
|
longDescription = ''
|
|
Autobuild is a package that process output from building
|
|
software, primarily focused on packages using Autoconf and
|
|
Automake, and then generate a HTML summary file, containing
|
|
links to each build log.
|
|
|
|
Autobuild can also help you automate building your project on
|
|
many systems concurrently. Users with accounts on the
|
|
SourceForge compile farms will be able to invoke a parallel
|
|
build of their Autoconf/Automake based software, and produce a
|
|
summary of the build status, after reading the manual.
|
|
'';
|
|
|
|
homepage = http://josefsson.org/autobuild/;
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
};
|
|
}
|