Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

texlive: fix fmtutil invocation, generate all formats #45466

Merged
merged 1 commit into from Aug 22, 2018

Conversation

xeji
Copy link
Contributor

@xeji xeji commented Aug 22, 2018

Since the latest texlive 2017 update (#40826) fmtutil didn't generate all formats when the texlive.combined.scheme-xxx packages were built, so they would have to be generated on-demand at runtime and put in the user's ~/.texlive201?. This has broken some hydra builds (e.g. cddlib because there is no writable $HOME in the sandbox, see discussion in #40826 .

This fix by @dtzWill (thanks!) applies both to texlive 2017 (current master) and texlive 2018 (#45432). Putting it in a PR to let ofborg check the number of rebuilds.


cc @vcunat @timokau

@xeji
Copy link
Contributor Author

xeji commented Aug 22, 2018

Hm, a lot more rebuilds than I thought (because this should just affect the texlive.combined packages).
I'm afraid this will have to go through another staging iteration to fix texlive 2017.
@vcunat not sure this is worth it because we will bump to texlive 2018 shortly after, which will again go through staging.

@timokau
Copy link
Member

timokau commented Aug 22, 2018

Since staging rebulids pretty much everything anyways and the staging-next vs. staging split should prevent this from "re-starting" staging builds, I think it can't hurt. If you plan to do 2018 very soon and think the effort isn't worth it, thats fine with me too.

@xeji
Copy link
Contributor Author

xeji commented Aug 22, 2018

Right, I'm still getting used to our new staging workflow. So this should't hurt. Will rebase on staging.

Otherwise they will have to be generated by users lazily,
which is probably not the right trade-off.

Noticed this because lack of formats was causing problems
on a few documents since they will (a TL2018 change, I believe)
attempt to be written to the nix build user's ~/.texlive2018.
@xeji xeji changed the base branch from master to staging August 22, 2018 15:36
@vcunat
Copy link
Member

vcunat commented Aug 22, 2018

OK, it sounds there's no use to slow this down.

@vcunat vcunat merged commit 2d9bd29 into NixOS:staging Aug 22, 2018
@xeji xeji deleted the texlive-fmtutil branch September 2, 2018 08:01
@veprbl veprbl added the 6.topic: TeX Issues regarding texlive and TeX in general label Mar 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: TeX Issues regarding texlive and TeX in general 10.rebuild-darwin: 501+ 10.rebuild-linux: 501+
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants