[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#863216: ITP: emacs-ivy -- a generic completion frontend for Emacs



Hi Sean,

On Tue, May 23, 2017 at 08:22:19PM +0100, Sean Whitton wrote:
> 
> While upstream's git repo is called 'swiper', it's clear that the
> overarching project has been renamed to 'ivy' -- see the releases
> page.[1]
> 
> Filing this RFP and immediately converting to an ITP for Nicholas, who
> is busy IRL but has 90% of the packaging in hand.
> 
> [1]  https://github.com/abo-abo/swiper/releases

Thank you for filing this on my behalf :-)  I've pushed a preliminary
package to ssh://git.debian.org/git/pkg-emacsen/pkg/emacs-ivy.git

Unfortunately one test fails:
...
Running 16 tests (2017-05-28 13:30:14-0400)
Test colir-color-parse backtrace:
  (let ((fn-220 (function equal)) (args-221 (list (colir-color-parse "
  (lambda nil (let ((fn-220 (function equal)) (args-221 (list (colir-c
  ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
  ert-run-test([cl-struct-ert-test colir-color-parse nil (lambda nil (
  ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test c
  ert-run-tests(t #[385 "\306\307\"\203G\211\211G\310U\203\211@\20
  ert-run-tests-batch(nil)
  ert-run-tests-batch-and-exit()
  eval((ert-run-tests-batch-and-exit))
  command-line-1(("-l" "package" "--eval" "(add-to-list 'package-direc
  command-line()
  normal-top-level()
Test colir-color-parse condition:
    (void-function colir-color-parse)
   FAILED   1/16  colir-color-parse
...
dh_elpa_test: emacs -batch -Q -l package --eval (add-to-list
'package-directory-list "/usr/share/emacs/site-lisp/elpa") --eval
(add-to-list 'package-directory-list
"/usr/share/emacs/site-lisp/elpa-src") -f package-initialize -L . -l
ivy-test.el --eval (ert-run-tests-batch-and-exit) returned exit code 1
debian/rules:4: recipe for target 'build' failed make: *** [build]
Error 2 dpkg-buildpackage: error: debian/rules build gave error exit
status 2

The test in question is around L210 of ivy-test.el.  If I manually
load-file colir.el and eval-expression (colir-color-parse "#ab1234")
with emacs25, it returns the correct triplet as a list, so I'm not
sure where the problem is or how to proceed.  Commenting out
autopkgtest-pkg-elpa in d/control doesn't seem to help.  Any advice
for debugging this with greater verbosity, since my
ignorance/inexperience is preventing further progress on this ITP?
Not installing ivy-test.el seems sloppy...

Cheers,
Nicholas

Attachment: signature.asc
Description: Digital signature


Reply to: