unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Taiju HIGASHI <higashi@taiju.info>
To: Liliana Marie Prikler <liliana.prikler@ist.tugraz.at>,
	55495@debbugs.gnu.org
Subject: bug#55495: emacs-haskell-mode build fails
Date: Wed, 18 May 2022 23:39:00 +0900	[thread overview]
Message-ID: <87fsl6ucqj.fsf@taiju.info> (raw)
In-Reply-To: <3702c0bc09e426e93f6fd4842dfe121f146e77e0.camel@ist.tugraz.at> (Liliana Marie Prikler's message of "Wed, 18 May 2022 15:16:24 +0200")

> Is a release imminent?  If not, you could apply your patch to the Guix
> package first.  Given that you've already made a pull request upstream
> there should be little in the way of pushing it here other than normal
> review work :)

It is unknown when patches submitted to upstream will be incorporated.
Therefore, I have decided to submit a patch to Guix as well.

I couldn't figure out why it wasn't a problem in the previous version,
but there was a test that would fail without the addition of git.

The error that occurs when git is not added to input is as follows:

Test haskell-generate-tags backtrace:
  call-process("git" nil (t nil) nil "--no-pager" "ls-files" "-c" "-z"
  apply(call-process "git" nil (t nil) nil ("--no-pager" "ls-files" "-
  process-file("git" nil (t nil) nil "--no-pager" "ls-files" "-c" "-z"
  apply(process-file "git" nil (t nil) nil "--no-pager" "ls-files" ("-
  vc-git--call((t nil) "ls-files" "-c" "-z" "--" ".git/Tx.hs")
  apply(vc-git--call (t nil) "ls-files" ("-c" "-z" "--" ".git/Tx.hs"))
  vc-git--out-ok("ls-files" "-c" "-z" "--" ".git/Tx.hs")
  vc-git-registered("/tmp/guix-build-emacs-haskell-mode-17.2.drv-0/sou
  (progn (load "vc-git" nil t) (vc-git-registered file))
  (if (vc-find-root file ".git") (progn (load "vc-git" nil t) (vc-git-
  vc-git-registered("/tmp/guix-build-emacs-haskell-mode-17.2.drv-0/sou
  apply(vc-git-registered "/tmp/guix-build-emacs-haskell-mode-17.2.drv
  vc-call-backend(Git registered "/tmp/guix-build-emacs-haskell-mode-1
  #f(compiled-function (b) #<bytecode 0x13d391d5f1cff585>)(Git)
  mapc(#f(compiled-function (b) #<bytecode 0x13d391d5f1cff585>) (RCS C
  vc-registered("/tmp/guix-build-emacs-haskell-mode-17.2.drv-0/sour...
  vc-backend("/tmp/guix-build-emacs-haskell-mode-17.2.drv-0/sour...")
  vc-refresh-state()
  run-hooks(find-file-hook)
  after-find-file(t t)
  find-file-noselect-1(#<buffer Tx.hs> "/tmp/guix-build-emacs-haskell-
  find-file-noselect("Tx.hs")
  (set-buffer (find-file-noselect (car entry)))
  (save-current-buffer (set-buffer (find-file-noselect (car entry))) (
  (cond ((stringp (cdr entry)) (save-current-buffer (set-buffer (find-
  (let ((entry (car --dolist-tail--))) (cond ((stringp (cdr entry)) (s
  (while --dolist-tail-- (let ((entry (car --dolist-tail--))) (cond ((
  (let ((--dolist-tail-- entries)) (while --dolist-tail-- (let ((entry
  create-directory-structure((("Tx.hs" . "should_not_see_me :: Int")))
  (let ((default-directory (file-name-as-directory (concat default-dir
  (cond ((stringp (cdr entry)) (save-current-buffer (set-buffer (find-
  (let ((entry (car --dolist-tail--))) (cond ((stringp (cdr entry)) (s
  (while --dolist-tail-- (let ((entry (car --dolist-tail--))) (cond ((
  (let ((--dolist-tail-- entries)) (while --dolist-tail-- (let ((entry
  create-directory-structure((("xxx.cabal" . "") ("T1.hs" . "i1 :: Int
  (let ((default-directory (file-name-as-directory (concat default-dir
  (unwind-protect (let ((default-directory (file-name-as-directory (co
  (let ((tmpdir (make-temp-name "haskell-mode-test-dir"))) (make-direc
  (let ((lexical-binding t)) (let ((tmpdir (make-temp-name "haskell-mo
  (closure (t) nil (let ((lexical-binding t)) (let ((tmpdir (make-temp
  ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
  ert-run-test(#s(ert-test :name haskell-generate-tags :documentation 
  ert-run-or-rerun-test(#s(ert--stats :selector t :tests ... :test-map
  ert-run-tests(t #f(compiled-function (event-type &rest event-args) #
  ert-run-tests-batch(nil)
  ert-run-tests-batch-and-exit()
  command-line-1(("--eval" "(when (boundp 'load-prefer-newer) (setq lo
  command-line()
  normal-top-level()
Test haskell-generate-tags condition:
    (file-missing "Searching for program" "No such file or directory" "git")
   FAILED  100/435  haskell-generate-tags (0.027103 sec)

Cheers




  reply	other threads:[~2022-05-18 14:40 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-18  8:30 bug#55495: emacs-haskell-mode build fails Taiju HIGASHI
2022-05-18 13:16 ` Liliana Marie Prikler
2022-05-18 14:39   ` Taiju HIGASHI [this message]
2022-05-18 14:31 ` bug#55495: [PATCH] gnu: emacs-haskell-mode: Fix build Taiju HIGASHI
2022-05-19 19:09   ` Liliana Marie Prikler
2022-05-20  2:29     ` Taiju HIGASHI
2022-05-20  8:49       ` Taiju HIGASHI
2022-05-19 15:14 ` bug#55495: Re: emacs-haskell-mode build fails Luis Henrique Gomes Higino
2022-05-20  9:49   ` Taiju HIGASHI
2022-05-20  9:54 ` bug#55495: [PATCH] gnu: emacs-haskell-mode: Fix build Taiju HIGASHI
2022-05-20 20:59   ` Taiju HIGASHI
2022-05-20 21:57     ` Liliana Marie Prikler
2022-05-20 22:52       ` Taiju HIGASHI
2022-05-20  9:59 ` bug#55495: [PATCH v2] " Taiju HIGASHI
2022-05-21  5:23 ` bug#55495: [PATCH v3] " Taiju HIGASHI
2022-05-31 19:29 ` bug#55495: (no subject) Luis Henrique Gomes Higino
2022-06-01  3:52   ` Taiju HIGASHI
2022-06-01 14:56     ` Luis Henrique Gomes Higino
2022-06-01 15:36       ` Taiju HIGASHI
2022-06-02  3:57 ` bug#55495: [PATCH v3] gnu: emacs-haskell-mode: Fix build Taiju HIGASHI
2022-06-02  4:01   ` Taiju HIGASHI
2022-06-17 21:41 ` bug#55495: About v3 Luis Henrique Gomes Higino
2022-06-18 14:09   ` Taiju HIGASHI
2022-06-22  0:33 ` bug#55495: resolved by bug#56120 Taiju HIGASHI

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87fsl6ucqj.fsf@taiju.info \
    --to=higashi@taiju.info \
    --cc=55495@debbugs.gnu.org \
    --cc=liliana.prikler@ist.tugraz.at \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).