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)

Loading...

Dominique Leuenberger's avatar

The error changed - which is a good start.

[   93s] kpathsea: Running mktexfmt pdfjadetex.fmt
[   93s] Can't locate TeXLive/TLUtils.pm in [@INC](https://build.opensuse.org/users/INC) (you may need to install the TeXLive::TLUtils module) ([@INC](https://build.opensuse.org/users/INC) contains: /usr/share/tlpkg /usr/share/texmf/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 46.
[   93s] BEGIN failed--compilation aborted at /usr/bin/mktexfmt line 46.

file is in /usr/share/texmf/tlpkg/TeXLive/TLUtils.pm


Dr. Werner Fink's avatar

Args ... every year/erlease the paths changes ... annoying ... the module is in texlive-texlive.infra


Dominique Leuenberger's avatar

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


Dominique Leuenberger's avatar

texlive-texlive.infra is pulled in as dep to texlive-tetex, which is good, but it's another include vs real path difference:

  • Include: /usr/share/tlpkg
  • Real: /usr/share/texmf/tlpkg

Dr. Werner Fink's avatar

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


Dr. Werner Fink's avatar

I can not find the package texinfo in this staging project as texi2dvi is part of texinfo


Dominique Leuenberger's avatar

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)


Dominique Leuenberger's avatar

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.

Dr. Werner Fink's avatar

texlive-tetex and texlive-tetex-bin are missed ... %{_texmfdistdir}/scripts/texlive/mktexlsr.pl %{_bindir}/mktexlsr


Dominique Leuenberger's avatar

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)


Dr. Werner Fink's avatar

AFAICS texlive-kpathsea-bin requires texlive-tetex-bin and the later does require texlive-tetex ... maybe Pre-Requires is mandatory here


Dominique Leuenberger's avatar

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


Dominique Leuenberger's avatar

Verified: that path did not change compared to previous builds. So possibly the include path was changesd at some point


Dominique Leuenberger's avatar

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();
 }

Dr. Werner Fink's avatar

Yep also seen here, I've patched fmtutil.pl meanwhile


Dominique Leuenberger's avatar

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)

Dr. Werner Fink's avatar

Don't know

Request History
Dr. Werner Fink's avatar

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's avatar

staging-bot set openSUSE:Factory:Staging:J as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:J"


Staging Bot's avatar

staging-bot accepted review

Picked openSUSE:Factory:Staging:J


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto added repo-checker as a reviewer

Please review build success


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Dominique Leuenberger's avatar

dimstar accepted review

ok


Repo Checker's avatar

repo-checker accepted review

cycle and install check passed


Dominique Leuenberger's avatar

dimstar_suse accepted review

ready to accept


Dominique Leuenberger's avatar

dimstar_suse approved review

ready to accept


Dominique Leuenberger's avatar

dimstar_suse accepted request

Accept to openSUSE:Factory

openSUSE Build Service is sponsored by