Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 688054 - dev-texlive/texlive-langczechslovak-2019: ! I can't find file `hyph-en-gb'. (and more)
Summary: dev-texlive/texlive-langczechslovak-2019: ! I can't find file `hyph-en-gb'. (...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-14 14:21 UTC by Michał Górny
Modified: 2019-06-17 08:41 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-texlive:texlive-langczechslovak-2019:20190614-141750.log (dev-texlive:texlive-langczechslovak-2019:20190614-141750.log,30.62 KB, text/plain)
2019-06-14 14:21 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-06-14 14:21:25 UTC
Created attachment 579776 [details]
dev-texlive:texlive-langczechslovak-2019:20190614-141750.log

We seem to have a serious problem building texlive-langczechslovak-2019.  It seems to implicitly require a lot of other lang* packages for no clear reason.

For example, when I initially try to build it, I get the following error:

eTeX's \savinghyphcodes detected - \lccode settings per pattern are saved.
Loading US English hyphenation patterns in ASCII encoding, \enPatt=0 (en).
(/tmp/portage/dev-texlive/texlive-langczechslovak-2019/work/texmf-dist/tex/cspl
ain/base/hyphen.ex Enhyphex.tex English exception words.)
Loading UK English hyphenation patterns in ASCII encoding, \engbPatt=101 (engb)
.
! I can't find file `hyph-en-gb'.
<argument> \input hyph-en-gb 
                             
\loadpatterns ...encoding, \string #1=#2 (#3).} #5
                                                   \endgroup \expandafter \g...
l.199 ...  {\input hyph-en-gb }23 \relax \engbPatt
                                                  
(Press Enter to retry, or Control-D to exit)
Please type another input file name: 
! Emergency stop.
<argument> \input hyph-en-gb 
                             
\loadpatterns ...encoding, \string #1=#2 (#3).} #5
                                                   \endgroup \expandafter \g...
l.199 ...  {\input hyph-en-gb }23 \relax \engbPatt
                                                  
No pages of output.
Transcript written on csplain.log.
fmtutil [ERROR]: running `xetex -ini   -jobname=pdfcsplain -progname=pdfcsplain -etex csplain.ini </dev/null' return status 1
fmtutil [ERROR]: return error due to options --strict
fmtutil [ERROR]: running `pdftex -ini   -jobname=pdfcsplain -progname=pdfcsplain -etex -enc csplain-utf8.ini </dev/null' return status 1
fmtutil [ERROR]: return error due to options --strict
fmtutil [ERROR]: running `pdftex -ini   -jobname=csplain -progname=csplain -etex -enc csplain-utf8.ini </dev/null' return status 1
fmtutil [ERROR]: return error due to options --strict
fmtutil [INFO]: Successfully rebuilt formats: 4
fmtutil [INFO]: Failed to build: 3 (xetex/pdfcsplain pdftex/pdfcsplain pdftex/csplain)
fmtutil [INFO]: Total formats: 7
fmtutil [INFO]: exiting with status 3
 * ERROR: dev-texlive/texlive-langczechslovak-2019::gentoo failed (compile phase):
 *   failed to build format texmf-dist/fmtutil/format.texlive-langczechslovak.cnf


---
I've been able to finally build it after installing english, french, spanish and european language packs first.  However, I don't really think this is supposed to work this way.
Comment 1 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-06-16 13:26:11 UTC
Oh, they indeed switched to load more hyphenation patterns in there:


https://www.tug.org/svn/texlive/trunk/Master/texmf-dist/tex/csplain/base/hyphen.lan?revision=50469&view=markup

Also talked to debian people, they pointed me debian bug 

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=928805
Comment 2 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-06-16 19:46:02 UTC
just the full list (randomly-ordered):

dev-texlive/texlive-langenglish
dev-texlive/texlive-langitalian
dev-texlive/texlive-langfrench
dev-texlive/texlive-langpolish
dev-texlive/texlive-langspanish
dev-texlive/texlive-langeuropean
Comment 3 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-06-16 19:51:47 UTC
+

dev-texlive/texlive-langgerman
Comment 4 Larry the Git Cow gentoo-dev 2019-06-17 08:41:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43ca8cf212433ba35de13fec4bc00309fbb11dcc

commit 43ca8cf212433ba35de13fec4bc00309fbb11dcc
Author:     Mikle Kolyada <zlogene@gentoo.org>
AuthorDate: 2019-06-17 08:40:31 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2019-06-17 08:41:55 +0000

    dev-texlive/texlive-langczechslovak: depend on more lang* packages
    
    As of march 2019 csplain requires more default preloaded
    hyphenation patterns which causes a fmtutil call fail if they are not found.
    
    SVN trunk commit: https://www.tug.org/svn/texlive?view=revision&revision=50469
    Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=928805
    Closes: https://bugs.gentoo.org/688054
    Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
    Package-Manager: Portage-2.3.66, Repoman-2.3.11

 .../texlive-langczechslovak-2019-r1.ebuild         | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)