#910813 doc-linux-fr: FTBFS, latex error "Package inputenc Error: Invalid UTF-8 byte sequence"

#910813#5
Date:
2018-10-11 17:04:45 UTC
From:
To:
Hi David,

After fixing #880786, doc-linux-fr would still FTBFS due to LaTeX error.
Example source repo can be found at
https://salsa.debian.org/debian/doc-linux-fr .

 debian/rules build
dh build
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cd fcol-faq && make
make[2]: Entering directory '/<<PKGBUILDDIR>>/fcol-faq'
sed -e 's/%ISOent;/%TeXent;/' < faq-fcol.xml > faq-fcol-LaTeX.xml
xsltproc --catalogs --nonet --novalid to_tex.xsl faq-fcol-LaTeX.xml >
faq-fcol.tex
Variable $SGML_CATALOG_FILES not set
latex faq-fcol.tex ;
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live
2019/dev/Debian) (preloaded format=latex)
 restricted \write18 enabled.
entering extended mode
(./faq-fcol.tex
LaTeX2e <2018-04-01> patch level 5
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size11.clo))
(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty
(/usr/share/texlive/texmf-dist/tex/generic/babel/switch.def)
(/usr/share/texlive/texmf-dist/tex/generic/babel-french/frenchb.ldf

Package babel-french Warning: Option `frenchb' for Babel is *deprecated*,
(babel-french)                it might be removed sooner or later. Please
(babel-french)                use `french' instead; reported on input line 35.

(/usr/share/texlive/texmf-dist/tex/generic/babel-french/french.ldf
(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.def
(/usr/share/texlive/texmf-dist/tex/generic/babel/txtbabel.def)))))
(/usr/share/texlive/texmf-dist/tex/latex/carlisle/scalefnt.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.def))
(/usr/share/texlive/texmf-dist/tex/latex/psnfss/times.sty)
(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty))
(/usr/share/texlive/texmf-dist/tex/latex/relsize/relsize.sty)
(/usr/share/texlive/texmf-dist/tex/latex/url/url.sty)
(/usr/share/texlive/texmf-dist/tex/latex/moreverb/moreverb.sty
(/usr/share/texlive/texmf-dist/tex/latex/tools/verbatim.sty))
(/usr/share/texlive/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty)
No file faq-fcol.aux.
(/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1ptm.fd)
*geometry* driver: auto-detecting
*geometry* detected driver: dvips

! Package inputenc Error: Invalid UTF-8 byte sequence.

See the inputenc package documentation for explanation.
Type  H <return>  for immediate help.
 ...

l.27   \maketitle

?
! Emergency stop.
 ...

l.27   \maketitle

No pages of output.
Transcript written on faq-fcol.log.
make[2]: *** [Makefile:30: faq-fcol.dvi] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/fcol-faq'
make[1]: *** [debian/rules:120: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:161: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


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

Besides, I'm wondering if doc-linux-fr is still relavent for future
Debian releases.
Is it okay that we eventually remove it from Debian archive?

#910813#12
Date:
2022-01-18 10:26:10 UTC
From:
To:
Dear Maintainer,

In Ubuntu, the attached patch was applied to fix the build failure due to an
invalid UTF-8 byte sequence. Setting the output encoding of the xslt processor
to UTF-8 fixes the issue.


  * Fix FTBFS by using UTF-8 to produce the TeX (Closes: #910813)


Thanks for considering the patch.

#910813#19
Date:
2022-07-16 18:22:21 UTC
From:
To:
Dear submitter,

as the package doc-linux-fr has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1014667

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)