Bug 17017

Summary: updating mutt-doc to 1:1.5.23-2.mga6.x86_64 removes the content of the manual
Product: Mageia Reporter: Marja Van Waes <marja11>
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: geiger.david68210, jquelin
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: mutt-1:1.7.2-1.mga6 CVE:
Status comment:
Attachments: pkgsubmit build log from mutt

Description Marja Van Waes 2015-10-25 21:19:40 CET
updating mutt-doc to 1:1.5.23-2.mga6.x86_64 removes the content of the manual

in /usr/share/doc/mutt-doc/ :


-rw-r--r--    1 root root      0 okt 25 11:38 manual.txt

reïnstalling with urpmi --replacepkgs didn't help.

After downgrading to 1.5.23-1.mga5.x86_64 the manual is back:

-rw-r--r--    1 root root 439847 mrt 12  2014 manual.txt




Reproducible: 

Steps to Reproduce:
Comment 1 Marja Van Waes 2016-09-22 22:03:43 CEST
still valid for mutt-doc-1.7.0-2.mga6

CC: (none) => jquelin
Assignee: jquelin => pkg-bugs

Comment 2 Marja Van Waes 2017-01-29 11:34:02 CET
Created attachment 8903 [details]
pkgsubmit build log from mutt

Still valid for mutt-doc-1:1.7.2-1.mga6

Here http://www.linuxfromscratch.org/blfs/view/svn/basicnet/mutt.html (about Mutt-1.7.2) it says:

> Mutt will rebuild the html documentation if libxslt is present, then use that
> to update the text manual - even if none of the specified browsers are present
> That will create an empty text file,

so they encourage to save the shipped file.

However, I don't find any xslt here
http://pkgsubmit.mageia.org/uploads/done/cauldron/core/release/20170129080836.wally.duvel.1967/mutt-1.7.2-2.mga6/rpm_qa.0.20170129080905.log

So why do we have only an empty manual?
[marja@localhost ~]$ ls -l /usr/share/doc/mutt-doc | grep manual
-rw-r--r-- 1 root root      0 jan 29 09:13 manual.txt
[marja@localhost ~]$ 

Attaching the build log from http://pkgsubmit.mageia.org/uploads/done/cauldron/core/release/20170129080836.wally.duvel.1967/mutt-1.7.2-2.mga6/build.0.20170129080905.log
because I assume it'll be wiped there after some time
Marja Van Waes 2017-01-29 11:34:34 CET

Source RPM: mutt-1:1.5.23-2.mga6.x86_64 => mutt-1:1.7.2-1.mga6

Comment 3 David GEIGER 2017-01-29 13:57:36 CET
Should be fixed in next mutt update!

- mutt-1.7.2-3.mga6

CC: (none) => geiger.david68210

Comment 4 Marja Van Waes 2017-01-29 15:14:58 CET
(In reply to David GEIGER from comment #3)
> Should be fixed in next mutt update!
> 
> - mutt-1.7.2-3.mga6

It is fixed, and you fixed much more than I had asked for :-)

Before I had:
[marja@localhost ~]$ ls -l /usr/share/doc/mutt-doc | grep manual
-rw-r--r-- 1 root root      0 jan 29 09:13 manual.txt

mutt-doc-1.7.2-3.mga6 gives a real txt _and_ a real html manual:

[marja@localhost ~]$ ls -l /usr/share/doc/mutt-doc | grep manual
-rw-r--r-- 1 root root 822777 jan 29 13:49 manual.html
-rw-r--r-- 1 root root 497364 jan 29 13:49 manual.txt
[marja@localhost ~]$ 

Moreover, documentation was added of which I wasn't aware it was missing, like gettingstarted.html :-)

Before:
[marja@localhost ~]$ ls -l /usr/share/doc/mutt-doc | wc -l
17

With mutt-doc-1.7.2-3.mga6:
[marja@localhost ~]$ ls -l /usr/share/doc/mutt-doc | wc -l
30

Thanks David :-D

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