Bug 1767827 - Malformed UTF-8 character (fatal) at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 3364
Summary: Malformed UTF-8 character (fatal) at /usr/share/texinfo/Texinfo/ParserNonXS.p...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: allegro
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Hans de Goede
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-01 13:44 UTC by Antonio T. (sagitter)
Modified: 2021-05-25 15:10 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-25 15:10:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
proposed patch (2.56 KB, patch)
2019-11-04 11:21 UTC, Vitezslav Crhonek
no flags Details | Diff

Description Antonio T. (sagitter) 2019-11-01 13:44:06 UTC
Description of problem:
allegro fails to build on Rawhide due this error:

[ 22%] Generating info/allegro.info
cd /builddir/build/BUILD/allegro-4.4.3.1/build/docs && /usr/bin/makeinfo --no-split -o /builddir/build/BUILD/allegro-4.4.3.1/build/docs/info/allegro.info /builddir/build/BUILD/allegro-4.4.3.1/build/docs/texi/allegro.texi
make[2]: Leaving directory '/builddir/build/BUILD/allegro-4.4.3.1/build'
utf8 "\xB0" does not map to Unicode at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 1796, <FH> line 18520.
Malformed UTF-8 character: \xb0 (unexpected continuation byte 0xb0, with no preceding start byte) in pattern match (m//) at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 3364.
Malformed UTF-8 character (fatal) at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 3364.
make[2]: *** [docs/CMakeFiles/docs.dir/build.make:419: docs/info/allegro.info] Error 25

Version-Release number of selected component (if applicable):
texinfo-6.7-2.fc32

Actual results:
https://copr-be.cloud.fedoraproject.org/results/sagitter/ForTesting/fedora-rawhide-x86_64/01083164-allegro/builder-live.log.gz

Comment 1 Vitezslav Crhonek 2019-11-04 11:19:15 UTC
Please don't switch to needinfo state unless you actually request some information, thank you.

Comment 2 Vitezslav Crhonek 2019-11-04 11:21:28 UTC
Created attachment 1632506 [details]
proposed patch

This needs to be fixed in allegro. Default encoding is UTF-8 with texinfo-6.7,
but generated 'allegro.texi' is in ISO-8859-1.

Attached patch fixes the issue, basically you need to add following line to .texi source file:
@documentencoding ISO-8859-1

(Or generate allegro.texi to be in UTF-8, but that seems more complicated
to me.)

Comment 3 Antonio T. (sagitter) 2019-11-05 09:57:59 UTC
Thank you Vitezslav.

Comment 4 Ben Cotton 2020-02-11 17:49:20 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle.
Changing version to 32.

Comment 5 Fedora Program Management 2021-04-29 15:59:27 UTC
This message is a reminder that Fedora 32 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-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 '32'.

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 32 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 6 Ben Cotton 2021-05-25 15:10:01 UTC
Fedora 32 changed to end-of-life (EOL) status on 2021-05-25. Fedora 32 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.


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