Debian Bug report logs - #1054494
RFS: lsp-mode/8.0.0-6 [ITA] [RC] -- Emacs client/library for the Language Server Protocol

Package: sponsorship-requests; Maintainer for sponsorship-requests is Debian Mentors <package-sponsorship-requests@lists.debian.org>;

Reported by: Xiyue Deng <manphiz@gmail.com>

Date: Tue, 24 Oct 2023 15:06:01 UTC

Severity: important

Done: bartm@debian.org

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, debian-emacsen@lists.debian.org, Debian Mentors <package-sponsorship-requests@lists.debian.org>:
Bug#1054494; Package sponsorship-requests. (Tue, 24 Oct 2023 15:06:03 GMT) (full text, mbox, link).


Acknowledgement sent to Xiyue Deng <manphiz@gmail.com>:
New Bug report received and forwarded. Copy sent to debian-emacsen@lists.debian.org, Debian Mentors <package-sponsorship-requests@lists.debian.org>. (Tue, 24 Oct 2023 15:06:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Xiyue Deng <manphiz@gmail.com>
To: submit@bugs.debian.org
Subject: RFS: lsp-mode/8.0.0-6 [ITA] [RC] -- Emacs client/library for the Language Server Protocol
Date: Tue, 24 Oct 2023 08:02:09 -0700
Package: sponsorship-requests
Severity: important
X-Debbugs-CC: debian-emacsen@lists.debian.org

Dear mentors,

I am looking for a sponsor for my package "lsp-mode":

 * Package name     : lsp-mode
   Version          : 8.0.0-6
   Upstream contact : Vibhav Pant <vibhavp@gmail.com>
 * URL              : https://github.com/emacs-lsp/lsp-mode
 * License          : GPL-3+
 * Vcs              : https://salsa.debian.org/emacsen-team/lsp-mode
   Section          : lisp

The source builds the following binary packages:

  elpa-lsp-mode - Emacs client/library for the Language Server Protocol

To access further information about this package, please visit the following URL:

  https://mentors.debian.net/package/lsp-mode/

Alternatively, you can download the package with 'dget' using this command:

  dget -x https://mentors.debian.net/debian/pool/main/l/lsp-mode/lsp-mode_8.0.0-6.dsc

Changes since the last upload:

 lsp-mode (8.0.0-6) unstable; urgency=medium
 .
   * Add patch to fix test failures (Closes: #1052939).
   * Update Standards-Version to 4.6.2.  No change needed.
   * Add myself as uploader (Closes: #1042568).
   * Add signing key verification to d/watch.
   * Add d/upstream/metadata.
   * Add Upstream-Contact and update year in d/copyright.
   * Add patch to fix non-UTF-8 encoding.
   * Drop unused lintian overrides.

Regards,
-- 
  Xiyue Deng



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Mentors <package-sponsorship-requests@lists.debian.org>:
Bug#1054494; Package sponsorship-requests. (Wed, 25 Oct 2023 03:57:02 GMT) (full text, mbox, link).


Acknowledgement sent to Arto Jantunen <viiru@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Mentors <package-sponsorship-requests@lists.debian.org>. (Wed, 25 Oct 2023 03:57:03 GMT) (full text, mbox, link).


Message #10 received at 1054494@bugs.debian.org (full text, mbox, reply):

From: Arto Jantunen <viiru@debian.org>
To: Xiyue Deng <manphiz@gmail.com>
Cc: 1054494@bugs.debian.org
Subject: Re: Bug#1054494: RFS: lsp-mode/8.0.0-6 [ITA] [RC] -- Emacs client/library for the Language Server Protocol
Date: Wed, 25 Oct 2023 06:53:08 +0300
Xiyue Deng <manphiz@gmail.com> writes:
> Package: sponsorship-requests
> Severity: important
> X-Debbugs-CC: debian-emacsen@lists.debian.org
>
> Dear mentors,
>
> I am looking for a sponsor for my package "lsp-mode":
>
>  * Package name     : lsp-mode
>    Version          : 8.0.0-6
>    Upstream contact : Vibhav Pant <vibhavp@gmail.com>
>  * URL              : https://github.com/emacs-lsp/lsp-mode
>  * License          : GPL-3+
>  * Vcs              : https://salsa.debian.org/emacsen-team/lsp-mode
>    Section          : lisp
>
> The source builds the following binary packages:
>
>   elpa-lsp-mode - Emacs client/library for the Language Server Protocol
>
> To access further information about this package, please visit the following URL:
>
>   https://mentors.debian.net/package/lsp-mode/
>
> Alternatively, you can download the package with 'dget' using this command:
>
>   dget -x https://mentors.debian.net/debian/pool/main/l/lsp-mode/lsp-mode_8.0.0-6.dsc
>
> Changes since the last upload:
>
>  lsp-mode (8.0.0-6) unstable; urgency=medium
>  .
>    * Add patch to fix test failures (Closes: #1052939).
>    * Update Standards-Version to 4.6.2.  No change needed.
>    * Add myself as uploader (Closes: #1042568).
>    * Add signing key verification to d/watch.
>    * Add d/upstream/metadata.
>    * Add Upstream-Contact and update year in d/copyright.
>    * Add patch to fix non-UTF-8 encoding.
>    * Drop unused lintian overrides.

Thanks for taking over this package.

When I try to build this (under sbuild) I get the following build
failure:

Test ‘lsp-text-document-hover-request’ redefined

Error: error ("Test ‘lsp-text-document-hover-request’ redefined")
  mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode -0x187de6214517952>))
  debug-early-backtrace()
  debug-early(error (error "Test ‘lsp-text-document-hover-request’ redefined"))
  error("Test `%s' redefined" lsp-text-document-hover-request)
  ert-set-test(lsp-text-document-hover-request #s(ert-test :name lsp-text-document-hover-request :documentation nil :body (closure (t) nil (lsp-workspace-folders-add (f-join lsp-test-location "fixtures")) (find-file (f-join lsp-test-location "fixtures/pyls/test.py")) (lsp) (deferred:sync! (deferred:nextc (deferred:nextc (lsp-test--wait-for '(progn (eq 'initialized (lsp--workspace-status (cl-first (lsp-workspaces)))))) #'(lambda (_) (goto-char (point-min)) (search-forward "fn1") (lsp-def-request-async "textDocument/hover" (lsp--text-document-position-params)))) #'(lambda (contents) (let* ((fn-566 #'lsp-hover?) (args-567 (condition-case err (let ((signal-hook-function #'ert--should-signal-hook)) (list contents)) (error (progn (setq fn-566 #'signal) (list (car err) (cdr err))))))) (let ((value-568 'ert-form-evaluation-aborted-569)) (let (form-description-570) (if (unwind-protect (setq value-568 (apply fn-566 args-567)) (setq form-description-570 (nconc (list '(should (lsp-hover? contents))) (list :form (cons fn-566 args-567)) (if (eql value-568 'ert-form-evaluation-aborted-569) nil (list :value value-568)) (if (eql value-568 'ert-form-evaluation-aborted-569) nil (let* ((-explainer- (and t (ert--get-explainer 'lsp-hover?)))) (if -explainer- (list :explanation (apply -explainer- args-567)) nil))))) (ert--signal-should-execution form-description-570)) nil (ert-fail form-description-570))) value-568))))) (kill-buffer) (lsp-workspace-folders-remove (f-join lsp-test-location "fixtures"))) :most-recent-result nil :expected-result-type :passed :tags nil :file-name "/<<PKGBUILDDIR>>/test/lsp-integration-test.el"))
  load-with-code-conversion("/<<PKGBUILDDIR>>/test/lsp-integration-test.el" "/<<PKGBUILDDIR>>/test/lsp-integration-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" "clients/" "-L" "." "-L" "test" "-l" "test/lsp-clangd-test.el" "-l" "test/lsp-completion-test.el" "-l" "test/lsp-file-watch-test.el" "-l" "test/lsp-integration-test.el" "-l" "test/lsp-io-test.el" "-l" "test/lsp-javascript-test.el" "-l" "test/lsp-methods-test.el" "-l" "test/lsp-mode-test.el" "-l" "test/lsp-protocol-test.el" "-l" "test/lsp-common-test.el" "-l" "debian/ert-helper.el"))
  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 clients/ -L . -L test -l test/lsp-clangd-test.el -l test/lsp-completion-test.el -l test/lsp-file-watch-test.el -l test/lsp-integration-test.el -l test/lsp-io-test.el -l test/lsp-javascript-test.el -l test/lsp-methods-test.el -l test/lsp-mode-test.el -l test/lsp-protocol-test.el -l test/lsp-common-test.el -l debian/ert-helper.el returned exit code 255
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Is this something specific to my environment? I can't see two actual
definitions of a test with that name...

-- 
Arto Jantunen



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Mentors <package-sponsorship-requests@lists.debian.org>:
Bug#1054494; Package sponsorship-requests. (Wed, 25 Oct 2023 05:03:02 GMT) (full text, mbox, link).


Acknowledgement sent to Xiyue Deng <manphiz@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Mentors <package-sponsorship-requests@lists.debian.org>. (Wed, 25 Oct 2023 05:03:02 GMT) (full text, mbox, link).


Message #15 received at 1054494@bugs.debian.org (full text, mbox, reply):

From: Xiyue Deng <manphiz@gmail.com>
To: Arto Jantunen <viiru@debian.org>
Cc: 1054494@bugs.debian.org
Subject: Re: Bug#1054494: RFS: lsp-mode/8.0.0-6 [ITA] [RC] -- Emacs client/library for the Language Server Protocol
Date: Tue, 24 Oct 2023 22:00:12 -0700
Hi Arto,

Arto Jantunen <viiru@debian.org> writes:

> Xiyue Deng <manphiz@gmail.com> writes:
>> Package: sponsorship-requests
>> Severity: important
>> X-Debbugs-CC: debian-emacsen@lists.debian.org
>>
>> Dear mentors,
>>
>> I am looking for a sponsor for my package "lsp-mode":
>>
>>  * Package name     : lsp-mode
>>    Version          : 8.0.0-6
>>    Upstream contact : Vibhav Pant <vibhavp@gmail.com>
>>  * URL              : https://github.com/emacs-lsp/lsp-mode
>>  * License          : GPL-3+
>>  * Vcs              : https://salsa.debian.org/emacsen-team/lsp-mode
>>    Section          : lisp
>>
>> The source builds the following binary packages:
>>
>>   elpa-lsp-mode - Emacs client/library for the Language Server Protocol
>>
>> To access further information about this package, please visit the following URL:
>>
>>   https://mentors.debian.net/package/lsp-mode/
>>
>> Alternatively, you can download the package with 'dget' using this command:
>>
>>   dget -x https://mentors.debian.net/debian/pool/main/l/lsp-mode/lsp-mode_8.0.0-6.dsc
>>
>> Changes since the last upload:
>>
>>  lsp-mode (8.0.0-6) unstable; urgency=medium
>>  .
>>    * Add patch to fix test failures (Closes: #1052939).
>>    * Update Standards-Version to 4.6.2.  No change needed.
>>    * Add myself as uploader (Closes: #1042568).
>>    * Add signing key verification to d/watch.
>>    * Add d/upstream/metadata.
>>    * Add Upstream-Contact and update year in d/copyright.
>>    * Add patch to fix non-UTF-8 encoding.
>>    * Drop unused lintian overrides.
>
> Thanks for taking over this package.
>
> When I try to build this (under sbuild) I get the following build
> failure:
>
> Test ‘lsp-text-document-hover-request’ redefined
>
> Error: error ("Test ‘lsp-text-document-hover-request’ redefined")
>   mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode -0x187de6214517952>))
>   debug-early-backtrace()
>   debug-early(error (error "Test ‘lsp-text-document-hover-request’ redefined"))
>   error("Test `%s' redefined" lsp-text-document-hover-request)
>   ert-set-test(lsp-text-document-hover-request #s(ert-test :name
> lsp-text-document-hover-request :documentation nil :body (closure (t) nil
> (lsp-workspace-folders-add (f-join lsp-test-location "fixtures")) (find-file
> (f-join lsp-test-location "fixtures/pyls/test.py")) (lsp) (deferred:sync!
> (deferred:nextc (deferred:nextc (lsp-test--wait-for '(progn (eq 'initialized
> (lsp--workspace-status (cl-first (lsp-workspaces)))))) #'(lambda (_) (goto-char
> (point-min)) (search-forward "fn1") (lsp-def-request-async "textDocument/hover"
> (lsp--text-document-position-params)))) #'(lambda (contents) (let* ((fn-566
> #'lsp-hover?) (args-567 (condition-case err (let ((signal-hook-function
> #'ert--should-signal-hook)) (list contents)) (error (progn (setq fn-566
> #'signal) (list (car err) (cdr err))))))) (let ((value-568
> 'ert-form-evaluation-aborted-569)) (let (form-description-570) (if
> (unwind-protect (setq value-568 (apply fn-566 args-567)) (setq
> form-description-570 (nconc (list '(should (lsp-hover? contents))) (list :form
> (cons fn-566 args-567)) (if (eql value-568 'ert-form-evaluation-aborted-569) nil
> (list :value value-568)) (if (eql value-568 'ert-form-evaluation-aborted-569)
> nil (let* ((-explainer- (and t (ert--get-explainer 'lsp-hover?)))) (if
> -explainer- (list :explanation (apply -explainer- args-567)) nil)))))
> (ert--signal-should-execution form-description-570)) nil (ert-fail
> form-description-570))) value-568))))) (kill-buffer)
> (lsp-workspace-folders-remove (f-join lsp-test-location "fixtures")))
> :most-recent-result nil :expected-result-type :passed :tags nil :file-name
> "/<<PKGBUILDDIR>>/test/lsp-integration-test.el"))
>   load-with-code-conversion("/<<PKGBUILDDIR>>/test/lsp-integration-test.el" "/<<PKGBUILDDIR>>/test/lsp-integration-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" "clients/" "-L" "." "-L" "test" "-l"
> "test/lsp-clangd-test.el" "-l" "test/lsp-completion-test.el" "-l"
> "test/lsp-file-watch-test.el" "-l" "test/lsp-integration-test.el" "-l"
> "test/lsp-io-test.el" "-l" "test/lsp-javascript-test.el" "-l"
> "test/lsp-methods-test.el" "-l" "test/lsp-mode-test.el" "-l"
> "test/lsp-protocol-test.el" "-l" "test/lsp-common-test.el" "-l"
> "debian/ert-helper.el"))
>   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 clients/ -L . -L test -l test/lsp-clangd-test.el -l
> test/lsp-completion-test.el -l test/lsp-file-watch-test.el -l
> test/lsp-integration-test.el -l test/lsp-io-test.el -l
> test/lsp-javascript-test.el -l test/lsp-methods-test.el -l test/lsp-mode-test.el
> -l test/lsp-protocol-test.el -l test/lsp-common-test.el -l debian/ert-helper.el
> returned exit code 255
> make: *** [debian/rules:4: binary] Error 25
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
>
> Is this something specific to my environment? I can't see two actual
> definitions of a test with that name...

