Overview
Request 606362 accepted
- Let texlive-kpathsea-bin Pre Require texlive-tetex-bin
- Respect rename of texconfig to tetex
- Add patch source-tounicode.difto fix tounicode entries for
ligatures in pdf output of xelatex
- Add freetype-use-pkg-config.patch to fix build with new Freetype:
use pkgconfig to find Freetype libraries.
- Shorten reautoconfig a bit that is only reconfigure trees with
changed ac files
- Help asymptote with libOSMesa AND libglapi
- Add patch source-patgen.dif to enhance upper size limit of
arrays in patgen as mentioned at texlive@tug.org
- Switch over to TeXLive 2018 final 20180414
- Add patches
* source-m-tx-0.63a-buffer-overflow.dif
* source-synctex-bump-soname.dif as the API had changed and the
major version 1 does not fix anymore
* source-fix-synctex-missing-header-install.dif
* source-lua-poppler0640.dif
* source-synctex-bump-soname.dif
- Skip patch source-lcdf-typetools.dif as now upstream (boo#1087075)
- Created by WernerFink
- In state accepted
- Supersedes 605376
posting on the main package - for reference.
Some packages (e.g. newt) fail to build now with:
[ 91s] kpathsea: Running mktexfmt pdfjadetex.fmt [ 91s] Can't locate mktexlsr.pl in [@INC](https://build.opensuse.org/users/INC) ([@INC](https://build.opensuse.org/users/INC) contains: /usr/share/tlpkg /usr/share/texmf-dist/scripts/texlive /usr/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.26.1 /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.26.1 /usr/lib/perl5/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/5.26.1 /usr/lib/perl5/site_perl) at /usr/bin/mktexfmt line 23. [ 91s] BEGIN failed--compilation aborted at /usr/bin/mktexfmt line 25.
texlive-tetex and texlive-tetex-bin are missed ...
%{_texmfdistdir}/scripts/texlive/mktexlsr.pl
%{_bindir}/mktexlsr
so texlive-kpathsea-bin should require those, right? The fix should be in the texlive* packages, not somewhere else? (just to make sure we have the same expectation)
AFAICS texlive-kpathsea-bin requires texlive-tetex-bin and the later does require texlive-tetex ... maybe Pre-Requires is mandatory here
the issue seems to be:
the perl include path contains: /usr/share/texmf-dist/scripts/texlive
which sounds very close to what the variable %{_texmfdistdir} is supposed to expand to (/usr/share/texmf-dist)
inspecting texlive-tetex, though:
$ rpm -ql texlive-tetex | grep texlsr /usr/share/texmf/scripts/texlive/mktexlsr.pl
So there seems to be a discrepancy in where perl scripts are searched for vs where they are installed to
Verified: that path did not change compared to previous builds. So possibly the include path was changesd at some point
a diff of old vs new mktexfmt confirms:
--- /var/tmp/build-root/Staging_G-x86_64/usr/bin/mktexfmt 2018-04-11 12:01:37.000000000 +0200 +++ /var/tmp/build-root/Staging_J-x86_64/usr/bin/mktexfmt 2018-05-08 16:43:58.000000000 +0200 @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $Id: fmtutil.pl 44190 2017-05-04 21:38:43Z preining $ +# $Id: fmtutil.pl 45872 2017-11-21 07:07:45Z preining $ # fmtutil - utility to maintain format files. # (Maintained in TeX Live:Master/texmf-dist/scripts/texlive.) # @@ -10,25 +10,25 @@ # History: # Original shell script (C) 2001 Thomas Esser, public domain -my $TEXMFDIST; +my $TEXMFROOT; BEGIN { $^W = 1; - $TEXMFDIST = `kpsewhich -var-value=TEXMFDIST`; + $TEXMFROOT = `kpsewhich -var-value=TEXMFROOT`; if ($?) { - die "$0: kpsewhich -var-value=TEXMFDIST failed, aborting early.\n"; + die "$0: kpsewhich -var-value=TEXMFROOT failed, aborting early.\n"; } - chomp($TEXMFDIST); - unshift([@INC](https://build.opensuse.org/users/INC), "$TEXMFDIST/tlpkg", "$TEXMFDIST/scripts/texlive"); + chomp($TEXMFROOT); + unshift([@INC](https://build.opensuse.org/users/INC), "$TEXMFROOT/tlpkg", "$TEXMFROOT/texmf-dist/scripts/texlive"); require "mktexlsr.pl"; TeX::Update->import(); }
Yep also seen here, I've patched fmtutil.pl meanwhile
mtools fails with:
[ 86s] /usr/bin/texi2dvi: TeX neither supports -recorder nor outputs \openout lines in its log file [ 86s] make: *** [Makefile:205: mtools.pdf] Error 1 [ 86s] make: *** Waiting for unfinished jobs.... [ 86s] error: Bad exit status from /var/tmp/rpm-tmp.m1KQEx (%build)
Request History
WernerFink created request
- Let texlive-kpathsea-bin Pre Require texlive-tetex-bin
- Respect rename of texconfig to tetex
- Add patch source-tounicode.difto fix tounicode entries for
ligatures in pdf output of xelatex
- Add freetype-use-pkg-config.patch to fix build with new Freetype:
use pkgconfig to find Freetype libraries.
- Shorten reautoconfig a bit that is only reconfigure trees with
changed ac files
- Help asymptote with libOSMesa AND libglapi
- Add patch source-patgen.dif to enhance upper size limit of
arrays in patgen as mentioned at texlive@tug.org
- Switch over to TeXLive 2018 final 20180414
- Add patches
* source-m-tx-0.63a-buffer-overflow.dif
* source-synctex-bump-soname.dif as the API had changed and the
major version 1 does not fix anymore
* source-fix-synctex-missing-header-install.dif
* source-lua-poppler0640.dif
* source-synctex-bump-soname.dif
- Skip patch source-lcdf-typetools.dif as now upstream (boo#1087075)
staging-bot set openSUSE:Factory:Staging:J as a staging project
Being evaluated by staging project "openSUSE:Factory:Staging:J"
staging-bot accepted review
Picked openSUSE:Factory:Staging:J
factory-auto added opensuse-review-team as a reviewer
Please review sources
factory-auto added repo-checker as a reviewer
Please review build success
factory-auto accepted review
Check script succeeded
licensedigger accepted review
ok
dimstar accepted review
ok
repo-checker accepted review
cycle and install check passed
dimstar_suse accepted review
ready to accept
dimstar_suse approved review
ready to accept
dimstar_suse accepted request
Accept to openSUSE:Factory
The error changed - which is a good start.
Args ... every year/erlease the paths changes ... annoying ... the module is in texlive-texlive.infra
Luckily we have three packages currently failing to build with the updated texlive, which does help us sort out things before it hits our users
texlive-texlive.infra is pulled in as dep to texlive-tetex, which is good, but it's another include vs real path difference:
Yep .. I know. The reason why I have the changes in source.dif for the scripts from texlive poted to the texlive-tetex package aka tetex_script.dif
I can not find the package texinfo in this staging project as texi2dvi is part of texinfo
texinfo is a ring0 package - it is not being rebuilt in this staging (binaries are reused from ring0); but with the latest changes I'd seen this staging turning green - all should be ok (once the build succeeds again)