Bug 30612 - Emacs missing depedency for font.
Summary: Emacs missing depedency for font.
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-05 19:12 CEST by Nicholas Longo
Modified: 2022-07-13 19:24 CEST (History)
1 user (show)

See Also:
Source RPM: emacs-27.1-1.1.mga8.src.rpm
CVE:
Status comment:


Attachments
Image of emacs with missing font. (54.00 KB, image/jpeg)
2022-07-05 19:15 CEST, Nicholas Longo
Details

Description Nicholas Longo 2022-07-05 19:12:53 CEST
Description of problem:
After installing emacs, and starting it, the X version displays all the menus as square boxes because of missing fonts. (I will add an attachment)

Installing the package "abattis-cantarell-fonts-0.201-4.mga8.noarch" seems to resolve the problem, and I suspect this package should be a dependency for the emacs rpm.

Version-Release number of selected component (if applicable):
27.1-1.1.mga8

How reproducible:
Every time.

Steps to Reproduce:
1. Install emacs
2. Run emacs (with X display available.)
Comment 1 Nicholas Longo 2022-07-05 19:15:08 CEST
Created attachment 13325 [details]
Image of emacs with missing font.
Comment 2 sturmvogel 2022-07-05 19:29:58 CEST
Which desktop environment are you using? It seems a dependency for Gnome and Plasma as it want's to remove them when you try to uninstall abattis-cantarell-fonts.
Comment 3 Nicholas Longo 2022-07-05 20:40:47 CEST
Currently the system doesn't have a desktop environment installed.

My starting point was the docker image which was slide-loaded into WSL.  

For completeness I then reinstalled all rpms currently used by the system to fix other issues.  Finally I installed emacs (to edit some essential files).

The system doesn't have a DE, or even X11/Wayland.  X11 forwarding and an X server on the 'local machine' is used to for displaying.  Hope that helps.
Comment 4 sturmvogel 2022-07-05 20:53:20 CEST
Ok that means you installed on Windows WSL a docker image of Mageia (where do you have this image from?) and do X11-forwarding? Correct me if i understood your setup wrong.

Could it be that the docker image (which is not provided by Mageia) is not properly setup?
Comment 5 sturmvogel 2022-07-05 22:04:24 CEST
I tried to reproduce this problem with a slightly different setup but was not able to.

Minimum installation of 64 bit MGA8 with X (IceWM) according https://doc.mageia.org/installer/8/en/content/software.html#minimal-install

-> abattis-cantarell-fonts is automatically installed
-> removed abattis-cantarell-fonts via "urpme abattis-cantarell-fonts"
-> "urpmi emacs"
-> emacs opens and displays just fine without any artefacts or squares

=> maybe the docker image is faulty
=> there are known issues with x-forwarding on windows not working well with all programs
Comment 6 Nicholas Longo 2022-07-06 22:30:14 CEST
In reply to comment 4, you are correct.

I got the docker image from dockerhub.

https://hub.docker.com/_/mageia

Where it claims to be maintained by "Mageia Developers".  But now I see there isn't a reference to it on mageia.org.  So I hope my confusion is understandable.

Unfortunately, installing a WSL instance requires a tar-ball of an install, so running the installer is not really an option for me.  Does there exist at list of which rpms are included in the minimum install? (Then I will just fix the instance I have running.)

About comment 5.  Perhaps there is something else missing that gets installed with the base system?  I understand if you want to close out this bug as not reproducible.
Comment 7 Dave Hodgins 2022-07-06 23:00:28 CEST
https://hub.docker.com/_/mageia indicates
https://github.com/juanluisbaptiste/docker-brew-mageia/issues
should be used to report problems.

Assigning accordingly.

CC: (none) => davidwhodgins
Assignee: bugsquad => juan.baptiste

Comment 8 Dave Hodgins 2022-07-06 23:05:23 CEST
Juan, please modify the description to say it's maintained by "A Mageia developer"
instead of "Mageia Developers".
Comment 9 Dave Hodgins 2022-07-07 07:07:33 CEST
Also please remove "Official" from the description.
Lewis Smith 2022-07-07 20:13:14 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=30609

Comment 10 Dave Hodgins 2022-07-13 19:24:39 CEST
Aside from the problem of an unofficial docker image being labeled as official,
which will be dealt with elsewhere, there's still the problem of the
missing requires.

I haven't tested this yet, but to reproduce based on the above info,
Use a netinstall iso to install basesystem-minimal and it's required packages.
Install emacs, which installs as part of it's requries, libX11, etc.
Use an X server on another system connected to the test system via ssh with
X forwarding on.
abattis-cantarell-fonts is not included in the requires of emacs so is not
available.

Changing the assignee to Thierry, the registered maintainer of emacs.

Assignee: juan.baptiste => thierry.vignaud


Note You need to log in before you can comment on or make changes to this bug.