I tried downloading the dsc I uploaded to mentors and run sbuild on it
directly, but I cannot reproduce this issue after three tries.

Can you also try to reproduce using the team repo?  It is just one
commit ("dch -r") away from the one on mentors.

-- 
Xiyue Deng



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Mentors <package-sponsorship-requests@lists.debian.org>:
Bug#1054494; Package sponsorship-requests. (Wed, 25 Oct 2023 06:57:03 GMT) (full text, mbox, link).


Acknowledgement sent to Arto Jantunen <viiru@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Mentors <package-sponsorship-requests@lists.debian.org>. (Wed, 25 Oct 2023 06:57:03 GMT) (full text, mbox, link).


Message #20 received at 1054494@bugs.debian.org (full text, mbox, reply):

From: Arto Jantunen <viiru@debian.org>
To: Xiyue Deng <manphiz@gmail.com>
Cc: 1054494@bugs.debian.org
Subject: Re: Bug#1054494: RFS: lsp-mode/8.0.0-6 [ITA] [RC] -- Emacs client/library for the Language Server Protocol
Date: Wed, 25 Oct 2023 09:52:00 +0300
Xiyue Deng <manphiz@gmail.com> writes:

> Hi Arto,
>
> Arto Jantunen <viiru@debian.org> writes:
>
>> Xiyue Deng <manphiz@gmail.com> writes:
>>> Package: sponsorship-requests
>>> Severity: important
>>> X-Debbugs-CC: debian-emacsen@lists.debian.org
>>>
>>> Dear mentors,
>>>
>>> I am looking for a sponsor for my package "lsp-mode":
>>>
>>>  * Package name     : lsp-mode
>>>    Version          : 8.0.0-6
>>>    Upstream contact : Vibhav Pant <vibhavp@gmail.com>
>>>  * URL              : https://github.com/emacs-lsp/lsp-mode
>>>  * License          : GPL-3+
>>>  * Vcs              : https://salsa.debian.org/emacsen-team/lsp-mode
>>>    Section          : lisp
>>>
>>> The source builds the following binary packages:
>>>
>>>   elpa-lsp-mode - Emacs client/library for the Language Server Protocol
>>>
>>> To access further information about this package, please visit the following URL:
>>>
>>>   https://mentors.debian.net/package/lsp-mode/
>>>
>>> Alternatively, you can download the package with 'dget' using this command:
>>>
>>>   dget -x https://mentors.debian.net/debian/pool/main/l/lsp-mode/lsp-mode_8.0.0-6.dsc
>>>
>>> Changes since the last upload:
>>>
>>>  lsp-mode (8.0.0-6) unstable; urgency=medium
>>>  .
>>>    * Add patch to fix test failures (Closes: #1052939).
>>>    * Update Standards-Version to 4.6.2.  No change needed.
>>>    * Add myself as uploader (Closes: #1042568).
>>>    * Add signing key verification to d/watch.
>>>    * Add d/upstream/metadata.
>>>    * Add Upstream-Contact and update year in d/copyright.
>>>    * Add patch to fix non-UTF-8 encoding.
>>>    * Drop unused lintian overrides.
>>
>> Thanks for taking over this package.
>>
>> When I try to build this (under sbuild) I get the following build
>> failure:
>>
>> Test ‘lsp-text-document-hover-request’ redefined
>>
>> Error: error ("Test ‘lsp-text-document-hover-request’ redefined")
>>   mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode -0x187de6214517952>))
>>   debug-early-backtrace()
>>   debug-early(error (error "Test ‘lsp-text-document-hover-request’ redefined"))
>>   error("Test `%s' redefined" lsp-text-document-hover-request)
>>   ert-set-test(lsp-text-document-hover-request #s(ert-test :name
>> lsp-text-document-hover-request :documentation nil :body (closure (t) nil
>> (lsp-workspace-folders-add (f-join lsp-test-location "fixtures")) (find-file
>> (f-join lsp-test-location "fixtures/pyls/test.py")) (lsp) (deferred:sync!
>> (deferred:nextc (deferred:nextc (lsp-test--wait-for '(progn (eq 'initialized
>> (lsp--workspace-status (cl-first (lsp-workspaces)))))) #'(lambda (_) (goto-char
>> (point-min)) (search-forward "fn1") (lsp-def-request-async "textDocument/hover"
>> (lsp--text-document-position-params)))) #'(lambda (contents) (let* ((fn-566
>> #'lsp-hover?) (args-567 (condition-case err (let ((signal-hook-function
>> #'ert--should-signal-hook)) (list contents)) (error (progn (setq fn-566
>> #'signal) (list (car err) (cdr err))))))) (let ((value-568
>> 'ert-form-evaluation-aborted-569)) (let (form-description-570) (if
>> (unwind-protect (setq value-568 (apply fn-566 args-567)) (setq
>> form-description-570 (nconc (list '(should (lsp-hover? contents))) (list :form
>> (cons fn-566 args-567)) (if (eql value-568 'ert-form-evaluation-aborted-569) nil
>> (list :value value-568)) (if (eql value-568 'ert-form-evaluation-aborted-569)
>> nil (let* ((-explainer- (and t (ert--get-explainer 'lsp-hover?)))) (if
>> -explainer- (list :explanation (apply -explainer- args-567)) nil)))))
>> (ert--signal-should-execution form-description-570)) nil (ert-fail
>> form-description-570))) value-568))))) (kill-buffer)
>> (lsp-workspace-folders-remove (f-join lsp-test-location "fixtures")))
>> :most-recent-result nil :expected-result-type :passed :tags nil :file-name
>> "/<<PKGBUILDDIR>>/test/lsp-integration-test.el"))
>>   load-with-code-conversion("/<<PKGBUILDDIR>>/test/lsp-integration-test.el" "/<<PKGBUILDDIR>>/test/lsp-integration-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" "clients/" "-L" "." "-L" "test" "-l"
>> "test/lsp-clangd-test.el" "-l" "test/lsp-completion-test.el" "-l"
>> "test/lsp-file-watch-test.el" "-l" "test/lsp-integration-test.el" "-l"
>> "test/lsp-io-test.el" "-l" "test/lsp-javascript-test.el" "-l"
>> "test/lsp-methods-test.el" "-l" "test/lsp-mode-test.el" "-l"
>> "test/lsp-protocol-test.el" "-l" "test/lsp-common-test.el" "-l"
>> "debian/ert-helper.el"))
>>   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 clients/ -L . -L test -l test/lsp-clangd-test.el -l
>> test/lsp-completion-test.el -l test/lsp-file-watch-test.el -l
>> test/lsp-integration-test.el -l test/lsp-io-test.el -l
>> test/lsp-javascript-test.el -l test/lsp-methods-test.el -l test/lsp-mode-test.el
>> -l test/lsp-protocol-test.el -l test/lsp-common-test.el -l debian/ert-helper.el
>> returned exit code 255
>> make: *** [debian/rules:4: binary] Error 25
>> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
>>
>> Is this something specific to my environment? I can't see two actual
>> definitions of a test with that name...
>
> I tried downloading the dsc I uploaded to mentors and run sbuild on it
> directly, but I cannot reproduce this issue after three tries.
>
> Can you also try to reproduce using the team repo?  It is just one
> commit ("dch -r") away from the one on mentors.

The team repo was the only thing I tried. I have never used mentors, and
have no idea what to do with it.

-- 
Arto Jantunen



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Mentors <package-sponsorship-requests@lists.debian.org>:
Bug#1054494; Package sponsorship-requests. (Wed, 25 Oct 2023 07:54:02 GMT) (full text, mbox, link).


Acknowledgement sent to Xiyue Deng <manphiz@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Mentors <package-sponsorship-requests@lists.debian.org>. (Wed, 25 Oct 2023 07:54:02 GMT) (full text, mbox, link).


Message #25 received at 1054494@bugs.debian.org (full text, mbox, reply):

From: Xiyue Deng <manphiz@gmail.com>
To: Arto Jantunen <viiru@debian.org>
Cc: 1054494@bugs.debian.org
Subject: Re: Bug#1054494: RFS: lsp-mode/8.0.0-6 [ITA] [RC] -- Emacs client/library for the Language Server Protocol
Date: Wed, 25 Oct 2023 00:50:54 -0700
Arto Jantunen <viiru@debian.org> writes:

