Bug 1299649

Summary: mpfr.info in the package with wrong encoding
Product: [Fedora] Fedora Reporter: Michal Jaegermann <michal.jnn>
Component: mpfrAssignee: Pavel Cahyna <pcahyna>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: fkluknav, jamesturner246, loganjerry, rdieter
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mpfr-3.1.6-1.fc27 mpfr-3.1.6-1.fc26 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-06 17:25:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot of mpfr.info display from Fedora 25 none

Description Michal Jaegermann 2016-01-18 21:50:53 UTC
Description of problem:

A content of mpfr.info looks like this:
.....
The main characteristics of MPFR, which make it
differ from most arbitrary precision floating-point software tools, are:

   ⢠the MPFR code is portable, i.e., the result of any operation does
     not depend on the machine word size âmp_bits_per_limbâ (64 on most
     current processors);
.....
(and so on, and so on).  Make wonders for readability.

Whereas both mpfr.info already included in the source package and a similar file produced by a 'makeinfo' run from mpfr.texi does not suffer from such affliction and the corresponding text fragment shows as:
....
The main characteristics of MPFR, which make it
differ from most arbitrary precision floating-point software tools, are:

   • the MPFR code is portable, i.e., the result of any operation does
     not depend on the machine word size ‘mp_bits_per_limb’ (64 on most
     current processors);
....
as expected (and continues in the same manner).

Version-Release number of selected component (if applicable):
mpfr-3.1.3-2.fc23

Expected results:
An info file using utf-8 encoding (especially that in an 'mpft.texi' header one can find '@documentencoding UTF-8'

Additional info:
No trouble in producing a correct info file on a F23 installation.  In any case a ready mpfr.info file from sources can be used instead.

Comment 1 Michal Jaegermann 2016-01-18 21:59:08 UTC
It appears that a web interface "filtered-out" some stuff which it does not recognize; so in reality this is quite a bit worse than it looks here.

Comment 2 Fedora End Of Life 2016-11-24 15:02:25 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Michal Jaegermann 2016-12-13 19:40:52 UTC
Created attachment 1231318 [details]
screenshot of mpfr.info display from Fedora 25

This is as broken in Fedora 25 as it was in 23.  As bugzilla "cleans up" a pasted output, and one has to run 'info mpfr' to see results for yourself, I am including a screenshot of a small fragment showing how this is presented.  This is as bad, or worse, through the whole document and it does not take much to fix it.

Comment 4 Fedora End Of Life 2016-12-20 17:59:02 UTC
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 5 Michal Jaegermann 2016-12-20 18:21:03 UTC
(In reply to Fedora End Of Life from comment #4)

> If you can reproduce this bug against a currently maintained version of
> Fedora please feel free to reopen this bug against that version.

Yes, I do and I already did.  See comment #3. mpfr-3.1.5-1.fc25 suffers from the same affliction.

Comment 6 Jerry James 2017-03-03 23:30:31 UTC
Even more fun: everything past section 4 ("MPFR Basics") is missing.  This includes section 5, "MPFR Interface", exactly the section I need....

Comment 7 Fedora Admin XMLRPC Client 2017-07-21 15:41:43 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 8 Fedora End Of Life 2017-11-16 18:31:31 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 9 Michal Jaegermann 2017-11-16 19:18:41 UTC
This is equally broken in mpfr-3.1.5-5.fc27 including missing parts after section 4 as noted in comment #6.

What is more interesting that somebody had to work hard to mess things up in such manner as a default build does not suffer from this strange affliction.  Would some kind soul, please, wake up and restore a modicum of sanity?

Comment 10 James Paul Turner 2017-12-24 02:09:49 UTC
The problem is due to a couple of iconv calls in the specfile, which are intended to convert the mpfr.info files to unicode. The MPFR info file is now unicode, however, and has been for some time. Thus doing ASCII to unicode conversion again, during the prep phase of the specfile, messes up a lot of the info file encoding.

I have uploaded a fix to this issue, as well as an update to MPFR version 3.1.6, over at this ticket: https://bugzilla.redhat.com/show_bug.cgi?id=1528781.

A working Koji build at: https://koji.fedoraproject.org/koji/taskinfo?taskID=23871092.

I would like to assist in the maintenance of this package, however I am not in the package maintainer's group yet. I would greatly appreciate somebody reviewing the request and/or providing a sponsorship so that I can help keep it functional and updated.

Cheers.

Comment 11 Fedora Update System 2018-02-25 21:51:56 UTC
mpfr-3.1.6-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b4b924c3ca

Comment 12 Fedora Update System 2018-02-25 21:52:06 UTC
mpfr-3.1.6-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-bc39bbae38

Comment 13 Fedora Update System 2018-02-26 17:31:50 UTC
mpfr-3.1.6-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-bc39bbae38

Comment 14 Fedora Update System 2018-02-26 18:06:30 UTC
mpfr-3.1.6-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-b4b924c3ca

Comment 15 Fedora Update System 2018-03-06 17:25:15 UTC
mpfr-3.1.6-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2018-03-06 17:30:48 UTC
mpfr-3.1.6-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.