Welcome to CRUX bug tracking.

FS#1665 - opt/texlive is outdated and does not build

Attached to Project: CRUX
Opened by Ryan Mullen (rmull) - Thursday, 31 May 2018, 11:26 GMT
Task Type New Port Version
Category ports → core/opt
Status New
Assigned To Thomas Penteker (teK)
Operating System CRUX
Severity Low
Priority Normal
Reported Version 3.4
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


opt/texlive is currently at version 20170524, which does not build on crux 3.4. Current upstream version is 20180414, but I couldn't get it to "just work" by bumping the version and removing the poppler patch. Additional debug will be needed.
This task depends upon

Comment by Cory Burgett (groovy2shoes) - Monday, 25 June 2018, 14:19 GMT
Hey there,

I've modified the port a bit, and got it to build a working package for texlive 20180414. One issue I ran into: I'd gotten some linker errors about missing functionality in the GhostScript library (``); I rebuilt and reinstalled `opt/ghostscript`, after which the compilation finished successfully, and all the tests shipped with the sources passed. That was probably just a fluke on my end, but I figured I'd mention it just in case.

The included patch fixes a few serious bugs in the released code, and were taken from the texlive upstream subversion repository. I shamelessly took it from the BLFS folks, who've provided it on their site (there are more details inside the patch file).

N.B. I changed some of the `configure` features a bit, so `luatex` and `luajittex` are built, but (iirc) the pervious version disabled them (probably because they, too, were having issues building against the new version of `poppler`, which seem to have been fixed now).
Comment by Cory Burgett (groovy2shoes) - Monday, 25 June 2018, 22:22 GMT
Attached is an updated version of the above port. The only change is a fix in the Pkgfile to set `CONFIG_SHELL=/bin/bash` when running `configure`; this fixes a wonky issue in the build for the `zziplib` submodule.