> Xiyue Deng <manphiz@gmail.com> writes:
>
>> Hi Arto,
>>
>> Arto Jantunen <viiru@debian.org> writes:
>>
>>> Xiyue Deng <manphiz@gmail.com> writes:
>>>> Package: sponsorship-requests
>>>> Severity: important
>>>> X-Debbugs-CC: debian-emacsen@lists.debian.org
>>>>
>>>> Dear mentors,
>>>>
>>>> I am looking for a sponsor for my package "lsp-mode":
>>>>
>>>>  * Package name     : lsp-mode
>>>>    Version          : 8.0.0-6
>>>>    Upstream contact : Vibhav Pant <vibhavp@gmail.com>
>>>>  * URL              : https://github.com/emacs-lsp/lsp-mode
>>>>  * License          : GPL-3+
>>>>  * Vcs              : https://salsa.debian.org/emacsen-team/lsp-mode
>>>>    Section          : lisp
>>>>
>>>> The source builds the following binary packages:
>>>>
>>>>   elpa-lsp-mode - Emacs client/library for the Language Server Protocol
>>>>
>>>> To access further information about this package, please visit the following URL:
>>>>
>>>>   https://mentors.debian.net/package/lsp-mode/
>>>>
>>>> Alternatively, you can download the package with 'dget' using this command:
>>>>
>>>>   dget -x https://mentors.debian.net/debian/pool/main/l/lsp-mode/lsp-mode_8.0.0-6.dsc
>>>>
>>>> Changes since the last upload:
>>>>
>>>>  lsp-mode (8.0.0-6) unstable; urgency=medium
>>>>  .
>>>>    * Add patch to fix test failures (Closes: #1052939).
>>>>    * Update Standards-Version to 4.6.2.  No change needed.
>>>>    * Add myself as uploader (Closes: #1042568).
>>>>    * Add signing key verification to d/watch.
>>>>    * Add d/upstream/metadata.
>>>>    * Add Upstream-Contact and update year in d/copyright.
>>>>    * Add patch to fix non-UTF-8 encoding.
>>>>    * Drop unused lintian overrides.
>>>
>>> Thanks for taking over this package.
>>>
>>> When I try to build this (under sbuild) I get the following build
>>> failure:
>>>
>>> Test ‘lsp-text-document-hover-request’ redefined
>>>
>>> Error: error ("Test ‘lsp-text-document-hover-request’ redefined")
>>>   mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode -0x187de6214517952>))
>>>   debug-early-backtrace()
>>>   debug-early(error (error "Test ‘lsp-text-document-hover-request’ redefined"))
>>>   error("Test `%s' redefined" lsp-text-document-hover-request)
>>>   ert-set-test(lsp-text-document-hover-request #s(ert-test :name
>>> lsp-text-document-hover-request :documentation nil :body (closure (t) nil
>>> (lsp-workspace-folders-add (f-join lsp-test-location "fixtures")) (find-file
>>> (f-join lsp-test-location "fixtures/pyls/test.py")) (lsp) (deferred:sync!
>>> (deferred:nextc (deferred:nextc (lsp-test--wait-for '(progn (eq 'initialized
>>> (lsp--workspace-status (cl-first (lsp-workspaces)))))) #'(lambda (_) (goto-char
>>> (point-min)) (search-forward "fn1") (lsp-def-request-async "textDocument/hover"
>>> (lsp--text-document-position-params)))) #'(lambda (contents) (let* ((fn-566
>>> #'lsp-hover?) (args-567 (condition-case err (let ((signal-hook-function
>>> #'ert--should-signal-hook)) (list contents)) (error (progn (setq fn-566
>>> #'signal) (list (car err) (cdr err))))))) (let ((value-568
>>> 'ert-form-evaluation-aborted-569)) (let (form-description-570) (if
>>> (unwind-protect (setq value-568 (apply fn-566 args-567)) (setq
>>> form-description-570 (nconc (list '(should (lsp-hover? contents))) (list :form
>>> (cons fn-566 args-567)) (if (eql value-568 'ert-form-evaluation-aborted-569) nil
>>> (list :value value-568)) (if (eql value-568 'ert-form-evaluation-aborted-569)
>>> nil (let* ((-explainer- (and t (ert--get-explainer 'lsp-hover?)))) (if
>>> -explainer- (list :explanation (apply -explainer- args-567)) nil)))))
>>> (ert--signal-should-execution form-description-570)) nil (ert-fail
>>> form-description-570))) value-568))))) (kill-buffer)
>>> (lsp-workspace-folders-remove (f-join lsp-test-location "fixtures")))
>>> :most-recent-result nil :expected-result-type :passed :tags nil :file-name
>>> "/<<PKGBUILDDIR>>/test/lsp-integration-test.el"))
>>>   load-with-code-conversion("/<<PKGBUILDDIR>>/test/lsp-integration-test.el" "/<<PKGBUILDDIR>>/test/lsp-integration-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" "clients/" "-L" "." "-L" "test" "-l"
>>> "test/lsp-clangd-test.el" "-l" "test/lsp-completion-test.el" "-l"
>>> "test/lsp-file-watch-test.el" "-l" "test/lsp-integration-test.el" "-l"
>>> "test/lsp-io-test.el" "-l" "test/lsp-javascript-test.el" "-l"
>>> "test/lsp-methods-test.el" "-l" "test/lsp-mode-test.el" "-l"
>>> "test/lsp-protocol-test.el" "-l" "test/lsp-common-test.el" "-l"
>>> "debian/ert-helper.el"))
>>>   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 clients/ -L . -L test -l test/lsp-clangd-test.el -l
>>> test/lsp-completion-test.el -l test/lsp-file-watch-test.el -l
>>> test/lsp-integration-test.el -l test/lsp-io-test.el -l
>>> test/lsp-javascript-test.el -l test/lsp-methods-test.el -l test/lsp-mode-test.el
>>> -l test/lsp-protocol-test.el -l test/lsp-common-test.el -l debian/ert-helper.el
>>> returned exit code 255
>>> make: *** [debian/rules:4: binary] Error 25
>>> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
>>>
>>> Is this something specific to my environment? I can't see two actual
>>> definitions of a test with that name...
>>
>> I tried downloading the dsc I uploaded to mentors and run sbuild on it
>> directly, but I cannot reproduce this issue after three tries.
>>
>> Can you also try to reproduce using the team repo?  It is just one
>> commit ("dch -r") away from the one on mentors.
>
> The team repo was the only thing I tried. I have never used mentors, and
> have no idea what to do with it.

Ah I see.  As I haven been developing using the team repo git client I
can't reproduce there either.

I presume your sbuild should be up-to-date.  Can you also try the dsc
from mentors?  The following should suffice.

