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

Bug#1052931: pyvenv-el: FTBFS: make: *** [debian/rules:4: binary] Error 25



Source: pyvenv-el
Version: 1.21+git20201124.37e7cb1-1
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>>'
> skipping upstream build
> 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 . -L test --eval "(load-file \"test/test-helper.el\")" -l test/pyvenv-workon-home-test.el -l test/pyvenv-mode-test.el -l test/pyvenv-deactivate-test.el -l test/pyvenv-activate-test.el -l test/pyvenv-hook-dir-test.el -l test/pyvenv-virtualenv-list-test.el -l test/pyvenv-workon-test.el --eval \(ert-run-tests-batch-and-exit\)
> Loading /<<PKGBUILDDIR>>/test/test-helper.el (source)...
> 
> Error: error ("Test ‘pyvenv-hook-dir’ redefined")
>   mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode -0xf7995a214517817>))
>   debug-early-backtrace()
>   debug-early(error (error "Test ‘pyvenv-hook-dir’ redefined"))
>   error("Test `%s' redefined" pyvenv-hook-dir)
>   ert-set-test(pyvenv-hook-dir #s(ert-test :name pyvenv-hook-dir :documentation nil :body (lambda nil (let ((process-environment (cons "VIRTUALENVWRAPPER_HOOK_DIR=/hook_dir" process-environment))) (let* ((fn-154 #'equal) (args-155 (condition-case err (let ((signal-hook-function #'ert--should-signal-hook)) (list (pyvenv-hook-dir) "/hook_dir")) (error (progn (setq fn-154 #'signal) (list (car err) (cdr err))))))) (let ((value-156 'ert-form-evaluation-aborted-157)) (let (form-description-158) (if (unwind-protect (setq value-156 (apply fn-154 args-155)) (setq form-description-158 (nconc (list '(should (equal (pyvenv-hook-dir) "/hook_dir"))) (list :form (cons fn-154 args-155)) (if (eql value-156 'ert-form-evaluation-aborted-157) nil (list :value value-156)) (if (eql value-156 'ert-form-evaluation-aborted-157) nil (let* ((-explainer- (and t (ert--get-explainer 'equal)))) (if -explainer- (list :explanation (apply -explainer- args-155)) nil))))) (ert--signal-should-execution form-description-158)) nil (ert-fail form-description-158))) value-156))) (let ((process-environment (append '("VIRTUALENVWRAPPER_HOOK_DIR" "WORKON_HOME=/workon_home") process-environment))) (let* ((fn-159 #'equal) (args-160 (condition-case err (let ((signal-hook-function #'ert--should-signal-hook)) (list (pyvenv-hook-dir) "/workon_home")) (error (progn (setq fn-159 #'signal) (list (car err) (cdr err))))))) (let ((value-161 'ert-form-evaluation-aborted-162)) (let (form-description-163) (if (unwind-protect (setq value-161 (apply fn-159 args-160)) (setq form-description-163 (nconc (list '(should (equal (pyvenv-hook-dir) "/workon_home"))) (list :form (cons fn-159 args-160)) (if (eql value-161 'ert-form-evaluation-aborted-162) nil (list :value value-161)) (if (eql value-161 'ert-form-evaluation-aborted-162) nil (let* ((-explainer- (and t (ert--get-explainer 'equal)))) (if -explainer- (list :explanation (apply -explainer- args-160)) nil))))) (ert--signal-should-execution form-description-163)) nil (ert-fail form-description-163))) value-161))) (let ((process-environment (append '("VIRTUALENVWRAPPER_HOOK_DIR" "WORKON_HOME") process-environment))) (let* ((fn-164 #'equal) (args-165 (condition-case err (let ((signal-hook-function #'ert--should-signal-hook)) (list (pyvenv-hook-dir) (expand-file-name "~/.virtualenvs"))) (error (progn (setq fn-164 #'signal) (list (car err) (cdr err))))))) (let ((value-166 'ert-form-evaluation-aborted-167)) (let (form-description-168) (if (unwind-protect (setq value-166 (apply fn-164 args-165)) (setq form-description-168 (nconc (list '(should (equal (pyvenv-hook-dir) (expand-file-name "~/.virtualenvs")))) (list :form (cons fn-164 args-165)) (if (eql value-166 'ert-form-evaluation-aborted-167) nil (list :value value-166)) (if (eql value-166 'ert-form-evaluation-aborted-167) nil (let* ((-explainer- (and t (ert--get-explainer 'equal)))) (if -explainer- (list :explanation (apply -explainer- args-165)) nil))))) (ert--signal-should-execution form-description-168)) nil (ert-fail form-description-168))) value-166)))) :most-recent-result nil :expected-result-type :passed :tags nil :file-name "/<<PKGBUILDDIR>>/test/pyvenv-hook-dir-test.el"))
>   load-with-code-conversion("/<<PKGBUILDDIR>>/test/pyvenv-hook-dir-test.el" "/<<PKGBUILDDIR>>/test/pyvenv-hook-dir-test.el" nil t)
>   command-line-1(("-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" "test" "--eval" "(load-file \"test/test-helper.el\")" "-l" "test/pyvenv-workon-home-test.el" "-l" "test/pyvenv-mode-test.el" "-l" "Test ‘pyvenv-hook-dir’ redefined
> test/pyvenv-deactivate-test.el" "-l" "test/pyvenv-activate-test.el" "-l" "test/pyvenv-hook-dir-test.el" "-l" "test/pyvenv-virtualenv-list-test.el" "-l" "test/pyvenv-workon-test.el" "--eval" "(ert-run-tests-batch-and-exit)"))
>   command-line()
>   normal-top-level()
> 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 . -L test --eval "(load-file \"test/test-helper.el\")" -l test/pyvenv-workon-home-test.el -l test/pyvenv-mode-test.el -l test/pyvenv-deactivate-test.el -l test/pyvenv-activate-test.el -l test/pyvenv-hook-dir-test.el -l test/pyvenv-virtualenv-list-test.el -l test/pyvenv-workon-test.el --eval \(ert-run-tests-batch-and-exit\) returned exit code 255
> make: *** [debian/rules:4: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2023/09/25/pyvenv-el_1.21+git20201124.37e7cb1-1_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: