#1134106 latex-cjk-common: emacs reports: Error while loading 50latex-cjk-common: Symbol’s value as variable is void: flavor

Package:
latex-cjk-common
Source:
latex-cjk-common
Description:
LaTeX macro package for CJK (Chinese/Japanese/Korean)
Submitter:
Kai Tetzlaff
Date:
2026-04-20 21:27:02 UTC
Severity:
normal
Tags:
#1134106#5
Date:
2026-04-16 13:32:28 UTC
From:
To:
Dear Maintainer,

starting emacs with either of the latex-cjk-common, latex-cjk-thai packages
installed, results in the following errors in the *Messages* buffer:

Loading /etc/emacs/site-start.d/50latex-cjk-common.el (source)...
Error while loading 50latex-cjk-common: Symbol’s value as variable is void: flavor
Loading /etc/emacs/site-start.d/50latex-cjk-thai.el (source)...
Error while loading 50latex-cjk-thai: Symbol’s value as variable is void: flavor

I have attached a patch which fixes the issue.

BR, Kai

#1134106#10
Date:
2026-04-16 21:40:34 UTC
From:
To:
Am 16.04.2026 um 15:32 schrieb Kai Tetzlaff:

Hello Kai,
I'm unable to reproduce the issue in my chroot, probably b/c there is no
emacs flavour installed. Patch looks plausible and has been committed.

In the end I would like to replace the hand written code to compile and
install the .el files by the one generated by dh-elpa. Until now I
failed to do so. Do you have eventually experience with that?

Hilmar

#1134106#15
Date:
2026-04-16 21:59:07 UTC
From:
To:
"Preuße, Hilmar" <hille42@web.de> writes:

Hello Hilmar,

Thanks!

Sorry - I probably can't help with that. I only learned about dh-elpa
just now. :-)

Are there any packages using dh-elpa already? If so, I can offer to have
a look.

BR, Kai

#1134106#20
Date:
2026-04-20 21:24:59 UTC
From:
To:
Am 16.04.2026 um 23:59 schrieb Kai Tetzlaff:

Hi,
;-)

The package need to declare a dep on dh-elpa, hence the following
command should give you a list you could look at: build-rdeps dh-elpa

It does not necessarily mean that these package use dh-elpa integration,
but there is a high likelihood.

Hilmar