[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU RCS 5.7.93 (pretest for 5.8) available
From: |
Ludovic Courtès |
Subject: |
Re: GNU RCS 5.7.93 (pretest for 5.8) available |
Date: |
Wed, 29 Sep 2010 11:52:18 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Hi!
Thien-Thi Nguyen <address@hidden> writes:
> 5. The ‘rlog’ program as run by the tests segfaults:
>
> [details]
>
> Interesting. Can you reproduce this on the gcc compile farm
> somewhere?
Sorry, I’ll let this as an exercise for you. :-)
I’d expect it to be reproducible on any recent x86_64-linux-gnu machine
(this was with Glibc 2.11.1 and GCC 4.4.3, FWIW). Perhaps Valgrind can
provide hints, too.
> Alternatively, what do i need to do to get a shell account where this
> occurs for debugging purposes?
The best would be to install Nix and Nixpkgs/trunk on an
x86_64-linux-gnu machine, patch Nixpkgs with the attached patch, and run
“nix-build -A rcs -K”.
It takes time, though, and may be inconvenient if you don’t plan to use
Nix otherwise.
Thanks,
Ludo’.
diff --git a/pkgs/applications/version-management/rcs/default.nix
b/pkgs/applications/version-manag
index 333266d..253d64f 100644
--- a/pkgs/applications/version-management/rcs/default.nix
+++ b/pkgs/applications/version-management/rcs/default.nix
@@ -1,19 +1,43 @@
-{stdenv, fetchurl}:
+{ stdenv, fetchurl, ed }:
-stdenv.mkDerivation {
- name = "rcs-5.7";
+stdenv.mkDerivation rec {
+ name = "rcs-5.7.93"; # pre-test for 5.8
src = fetchurl {
- url = ftp://ftp.cs.purdue.edu/pub/RCS/rcs-5.7.tar;
- md5 = "f7b3f106bf87ff6344df38490f6a02c5";
+ url = "ftp://alpha.gnu.org/gnu/rcs/${name}.tar.gz";
+ sha256 = "0iyp30lix6ywfspbnkj5zxkf9pwgvr25a5pcb22v3rdbmfmda5vm";
};
- patches = [ ./no-root.patch ];
+ buildInputs = [ ed ];
+
+ configureFlags = "RCS_PRETEST=acknowledged";
+
+ preBuild =
+ '' export dontStrip=1
+ unset NIX_STRIP_DEBUG
+ unset NIX_CFLAGS_STRIP
+ '';
+
+# patches = [ ./no-root.patch ];
+
+ doCheck = true;
+
+ # The `alive.test' scripts wants $USER.
+ preCheck = "export USER=nix-build";
meta = {