Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1042911: Breaks Emacs 29.1 upgrade: muse-split.el:41:2: Error: Cannot open load file: No such file or directory, assoc

39 views
Skip to first unread message

Axel Beckert

unread,
Aug 2, 2023, 12:10:05 PM8/2/23
to
Package: elpa-muse
Version: 3.20+dfsg-7
Severity: serious
X-Debbugs-Cc: a...@debian.org
Control: affects -1 emacs emacs-gtk emacs-lucid emacs-nox emacs-pgtk

Since upgrading to Emacs 29.1, byte-(re-)compilation fails as follows:

[…]
Install elpa-muse for emacs
install/muse-3.20: Handling install of emacsen flavor emacs
install/muse-3.20: byte-compiling for emacs

In toplevel form:
cgi.el:71:2: Warning: Package cl is deprecated
cgi.el:87:13: Warning: Unknown defun property ‘character’

In cgi-decode-string:
cgi.el:94:4: Warning: ‘do’ is an obsolete alias (as of 27.1); use ‘cl-do’ instead.
cgi.el:101:15: Warning: ‘incf’ is an obsolete alias (as of 27.1); use ‘cl-incf’ instead.
cgi.el:108:17: Warning: ‘incf’ is an obsolete alias (as of 27.1); use ‘cl-incf’ instead.

In cgi-decode:
cgi.el:124:6: Warning: ‘flet’ is an obsolete macro (as of 24.3); use either ‘cl-flet’ or ‘cl-letf’.

In cgi-arguments:
cgi.el:161:13: Warning: ‘loop’ is an obsolete alias (as of 27.1); use ‘cl-loop’ instead.

In end of data:
cgi.el:197:16: Warning: the function ‘calendar-current-date’ might not be defined at runtime.

In toplevel form:
htmlize-hack.el:12:13: Warning: ‘loop’ is an obsolete alias (as of 27.1); use ‘cl-loop’ instead.
htmlize-hack.el:17:8: Warning: ‘reduce’ is an obsolete function (as of 27.1); use ‘cl-reduce’ instead.

In muse-backlink-insert-hook-func:
muse-backlink.el:264:12: Warning: ‘font-lock-fontify-buffer’ is for interactive use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.

In end of data:
muse-backlink.el:313:33: Warning: the function ‘muse-make-link’ might not be defined at runtime.

In toplevel form:
muse-colors.el:60:2: Warning: custom-declare-variable `muse-colors-autogen-headings' docstring has wrong usage of unescaped single quotes (use \= or different
quoting)
muse-colors.el:94:2: Warning: custom-declare-variable `muse-colors-inline-image-method' docstring has wrong usage of unescaped single quotes (use \= or differ
ent quoting)

In muse-colors-region:
muse-colors.el:577:10: Warning: ‘inhibit-point-motion-hooks’ is an obsolete variable (as of 25.1); use ‘cursor-intangible-mode’ or ‘cursor-sensor-mode’ instea
d

In muse-unhighlight-region:
muse-colors.el:732:10: Warning: ‘inhibit-point-motion-hooks’ is an obsolete variable (as of 25.1); use ‘cursor-intangible-mode’ or ‘cursor-sensor-mode’ instea
d

In muse-colors-lisp-tag:
muse-colors.el:775:30: Warning: ‘muse-looking-back’ called with 1 argument, but requires 2 or 3

In muse-docbook-markup-paragraph:
muse-docbook.el:233:41: Warning: ‘muse-looking-back’ called with 1 argument, but requires 2 or 3

In toplevel form:
muse-html.el:67:2: Warning: custom-declare-variable `muse-html-style-sheet' docstring wider than 80 characters
muse-html.el:96:2: Warning: custom-declare-variable `muse-xhtml-style-sheet' docstring wider than 80 characters
muse-html.el:399:2: Warning: custom-declare-variable `muse-html-meta-content-encoding' docstring has wrong usage of unescaped single quotes (use \= or differe
nt quoting)
muse-html.el:421:2: Warning: custom-declare-variable `muse-html-src-allowed-modes' docstring has wrong usage of unescaped single quotes (use \= or different q
uoting)

