Bug 14223 - Help -> About Emacs not displayed, shows error "Invalid image type `svg'" - missing BuildRequires
Summary: Help -> About Emacs not displayed, shows error "Invalid image type `svg'" - m...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA3TOO has_procedure advisory MGA4-6...
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2014-10-03 15:15 CEST by Florian Hubold
Modified: 2014-10-07 11:52 CEST (History)
6 users (show)

See Also:
Source RPM: emacs
CVE:
Status comment:


Attachments

Description Florian Hubold 2014-10-03 15:15:31 CEST
Description of problem:

When trying to open About Emacs from Help menu in x11 emacs, no about screen is displayed, only the error message "Invalid image type `svg"
emacs is missing a BuildRequires on pkgconfig(librsvg-2.0).

Also some other BuildRequires should be added to enable support for other features, like OTF font support, m17-flt text shaping and gpm support for non-x11 version.

Reproducible: 

Steps to Reproduce:
Florian Hubold 2014-10-03 15:16:13 CEST

Status: NEW => ASSIGNED
CC: (none) => doktor5000, thierry.vignaud
Whiteboard: (none) => MGA3TOO, MGA4TOO

Comment 1 Florian Hubold 2014-10-03 15:22:57 CEST
@tv: Could you please have a look at http://svnweb.mageia.org/packages?view=revision&revision=736407

If there are no objections, I'd push this for cauldron and also as an update for mga4 at least.
Comment 2 Florian Hubold 2014-10-05 16:46:56 CEST
Fixed for cauldron with emacs-24.3-7.mga5, now it even shows a nice emacs logo :)

Will push updates for mga4 and 3 shortly ...
Comment 3 Florian Hubold 2014-10-05 17:08:07 CEST
@QA Team: I'd also like to try out to create and advisory for this as explained in https://wiki.mageia.org/en/How_to_create_an_update_advisory#Creating_a_new_advisory
If you think the information below is sufficient for the adisory, then just tell me and I'll do so :)


========================

I have uploaded a patched/updated package for Mageia 3 and 4.

You can test this by running emacs and checking if the graphic logo is
shown and if Help -> About Emacs shows the Emacs version. 

Before the fix, it would only show Invalid image type `svg`

Suggested advisory:
========================

Updated emacs packages fix "Invalid image type `svg`" error message when
trying to select Help -> About Emacs from menu. This also means now the
Emacs logo is shown on startup.

========================

Updated packages in core/updates_testing:
========================
emacs-24.2-5.2.mga3.x86_64.rpm
emacs-common-24.2-5.2.mga3.x86_64.rpm
emacs-nox-24.2-5.2.mga3.x86_64.rpm
emacs-leim-24.2-5.2.mga3.noarch.rpm
emacs-el-24.2-5.2.mga3.noarch.rpm
emacs-doc-24.2-5.2.mga3.noarch.rpm

emacs-24.3-4.2.mga4.x86_64.rpm
emacs-common-24.3-4.2.mga4.x86_64.rpm
emacs-nox-24.3-4.2.mga4.x86_64.rpm
emacs-leim-24.3-4.2.mga4.noarch.rpm
emacs-el-24.3-4.2.mga4.noarch.rpm
emacs-doc-24.3-4.2.mga4.noarch.rpm

Source RPMs: 
emacs-24.2-5.2.mga3.src.rpm
emacs-24.3-4.2.mga4.src.rpm

Assignee: doktor5000 => qa-bugs

Comment 4 claire robinson 2014-10-05 17:38:32 CEST
That's fine Florian, thanks.
claire robinson 2014-10-05 17:38:55 CEST

Version: Cauldron => 4
Whiteboard: MGA3TOO, MGA4TOO => MGA3TOO

Comment 5 Otto Leipälä 2014-10-05 19:25:28 CEST
Tested mga4 and 3 64bit ok marked it to whiteboard.

CC: (none) => ozkyster
Whiteboard: MGA3TOO => MGA3TOO MGA4-64-OK MGA3-64-OK

Comment 6 Len Lawrence 2014-10-06 01:10:37 CEST
Tested mga4 in 32bit virtualbox.

emacs-24.3-4.2.mga4.i586.rpm
emacs-common-24.3-4.2.mga4.i586.rpm

The Emacs logo appears without any problem in About Emacs.

CC: (none) => tarazed25

Len Lawrence 2014-10-06 01:11:10 CEST

Whiteboard: MGA3TOO MGA4-64-OK MGA3-64-OK => MGA3TOO MGA4-64-OK MGA3-64-OK MGA4-32-OK

Comment 7 Len Lawrence 2014-10-06 01:13:35 CEST
Actually, with reference to the package list, I was unsure if it needed to be tested in 32-bit.
Len Lawrence 2014-10-06 01:17:58 CEST

Whiteboard: MGA3TOO MGA4-64-OK MGA3-64-OK MGA4-32-OK => MGA3TOO MGA4-64-OK MGA3-64-OK

Comment 8 Len Lawrence 2014-10-06 01:22:17 CEST
And the help information gives the wrong version : 24.3-4.1

urpmi emacs
Package emacs-24.3-4.2.mga4.x86_64.rpm is already installed
Comment 9 Otto Leipälä 2014-10-06 07:47:54 CEST
Yes it need to be testing all arch and versions.

Whiteboard: MGA3TOO MGA4-64-OK MGA3-64-OK => MGA3TOO MGA4-64-OK MGA3-64-OK MGA4-32-OK MGA3-32-OK

Comment 10 Otto Leipälä 2014-10-06 07:54:36 CEST
Update validated can sysadmin push it to updates.

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 11 claire robinson 2014-10-06 09:38:27 CEST
Help=>About shows 24.3.1 here Len, the software version rather than our release.

GNU Emacs 24.3.1 (x86_64-mageia-linux-gnu, GTK+ Version 3.10.6)
 of 2014-10-05 on valstar.mageia.org, modified by Mageia
Copyright (C) 2013 Free Software Foundation, Inc.

It didn't display at all before the update.
Comment 12 claire robinson 2014-10-06 19:00:01 CEST
Advisory uploaded.

Whiteboard: MGA3TOO MGA4-64-OK MGA3-64-OK MGA4-32-OK MGA3-32-OK => MGA3TOO has_procedure advisory MGA4-64-OK MGA3-64-OK MGA4-32-OK MGA3-32-OK

Comment 13 Olivier Delaune 2014-10-07 08:13:10 CEST
Works also here on Mageia 4 64-bits.

GNU Emacs 24.3.1 (x86_64-mageia-linux-gnu, GTK+ Version 3.10.6)
 of 2014-10-05 on valstar.mageia.org, modified by Mageia

CC: (none) => olivier.delaune

Comment 14 Mageia Robot 2014-10-07 11:52:22 CEST
An update for this issue has been pushed to Mageia Updates repository.

http://advisories.mageia.org/MGAA-2014-0179.html

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED


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