,----
| $ dget -x https://mentors.debian.net/debian/pool/main/l/lsp-mode/lsp-mode_8.0.0-6.dsc
| $ sbuild lsp-mode_8.0.0-6.dsc
`----

-- 
Xiyue Deng



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Mentors <package-sponsorship-requests@lists.debian.org>:
Bug#1054494; Package sponsorship-requests. (Wed, 25 Oct 2023 09:06:02 GMT) (full text, mbox, link).


Acknowledgement sent to Arto Jantunen <viiru@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Mentors <package-sponsorship-requests@lists.debian.org>. (Wed, 25 Oct 2023 09:06:02 GMT) (full text, mbox, link).


Message #30 received at 1054494@bugs.debian.org (full text, mbox, reply):

From: Arto Jantunen <viiru@debian.org>
To: Xiyue Deng <manphiz@gmail.com>
Cc: 1054494@bugs.debian.org
Subject: Re: Bug#1054494: RFS: lsp-mode/8.0.0-6 [ITA] [RC] -- Emacs client/library for the Language Server Protocol
Date: Wed, 25 Oct 2023 12:02:40 +0300
Xiyue Deng <manphiz@gmail.com> writes:

> Arto Jantunen <viiru@debian.org> writes:
>
>> Xiyue Deng <manphiz@gmail.com> writes:
>>
>>> Hi Arto,
>>>
>>> Arto Jantunen <viiru@debian.org> writes:
>>>
>>>> Xiyue Deng <manphiz@gmail.com> writes:
>>>>> Package: sponsorship-requests
>>>>> Severity: important
>>>>> X-Debbugs-CC: debian-emacsen@lists.debian.org
>>>>>
>>>>> Dear mentors,
>>>>>
>>>>> I am looking for a sponsor for my package "lsp-mode":
>>>>>
>>>>>  * Package name     : lsp-mode
>>>>>    Version          : 8.0.0-6
>>>>>    Upstream contact : Vibhav Pant <vibhavp@gmail.com>
>>>>>  * URL              : https://github.com/emacs-lsp/lsp-mode
>>>>>  * License          : GPL-3+
>>>>>  * Vcs              : https://salsa.debian.org/emacsen-team/lsp-mode
>>>>>    Section          : lisp
>>>>>
>>>>> The source builds the following binary packages:
>>>>>
>>>>>   elpa-lsp-mode - Emacs client/library for the Language Server Protocol
>>>>>
>>>>> To access further information about this package, please visit the following URL:
>>>>>
>>>>>   https://mentors.debian.net/package/lsp-mode/
>>>>>
>>>>> Alternatively, you can download the package with 'dget' using this command:
>>>>>
>>>>>   dget -x https://mentors.debian.net/debian/pool/main/l/lsp-mode/lsp-mode_8.0.0-6.dsc
>>>>>
>>>>> Changes since the last upload:
>>>>>
>>>>>  lsp-mode (8.0.0-6) unstable; urgency=medium
>>>>>  .
>>>>>    * Add patch to fix test failures (Closes: #1052939).
>>>>>    * Update Standards-Version to 4.6.2.  No change needed.
>>>>>    * Add myself as uploader (Closes: #1042568).
>>>>>    * Add signing key verification to d/watch.
>>>>>    * Add d/upstream/metadata.
>>>>>    * Add Upstream-Contact and update year in d/copyright.
>>>>>    * Add patch to fix non-UTF-8 encoding.
>>>>>    * Drop unused lintian overrides.
>>>>
>>>> Thanks for taking over this package.
>>>>
>>>> When I try to build this (under sbuild) I get the following build
>>>> failure:
>>>>
>>>> Test ‘lsp-text-document-hover-request’ redefined
>>>>
>>>> Error: error ("Test ‘lsp-text-document-hover-request’ redefined")
>>>>   mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode -0x187de6214517952>))
>>>>   debug-early-backtrace()
>>>>   debug-early(error (error "Test ‘lsp-text-document-hover-request’ redefined"))
>>>>   error("Test `%s' redefined" lsp-text-document-hover-request)
>>>>   ert-set-test(lsp-text-document-hover-request #s(ert-test :name
>>>> lsp-text-document-hover-request :documentation nil :body (closure (t) nil
>>>> (lsp-workspace-folders-add (f-join lsp-test-location "fixtures")) (find-file
>>>> (f-join lsp-test-location "fixtures/pyls/test.py")) (lsp) (deferred:sync!
>>>> (deferred:nextc (deferred:nextc (lsp-test--wait-for '(progn (eq 'initialized
>>>> (lsp--workspace-status (cl-first (lsp-workspaces)))))) #'(lambda (_) (goto-char
>>>> (point-min)) (search-forward "fn1") (lsp-def-request-async "textDocument/hover"
>>>> (lsp--text-document-position-params)))) #'(lambda (contents) (let* ((fn-566
>>>> #'lsp-hover?) (args-567 (condition-case err (let ((signal-hook-function
>>>> #'ert--should-signal-hook)) (list contents)) (error (progn (setq fn-566
>>>> #'signal) (list (car err) (cdr err))))))) (let ((value-568
>>>> 'ert-form-evaluation-aborted-569)) (let (form-description-570) (if
>>>> (unwind-protect (setq value-568 (apply fn-566 args-567)) (setq
>>>> form-description-570 (nconc (list '(should (lsp-hover? contents))) (list :form
>>>> (cons fn-566 args-567)) (if (eql value-568 'ert-form-evaluation-aborted-569) nil
>>>> (list :value value-568)) (if (eql value-568 'ert-form-evaluation-aborted-569)
>>>> nil (let* ((-explainer- (and t (ert--get-explainer 'lsp-hover?)))) (if
>>>> -explainer- (list :explanation (apply -explainer- args-567)) nil)))))
>>>> (ert--signal-should-execution form-description-570)) nil (ert-fail
>>>> form-description-570))) value-568))))) (kill-buffer)
>>>> (lsp-workspace-folders-remove (f-join lsp-test-location "fixtures")))
>>>> :most-recent-result nil :expected-result-type :passed :tags nil :file-name
>>>> "/<<PKGBUILDDIR>>/test/lsp-integration-test.el"))
>>>>   load-with-code-conversion("/<<PKGBUILDDIR>>/test/lsp-integration-test.el" "/<<PKGBUILDDIR>>/test/lsp-integration-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" "clients/" "-L" "." "-L" "test" "-l"
>>>> "test/lsp-clangd-test.el" "-l" "test/lsp-completion-test.el" "-l"
>>>> "test/lsp-file-watch-test.el" "-l" "test/lsp-integration-test.el" "-l"
>>>> "test/lsp-io-test.el" "-l" "test/lsp-javascript-test.el" "-l"
>>>> "test/lsp-methods-test.el" "-l" "test/lsp-mode-test.el" "-l"
>>>> "test/lsp-protocol-test.el" "-l" "test/lsp-common-test.el" "-l"
>>>> "debian/ert-helper.el"))
>>>>   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 clients/ -L . -L test -l test/lsp-clangd-test.el -l
>>>> test/lsp-completion-test.el -l test/lsp-file-watch-test.el -l
>>>> test/lsp-integration-test.el -l test/lsp-io-test.el -l
>>>> test/lsp-javascript-test.el -l test/lsp-methods-test.el -l test/lsp-mode-test.el
>>>> -l test/lsp-protocol-test.el -l test/lsp-common-test.el -l debian/ert-helper.el
>>>> returned exit code 255
>>>> make: *** [debian/rules:4: binary] Error 25
>>>> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
>>>>
>>>> Is this something specific to my environment? I can't see two actual
>>>> definitions of a test with that name...
>>>
>>> I tried downloading the dsc I uploaded to mentors and run sbuild on it
>>> directly, but I cannot reproduce this issue after three tries.
>>>
>>> Can you also try to reproduce using the team repo?  It is just one
>>> commit ("dch -r") away from the one on mentors.
>>
>> The team repo was the only thing I tried. I have never used mentors, and
>> have no idea what to do with it.
>
> Ah I see.  As I haven been developing using the team repo git client I
> can't reproduce there either.
>
> I presume your sbuild should be up-to-date.  Can you also try the dsc
> from mentors?  The following should suffice.
>
> ,----
> | $ dget -x https://mentors.debian.net/debian/pool/main/l/lsp-mode/lsp-mode_8.0.0-6.dsc
> | $ sbuild lsp-mode_8.0.0-6.dsc
> `----

Fails in exactly the same way, in an up-to-date sid sbuild chroot.

-- 
Arto Jantunen



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Mentors <package-sponsorship-requests@lists.debian.org>:
Bug#1054494; Package sponsorship-requests. (Wed, 25 Oct 2023 11:15:02 GMT) (full text, mbox, link).


Acknowledgement sent to Bo YU <tsu.yubo@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Mentors <package-sponsorship-requests@lists.debian.org>. (Wed, 25 Oct 2023 11:15:02 GMT) (full text, mbox, link).


Message #35 received at 1054494@bugs.debian.org (full text, mbox, reply):

From: Bo YU <tsu.yubo@gmail.com>
To: Arto Jantunen <viiru@debian.org>, 1054494@bugs.debian.org
Cc: Xiyue Deng <manphiz@gmail.com>
Subject: Re: Bug#1054494: RFS: lsp-mode/8.0.0-6 [ITA] [RC] -- Emacs client/library for the Language Server Protocol
Date: Wed, 25 Oct 2023 19:11:46 +0800
Hi!

On Wed, Oct 25, 2023 at 5:06 PM Arto Jantunen <viiru@debian.org> wrote:
>
> Xiyue Deng <manphiz@gmail.com> writes:
>
> > Arto Jantunen <viiru@debian.org> writes:
> >
> >> Xiyue Deng <manphiz@gmail.com> writes:
> >>
> >>> Hi Arto,
> >>>
> >>> Arto Jantunen <viiru@debian.org> writes:
> >>>
> >>>> Xiyue Deng <manphiz@gmail.com> writes:
> >>>>> Package: sponsorship-requests
> >>>>> Severity: important
> >>>>> X-Debbugs-CC: debian-emacsen@lists.debian.org
> >>>>>
> >>>>> Dear mentors,
> >>>>>
> >>>>> I am looking for a sponsor for my package "lsp-mode":
> >>>>>
> >>>>>  * Package name     : lsp-mode
> >>>>>    Version          : 8.0.0-6
> >>>>>    Upstream contact : Vibhav Pant <vibhavp@gmail.com>
> >>>>>  * URL              : https://github.com/emacs-lsp/lsp-mode
> >>>>>  * License          : GPL-3+
> >>>>>  * Vcs              : https://salsa.debian.org/emacsen-team/lsp-mode
> >>>>>    Section          : lisp
> >>>>>
> >>>>> The source builds the following binary packages:
> >>>>>
> >>>>>   elpa-lsp-mode - Emacs client/library for the Language Server Protocol
> >>>>>
> >>>>> To access further information about this package, please visit the following URL:
> >>>>>
> >>>>>   https://mentors.debian.net/package/lsp-mode/
> >>>>>
> >>>>> Alternatively, you can download the package with 'dget' using this command:
> >>>>>
> >>>>>   dget -x https://mentors.debian.net/debian/pool/main/l/lsp-mode/lsp-mode_8.0.0-6.dsc
> >>>>>
> >>>>> Changes since the last upload:
> >>>>>
> >>>>>  lsp-mode (8.0.0-6) unstable; urgency=medium
> >>>>>  .
> >>>>>    * Add patch to fix test failures (Closes: #1052939).
> >>>>>    * Update Standards-Version to 4.6.2.  No change needed.
> >>>>>    * Add myself as uploader (Closes: #1042568).
> >>>>>    * Add signing key verification to d/watch.
> >>>>>    * Add d/upstream/metadata.
> >>>>>    * Add Upstream-Contact and update year in d/copyright.
> >>>>>    * Add patch to fix non-UTF-8 encoding.
> >>>>>    * Drop unused lintian overrides.
> >>>>
> >>>> Thanks for taking over this package.
> >>>>
> >>>> When I try to build this (under sbuild) I get the following build
> >>>> failure:
> >>>>
> >>>> Test ‘lsp-text-document-hover-request’ redefined
> >>>>
> >>>> Error: error ("Test ‘lsp-text-document-hover-request’ redefined")
> >>>>   mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode -0x187de6214517952>))
> >>>>   debug-early-backtrace()
> >>>>   debug-early(error (error "Test ‘lsp-text-document-hover-request’ redefined"))
> >>>>   error("Test `%s' redefined" lsp-text-document-hover-request)
> >>>>   ert-set-test(lsp-text-document-hover-request #s(ert-test :name
> >>>> lsp-text-document-hover-request :documentation nil :body (closure (t) nil
> >>>> (lsp-workspace-folders-add (f-join lsp-test-location "fixtures")) (find-file
> >>>> (f-join lsp-test-location "fixtures/pyls/test.py")) (lsp) (deferred:sync!
> >>>> (deferred:nextc (deferred:nextc (lsp-test--wait-for '(progn (eq 'initialized
> >>>> (lsp--workspace-status (cl-first (lsp-workspaces)))))) #'(lambda (_) (goto-char
> >>>> (point-min)) (search-forward "fn1") (lsp-def-request-async "textDocument/hover"
> >>>> (lsp--text-document-position-params)))) #'(lambda (contents) (let* ((fn-566
> >>>> #'lsp-hover?) (args-567 (condition-case err (let ((signal-hook-function
> >>>> #'ert--should-signal-hook)) (list contents)) (error (progn (setq fn-566
> >>>> #'signal) (list (car err) (cdr err))))))) (let ((value-568
> >>>> 'ert-form-evaluation-aborted-569)) (let (form-description-570) (if
> >>>> (unwind-protect (setq value-568 (apply fn-566 args-567)) (setq
> >>>> form-description-570 (nconc (list '(should (lsp-hover? contents))) (list :form
> >>>> (cons fn-566 args-567)) (if (eql value-568 'ert-form-evaluation-aborted-569) nil
> >>>> (list :value value-568)) (if (eql value-568 'ert-form-evaluation-aborted-569)
> >>>> nil (let* ((-explainer- (and t (ert--get-explainer 'lsp-hover?)))) (if
> >>>> -explainer- (list :explanation (apply -explainer- args-567)) nil)))))
> >>>> (ert--signal-should-execution form-description-570)) nil (ert-fail
> >>>> form-description-570))) value-568))))) (kill-buffer)
> >>>> (lsp-workspace-folders-remove (f-join lsp-test-location "fixtures")))
> >>>> :most-recent-result nil :expected-result-type :passed :tags nil :file-name
> >>>> "/<<PKGBUILDDIR>>/test/lsp-integration-test.el"))
> >>>>   load-with-code-conversion("/<<PKGBUILDDIR>>/test/lsp-integration-test.el" "/<<PKGBUILDDIR>>/test/lsp-integration-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" "clients/" "-L" "." "-L" "test" "-l"
> >>>> "test/lsp-clangd-test.el" "-l" "test/lsp-completion-test.el" "-l"
> >>>> "test/lsp-file-watch-test.el" "-l" "test/lsp-integration-test.el" "-l"
> >>>> "test/lsp-io-test.el" "-l" "test/lsp-javascript-test.el" "-l"
> >>>> "test/lsp-methods-test.el" "-l" "test/lsp-mode-test.el" "-l"
> >>>> "test/lsp-protocol-test.el" "-l" "test/lsp-common-test.el" "-l"
> >>>> "debian/ert-helper.el"))
> >>>>   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 clients/ -L . -L test -l test/lsp-clangd-test.el -l
> >>>> test/lsp-completion-test.el -l test/lsp-file-watch-test.el -l
> >>>> test/lsp-integration-test.el -l test/lsp-io-test.el -l
> >>>> test/lsp-javascript-test.el -l test/lsp-methods-test.el -l test/lsp-mode-test.el
> >>>> -l test/lsp-protocol-test.el -l test/lsp-common-test.el -l debian/ert-helper.el
> >>>> returned exit code 255
> >>>> make: *** [debian/rules:4: binary] Error 25
> >>>> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
> >>>>
> >>>> Is this something specific to my environment? I can't see two actual
> >>>> definitions of a test with that name...
> >>>
> >>> I tried downloading the dsc I uploaded to mentors and run sbuild on it
> >>> directly, but I cannot reproduce this issue after three tries.
> >>>
> >>> Can you also try to reproduce using the team repo?  It is just one
> >>> commit ("dch -r") away from the one on mentors.
> >>
> >> The team repo was the only thing I tried. I have never used mentors, and
> >> have no idea what to do with it.
> >
> > Ah I see.  As I haven been developing using the team repo git client I
> > can't reproduce there either.
> >
> > I presume your sbuild should be up-to-date.  Can you also try the dsc
> > from mentors?  The following should suffice.
> >
> > ,----
> > | $ dget -x https://mentors.debian.net/debian/pool/main/l/lsp-mode/lsp-mode_8.0.0-6.dsc
> > | $ sbuild lsp-mode_8.0.0-6.dsc
> > `----
>
> Fails in exactly the same way, in an up-to-date sid sbuild chroot.

Same error here.

BR,
Bo
>
> --
> Arto Jantunen
>



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Mentors <package-sponsorship-requests@lists.debian.org>:
Bug#1054494; Package sponsorship-requests. (Wed, 25 Oct 2023 16:39:02 GMT) (full text, mbox, link).


Acknowledgement sent to Xiyue Deng <manphiz@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Mentors <package-sponsorship-requests@lists.debian.org>. (Wed, 25 Oct 2023 16:39:03 GMT) (full text, mbox, link).


Message #40 received at 1054494@bugs.debian.org (full text, mbox, reply):

From: Xiyue Deng <manphiz@gmail.com>
To: Arto Jantunen <viiru@debian.org>
Cc: 1054494@bugs.debian.org
Subject: Re: Bug#1054494: RFS: lsp-mode/8.0.0-6 [ITA] [RC] -- Emacs client/library for the Language Server Protocol
Date: Wed, 25 Oct 2023 09:37:03 -0700
Arto Jantunen <viiru@debian.org> writes:

> Xiyue Deng <manphiz@gmail.com> writes:
>
>> Arto Jantunen <viiru@debian.org> writes:
>>
>>> Xiyue Deng <manphiz@gmail.com> writes:
>>>
>>>> Hi Arto,
>>>>
>>>> Arto Jantunen <viiru@debian.org> writes:
>>>>
>>>>> Xiyue Deng <manphiz@gmail.com> writes:
>>>>>> Package: sponsorship-requests
>>>>>> Severity: important
>>>>>> X-Debbugs-CC: debian-emacsen@lists.debian.org
>>>>>>
>>>>>> Dear mentors,
>>>>>>
>>>>>> I am looking for a sponsor for my package "lsp-mode":
>>>>>>
>>>>>>  * Package name     : lsp-mode
>>>>>>    Version          : 8.0.0-6
>>>>>>    Upstream contact : Vibhav Pant <vibhavp@gmail.com>
>>>>>>  * URL              : https://github.com/emacs-lsp/lsp-mode
>>>>>>  * License          : GPL-3+
>>>>>>  * Vcs              : https://salsa.debian.org/emacsen-team/lsp-mode
>>>>>>    Section          : lisp
>>>>>>
>>>>>> The source builds the following binary packages:
>>>>>>
>>>>>>   elpa-lsp-mode - Emacs client/library for the Language Server Protocol
>>>>>>
>>>>>> To access further information about this package, please visit the following URL:
>>>>>>
>>>>>>   https://mentors.debian.net/package/lsp-mode/
>>>>>>
>>>>>> Alternatively, you can download the package with 'dget' using this command:
>>>>>>
>>>>>>   dget -x https://mentors.debian.net/debian/pool/main/l/lsp-mode/lsp-mode_8.0.0-6.dsc
>>>>>>
>>>>>> Changes since the last upload:
>>>>>>
>>>>>>  lsp-mode (8.0.0-6) unstable; urgency=medium
>>>>>>  .
>>>>>>    * Add patch to fix test failures (Closes: #1052939).
>>>>>>    * Update Standards-Version to 4.6.2.  No change needed.
>>>>>>    * Add myself as uploader (Closes: #1042568).
>>>>>>    * Add signing key verification to d/watch.
>>>>>>    * Add d/upstream/metadata.
>>>>>>    * Add Upstream-Contact and update year in d/copyright.
>>>>>>    * Add patch to fix non-UTF-8 encoding.
>>>>>>    * Drop unused lintian overrides.
>>>>>
>>>>> Thanks for taking over this package.
>>>>>
>>>>> When I try to build this (under sbuild) I get the following build
>>>>> failure:
>>>>>
>>>>> Test ‘lsp-text-document-hover-request’ redefined
>>>>>
>>>>> Error: error ("Test ‘lsp-text-document-hover-request’ redefined")
>>>>>   mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode -0x187de6214517952>))
>>>>>   debug-early-backtrace()
>>>>>   debug-early(error (error "Test ‘lsp-text-document-hover-request’ redefined"))
>>>>>   error("Test `%s' redefined" lsp-text-document-hover-request)
>>>>>   ert-set-test(lsp-text-document-hover-request #s(ert-test :name
>>>>> lsp-text-document-hover-request :documentation nil :body (closure (t) nil
>>>>> (lsp-workspace-folders-add (f-join lsp-test-location "fixtures")) (find-file
>>>>> (f-join lsp-test-location "fixtures/pyls/test.py")) (lsp) (deferred:sync!
>>>>> (deferred:nextc (deferred:nextc (lsp-test--wait-for '(progn (eq 'initialized
>>>>> (lsp--workspace-status (cl-first (lsp-workspaces)))))) #'(lambda (_) (goto-char
>>>>> (point-min)) (search-forward "fn1") (lsp-def-request-async "textDocument/hover"
>>>>> (lsp--text-document-position-params)))) #'(lambda (contents) (let* ((fn-566
>>>>> #'lsp-hover?) (args-567 (condition-case err (let ((signal-hook-function
>>>>> #'ert--should-signal-hook)) (list contents)) (error (progn (setq fn-566
>>>>> #'signal) (list (car err) (cdr err))))))) (let ((value-568
>>>>> 'ert-form-evaluation-aborted-569)) (let (form-description-570) (if
>>>>> (unwind-protect (setq value-568 (apply fn-566 args-567)) (setq
>>>>> form-description-570 (nconc (list '(should (lsp-hover? contents))) (list :form
>>>>> (cons fn-566 args-567)) (if (eql value-568 'ert-form-evaluation-aborted-569) nil
>>>>> (list :value value-568)) (if (eql value-568 'ert-form-evaluation-aborted-569)
>>>>> nil (let* ((-explainer- (and t (ert--get-explainer 'lsp-hover?)))) (if
>>>>> -explainer- (list :explanation (apply -explainer- args-567)) nil)))))
>>>>> (ert--signal-should-execution form-description-570)) nil (ert-fail
>>>>> form-description-570))) value-568))))) (kill-buffer)
>>>>> (lsp-workspace-folders-remove (f-join lsp-test-location "fixtures")))
>>>>> :most-recent-result nil :expected-result-type :passed :tags nil :file-name
>>>>> "/<<PKGBUILDDIR>>/test/lsp-integration-test.el"))
>>>>>   load-with-code-conversion("/<<PKGBUILDDIR>>/test/lsp-integration-test.el" "/<<PKGBUILDDIR>>/test/lsp-integration-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" "clients/" "-L" "." "-L" "test" "-l"
>>>>> "test/lsp-clangd-test.el" "-l" "test/lsp-completion-test.el" "-l"
>>>>> "test/lsp-file-watch-test.el" "-l" "test/lsp-integration-test.el" "-l"
>>>>> "test/lsp-io-test.el" "-l" "test/lsp-javascript-test.el" "-l"
>>>>> "test/lsp-methods-test.el" "-l" "test/lsp-mode-test.el" "-l"
>>>>> "test/lsp-protocol-test.el" "-l" "test/lsp-common-test.el" "-l"
>>>>> "debian/ert-helper.el"))
>>>>>   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 clients/ -L . -L test -l test/lsp-clangd-test.el -l
>>>>> test/lsp-completion-test.el -l test/lsp-file-watch-test.el -l
>>>>> test/lsp-integration-test.el -l test/lsp-io-test.el -l
>>>>> test/lsp-javascript-test.el -l test/lsp-methods-test.el -l test/lsp-mode-test.el
>>>>> -l test/lsp-protocol-test.el -l test/lsp-common-test.el -l debian/ert-helper.el
>>>>> returned exit code 255
>>>>> make: *** [debian/rules:4: binary] Error 25
>>>>> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
>>>>>
>>>>> Is this something specific to my environment? I can't see two actual
>>>>> definitions of a test with that name...
>>>>
>>>> I tried downloading the dsc I uploaded to mentors and run sbuild on it
>>>> directly, but I cannot reproduce this issue after three tries.
>>>>
>>>> Can you also try to reproduce using the team repo?  It is just one
>>>> commit ("dch -r") away from the one on mentors.
>>>
>>> The team repo was the only thing I tried. I have never used mentors, and
>>> have no idea what to do with it.
>>
>> Ah I see.  As I haven been developing using the team repo git client I
>> can't reproduce there either.
>>
>> I presume your sbuild should be up-to-date.  Can you also try the dsc
>> from mentors?  The following should suffice.
>>
>> ,----
>> | $ dget -x https://mentors.debian.net/debian/pool/main/l/lsp-mode/lsp-mode_8.0.0-6.dsc
>> | $ sbuild lsp-mode_8.0.0-6.dsc
>> `----
>
> Fails in exactly the same way, in an up-to-date sid sbuild chroot.

Interesting.  As you mentioned, the source code doesn't even have two
tests with that name, so this is really weird.  Can you send a build
log?  Will try to cross check to see if it gives anything.

-- 
Xiyue Deng



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Mentors <package-sponsorship-requests@lists.debian.org>:
Bug#1054494; Package sponsorship-requests. (Wed, 25 Oct 2023 17:30:03 GMT) (full text, mbox, link).


Acknowledgement sent to Xiyue Deng <manphiz@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Mentors <package-sponsorship-requests@lists.debian.org>. (Wed, 25 Oct 2023 17:30:03 GMT) (full text, mbox, link).


Message #45 received at 1054494@bugs.debian.org (full text, mbox, reply):

From: Xiyue Deng <manphiz@gmail.com>
To: Bo YU <tsu.yubo@gmail.com>
Cc: Arto Jantunen <viiru@debian.org>, 1054494@bugs.debian.org
Subject: Re: Bug#1054494: RFS: lsp-mode/8.0.0-6 [ITA] [RC] -- Emacs client/library for the Language Server Protocol
Date: Wed, 25 Oct 2023 10:26:46 -0700
Hi Bo,

Bo YU <tsu.yubo@gmail.com> writes:

> Hi!
>
> On Wed, Oct 25, 2023 at 5:06 PM Arto Jantunen <viiru@debian.org> wrote:
>>
>> Xiyue Deng <manphiz@gmail.com> writes:
>>
>> > Arto Jantunen <viiru@debian.org> writes:
>> >
>> >> Xiyue Deng <manphiz@gmail.com> writes:
>> >>
>> >>> Hi Arto,
>> >>>
>> >>> Arto Jantunen <viiru@debian.org> writes:
>> >>>
>> >>>> Xiyue Deng <manphiz@gmail.com> writes:
>> >>>>> Package: sponsorship-requests
>> >>>>> Severity: important
>> >>>>> X-Debbugs-CC: debian-emacsen@lists.debian.org
>> >>>>>
>> >>>>> Dear mentors,
>> >>>>>
>> >>>>> I am looking for a sponsor for my package "lsp-mode":
>> >>>>>
>> >>>>>  * Package name     : lsp-mode
>> >>>>>    Version          : 8.0.0-6
>> >>>>>    Upstream contact : Vibhav Pant <vibhavp@gmail.com>
>> >>>>>  * URL              : https://github.com/emacs-lsp/lsp-mode
>> >>>>>  * License          : GPL-3+
>> >>>>>  * Vcs              : https://salsa.debian.org/emacsen-team/lsp-mode
>> >>>>>    Section          : lisp
>> >>>>>
>> >>>>> The source builds the following binary packages:
>> >>>>>
>> >>>>>   elpa-lsp-mode - Emacs client/library for the Language Server Protocol
>> >>>>>
>> >>>>> To access further information about this package, please visit the following URL:
>> >>>>>
>> >>>>>   https://mentors.debian.net/package/lsp-mode/
>> >>>>>
>> >>>>> Alternatively, you can download the package with 'dget' using this command:
>> >>>>>
>> >>>>>   dget -x https://mentors.debian.net/debian/pool/main/l/lsp-mode/lsp-mode_8.0.0-6.dsc
>> >>>>>
>> >>>>> Changes since the last upload:
>> >>>>>
>> >>>>>  lsp-mode (8.0.0-6) unstable; urgency=medium
>> >>>>>  .
>> >>>>>    * Add patch to fix test failures (Closes: #1052939).
>> >>>>>    * Update Standards-Version to 4.6.2.  No change needed.
>> >>>>>    * Add myself as uploader (Closes: #1042568).
>> >>>>>    * Add signing key verification to d/watch.
>> >>>>>    * Add d/upstream/metadata.
>> >>>>>    * Add Upstream-Contact and update year in d/copyright.
>> >>>>>    * Add patch to fix non-UTF-8 encoding.
>> >>>>>    * Drop unused lintian overrides.
>> >>>>
>> >>>> Thanks for taking over this package.
>> >>>>
>> >>>> When I try to build this (under sbuild) I get the following build
>> >>>> failure:
>> >>>>
>> >>>> Test ‘lsp-text-document-hover-request’ redefined
>> >>>>
>> >>>> Error: error ("Test ‘lsp-text-document-hover-request’ redefined")
>> >>>>   mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode -0x187de6214517952>))
>> >>>>   debug-early-backtrace()
>> >>>>   debug-early(error (error "Test ‘lsp-text-document-hover-request’ redefined"))
>> >>>>   error("Test `%s' redefined" lsp-text-document-hover-request)
>> >>>>   ert-set-test(lsp-text-document-hover-request #s(ert-test :name
>> >>>> lsp-text-document-hover-request :documentation nil :body (closure (t) nil
>> >>>> (lsp-workspace-folders-add (f-join lsp-test-location "fixtures")) (find-file
>> >>>> (f-join lsp-test-location "fixtures/pyls/test.py")) (lsp) (deferred:sync!
>> >>>> (deferred:nextc (deferred:nextc (lsp-test--wait-for '(progn (eq 'initialized
>> >>>> (lsp--workspace-status (cl-first (lsp-workspaces)))))) #'(lambda (_) (goto-char
>> >>>> (point-min)) (search-forward "fn1") (lsp-def-request-async "textDocument/hover"
>> >>>> (lsp--text-document-position-params)))) #'(lambda (contents) (let* ((fn-566
>> >>>> #'lsp-hover?) (args-567 (condition-case err (let ((signal-hook-function
>> >>>> #'ert--should-signal-hook)) (list contents)) (error (progn (setq fn-566
>> >>>> #'signal) (list (car err) (cdr err))))))) (let ((value-568
>> >>>> 'ert-form-evaluation-aborted-569)) (let (form-description-570) (if
>> >>>> (unwind-protect (setq value-568 (apply fn-566 args-567)) (setq
>> >>>> form-description-570 (nconc (list '(should (lsp-hover? contents))) (list :form
>> >>>> (cons fn-566 args-567)) (if (eql value-568 'ert-form-evaluation-aborted-569) nil
>> >>>> (list :value value-568)) (if (eql value-568 'ert-form-evaluation-aborted-569)
>> >>>> nil (let* ((-explainer- (and t (ert--get-explainer 'lsp-hover?)))) (if
>> >>>> -explainer- (list :explanation (apply -explainer- args-567)) nil)))))
>> >>>> (ert--signal-should-execution form-description-570)) nil (ert-fail
>> >>>> form-description-570))) value-568))))) (kill-buffer)
>> >>>> (lsp-workspace-folders-remove (f-join lsp-test-location "fixtures")))
>> >>>> :most-recent-result nil :expected-result-type :passed :tags nil :file-name
>> >>>> "/<<PKGBUILDDIR>>/test/lsp-integration-test.el"))
>> >>>>   load-with-code-conversion("/<<PKGBUILDDIR>>/test/lsp-integration-test.el" "/<<PKGBUILDDIR>>/test/lsp-integration-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" "clients/" "-L" "." "-L" "test" "-l"
>> >>>> "test/lsp-clangd-test.el" "-l" "test/lsp-completion-test.el" "-l"
>> >>>> "test/lsp-file-watch-test.el" "-l" "test/lsp-integration-test.el" "-l"
>> >>>> "test/lsp-io-test.el" "-l" "test/lsp-javascript-test.el" "-l"
>> >>>> "test/lsp-methods-test.el" "-l" "test/lsp-mode-test.el" "-l"
>> >>>> "test/lsp-protocol-test.el" "-l" "test/lsp-common-test.el" "-l"
>> >>>> "debian/ert-helper.el"))
>> >>>>   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 clients/ -L . -L test -l test/lsp-clangd-test.el -l
>> >>>> test/lsp-completion-test.el -l test/lsp-file-watch-test.el -l
>> >>>> test/lsp-integration-test.el -l test/lsp-io-test.el -l
>> >>>> test/lsp-javascript-test.el -l test/lsp-methods-test.el -l test/lsp-mode-test.el
>> >>>> -l test/lsp-protocol-test.el -l test/lsp-common-test.el -l debian/ert-helper.el
>> >>>> returned exit code 255
>> >>>> make: *** [debian/rules:4: binary] Error 25
>> >>>> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
>> >>>>
>> >>>> Is this something specific to my environment? I can't see two actual
>> >>>> definitions of a test with that name...
>> >>>
>> >>> I tried downloading the dsc I uploaded to mentors and run sbuild on it
>> >>> directly, but I cannot reproduce this issue after three tries.
>> >>>
>> >>> Can you also try to reproduce using the team repo?  It is just one
>> >>> commit ("dch -r") away from the one on mentors.
>> >>
>> >> The team repo was the only thing I tried. I have never used mentors, and
>> >> have no idea what to do with it.
>> >
>> > Ah I see.  As I haven been developing using the team repo git client I
>> > can't reproduce there either.
>> >
>> > I presume your sbuild should be up-to-date.  Can you also try the dsc
>> > from mentors?  The following should suffice.
>> >
>> > ,----
>> > | $ dget -x https://mentors.debian.net/debian/pool/main/l/lsp-mode/lsp-mode_8.0.0-6.dsc
>> > | $ sbuild lsp-mode_8.0.0-6.dsc
>> > `----
>>
>> Fails in exactly the same way, in an up-to-date sid sbuild chroot.
>
> Same error here.

Can you also send your build log for cross checking?  Also your
~/.sbuildrc if possible.  TIA.

>
> BR,
> Bo
>>
>> --
>> Arto Jantunen
>>

-- 
Xiyue Deng



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Mentors <package-sponsorship-requests@lists.debian.org>:
Bug#1054494; Package sponsorship-requests. (Wed, 25 Oct 2023 23:03:05 GMT) (full text, mbox, link).


Acknowledgement sent to Xiyue Deng <manphiz@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Mentors <package-sponsorship-requests@lists.debian.org>. (Wed, 25 Oct 2023 23:03:05 GMT) (full text, mbox, link).


Message #50 received at 1054494@bugs.debian.org (full text, mbox, reply):

From: Xiyue Deng <manphiz@gmail.com>
To: Bo YU <tsu.yubo@gmail.com>
Cc: Arto Jantunen <viiru@debian.org>, 1054494@bugs.debian.org
Subject: Re: Bug#1054494: RFS: lsp-mode/8.0.0-6 [ITA] [RC] -- Emacs client/library for the Language Server Protocol
Date: Wed, 25 Oct 2023 16:02:04 -0700
Hi Arto, Bo,

Xiyue Deng <manphiz@gmail.com> writes:

> Hi Bo,
>
> Bo YU <tsu.yubo@gmail.com> writes:
>
>> Hi!
>>
>> On Wed, Oct 25, 2023 at 5:06 PM Arto Jantunen <viiru@debian.org> wrote:
>>>
>>> Xiyue Deng <manphiz@gmail.com> writes:
>>>
>>> > Arto Jantunen <viiru@debian.org> writes:
>>> >
>>> >> Xiyue Deng <manphiz@gmail.com> writes:
>>> >>
>>> >>> Hi Arto,
>>> >>>
>>> >>> Arto Jantunen <viiru@debian.org> writes:
>>> >>>
>>> >>>> Xiyue Deng <manphiz@gmail.com> writes:
>>> >>>>> Package: sponsorship-requests
>>> >>>>> Severity: important
>>> >>>>> X-Debbugs-CC: debian-emacsen@lists.debian.org
>>> >>>>>
>>> >>>>> Dear mentors,
>>> >>>>>
>>> >>>>> I am looking for a sponsor for my package "lsp-mode":
>>> >>>>>
>>> >>>>>  * Package name     : lsp-mode
>>> >>>>>    Version          : 8.0.0-6
>>> >>>>>    Upstream contact : Vibhav Pant <vibhavp@gmail.com>
>>> >>>>>  * URL              : https://github.com/emacs-lsp/lsp-mode
>>> >>>>>  * License          : GPL-3+
>>> >>>>>  * Vcs              : https://salsa.debian.org/emacsen-team/lsp-mode
>>> >>>>>    Section          : lisp
>>> >>>>>
>>> >>>>> The source builds the following binary packages:
>>> >>>>>
>>> >>>>>   elpa-lsp-mode - Emacs client/library for the Language Server Protocol
>>> >>>>>
>>> >>>>> To access further information about this package, please visit the following URL:
>>> >>>>>
>>> >>>>>   https://mentors.debian.net/package/lsp-mode/
>>> >>>>>
>>> >>>>> Alternatively, you can download the package with 'dget' using this command:
>>> >>>>>
>>> >>>>>   dget -x https://mentors.debian.net/debian/pool/main/l/lsp-mode/lsp-mode_8.0.0-6.dsc
>>> >>>>>
>>> >>>>> Changes since the last upload:
>>> >>>>>
>>> >>>>>  lsp-mode (8.0.0-6) unstable; urgency=medium
>>> >>>>>  .
>>> >>>>>    * Add patch to fix test failures (Closes: #1052939).
>>> >>>>>    * Update Standards-Version to 4.6.2.  No change needed.
>>> >>>>>    * Add myself as uploader (Closes: #1042568).
>>> >>>>>    * Add signing key verification to d/watch.
>>> >>>>>    * Add d/upstream/metadata.
>>> >>>>>    * Add Upstream-Contact and update year in d/copyright.
>>> >>>>>    * Add patch to fix non-UTF-8 encoding.
>>> >>>>>    * Drop unused lintian overrides.
>>> >>>>
>>> >>>> Thanks for taking over this package.
>>> >>>>
>>> >>>> When I try to build this (under sbuild) I get the following build
>>> >>>> failure:
>>> >>>>
>>> >>>> Test ‘lsp-text-document-hover-request’ redefined
>>> >>>>
>>> >>>> Error: error ("Test ‘lsp-text-document-hover-request’ redefined")
>>> >>>>   mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode -0x187de6214517952>))
>>> >>>>   debug-early-backtrace()
>>> >>>>   debug-early(error (error "Test ‘lsp-text-document-hover-request’ redefined"))
>>> >>>>   error("Test `%s' redefined" lsp-text-document-hover-request)
>>> >>>>   ert-set-test(lsp-text-document-hover-request #s(ert-test :name
>>> >>>> lsp-text-document-hover-request :documentation nil :body (closure (t) nil
>>> >>>> (lsp-workspace-folders-add (f-join lsp-test-location "fixtures")) (find-file
>>> >>>> (f-join lsp-test-location "fixtures/pyls/test.py")) (lsp) (deferred:sync!
>>> >>>> (deferred:nextc (deferred:nextc (lsp-test--wait-for '(progn (eq 'initialized
>>> >>>> (lsp--workspace-status (cl-first (lsp-workspaces)))))) #'(lambda (_) (goto-char
>>> >>>> (point-min)) (search-forward "fn1") (lsp-def-request-async "textDocument/hover"
>>> >>>> (lsp--text-document-position-params)))) #'(lambda (contents) (let* ((fn-566
>>> >>>> #'lsp-hover?) (args-567 (condition-case err (let ((signal-hook-function
>>> >>>> #'ert--should-signal-hook)) (list contents)) (error (progn (setq fn-566
>>> >>>> #'signal) (list (car err) (cdr err))))))) (let ((value-568
>>> >>>> 'ert-form-evaluation-aborted-569)) (let (form-description-570) (if
>>> >>>> (unwind-protect (setq value-568 (apply fn-566 args-567)) (setq
>>> >>>> form-description-570 (nconc (list '(should (lsp-hover? contents))) (list :form
>>> >>>> (cons fn-566 args-567)) (if (eql value-568 'ert-form-evaluation-aborted-569) nil
>>> >>>> (list :value value-568)) (if (eql value-568 'ert-form-evaluation-aborted-569)
>>> >>>> nil (let* ((-explainer- (and t (ert--get-explainer 'lsp-hover?)))) (if
>>> >>>> -explainer- (list :explanation (apply -explainer- args-567)) nil)))))
>>> >>>> (ert--signal-should-execution form-description-570)) nil (ert-fail
>>> >>>> form-description-570))) value-568))))) (kill-buffer)
>>> >>>> (lsp-workspace-folders-remove (f-join lsp-test-location "fixtures")))
>>> >>>> :most-recent-result nil :expected-result-type :passed :tags nil :file-name
>>> >>>> "/<<PKGBUILDDIR>>/test/lsp-integration-test.el"))
>>> >>>>   load-with-code-conversion("/<<PKGBUILDDIR>>/test/lsp-integration-test.el" "/<<PKGBUILDDIR>>/test/lsp-integration-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" "clients/" "-L" "." "-L" "test" "-l"
>>> >>>> "test/lsp-clangd-test.el" "-l" "test/lsp-completion-test.el" "-l"
>>> >>>> "test/lsp-file-watch-test.el" "-l" "test/lsp-integration-test.el" "-l"
>>> >>>> "test/lsp-io-test.el" "-l" "test/lsp-javascript-test.el" "-l"
>>> >>>> "test/lsp-methods-test.el" "-l" "test/lsp-mode-test.el" "-l"
>>> >>>> "test/lsp-protocol-test.el" "-l" "test/lsp-common-test.el" "-l"
>>> >>>> "debian/ert-helper.el"))
>>> >>>>   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 clients/ -L . -L test -l test/lsp-clangd-test.el -l
>>> >>>> test/lsp-completion-test.el -l test/lsp-file-watch-test.el -l
>>> >>>> test/lsp-integration-test.el -l test/lsp-io-test.el -l
>>> >>>> test/lsp-javascript-test.el -l test/lsp-methods-test.el -l test/lsp-mode-test.el
>>> >>>> -l test/lsp-protocol-test.el -l test/lsp-common-test.el -l debian/ert-helper.el
>>> >>>> returned exit code 255
>>> >>>> make: *** [debian/rules:4: binary] Error 25
>>> >>>> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
>>> >>>>
>>> >>>> Is this something specific to my environment? I can't see two actual
>>> >>>> definitions of a test with that name...
>>> >>>
>>> >>> I tried downloading the dsc I uploaded to mentors and run sbuild on it
>>> >>> directly, but I cannot reproduce this issue after three tries.
>>> >>>
>>> >>> Can you also try to reproduce using the team repo?  It is just one
>>> >>> commit ("dch -r") away from the one on mentors.
>>> >>
>>> >> The team repo was the only thing I tried. I have never used mentors, and
>>> >> have no idea what to do with it.
>>> >
>>> > Ah I see.  As I haven been developing using the team repo git client I
>>> > can't reproduce there either.
>>> >
>>> > I presume your sbuild should be up-to-date.  Can you also try the dsc
>>> > from mentors?  The following should suffice.
>>> >
>>> > ,----
>>> > | $ dget -x https://mentors.debian.net/debian/pool/main/l/lsp-mode/lsp-mode_8.0.0-6.dsc
>>> > | $ sbuild lsp-mode_8.0.0-6.dsc
>>> > `----
>>>
>>> Fails in exactly the same way, in an up-to-date sid sbuild chroot.
>>
>> Same error here.
>
> Can you also send your build log for cross checking?  Also your
> ~/.sbuildrc if possible.  TIA.
>

For the unlikely but possible cause that tests with a long name is a
prefix of other tests that may trigger this issue, I have modified the
test name for testing purposes.  Can you help get the latest upload on
mentors and try again?  TIA.

,----
| $ dget -x https://mentors.debian.net/debian/pool/main/l/lsp-mode/lsp-mode_8.0.0-6.dsc
| $ sbuild lsp-mode_8.0.0-6.dsc
`----

P.S. If you can provide the failed build log and ~/.sbuildrc it may
still help to eliminate potential sbuild differences in our environment.

>>
>> BR,
>> Bo
>>>
>>> --
>>> Arto Jantunen
>>>

-- 
Xiyue Deng



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Mentors <package-sponsorship-requests@lists.debian.org>:
Bug#1054494; Package sponsorship-requests. (Thu, 26 Oct 2023 09:09:02 GMT) (full text, mbox, link).


Acknowledgement sent to Bo YU <tsu.yubo@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Mentors <package-sponsorship-requests@lists.debian.org>. (Thu, 26 Oct 2023 09:09:02 GMT) (full text, mbox, link).


Message #55 received at 1054494@bugs.debian.org (full text, mbox, reply):

From: Bo YU <tsu.yubo@gmail.com>
To: Xiyue Deng <manphiz@gmail.com>
Cc: Arto Jantunen <viiru@debian.org>, 1054494@bugs.debian.org
Subject: Re: Bug#1054494: RFS: lsp-mode/8.0.0-6 [ITA] [RC] -- Emacs client/library for the Language Server Protocol
Date: Thu, 26 Oct 2023 17:04:47 +0800
Hi!

On Thu, Oct 26, 2023 at 7:02 AM Xiyue Deng <manphiz@gmail.com> wrote:

