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
Last edited by Thomas Penteker (teK) - Saturday, 08 September 2018, 21:26 GMT
Task Type New Port Version
Category ports → core/opt
Status Closed
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 100%
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

Closed by  Thomas Penteker (teK)
Saturday, 08 September 2018, 21:26 GMT
Reason for closing:  Fixed
Additional comments about closing:  by commit 919cce3e7
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.