all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Wiegley <johnw@gnu.org>
To: Alan Third <alan@idiocy.org>
Cc: 29712@debbugs.gnu.org
Subject: bug#29712: 26.0.90; Three emacs-26 elisp tests are failing on darwin
Date: Tue, 30 Jan 2018 14:40:08 -0800	[thread overview]
Message-ID: <m2shanezsn.fsf@newartisans.com> (raw)
In-Reply-To: <20180130214419.GA96869@breton.holly.idiocy.org> (Alan Third's message of "Tue, 30 Jan 2018 21:44:19 +0000")

>>>>> "AT" == Alan Third <alan@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





  reply	other threads:[~2018-01-30 22:40 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-14 16:46 bug#29712: 26.0.90; Three emacs-26 elisp tests are failing on darwin John Wiegley
2017-12-15  8:39 ` Michael Albinus
2017-12-16  1:02   ` Alan Third
2017-12-16 10:23     ` Michael Albinus
2017-12-16 13:47       ` Alan Third
2017-12-16 15:55         ` Michael Albinus
2017-12-16  1:10 ` Alan Third
2017-12-16  8:34   ` Eli Zaretskii
2017-12-16  9:46     ` Alan Third
2017-12-16 10:35       ` Eli Zaretskii
2017-12-16 13:42         ` Alan Third
2017-12-16 14:15           ` Eli Zaretskii
2017-12-16 15:07             ` Alan Third
2017-12-16 16:19               ` Eli Zaretskii
2017-12-16 16:42                 ` Alan Third
2017-12-16 16:47                   ` Eli Zaretskii
2017-12-16 17:01                     ` Alan Third
2017-12-16 17:19                       ` Eli Zaretskii
2018-01-08 21:16                         ` John Wiegley
2018-01-10  0:12                           ` Alan Third
2018-01-29 18:43                             ` John Wiegley
2018-01-30 21:44                               ` Alan Third
2018-01-30 22:40                                 ` John Wiegley [this message]
2018-01-31 20:03                                   ` Alan Third
2018-02-01 18:05                                     ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2shanezsn.fsf@newartisans.com \
    --to=johnw@gnu.org \
    --cc=29712@debbugs.gnu.org \
    --cc=alan@idiocy.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.