...
>
> For the unlikely but possible cause that tests with a long name is a
> prefix of other tests that may trigger this issue, I have modified the
> test name for testing purposes.  Can you help get the latest upload on
> mentors and try again?  TIA.
>
I tried this and it seems the issue was raised with my sbuild build environment.
I still got this:
https://paste.debian.net/1296268/

My sbuilderrc is here:
https://paste.debian.net/1296269/

But if use pbuilder[0] to build your package, it is ok.
So I think your package which is no problem.

BTW, I suspect the network accessing leads to the issue and I am annoy how to
disable network access during building for sbuild.

BR,
Bo
[0]: https://wiki.ubuntu.com/PbuilderHowto
> ,----
> | $ dget -x https://mentors.debian.net/debian/pool/main/l/lsp-mode/lsp-mode_8.0.0-6.dsc
> | $ sbuild lsp-mode_8.0.0-6.dsc
> `----
>
> P.S. If you can provide the failed build log and ~/.sbuildrc it may
> still help to eliminate potential sbuild differences in our environment.
>
> >>
> >> BR,
> >> Bo
> >>>
> >>> --
> >>> Arto Jantunen
> >>>
>
> --
> Xiyue Deng



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Mentors <package-sponsorship-requests@lists.debian.org>:
Bug#1054494; Package sponsorship-requests. (Thu, 26 Oct 2023 17:18:02 GMT) (full text, mbox, link).


Acknowledgement sent to Xiyue Deng <manphiz@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Mentors <package-sponsorship-requests@lists.debian.org>. (Thu, 26 Oct 2023 17:18:02 GMT) (full text, mbox, link).


Message #60 received at 1054494@bugs.debian.org (full text, mbox, reply):

From: Xiyue Deng <manphiz@gmail.com>
To: Bo YU <tsu.yubo@gmail.com>
Cc: Arto Jantunen <viiru@debian.org>, 1054494@bugs.debian.org
Subject: Re: Bug#1054494: RFS: lsp-mode/8.0.0-6 [ITA] [RC] -- Emacs client/library for the Language Server Protocol
Date: Thu, 26 Oct 2023 10:14:15 -0700
Hi Bo,

Bo YU <tsu.yubo@gmail.com> writes:

> Hi!
>
> On Thu, Oct 26, 2023 at 7:02 AM Xiyue Deng <manphiz@gmail.com> wrote:
>
> ...
>>
>> For the unlikely but possible cause that tests with a long name is a
>> prefix of other tests that may trigger this issue, I have modified the
>> test name for testing purposes.  Can you help get the latest upload on
>> mentors and try again?  TIA.
>>
> I tried this and it seems the issue was raised with my sbuild build environment.
> I still got this:
> https://paste.debian.net/1296268/
>
> My sbuilderrc is here:
> https://paste.debian.net/1296269/
>
> But if use pbuilder[0] to build your package, it is ok.
> So I think your package which is no problem.
>
> BTW, I suspect the network accessing leads to the issue and I am annoy how to
> disable network access during building for sbuild.
>
> BR,
> Bo
> [0]: https://wiki.ubuntu.com/PbuilderHowto

Thanks for testing!  The reason I'm interested in reproducing this error
is that in the report of the RC bug that this upload is trying to solve
- https://bugs.debian.org/1052939 - the build log from Lucas has exactly
the same error:

,----
| ...
| > Test ‘lsp-text-document-hover-request’ redefined
| > 
| > Error: error ("Test ‘lsp-text-document-hover-request’ redefined")
| ...
`----

