Cannot build website without lessc #998

Closed
opened 2019-06-21 23:14:58 +00:00 by jzarl · 3 comments
Member

I just synced my local checkout of the page with the current master, and now I cannot build the website anymore:

$ build/build_main.sh build_into ~/Projects/fsfe/fsfe-local-build/fsfe.org/ --statusdir ~/Projects/fsfe/fsfe-local-build/status/
[01:10:32] Starting phase 1
[01:10:32] * Compiling look/fsfe.min.css
[01:10:32] /bin/sh: 1: lessc: not found
[01:10:32] make: *** [Makefile:23: look/fsfe.min.css] Fehler 127
2019-06-22 01:10:32: Fatal - Error during phase 1
[01:10:32] 1561158632

I also tried adding --build-env development, but that doesn't change anything for me.

I just synced my local checkout of the page with the current master, and now I cannot build the website anymore: ``` $ build/build_main.sh build_into ~/Projects/fsfe/fsfe-local-build/fsfe.org/ --statusdir ~/Projects/fsfe/fsfe-local-build/status/ [01:10:32] Starting phase 1 [01:10:32] * Compiling look/fsfe.min.css [01:10:32] /bin/sh: 1: lessc: not found [01:10:32] make: *** [Makefile:23: look/fsfe.min.css] Fehler 127 2019-06-22 01:10:32: Fatal - Error during phase 1 [01:10:32] 1561158632 ``` I also tried adding `--build-env development`, but that doesn't change anything for me.
jzarl added the
build
label 2019-06-21 23:15:30 +00:00
reinhard was assigned by max.mehl 2019-06-22 12:34:39 +00:00
Member

The less files are compiled in the build run in any case, even though in a development build the compiled .min.css files will not be used.

I'm not sure whether that is good or bad. On the one hand, it makes sure that the less files have correct syntax, on the other hand it (obviously) adds a dependency for the build process.

What do others think?

The less files are compiled in the build run in any case, even though in a development build the compiled .min.css files will not be used. I'm not sure whether that is good or bad. On the one hand, it makes sure that the less files have correct syntax, on the other hand it (obviously) adds a dependency for the build process. What do others think?
Author
Member

If we add this as build-dependeny, then the question is: why bother with the javascript lessc on-demand compiler, if lessc is a requirement anyways?

If we add this as build-dependeny, then the question is: why bother with the javascript lessc on-demand compiler, if lessc is a requirement anyways?
Owner

The less files are compiled in the build run in any case, even though in a development build the compiled .min.css files will not be used.

Is it possible to disable that, based on the flag? @jzarl has a point in questioning the live compilation (although I see some other practical benefits for developers).

> The less files are compiled in the build run in any case, even though in a development build the compiled .min.css files will not be used. Is it possible to disable that, based on the flag? @jzarl has a point in questioning the live compilation (although I see some other practical benefits for developers).
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: FSFE/fsfe-website#998
No description provided.