GNU bug report logs -
#70030
29.3; package.el confused by ELPA nongnu archive meta-data for `annotate` listing multiple maintainers
Previous Next
Reported by: Herbert Valerio Riedel <hvr <at> gnu.org>
Date: Wed, 27 Mar 2024 14:37:01 UTC
Severity: normal
Found in version 29.3
Fixed in version 30.1
Done: Philip Kaludercic <philipk <at> posteo.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 70030 in the body.
You can then email your comments to 70030 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#70030
; Package
emacs
.
(Wed, 27 Mar 2024 14:37:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Herbert Valerio Riedel <hvr <at> gnu.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 27 Mar 2024 14:37:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
I'm not sure if this a bug in package.el proper or rather an ELPA
archive bug:
When invoking `M-x describe-package annotate` to describe the `annotate`
package from https://elpa.nongnu.org/nongnu/annotate.html the function
errors out with
describe-package-1: Wrong type argument: char-or-string-p, ("Bastian Bechtold" . "bastibe.dev <at> mailbox.org")
and its backtrace is basically
Debugger entered--Lisp error: (wrong-type-argument char-or-string-p ("Bastian Bechtold" . "bastibe.dev <at> mailbox.org"))
package--print-email-button((("Bastian Bechtold" . "bastibe.dev <at> mailbox.org") ("cage" . "cage-dev <at> twistfold.it")))
describe-package-1(annotate)
#f(compiled-function () #<bytecode -0xc22abc67090fa64>)()
help--window-setup("*Help*" #f(compiled-function () #<bytecode -0xc22abc67090fa64>))
describe-package(annotate)
pointing to the function `package--print-email-button` specifically not
being able to deal with the maintainer value
In fact, the 'annotate' meta-data entry in
`~/.emacs.d/elpa/archives/nongnu/archive-contents` looks like
(annotate .
[(2 2 1)
nil "annotate files without changing them" tar
((:url . "https://github.com/bastibe/annotate.el")
(:maintainer
("Bastian Bechtold" . "bastibe.dev <at> mailbox.org")
("cage" . "cage-dev <at> twistfold.it"))
(:commit . "a388c39231207f6234ca1af547dbd29995ee476f"))])
as far as I could see, most package entries have rather a maintainer
value such as
(:maintainer "Jordon Biondo" . "jordonbiondo <at> gmail.com")
or sometimes without an email addr, such as
(:maintainer "Benjamin Beckwith")
and in some cases even something weird like
(:maintainer "Andrea Orru <andreaorru1991 <at> gmail.com>, Andrew Kelley" . "superjoe30 <at> gmail.com")
which is surely not intended to be that way...
In GNU Emacs 29.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20,
cairo version 1.16.0) of 2024-03-25 built on bos03-amd64-034
Repository revision: 73d7d08f3f07a68b198e5ba230a474ba019e6a8a
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12008000
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#70030
; Package
emacs
.
(Thu, 28 Mar 2024 08:49:05 GMT)
Full text and
rfc822 format available.
Message #8 received at 70030 <at> debbugs.gnu.org (full text, mbox):
Herbert Valerio Riedel <hvr <at> gnu.org> writes:
> I'm not sure if this a bug in package.el proper or rather an ELPA
> archive bug:
>
> When invoking `M-x describe-package annotate` to describe the `annotate`
> package from https://elpa.nongnu.org/nongnu/annotate.html the function
> errors out with
>
> describe-package-1: Wrong type argument: char-or-string-p, ("Bastian Bechtold" . "bastibe.dev <at> mailbox.org")
>
> and its backtrace is basically
>
> Debugger entered--Lisp error: (wrong-type-argument char-or-string-p ("Bastian Bechtold" . "bastibe.dev <at> mailbox.org"))
> package--print-email-button((("Bastian Bechtold" . "bastibe.dev <at> mailbox.org") ("cage" . "cage-dev <at> twistfold.it")))
> describe-package-1(annotate)
> #f(compiled-function () #<bytecode -0xc22abc67090fa64>)()
> help--window-setup("*Help*" #f(compiled-function () #<bytecode -0xc22abc67090fa64>))
> describe-package(annotate)
>
> pointing to the function `package--print-email-button` specifically not
> being able to deal with the maintainer value
This sounds like a duplicate of bug#68288, that was resolved with
73cb931e5bab1b956f0569cd542468cfa7f4c9a7. I cannot reproduce the bug on
master, either with annotate or with marginalia.
>
> In fact, the 'annotate' meta-data entry in
> `~/.emacs.d/elpa/archives/nongnu/archive-contents` looks like
>
> (annotate .
> [(2 2 1)
> nil "annotate files without changing them" tar
> ((:url . "https://github.com/bastibe/annotate.el")
> (:maintainer
> ("Bastian Bechtold" . "bastibe.dev <at> mailbox.org")
> ("cage" . "cage-dev <at> twistfold.it"))
> (:commit . "a388c39231207f6234ca1af547dbd29995ee476f"))])
>
> as far as I could see, most package entries have rather a maintainer
> value such as
>
> (:maintainer "Jordon Biondo" . "jordonbiondo <at> gmail.com")
>
> or sometimes without an email addr, such as
>
> (:maintainer "Benjamin Beckwith")
>
> and in some cases even something weird like
>
> (:maintainer "Andrea Orru <andreaorru1991 <at> gmail.com>, Andrew Kelley" . "superjoe30 <at> gmail.com")
>
> which is surely not intended to be that way...
>
>
>
> In GNU Emacs 29.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20,
> cairo version 1.16.0) of 2024-03-25 built on bos03-amd64-034
> Repository revision: 73d7d08f3f07a68b198e5ba230a474ba019e6a8a
> Repository branch: master
> Windowing system distributor 'The X.Org Foundation', version 11.0.12008000
>
>
>
>
>
>
>
--
Philip Kaludercic on peregrine
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#70030
; Package
emacs
.
(Thu, 28 Mar 2024 09:22:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 70030 <at> debbugs.gnu.org (full text, mbox):
Philip Kaludercic <philipk <at> posteo.net> writes:
>> I'm not sure if this a bug in package.el proper or rather an ELPA
>> archive bug:
>>
>> When invoking `M-x describe-package annotate` to describe the `annotate`
>> package from https://elpa.nongnu.org/nongnu/annotate.html the function
>> errors out with
>>
>> describe-package-1: Wrong type argument: char-or-string-p, ("Bastian Bechtold" . "bastibe.dev <at> mailbox.org")
...
> This sounds like a duplicate of bug#68288, that was resolved with
> 73cb931e5bab1b956f0569cd542468cfa7f4c9a7. I cannot reproduce the bug on
> master, either with annotate or with marginalia.
Oh, sorry for the noise then... I should have tried harder to find a
preexisting bug report about this :-/
However, what shall be done about entries with malformed :maintainer
properties such as
--8<---------------cut here---------------start------------->8---
(gnuplot .
[(0 8 1)
((emacs
(25 1)))
"Major-mode and interactive frontend for gnuplot" tar
((:url . "https://github.com/emacs-gnuplot/gnuplot")
(:keywords "data" "gnuplot" "plotting")
(:maintainer "Maxime Tréca <maxime <at> gmail.com>, Daniel Mendler" . "mail <at> daniel-mendler.de")
(:authors
("Jon Oddie, Bruce Ravel, Phil Type"))
(:commit . "663a89d263d4f26b996796d01b6a3b783449e0f5"))])
--8<---------------cut here---------------end--------------->8---
is this considered an package bug to be dealt with by the upstream
maintainer or rather a bug in the ELPA archive index creation step (and
whom shall I contact for that?) which apparently extracted the
information from
https://raw.githubusercontent.com/emacs-gnuplot/gnuplot/0.8.1/gnuplot.el
which states
--8<---------------cut here---------------start------------->8---
;; Author: Jon Oddie, Bruce Ravel, Phil Type
;; Maintainer: Maxime Tréca <maxime <at> gmail.com>, Daniel Mendler <mail <at> daniel-mendler.de>
;; Created: 1998
;; Version: 0.8.1
;; Keywords: data gnuplot plotting
;; URL: https://github.com/emacs-gnuplot/gnuplot
;; Package-Requires: ((emacs "25.1"))
--8<---------------cut here---------------end--------------->8---
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#70030
; Package
emacs
.
(Thu, 28 Mar 2024 22:43:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 70030 <at> debbugs.gnu.org (full text, mbox):
Hi Herbert,
Just noting a somewhat related bug:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68660
Thanks,
J.P.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#70030
; Package
emacs
.
(Fri, 29 Mar 2024 08:00:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 70030 <at> debbugs.gnu.org (full text, mbox):
Herbert Valerio Riedel <hvr <at> gnu.org> writes:
> Philip Kaludercic <philipk <at> posteo.net> writes:
>
>>> I'm not sure if this a bug in package.el proper or rather an ELPA
>>> archive bug:
>>>
>>> When invoking `M-x describe-package annotate` to describe the `annotate`
>>> package from https://elpa.nongnu.org/nongnu/annotate.html the function
>>> errors out with
>>>
>>> describe-package-1: Wrong type argument: char-or-string-p, ("Bastian Bechtold" . "bastibe.dev <at> mailbox.org")
>
> ...
>
>> This sounds like a duplicate of bug#68288, that was resolved with
>> 73cb931e5bab1b956f0569cd542468cfa7f4c9a7. I cannot reproduce the bug on
>> master, either with annotate or with marginalia.
>
> Oh, sorry for the noise then... I should have tried harder to find a
> preexisting bug report about this :-/
No problem, I'll close the bug then.
> However, what shall be done about entries with malformed :maintainer
> properties such as
>
> (gnuplot .
> [(0 8 1)
> ((emacs
> (25 1)))
> "Major-mode and interactive frontend for gnuplot" tar
> ((:url . "https://github.com/emacs-gnuplot/gnuplot")
> (:keywords "data" "gnuplot" "plotting")
> (:maintainer "Maxime Tréca <maxime <at> gmail.com>, Daniel Mendler" . "mail <at> daniel-mendler.de")
> (:authors
> ("Jon Oddie, Bruce Ravel, Phil Type"))
> (:commit . "663a89d263d4f26b996796d01b6a3b783449e0f5"))])
>
>
> is this considered an package bug to be dealt with by the upstream
> maintainer or rather a bug in the ELPA archive index creation step (and
> whom shall I contact for that?) which apparently extracted the
> information from
>
> https://raw.githubusercontent.com/emacs-gnuplot/gnuplot/0.8.1/gnuplot.el
>
> which states
>
> ;; Author: Jon Oddie, Bruce Ravel, Phil Type
> ;; Maintainer: Maxime Tréca <maxime <at> gmail.com>, Daniel Mendler <mail <at> daniel-mendler.de>
> ;; Created: 1998
> ;; Version: 0.8.1
> ;; Keywords: data gnuplot plotting
> ;; URL: https://github.com/emacs-gnuplot/gnuplot
> ;; Package-Requires: ((emacs "25.1"))
That is not the responsibility of the package maintainers. Their header
is well-formed, I believe this was a bug with the elpa-admin.el script.
Either way, if I run the script locally, I get this entry in
archive-contents:
--8<---------------cut here---------------start------------->8---
(gnuplot
. [(0 8 1) ((emacs (25 1)))
"Major-mode and interactive frontend for gnuplot" tar
((:url . "https://github.com/emacs-gnuplot/gnuplot")
(:keywords "data" "gnuplot" "plotting")
(:maintainer ("Maxime Tréca" . "maxime <at> gmail.com")
("Daniel Mendler" . "mail <at> daniel-mendler.de"))
(:commit . "663a89d263d4f26b996796d01b6a3b783449e0f5"))])
--8<---------------cut here---------------end--------------->8---
So the issue can be fixed upstream by releasing a new version of the
package.
--
Philip Kaludercic on peregrine
bug marked as fixed in version 30.1, send any further explanations to
70030 <at> debbugs.gnu.org and Herbert Valerio Riedel <hvr <at> gnu.org>
Request was from
Philip Kaludercic <philipk <at> posteo.net>
to
control <at> debbugs.gnu.org
.
(Fri, 29 Mar 2024 08:47:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 26 Apr 2024 11:25:09 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.