But I haven't been able to reproduce this until Arto and you sent your
reports, and this being reproduced by two people makes this more
interesting.  There must be something that may trigger this unlikely
error.  Also I'm not sure whether the network accessing may have been
the cause as sbuild needs to download the dependencies and without
something like apt-cacher{,-ng} it does need network access for that to
happen.

I suspected that the parallel setting in $DEB_BUILD_OPTIONS may have
affected it so I copied your sbuild settings and tried again but
unfortunately it still succeeded for me.  For the unlikely event and for
completeness, can you also try to turn that off in your sbuild config
and retry just in case?  TIA.

>> ,----
>> | $ dget -x https://mentors.debian.net/debian/pool/main/l/lsp-mode/lsp-mode_8.0.0-6.dsc
>> | $ sbuild lsp-mode_8.0.0-6.dsc
>> `----
>>
>> P.S. If you can provide the failed build log and ~/.sbuildrc it may
>> still help to eliminate potential sbuild differences in our environment.
>>
>> >>
>> >> BR,
>> >> Bo
>> >>>
>> >>> --
>> >>> Arto Jantunen
>> >>>
>>
>> --
>> Xiyue Deng

-- 
Xiyue Deng



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Mentors <package-sponsorship-requests@lists.debian.org>:
Bug#1054494; Package sponsorship-requests. (Fri, 27 Oct 2023 02:33:03 GMT) (full text, mbox, link).


Acknowledgement sent to Xiyue Deng <manphiz@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Mentors <package-sponsorship-requests@lists.debian.org>. (Fri, 27 Oct 2023 02:33:03 GMT) (full text, mbox, link).


Message #65 received at 1054494@bugs.debian.org (full text, mbox, reply):

From: Xiyue Deng <manphiz@gmail.com>
To: Bo YU <tsu.yubo@gmail.com>
Cc: Arto Jantunen <viiru@debian.org>, 1054494@bugs.debian.org
Subject: Re: Bug#1054494: RFS: lsp-mode/8.0.0-6 [ITA] [RC] -- Emacs client/library for the Language Server Protocol
Date: Thu, 26 Oct 2023 19:30:10 -0700
Xiyue Deng <manphiz@gmail.com> writes:

> Hi Bo,
>
> Bo YU <tsu.yubo@gmail.com> writes:
>
>> Hi!
>>
>> On Thu, Oct 26, 2023 at 7:02 AM Xiyue Deng <manphiz@gmail.com> wrote:
>>
>> ...
>>>
>>> For the unlikely but possible cause that tests with a long name is a
>>> prefix of other tests that may trigger this issue, I have modified the
>>> test name for testing purposes.  Can you help get the latest upload on
>>> mentors and try again?  TIA.
>>>
>> I tried this and it seems the issue was raised with my sbuild build environment.
>> I still got this:
>> https://paste.debian.net/1296268/
>>
>> My sbuilderrc is here:
>> https://paste.debian.net/1296269/
>>
>> But if use pbuilder[0] to build your package, it is ok.
>> So I think your package which is no problem.
>>
>> BTW, I suspect the network accessing leads to the issue and I am annoy how to
>> disable network access during building for sbuild.
>>
>> BR,
>> Bo
>> [0]: https://wiki.ubuntu.com/PbuilderHowto
>
> Thanks for testing!  The reason I'm interested in reproducing this error
> is that in the report of the RC bug that this upload is trying to solve
> - https://bugs.debian.org/1052939 - the build log from Lucas has exactly
> the same error:
>
> ,----
> | ...
> | > Test ‘lsp-text-document-hover-request’ redefined
> | > 
> | > Error: error ("Test ‘lsp-text-document-hover-request’ redefined")
> | ...
> `----
>
> But I haven't been able to reproduce this until Arto and you sent your
> reports, and this being reproduced by two people makes this more
> interesting.  There must be something that may trigger this unlikely
> error.  Also I'm not sure whether the network accessing may have been
> the cause as sbuild needs to download the dependencies and without
> something like apt-cacher{,-ng} it does need network access for that to
> happen.
>
> I suspected that the parallel setting in $DEB_BUILD_OPTIONS may have
> affected it so I copied your sbuild settings and tried again but
> unfortunately it still succeeded for me.  For the unlikely event and for
> completeness, can you also try to turn that off in your sbuild config
> and retry just in case?  TIA.
>

Actually scratch my previous mail, as I found how to produce the issue.
In `lsp-clangd-test.el' it does `(require 'lsp-integration-test)', so if
`lsp-clangd-test.el' is loaded before `lsp-integration-test.el', it
seems the test symbols in the latter are loaded twice that triggers the
error regardless of whether there is an actual duplicated test name.  I
can confirm that in your build log that the clangd one was loaded first
which causes this error.  I assume Arto sees it due to the same cause.

I have added another change to override dh_elpa_test to ensure
`lsp-clangd-test' is loaded last and uploaded to mentors.  Please help
test again.

I'll probably also report this issue upstream to see how it should be
handled.

>>> ,----
>>> | $ dget -x https://mentors.debian.net/debian/pool/main/l/lsp-mode/lsp-mode_8.0.0-6.dsc
>>> | $ sbuild lsp-mode_8.0.0-6.dsc
>>> `----
>>>
>>> P.S. If you can provide the failed build log and ~/.sbuildrc it may
>>> still help to eliminate potential sbuild differences in our environment.
>>>
>>> >>
>>> >> BR,
>>> >> Bo
>>> >>>
>>> >>> --
>>> >>> Arto Jantunen
>>> >>>
>>>
>>> --
>>> Xiyue Deng

-- 
Xiyue Deng



Information stored :
Bug#1054494; Package sponsorship-requests. (Fri, 27 Oct 2023 03:39:02 GMT) (full text, mbox, link).


Acknowledgement sent to Bo YU <tsu.yubo@gmail.com>:
Extra info received and filed, but not forwarded. (Fri, 27 Oct 2023 03:39:02 GMT) (full text, mbox, link).


Message #70 received at 1054494-quiet@bugs.debian.org (full text, mbox, reply):

From: Bo YU <tsu.yubo@gmail.com>
To: Xiyue Deng <manphiz@gmail.com>
Cc: Arto Jantunen <viiru@debian.org>, 1054494-quiet@bugs.debian.org
Subject: Re: Bug#1054494: RFS: lsp-mode/8.0.0-6 [ITA] [RC] -- Emacs client/library for the Language Server Protocol
Date: Fri, 27 Oct 2023 11:34:03 +0800
Hi!

On Fri, Oct 27, 2023 at 10:30 AM Xiyue Deng <manphiz@gmail.com> wrote:
>
> Xiyue Deng <manphiz@gmail.com> writes:
>
> > Hi Bo,
> >
> > Bo YU <tsu.yubo@gmail.com> writes:
> >
> >> Hi!
> >>
> >> On Thu, Oct 26, 2023 at 7:02 AM Xiyue Deng <manphiz@gmail.com> wrote:
> >>
> >> ...
> >>>
> >>> For the unlikely but possible cause that tests with a long name is a
> >>> prefix of other tests that may trigger this issue, I have modified the
> >>> test name for testing purposes.  Can you help get the latest upload on
> >>> mentors and try again?  TIA.
> >>>
> >> I tried this and it seems the issue was raised with my sbuild build environment.
> >> I still got this:
> >> https://paste.debian.net/1296268/
> >>
> >> My sbuilderrc is here:
> >> https://paste.debian.net/1296269/
> >>
> >> But if use pbuilder[0] to build your package, it is ok.
> >> So I think your package which is no problem.
> >>
> >> BTW, I suspect the network accessing leads to the issue and I am annoy how to
> >> disable network access during building for sbuild.
> >>
> >> BR,
> >> Bo
> >> [0]: https://wiki.ubuntu.com/PbuilderHowto
> >
> > Thanks for testing!  The reason I'm interested in reproducing this error
> > is that in the report of the RC bug that this upload is trying to solve
> > - https://bugs.debian.org/1052939 - the build log from Lucas has exactly
> > the same error:
> >
> > ,----
> > | ...
> > | > Test ‘lsp-text-document-hover-request’ redefined
> > | >
> > | > Error: error ("Test ‘lsp-text-document-hover-request’ redefined")
> > | ...
> > `----
> >
> > But I haven't been able to reproduce this until Arto and you sent your
> > reports, and this being reproduced by two people makes this more
> > interesting.  There must be something that may trigger this unlikely
> > error.  Also I'm not sure whether the network accessing may have been
> > the cause as sbuild needs to download the dependencies and without
> > something like apt-cacher{,-ng} it does need network access for that to
> > happen.
> >
> > I suspected that the parallel setting in $DEB_BUILD_OPTIONS may have
> > affected it so I copied your sbuild settings and tried again but
> > unfortunately it still succeeded for me.  For the unlikely event and for
> > completeness, can you also try to turn that off in your sbuild config
> > and retry just in case?  TIA.
> >
>
> Actually scratch my previous mail, as I found how to produce the issue.
> In `lsp-clangd-test.el' it does `(require 'lsp-integration-test)', so if
> `lsp-clangd-test.el' is loaded before `lsp-integration-test.el', it
> seems the test symbols in the latter are loaded twice that triggers the
> error regardless of whether there is an actual duplicated test name.  I
> can confirm that in your build log that the clangd one was loaded first
> which causes this error.  I assume Arto sees it due to the same cause.
>
> I have added another change to override dh_elpa_test to ensure
> `lsp-clangd-test' is loaded last and uploaded to mentors.  Please help
> test again.

This time the package can be built on my sbuild environment.
Please go ahead.

BR,
Bo
>
> I'll probably also report this issue upstream to see how it should be
> handled.
>
> >>> ,----
> >>> | $ dget -x https://mentors.debian.net/debian/pool/main/l/lsp-mode/lsp-mode_8.0.0-6.dsc
> >>> | $ sbuild lsp-mode_8.0.0-6.dsc
> >>> `----
> >>>
> >>> P.S. If you can provide the failed build log and ~/.sbuildrc it may
> >>> still help to eliminate potential sbuild differences in our environment.
> >>>
> >>> >>
> >>> >> BR,
> >>> >> Bo
> >>> >>>
> >>> >>> --
> >>> >>> Arto Jantunen
> >>> >>>
> >>>
> >>> --
> >>> Xiyue Deng
>
> --
> Xiyue Deng



Information stored :
Bug#1054494; Package sponsorship-requests. (Fri, 27 Oct 2023 21:06:07 GMT) (full text, mbox, link).


Acknowledgement sent to Xiyue Deng <manphiz@gmail.com>:
Extra info received and filed, but not forwarded. (Fri, 27 Oct 2023 21:06:07 GMT) (full text, mbox, link).


Message #75 received at 1054494-quiet@bugs.debian.org (full text, mbox, reply):

From: Xiyue Deng <manphiz@gmail.com>
To: Bo YU <tsu.yubo@gmail.com>
Cc: Arto Jantunen <viiru@debian.org>, 1054494-quiet@bugs.debian.org
Subject: Re: Bug#1054494: RFS: lsp-mode/8.0.0-6 [ITA] [RC] -- Emacs client/library for the Language Server Protocol
Date: Fri, 27 Oct 2023 14:01:54 -0700
Bo YU <tsu.yubo@gmail.com> writes:

> Hi!
>
> On Fri, Oct 27, 2023 at 10:30 AM Xiyue Deng <manphiz@gmail.com> wrote:
>>
>> Xiyue Deng <manphiz@gmail.com> writes:
>>
>> > Hi Bo,
>> >
>> > Bo YU <tsu.yubo@gmail.com> writes:
>> >
>> >> Hi!
>> >>
>> >> On Thu, Oct 26, 2023 at 7:02 AM Xiyue Deng <manphiz@gmail.com> wrote:
>> >>
>> >> ...
>> >>>
>> >>> For the unlikely but possible cause that tests with a long name is a
>> >>> prefix of other tests that may trigger this issue, I have modified the
>> >>> test name for testing purposes.  Can you help get the latest upload on
>> >>> mentors and try again?  TIA.
>> >>>
>> >> I tried this and it seems the issue was raised with my sbuild build environment.
>> >> I still got this:
>> >> https://paste.debian.net/1296268/
>> >>
>> >> My sbuilderrc is here:
>> >> https://paste.debian.net/1296269/
>> >>
>> >> But if use pbuilder[0] to build your package, it is ok.
>> >> So I think your package which is no problem.
>> >>
>> >> BTW, I suspect the network accessing leads to the issue and I am annoy how to
>> >> disable network access during building for sbuild.
>> >>
>> >> BR,
>> >> Bo
>> >> [0]: https://wiki.ubuntu.com/PbuilderHowto
>> >
>> > Thanks for testing!  The reason I'm interested in reproducing this error
>> > is that in the report of the RC bug that this upload is trying to solve
>> > - https://bugs.debian.org/1052939 - the build log from Lucas has exactly
>> > the same error:
>> >
>> > ,----
>> > | ...
>> > | > Test ‘lsp-text-document-hover-request’ redefined
>> > | >
>> > | > Error: error ("Test ‘lsp-text-document-hover-request’ redefined")
>> > | ...
>> > `----
>> >
>> > But I haven't been able to reproduce this until Arto and you sent your
>> > reports, and this being reproduced by two people makes this more
>> > interesting.  There must be something that may trigger this unlikely
>> > error.  Also I'm not sure whether the network accessing may have been
>> > the cause as sbuild needs to download the dependencies and without
>> > something like apt-cacher{,-ng} it does need network access for that to
>> > happen.
>> >
>> > I suspected that the parallel setting in $DEB_BUILD_OPTIONS may have
>> > affected it so I copied your sbuild settings and tried again but
>> > unfortunately it still succeeded for me.  For the unlikely event and for
>> > completeness, can you also try to turn that off in your sbuild config
>> > and retry just in case?  TIA.
>> >
>>
>> Actually scratch my previous mail, as I found how to produce the issue.
>> In `lsp-clangd-test.el' it does `(require 'lsp-integration-test)', so if
>> `lsp-clangd-test.el' is loaded before `lsp-integration-test.el', it
>> seems the test symbols in the latter are loaded twice that triggers the
>> error regardless of whether there is an actual duplicated test name.  I
>> can confirm that in your build log that the clangd one was loaded first
>> which causes this error.  I assume Arto sees it due to the same cause.
>>
>> I have added another change to override dh_elpa_test to ensure
>> `lsp-clangd-test' is loaded last and uploaded to mentors.  Please help
>> test again.
>
> This time the package can be built on my sbuild environment.
> Please go ahead.
>

Thanks for testing!

I have pushed the change to salsa.  Waiting for sponsor upload to push
the final commit of `dch -r` and tags.

> BR,
> Bo
>>
>> I'll probably also report this issue upstream to see how it should be
>> handled.
>>
>> >>> ,----
>> >>> | $ dget -x https://mentors.debian.net/debian/pool/main/l/lsp-mode/lsp-mode_8.0.0-6.dsc
>> >>> | $ sbuild lsp-mode_8.0.0-6.dsc
>> >>> `----
>> >>>
>> >>> P.S. If you can provide the failed build log and ~/.sbuildrc it may
>> >>> still help to eliminate potential sbuild differences in our environment.
>> >>>
>> >>> >>
>> >>> >> BR,
>> >>> >> Bo
>> >>> >>>
>> >>> >>> --
>> >>> >>> Arto Jantunen
>> >>> >>>
>> >>>
>> >>> --
>> >>> Xiyue Deng
>>
>> --
>> Xiyue Deng

-- 
Xiyue Deng



Marked Bug as done Request was from bartm@debian.org to control@bugs.debian.org. (Sun, 26 Nov 2023 13:54:38 GMT) (full text, mbox, link).


Notification sent to Xiyue Deng <manphiz@gmail.com>:
Bug acknowledged by developer. (Sun, 26 Nov 2023 13:54:39 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 25 Dec 2023 07:30:41 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Mar 4 20:22:53 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.