git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[Bug] make gitweb with GITWEB_JS set fails to build

From
MVMichal Vasilek <michal.vasilek@nic.cz>
Date
Feb 16, 2023, 12:35 UTC
Message-ID
<80eb3972-4960-5727-ce86-acc3a4425fd4@nic.cz>
What did you do before the bug happened? (Steps to reproduce your issue)

I ran make gitweb with the GITWEB_JS variable set on git 2.39.2, specifically:

     make gitweb GITWEB_JS=/www/gitweb.js
What did you expect to happen? (Expected behavior)

I expected the build to pass and that the GITWEB_JS (or GITWEB_CSS) variable will only be used for changing the path for gitweb.js in gitweb.cgi like it used to before 2.38.0 (before 564ebde3d323fc3b22534dcbb32723807771b955)

What happened instead? (Actual behavior)
The build failed with:
         GEN gitweb/gitweb.cgi
     make: *** No rule to make target 'gitweb//www/gitweb.js', needed by 
'gitweb'.  Stop.
What's different between what you expected and what actually happened?
Anything else you want to add:

This is caused by 564ebde3d323fc3b22534dcbb32723807771b955, but I am not sure what exactly is the issue there, so I am only reporting this and leaving the fix to someone else.

[System Info] git version: git version 2.39.2 cpu: x86_64 no commit associated with this build sizeof-long: 8 sizeof-size_t: 8 shell-path: /bin/sh compiler info: gnuc: 12.2 libc info: glibc: 2.36 $SHELL (typically, interactive shell): /bin/bash

Message 1 of 1 in “[Bug] make gitweb with GITWEB_JS set fails to build”
  1. Michal VasilekFeb 16, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.