#1139671 emacsen-common: Empty "debian-startup.elc" file prevents emacs startup

Package:
emacsen-common
Source:
emacsen-common
Submitter:
Ron Murray
Date:
2026-06-12 13:29:02 UTC
Severity:
normal
Tags:
#1139671#5
Date:
2026-06-11 00:33:18 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***

Emacs would not start up, giving a
"Symbol's function definition is void: debian-startup" error.
While searching for the problem, discovered

https://stackoverflow.com/questions/26870976/emacs-startup-symbols-function-definition-is-void-debian-startup,

which, while not dealing with the real cause, helped with the
solution.

An emacs update to testing arrived this morning, and in
/usr/share/emacs/site-lisp, I found this:
is bogus, and it prevents the real one from being loaded.

Soled by renaming the bogus file (debian-startup.elc).

- -- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 7.0.12.khufu (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

- -- no debconf information
-----BEGIN PGP SIGNATURE-----

iQJCBAEBCgAsFiEETZlw4yMXM0sUHntjEvfoZbXi52EFAmoqAj4OHHJqbXhAcmpt
eC5uZXQACgkQEvfoZbXi52G45hAAh1eIZDZCOurPGVCSvtKuB36QmX56YiWtAYKr
636ZL0K6VAtn6Chb53kzF2z7tiWTo6ywsrWZfpqiteE9UWQ7wMCcMsO+7Z6lLz6c
X03fOvip5PFM07gi5No/6fnfspttGJAkv8/YO4YKNr3A/qrJOcGf7AQogf+81YIf
wlAbAgArDO0/gqr8dCTo6WIWlXTq/wPo3wZsqpe6a0th6aVHYi4xtfZLPrUS4iWg
xQJ0u9whU7917D6Hv7LkGYCkTwe0EiXnRZJ5mPAQO0+XpXMmbc6udu8dn6IB75TX
dObR+O2rbx8kIznXb/PzT39OU5grLZT1NsiJDE8312B+EQosUK6uHsssiIDtJP04
B1+KPwb+7urrRkYGe37g67CclWqDbT2PXbtP1XQ00blc52QwuaOE1jjfGMciWuJI
wouryWg3MOlzFshbFfARTTRkCivVnejatIMasjNmIYygWXiuNEsLA59Docg2vOxM
ByLBiIxLhQQ6aPmC1So3uFt5mxdfmMHr6ktDVSqLJpCR33YaZu1JFaZ/kZJLpwBT
eLZHvsFA87gd3Uhn7phyGk1OykGSdT9X4PYuhZXlTWC+tSZqPF5KGLIWVepmRBA1
L1PHJa440ZBuQ+qOKPEObgrdGp9/OM9svvYZZarCmARdXO+PvjY0LtZXW1zZw6Qx
Oaku8BQ=
=cS2/
-----END PGP SIGNATURE-----

#1139671#10
Date:
2026-06-11 16:04:53 UTC
From:
To:
I have found a similar bug (#1139706) in package "elpa-with-editor",
which also involves an empty .elc file. It looks like something is wrong
with whatever creates these files on installation, so it might be best
to chech other packages as well. I've looked for more empty .elc files
under /usr/share/emacs/site-lisp/ and  I don't see any,but thenI don't
have all emacs packages.

  .....Ron

#1139671#15
Date:
2026-06-11 23:29:43 UTC
From:
To:
Ron Murray <rjmx@rjmx.net> writes:

The .elc files are generated at install time, not actually shipped in
the package.
It would be helpful to know about any messages during the install of
emacsen-common, and whether you can duplicate the problem by
re-installing the package.

BTW, do you have lots of disk space in /usr? What filesystem is it?

d

#1139671#28
Date:
2026-06-12 13:24:36 UTC
From:
To:
I realised that the .elc files were compiled at install time because they didn't appear when I did dpkg --listfiles emacsen-common. I have about 65G of disk space left on / (which includes /usr), and it's an xfs filesystem.

I'll try to do a re0install later today.

 .....Ron