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

Bug#1052929: yasnippet: FTBFS: make: *** [debian/rules:4: binary] Error 25



Source: yasnippet
Version: 0.14.0+git20200603.5cbdbf0d-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20230925 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> HOME=$(pwd) emacs -Q -L /usr/share/emacs/site-lisp/elpa-src/htmlize-* -L . --batch -l htmlize -l doc/yas-doc-helper.el -f yas--generate-html-batch
> Package cl is deprecated
> doc/yas-doc-helper.el: Warning: ‘loop’ is an obsolete alias (as of 27.1); use ‘cl-loop’ instead.
> doc/yas-doc-helper.el: Warning: ‘loop’ is an obsolete alias (as of 27.1); use ‘cl-loop’ instead.
> doc/yas-doc-helper.el: Warning: ‘return’ is an obsolete alias (as of 27.1); use ‘cl-return’ instead.
> doc/yas-doc-helper.el: Warning: ‘loop’ is an obsolete alias (as of 27.1); use ‘cl-loop’ instead.
> Publishing file /<<PKGBUILDDIR>>/doc/faq.org using ‘org-html-publish-to-html’
> Publishing file /<<PKGBUILDDIR>>/doc/index.org using ‘org-html-publish-to-html’
> Publishing file /<<PKGBUILDDIR>>/doc/snippet-development.org using ‘org-html-publish-to-html’
> Publishing file /<<PKGBUILDDIR>>/doc/snippet-reference.org using ‘org-html-publish-to-html’
> Executing Emacs-Lisp unknown at position 49...
> Code block evaluation complete.
> Publishing file /<<PKGBUILDDIR>>/doc/snippet-organization.org using ‘org-html-publish-to-html’
> Publishing file /<<PKGBUILDDIR>>/doc/snippet-expansion.org using ‘org-html-publish-to-html’
> Publishing file /<<PKGBUILDDIR>>/doc/snippet-menu.org using ‘org-html-publish-to-html’
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    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 . --eval "(setq user-emacs-directory (make-temp-file \"yasnippet-test\" 'dir-flag))" -l yasnippet-tests.el --eval \(ert-run-tests-batch-and-exit\)
> Running 91 tests (2023-09-26 06:54:06+0000, selector ‘t’)
>    failed   1/91  another-example-for-issue-271 (0.000494 sec)
>    passed   2/91  auto-fill-with-multiparagraph (0.000850 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> 
>    passed   3/91  auto-next-field (0.039849 sec)
>    passed   4/91  basic-indentation (0.045317 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> 
>    passed   5/91  basic-jit-loading (0.107436 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> [yas] Prepared just-in-time loading of snippets successfully.
> 
>    passed   6/91  basic-jit-loading-with-compiled-snippets (0.096542 sec)
>    passed   7/91  be-careful-when-escaping-in-yas-selected-text (0.000777 sec)
>    passed   8/91  be-careful-when-escaping-in-yas-selected-text-2 (0.000395 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> [yas] Error in condition evaluation: Symbol’s value as variable is void: yas--barbaz
> 
>    passed   9/91  complicated-yas-key-syntaxes (0.028898 sec)
>    passed  10/91  deep-nested-mirroring-issue-351 (0.002675 sec)
> [yas] Committing snippets. Action would destroy a protection overlay.
> Test delete-nested-simple-field-issue-824 backtrace:
>   signal(wrong-type-argument (yas--snippet nil))
>   (or (progn (and (memq (type-of snippet) cl-struct-yas--snippet-tags)
>   (progn (or (progn (and (memq (type-of snippet) cl-struct-yas--snippe
>   (cl-remove-if #'(lambda (field) (and (not (eq field active)) (yas--f
>   (let ((live-fields (cl-remove-if #'(lambda (field) (and (not ...) (y
>   yas--find-next-field(1 nil #s(yas--field :number 3 :start 1 :end 1 :
>   (let* ((active-field (overlay-get yas--active-field-overlay 'yas--fi
>   yas-next-field(1)
>   (cond ((yas--maybe-clear-field-filter t) (yas--skip-and-clear (or fi
>   yas-skip-and-clear-or-delete-char()
>   apply(yas-skip-and-clear-or-delete-char nil)
>   ert-simulate-command((yas-skip-and-clear-or-delete-char))
>   (progn (yas-minor-mode 1) (yas-expand-snippet "${3:so-$4and}$0${2:-s
>   (unwind-protect (progn (yas-minor-mode 1) (yas-expand-snippet "${3:s
>   (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn
>   (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current
>   (closure (t) nil (let ((temp-buffer (generate-new-buffer " *temp*" t
>   ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
>   ert-run-test(#s(ert-test :name delete-nested-simple-field-issue-824 
>   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(("-l" "package" "--eval" "(add-to-list 'package-direc
>   command-line()
>   normal-top-level()
> Test delete-nested-simple-field-issue-824 condition:
>     (wrong-type-argument yas--snippet nil)
>    FAILED  11/91  delete-nested-simple-field-issue-824 (0.001100 sec) at yasnippet-tests.el:299
> [yas] Committing snippets. Action would destroy a protection overlay.
> Test delete-numberless-inner-snippet-issue-562 backtrace:
>   signal(wrong-type-argument (yas--snippet nil))
>   (or (progn (and (memq (type-of snippet) cl-struct-yas--snippet-tags)
>   (progn (or (progn (and (memq (type-of snippet) cl-struct-yas--snippe
>   (cl-remove-if #'(lambda (field) (and (not (eq field active)) (yas--f
>   (let ((live-fields (cl-remove-if #'(lambda (field) (and (not ...) (y
>   yas--find-next-field(1 nil #s(yas--field :number nil :start 1 :end 1
>   (let* ((active-field (overlay-get yas--active-field-overlay 'yas--fi
>   yas-next-field(1)
>   yas-skip-and-clear-field()
>   apply(yas-skip-and-clear-field nil)
>   ert-simulate-command((yas-skip-and-clear-field))
>   (progn (yas-minor-mode 1) (yas-expand-snippet "${3:${test}bla}$0${2:
>   (unwind-protect (progn (yas-minor-mode 1) (yas-expand-snippet "${3:$
>   (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn
>   (let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current
>   (closure (t) nil (let ((temp-buffer (generate-new-buffer " *temp*" t
>   ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
>   ert-run-test(#s(ert-test :name delete-numberless-inner-snippet-issue
>   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(("-l" "package" "--eval" "(add-to-list 'package-direc
>   command-line()
>   normal-top-level()
> Test delete-numberless-inner-snippet-issue-562 condition:
>     (wrong-type-argument yas--snippet nil)
>    FAILED  12/91  delete-numberless-inner-snippet-issue-562 (0.000945 sec) at yasnippet-tests.el:288
> Mark set
>    passed  13/91  do-clear-on-yank-issue-515 (0.000681 sec)
>    passed  14/91  dont-clear-on-partial-deletion-issue-515 (0.000527 sec)
>    passed  15/91  escape-backquotes (0.000217 sec)
>    passed  16/91  escape-backslashes (0.000139 sec)
>    passed  17/91  escape-closing-brace (0.000263 sec)
>    passed  18/91  escape-dollar (0.000146 sec)
>    passed  19/91  escape-some-elisp-with-backslashes (0.000163 sec)
>    passed  20/91  escape-some-elisp-with-strings (0.000179 sec)
>    passed  21/91  escaping-for-lsp-style-snippet-syntax (0.000397 sec)
>    passed  22/91  example-for-issue-271 (0.000576 sec)
>    passed  23/91  example-for-issue-404 (0.167414 sec)
>    passed  24/91  example-for-issue-404-c-mode (0.010972 sec)
>    passed  25/91  example-for-issue-474 (0.001448 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> 
>    passed  26/91  expand-with-unused-yas-selected-text (0.003229 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> 
>    passed  27/91  extra-modes-parenthood (0.027566 sec)
>    passed  28/91  field-navigation (0.000747 sec)
>    passed  29/91  ignore-trailing-whitespace (0.000085 sec)
>    passed  30/91  indent-cc-mode (0.023695 sec)
>    passed  31/91  indent-cc-mode-2 (0.001465 sec)
> Making before-change-functions buffer-local while locally let-bound!
>    passed  32/91  indent-mirrors-on-complex-update (0.002435 sec)
>    passed  33/91  indent-mirrors-on-update (0.001246 sec)
>    passed  34/91  indent-org-property (0.313250 sec)
>    passed  35/91  indent-snippet-mode (0.000966 sec)
>    passed  36/91  indentation-markers (0.000606 sec)
>    passed  37/91  insert-snippet-with-backslashes-in-active-field (0.000395 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> 
>    passed  38/91  issue-492-and-494 (0.001677 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> 
>    passed  39/91  issue-504-tricky-jit (0.003928 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> 
>    passed  40/91  loading-with-cyclic-parenthood (0.031838 sec)
>    passed  41/91  middle-of-buffer-snippet-insertion (0.000271 sec)
>    passed  42/91  mirror-with-transformation (0.001002 sec)
>    passed  43/91  mirror-with-transformation-and-autofill (0.022396 sec)
>    passed  44/91  mirrors-adjacent-to-fields-with-nested-mirrors (0.003434 sec)
>    passed  45/91  nested-placeholders-kill-superfield (0.000579 sec)
>    passed  46/91  nested-placeholders-use-subfield (0.000488 sec)
>    passed  47/91  nested-snippet-expansion-1 (0.000352 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> 
>    passed  48/91  nested-snippet-expansion-2 (0.052326 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> 
>    passed  49/91  nested-snippet-expansion-3 (0.017168 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> 
>    passed  50/91  nested-snippet-expansion-4 (0.004074 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> [yas] Committing snippets. Action would destroy a protection overlay.
> 
>    passed  51/91  nested-snippet-expansion-5-nested-delete (0.003930 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> 
>    passed  52/91  nested-snippet-expansion-depth-2 (0.004334 sec)
>    passed  53/91  primary-field-transformation (0.001093 sec)
>    failed  54/91  protection-overlay-no-cheating (0.000368 sec)
>    passed  55/91  simple-mirror (0.000798 sec)
>    passed  56/91  single-line-multi-mirror-indentation (0.000567 sec)
>    passed  57/91  single-line-multi-mirror-indentation-2 (0.003687 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> 
>    passed  58/91  snippet-exit-hooks (0.033021 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> 
>    passed  59/91  snippet-exit-hooks-bindings (0.032119 sec)
>    passed  60/91  snippet-load-uuid (0.270418 sec)
> 
> [yas] Snippets loaded successfully.
> 
>    passed  61/91  snippet-lookup (0.044850 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> Making before-change-functions buffer-local while locally let-bound!
> 
>    passed  62/91  snippet-mirror-bindings (0.035845 sec)
> 
> [yas] Snippet "foo" loaded for .
> [yas] Snippet "foo" loaded for .
> [yas] Snippet "bar" loaded for .
> [yas] Snippet "bar" loaded for .
> 
>    passed  63/91  snippet-save (0.253094 sec)
> Making before-change-functions buffer-local while locally let-bound!
>    passed  64/91  snippet-with-multiline-mirrors-issue-665 (0.014701 sec)
>    passed  65/91  string-match-with-subregexp-in-embedded-elisp (0.000406 sec)
>    passed  66/91  string-match-with-subregexp-in-mirror-transformations (0.002964 sec)
> 
> [yas] Don't know anything about menu entry yas-ignore-item
> [yas] Snippets loaded successfully.
> 
>    passed  67/91  test-group-menus (0.077028 sec)
> 
> [yas] Don't know anything about menu entry yas-ignore-item
> [yas] Snippets loaded successfully.
> [yas] Don't know anything about menu entry yas-ignore-item
> [yas] Snippets loaded successfully.
> [yas] Don't know anything about menu entry yas-ignore-item
> [yas] Snippets loaded successfully.
> 
>    passed  68/91  test-group-menus-twisted (0.072136 sec)
> [yas] Prepared just-in-time loading of snippets successfully.
>    passed  69/91  test-rebindings (0.116164 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> 
>    passed  70/91  test-yas-activate-extra-modes (0.048134 sec)
> 
> [yas] Don't know anything about menu entry yas-ignore-item
> [yas] Snippets loaded successfully.
> 
>    passed  71/91  test-yas-define-menu (0.044246 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> 
>    passed  72/91  test-yas-in-org (0.040490 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> 
>    passed  73/91  test-yas-tab-binding (0.036683 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> Undo
> 
>    passed  74/91  undo-indentation-1 (0.003721 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> Undo
> 
>    passed  75/91  undo-indentation-2 (0.003744 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> Undo
> 
>    passed  76/91  undo-indentation-multiline-1 (0.017601 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> Undo
> 
>    passed  77/91  undo-indentation-multiline-2 (0.004909 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> Undo
> Undo
> Redo
> 
>    passed  78/91  undo-redo (0.003508 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> Undo
> 
>    passed  79/91  undo-revive-and-do-again (0.003667 sec)
> 
> [yas] Snippets loaded successfully.
> 
>    passed  80/91  visiting-compiled-snippets (0.062975 sec)
>    passed  81/91  yas-also-indent-empty-lines (0.000937 sec)
>    passed  82/91  yas-escaping-close-brace (0.000349 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> 
>    passed  83/91  yas-expand-command-snippet (0.003036 sec)
>    passed  84/91  yas-indent-first-line (0.000586 sec)
>    passed  85/91  yas-indent-first-line-fixed (0.000490 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> 
>    passed  86/91  yas-lookup-snippet-with-env (0.003023 sec)
>    passed  87/91  yas-mirror-many-fields (0.002133 sec)
>    passed  88/91  yas-no-memory-of-bad-snippet (0.000433 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> Making before-change-functions buffer-local while locally let-bound!
> 
>    passed  89/91  yas-org-native-tab-in-source-block-emacs-lisp (0.036654 sec)
> 
> [yas] Prepared just-in-time loading of snippets successfully.
> 
>    passed  90/91  yas-org-native-tab-in-source-block-text (0.152029 sec)
>    passed  91/91  yas-unload (0.229800 sec)
> 
> Ran 91 tests, 89 results as expected, 2 unexpected (2023-09-26 06:54:08+0000, 2.851072 sec)
> 2 expected failures
> 
> 2 unexpected results:
>    FAILED  delete-nested-simple-field-issue-824
>    FAILED  delete-numberless-inner-snippet-issue-562
> 
> dh_elpa_test: error: 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 . --eval "(setq user-emacs-directory (make-temp-file \"yasnippet-test\" 'dir-flag))" -l yasnippet-tests.el --eval \(ert-run-tests-batch-and-exit\) returned exit code 1
> make: *** [debian/rules:4: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2023/09/25/yasnippet_0.14.0+git20200603.5cbdbf0d-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230925;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230925&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.


Reply to: