Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#13394 closed enhancement (fixed)

texlive-20200406

Reported by: Bruce Dubbs Owned by: ken@…
Priority: normal Milestone: 10.0
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

New version.

Change History (11)

comment:1 by ken@…, 4 years ago

Owner: changed from blfs-book to ken@…
Status: newassigned

From testing what I hope is essentially the same source at the end of the pretest period, some comments.

  1. Poppler

Although there are updated versions of texk/web2c/pdftexdir/pdfto{epdf,src} for certain recent versions of poppler, they do not build. On a 9.1 system (popler in our svn has now moved on) the first problem was that POPPLER_VERSION is not defined. AFAICS, nothing includes poppler/cpp/poppler-version.h (and nothin in poppelr itself includes that).

Forcing that file to be included, '#include <goo/GooString.h>' then failed (it is in /usr/include/poppler/goo/Goostring.h with a lowercase s). The '-popplerNNN' versions of these files are based on Arch from a past version, but Arch have stopped trying to use system poppler - it just changes too often. The shipped version in TL source remains old, I concluded that these recent versions have never been tested. So, we will have to continue using the shipped poppler.

The move to replacing poppler looks as if it will take a long time - if I understand correctly, luatex has moved to a new included lib this year, the other engines which use poppler will eventually follow.

  1. Tests abort with system libs.

One of the kpathsea tests FAILs. Unfortunately, that means that the remaining test suites are not run. Analysed in thread at https://tug.org/pipermail/texk/2019-August.txt although that doesn't mention that the other tests are not run.

A workaround is

sed -i '/= x200/s/|| exit 1//' texk/kpathsea/tests/cnfline.test

That makes the test appear to pass. Need to confirm that this is still necessary with the release tarball.

in reply to:  1 ; comment:2 by Pierre Labastie, 4 years ago

Replying to ken@…:

[...] Analysed in thread at https://tug.org/pipermail/texk/2019-August.txt

Returns 404 not found. I found it as: https://tug.org/pipermail/tex-k/2019-August/thread.html

in reply to:  2 comment:3 by ken@…, 4 years ago

Replying to pierre.labastie:

Replying to ken@…:

[...] Analysed in thread at https://tug.org/pipermail/texk/2019-August.txt

Returns 404 not found. I found it as: https://tug.org/pipermail/tex-k/2019-August/thread.html

Thanks, not sure what happened there, I thought I'd eventually pointed to the thread which is at https://tug.org/pipermail/tex-k/2019-August/003036.html although fortunately not much else happened that month.

in reply to:  1 comment:4 by Xi Ruoyao, 4 years ago

Replying to ken@…:

  1. Poppler

Although there are updated versions of texk/web2c/pdftexdir/pdfto{epdf,src} for certain recent versions of poppler, they do not build. On a 9.1 system (popler in our svn has now moved on) the first problem was that POPPLER_VERSION is not defined. AFAICS, nothing includes poppler/cpp/poppler-version.h (and nothin in poppelr itself includes that).

Forcing that file to be included, '#include <goo/GooString.h>' then failed (it is in /usr/include/poppler/goo/Goostring.h with a lowercase s). The '-popplerNNN' versions of these files are based on Arch from a past version, but Arch have stopped trying to use system poppler - it just changes too often. The shipped version in TL source remains old, I concluded that these recent versions have never been tested. So, we will have to continue using the shipped poppler.

No, Arch is still using system poppler:

https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/texlive-bin#n60

It seems texlive tarball ships pdftoepdf.cc and pdftosrc.cc for different poppler versions. We can use the correct version:

    cp -pv texk/web2c/pdftexdir/pdftoepdf{-poppler0.86.0,}.cc
    cp -pv texk/web2c/pdftexdir/pdftosrc{-poppler0.83.0,}.cc

comment:5 by Xi Ruoyao, 4 years ago

If we want to use system poppler, we should:

    cp -pv texk/web2c/pdftexdir/pdftoepdf{-poppler0.86.0,}.cc
    cp -pv texk/web2c/pdftexdir/pdftosrc{-poppler0.83.0,}.cc

and, add --with-system-{poppler,xpdf}. Without --with-system-xpdf but with --with-system-poppler will make the building system to mix up system poppler headers and shipped poppler headers, leading to build failure.

in reply to:  1 ; comment:6 by Xi Ruoyao, 4 years ago

Replying to ken@…:

  1. Tests abort with system libs.

One of the kpathsea tests FAILs. Unfortunately, that means that the remaining test suites are not run. Analysed in thread at https://tug.org/pipermail/texk/2019-August.txt although that doesn't mention that the other tests are not run.

A workaround is

sed -i '/= x200/s/|| exit 1//' texk/kpathsea/tests/cnfline.test

That makes the test appear to pass. Need to confirm that this is still necessary with the release tarball.

It's still necessary. But I will chose "make -k check" to complete other tests, instead of a sed.

in reply to:  5 comment:7 by ken@…, 4 years ago

Replying to xry111:

If we want to use system poppler, we should:

    cp -pv texk/web2c/pdftexdir/pdftoepdf{-poppler0.86.0,}.cc
    cp -pv texk/web2c/pdftexdir/pdftosrc{-poppler0.83.0,}.cc

and, add --with-system-{poppler,xpdf}. Without --with-system-xpdf but with --with-system-poppler will make the building system to mix up system poppler headers and shipped poppler headers, leading to build failure.

I had tried the copy, but I'm unsure if I added --with-system-xpdf. Interesting that you found Arch using system poppler, when I looked at this a week or two ago the version google found for me did not list poppler as a dependency.

in reply to:  6 comment:8 by ken@…, 4 years ago

Replying to xry111:

A workaround is

sed -i '/= x200/s/|| exit 1//' texk/kpathsea/tests/cnfline.test

That makes the test appear to pass. Need to confirm that this is still necessary with the release tarball.

It's still necessary. But I will chose "make -k check" to complete other tests, instead of a sed.

Thanks, I'd forgotten about 'make -k'.

comment:9 by ken@…, 4 years ago

Resolution: fixed
Status: assignedclosed

r22992, Errors and Omissions Excepted.

Thanks for the help, Guys - I think I'm forgetting too much these days.

comment:10 by Bruce Dubbs, 4 years ago

Milestone: 9.210,0

Milestone renamed

comment:11 by Bruce Dubbs, 4 years ago

Milestone: 10,010.0

Milestone renamed

Note: See TracTickets for help on using tickets.