In muse-html-markup-paragraph:
muse-html.el:490:6: Warning: ‘muse-looking-back’ called with 1 argument, but requires 2 or 3

In muse-html-src-tag:
muse-html.el:670:16: Warning: ‘font-lock-fontify-buffer’ is for interactive use only; use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.
../../elpa-src/muse-3.20/cgi.el: Warning: Unknown defun property ‘character’
../../elpa-src/muse-3.20/cgi.el: Warning: ‘do’ is an obsolete alias (as of 27.1); use ‘cl-do’ instead.
../../elpa-src/muse-3.20/cgi.el: Warning: ‘incf’ is an obsolete alias (as of 27.1); use ‘cl-incf’ instead.
../../elpa-src/muse-3.20/cgi.el: Warning: ‘incf’ is an obsolete alias (as of 27.1); use ‘cl-incf’ instead.
../../elpa-src/muse-3.20/cgi.el: Warning: ‘incf’ is an obsolete alias (as of 27.1); use ‘cl-incf’ instead.
../../elpa-src/muse-3.20/cgi.el: Warning: ‘flet’ is an obsolete macro (as of 24.3); use either ‘cl-flet’ or ‘cl-letf’.
../../elpa-src/muse-3.20/cgi.el: Warning: ‘loop’ is an obsolete alias (as of 27.1); use ‘cl-loop’ instead.
../../elpa-src/muse-3.20/muse-ipc.el: Warning: ‘return-from’ is an obsolete alias (as of 27.1); use ‘cl-return-from’ instead.
../../elpa-src/muse-3.20/muse-ipc.el: Warning: ‘return-from’ is an obsolete alias (as of 27.1); use ‘cl-return-from’ instead.

In toplevel form:
muse-ipc.el:50:2: Warning: custom-declare-variable `muse-ipc-ignore-done' docstring has wrong usage of unescaped single quotes (use \= or different quoting)
muse-ipc.el:80:2: Warning: ‘defun*’ is an obsolete alias (as of 27.1); use ‘cl-defun’ instead.

In muse-ipc-server-filter:
muse-ipc.el:93:6: Warning: ‘return-from’ is an obsolete alias (as of 27.1); use ‘cl-return-from’ instead.

In muse-journal-generate-pages:
muse-journal.el:186:24: Warning: value returned from (match-string 1) is unused
muse-journal.el:186:24: Warning: value returned from (match-string 1) is unused

In toplevel form:
muse-mathml.el:85:2: Warning: custom-declare-variable `muse-mathml-style-sheet' docstring wider than 80 characters

In end of data:
muse-message.el:185:10: Warning: the function ‘Footnote-add-footnote’ is not known to be defined.

In toplevel form:
muse-mode.el:88:26: Warning: ‘find-file-hooks’ is an obsolete variable (as of 22.1); use ‘find-file-hook’ instead.
muse-mode.el:89:27: Warning: ‘find-file-hooks’ is an obsolete variable (as of 22.1); use ‘find-file-hook’ instead.

In muse-mode-maybe-after-init:
muse-mode.el:95:16: Warning: ‘find-file-hooks’ is an obsolete variable (as of 22.1); use ‘find-file-hook’ instead.

In muse-mode:
muse-mode.el:219:32: Warning: ‘inhibit-point-motion-hooks’ is an obsolete variable (as of 25.1); use ‘cursor-intangible-mode’ or ‘cursor-sensor-mode’ instead

In muse-alter-list-item-indentation:
muse-mode.el:396:2: Warning: docstring has wrong usage of unescaped single quotes (use \= or different quoting)

In muse-link-at-point:
muse-mode.el:471:10: Warning: ‘inhibit-point-motion-hooks’ is an obsolete variable (as of 25.1); use ‘cursor-intangible-mode’ or ‘cursor-sensor-mode’ instead

In muse-previous-reference:
muse-mode.el:728:19: Warning: ‘muse-looking-back’ called with 1 argument, but requires 2 or 3

In muse-insert-tag:
muse-mode.el:890:12: Warning: ‘interactive-p’ is an obsolete function (as of 23.2); use ‘called-interactively-p’ instead.

In muse-project-find-file:
muse-project.el:640:14: Warning: ‘interactive-p’ is an obsolete function (as of 23.2); use ‘called-interactively-p’ instead.

In muse-project-publish-this-file:
muse-project.el:824:14: Warning: ‘interactive-p’ is an obsolete function (as of 23.2); use ‘called-interactively-p’ instead.

In end of data:
muse-project.el:945:22: Warning: the function ‘make-local-hook’ is not known to be defined.

In muse-publish-region:
muse-publish.el:795:10: Warning: ‘interactive-p’ is an obsolete function (as of 23.2); use ‘called-interactively-p’ instead.

In muse-publish-escape-specials:
muse-publish.el:1012:2: Warning: docstring has wrong usage of unescaped single quotes (use \= or different quoting)

In toplevel form:
muse-regexps.el:45:2: Warning: custom-declare-variable `muse-regexp-use-character-classes' docstring has wrong usage of unescaped single quotes (use \= or different quoting)

In toplevel form:
muse-split.el:41:2: Error: Cannot open load file: No such file or directory, assoc

In muse-list-item-type:
muse.el:743:2: Warning: docstring has wrong usage of unescaped single quotes (use \= or different quoting)
ERROR: install script from elpa-muse package failed
dpkg: error processing package emacs-gtk (--configure):
installed emacs-gtk package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of emacs:
[…]

-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental')
merged-usr: no
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.4.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages elpa-muse depends on:
ii dh-elpa-helper 2.0.17
ii elpa-htmlize 1.56-1
ii emacsen-common 3.0.5

Versions of packages elpa-muse recommends:
ii doc-base 0.11.1
iu emacs 1:29.1+1-2
ih emacs-gtk [emacs] 1:29.1+1-2
ii texlive-latex-base 2022.20230122-3

elpa-muse suggests no packages.

-- no debconf information

Nicholas D Steeves

unread,
Aug 2, 2023, 4:11:17 PM8/2/23
to
Hello,

Would you like to fix this RC bug and adopt the package?

https://bugs.debian.org/1042911

and the orphan bug is here: #1016558

Best,
Nicholas
signature.asc

Manphiz

unread,
Aug 4, 2023, 8:00:05 PM8/4/23
to
control: tags -1 patch

Manphiz <man...@gmail.com> writes:
> Hi Nicolas,
>
> Thanks for reaching out! Looks like this was caused by the removal of
> the obsolete "assoc" package in Emacs 29.1 which had been deprecated
> since 24. I'll try to work on a fix later this week.

Hi Nicholas,

I have now prepared a merge request to migrate away from assoc.el[1] and
also forwarded the patch upstream. Also set the package as team
maintained and add myself as an upload. PTAL. Thanks!

[1] https://salsa.debian.org/emacsen-team/muse-el/-/merge_requests/3

--
Manphiz

Nicholas D Steeves

unread,
Aug 5, 2023, 2:51:52 PM8/5/23
to
Hello,

Manphiz <man...@gmail.com> writes:

>> Nicholas D Steeves <nste...@gmail.com> writes:
>>
>
> Hi Nicholas,
>
> I have now prepared a merge request to migrate away from assoc.el[1] and
> also forwarded the patch upstream. Also set the package as team
> maintained and add myself as an upload. PTAL. Thanks!

Wow, that was fast! LTGM, with one caveat: You are an Uploader for this
package now, so please drop the "Team upload" line entirely. This makes
you the human maintainer for the package, so I have sent you an invitation
for salsa/gitlab maintainer permissions for muse-el.

> [1] https://salsa.debian.org/emacsen-team/muse-el/-/merge_requests/3

You will notice that there are two other MRs. Please double-check that
the bot did its work correctly, and please manually go through the
Debian Policy upgrade checklist, starting with the version muse-el uses,
and each version up to and including the one the bot proposed. If you
would like to take credit for this work, I recommend adding "and your
name" to the changelog entries the bot proposes.

[ The name of the bot and your name ]

In other words, I would like to give you permission to write to this
repo! Bots will often rebase their MRs to save you time, and I will
leave the decision of what gets merged first, and what gets rebased up
to you.

Let me know when your done, and we can talk about the next steps.

Cheers,
Nicholas
signature.asc

Manphiz

unread,
Aug 6, 2023, 4:40:05 AM8/6/23
to
Nicholas D Steeves <nste...@gmail.com> writes:

> Hi,
>
> Reply follows inline. Can we move this discussion to #1016558 to not
> bother Axel with our discussion?
>
> Manphiz <man...@gmail.com> writes:
>
>> Nicholas D Steeves <nste...@gmail.com> writes:
>>>>> Nicholas D Steeves <nste...@gmail.com> writes:
>>>>>
>> Thanks! Though I'm not really a user of muse-el, I'd like to keep it in
>> a good shape as an exercise as an Emacs addon maintainer. It looks like
>> there is not too much work thanks to Elisp being a fairly stable
>> language :)
>
> That's fine, thank you once again for adopting it, and yes, generally
> everything is ok :)
>
>>>> [1] https://salsa.debian.org/emacsen-team/muse-el/-/merge_requests/3
>>>
>> Thanks for the tips! I checked the Debian Policy Upgrading Checklist[1]
>> and agreed with Debian Janitor on the "no changes are needed" bit. And
>> to avoid having to wait for the bot to do the rebase I've manually
>> resolved the conflicts and rebased my MR on top of it as well.
>>
>
> You're welcome, and good call.
>
>>> Let me know when your done, and we can talk about the next steps.
>>
>> Now all MRs are merged. Please advise the next steps. Thanks!
>>
>
> Wonderful! I also see you have a GPG key now. Have you generated
> revocations certificates yet?
>
> https://wiki.debian.org/Keysigning#Step_2:_Generate_a_revocation_certificate

Now I have one. Thanks for the tip!

>
> Next, where can I find your key?

I have previously uploaded my GPG key to pgp.mit.edu[1].

> I'm assuming that you're committed to
> maintaining this identity for the foreseeable future, and that you'd
> like to build reputation for future involvement in Debian. It's not
> required at the stage you're at, but it's recommended.
>
> https://wiki.debian.org/Keysigning#Step_3:_Make_your_public_key_public

Please advise if https://keyserver.ubuntu.com is still recommended for
prospective DMs.

>
> The subkey that I was able to download didn't include any identities.
>
> Other than that, this package isn't quite ready to upload, because there
> are three unaddressed lintian warnings.
>
> https://wiki.debian.org/Lintian

I have a few more commits[2] that should have fixed most of the lintian
warnings. There is another INFO level warning:

I: muse-el source: patch-not-forwarded-upstream [debian/patches/0005-convert-a-muse-init.el-example-to-UTF-8.patch]

I wonder whether you would also like to forward this patch upstream.

The rest warnings/infos are taken care of. PTAL.

>
> Best,
> Nicholas
>


[1] http://pgp.mit.edu/pks/lookup?op=get&search=0x2DE965ED63825C93
[2] https://salsa.debian.org/emacsen-team/muse-el/-/commits/master
--
Manphiz
signature.asc

Nicholas D Steeves

unread,
Aug 31, 2023, 1:10:06 PM8/31/23
to
Control: block -1 by 1016558

Hi,

I'm just updating this bug to note the adopted muse-el package is just
about ready to upload (the ITA is also a pseudo-RFS bug), and I plan to
upload in the next few days. If this update isn't enough to prevent
autoremoval...well, at least the package will be fixed very soon.

Regards,
Nicholas
signature.asc

Farblos

unread,
Sep 15, 2023, 8:50:04 AM9/15/23
to
Not sure whether this is still relevant or just bad luck or whatever ... my
unattended-upgrade failed today because of this issue. Logs available
on request. Work-around was to remove version 3.20+dfsg-7, retrigger
the unattended upgrade, install version 3.20+dfsg-8.

Thanks for taking care of this package, BTW!
0 new messages