GNU bug report logs -
#29712
26.0.90; Three emacs-26 elisp tests are failing on darwin
Previous Next
Reported by: "John Wiegley" <johnw <at> gnu.org>
Date: Thu, 14 Dec 2017 20:22:01 UTC
Severity: minor
Tags: fixed
Merged with 29277
Found in version 26.0.90
Fixed in version 26.1
Done: Alan Third <alan <at> idiocy.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
>>>>> "AT" == Alan Third <alan <at> idiocy.org> writes:
AT> How are you running the tests? Is it from this nix build location?
I run the test using this expression:
emacs26 = with pkgs; stdenv.lib.overrideDerivation
(emacs25.override { srcRepo = true; }) (attrs: rec {
name = "emacs-${version}${versionModifier}";
version = "26.0";
versionModifier = ".90";
buildInputs = emacs25.buildInputs ++ [ git ];
patches = lib.optionals stdenv.isDarwin
[ ./emacs/patches/at-fdcwd.patch
./emacs/patches/emacs-26.patch ];
CFLAGS = "-Ofast -momit-leaf-frame-pointer";
src = fetchgit {
url = https://git.savannah.gnu.org/git/emacs.git;
rev = "8d4500087f547e203cfba03f61dcbe641bf650de";
sha256 = "1zk9xm01v4chnxf9ns9c3kx2jal3lj88hadv5vp0zb8xr9vz4f31";
};
postPatch = ''
rm -fr .git
'';
postInstall = ''
mkdir -p $out/share/emacs/site-lisp
cp ${./emacs/site-start.el} $out/share/emacs/site-lisp/site-start.el
$out/bin/emacs --batch -f batch-byte-compile $out/share/emacs/site-lisp/site-start.el
rm -rf $out/var
rm -rf $out/share/emacs/${version}/site-lisp
for srcdir in src lisp lwlib ; do
dstdir=$out/share/emacs/${version}/$srcdir
mkdir -p $dstdir
find $srcdir -name "*.[chm]" -exec cp {} $dstdir \;
cp $srcdir/TAGS $dstdir
echo '((nil . ((tags-file-name . "TAGS"))))' > $dstdir/.dir-locals.el
done
'' + lib.optionalString stdenv.isDarwin ''
mkdir -p $out/Applications
mv nextstep/Emacs.app $out/Applications
'';
});
emacs26debug = pkgs.stdenv.lib.overrideDerivation emacs26 (attrs: rec {
name = "emacs-26.0.90-debug";
doCheck = true;
CFLAGS = "-O0 -g3";
configureFlags = [ "--with-modules" ] ++
[ "--with-ns" "--disable-ns-self-contained"
"--enable-checking=yes,glyphs"
"--enable-check-lisp-object-type" ];
});
This is in my Nix overlays. I think just build nixpkgs.emacs26debug.
--
John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2
This bug report was last modified 7 years and 189 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.