latex3 / l3build

A testing and building system for LaTeX
LaTeX Project Public License v1.3c
88 stars 14 forks source link

l3build fails for unknown reasons #328

Closed niruvt closed 9 months ago

niruvt commented 9 months ago

After an update, l3build is failing for unknown reasons. I get this in the terminal whenever I issue l3build doc in an build.lua equipped directory which used to compile earlier.

l3build doc
/usr/local/texlive/2023/bin/x86_64-linux/l3build: line 1: --[[: command not found
/usr/local/texlive/2023/bin/x86_64-linux/l3build: line 3: syntax error near unexpected token `('
/usr/local/texlive/2023/bin/x86_64-linux/l3build: line 3: `File l3build.lua Copyright (C) 2014-2022 The LaTeX Project'
niruvt commented 9 months ago

Sorry, after today's update the issue seems to have got resolved. Closing.

muzimuzhi commented 9 months ago

The problem that shebang (#!/usr/bin/env texlua) was missing in l3build.lua was introduced in https://github.com/latex3/l3build/commit/bbe66f5d8f9427a7d8014b5fad9e09c7bf201c01 (release 2023-12-12) and fixed in https://github.com/latex3/l3build/commit/8fd5875619dbc41abdbc748dc6e7529628aee7d3 (release 2023-12-13-2).

niruvt commented 9 months ago

@muzimuzhi

Thanks for the references, sorry for the noise.