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

Re: Install issues

From
Andreas Ericsson <ae@op5.se>
Date
Nov 12, 2008, 08:14 UTC
Message-ID
<491A9057.1020305@op5.se>
In-Reply-To
<7vhc6e17fv.fsf@gitster.siamese.dyndns.org>
Junio C Hamano wrote:
Show 32 quoted lines
> Miklos Vajna <vmiklos@frugalware.org> writes:
> 
>> On Mon, Nov 10, 2008 at 05:31:01PM +0100, "H.Merijn Brand" <h.m.brand@xs4all.nl> wrote:
>>> --- Makefile.org	2008-11-10 17:29:53.000000000 +0100
>>> +++ Makefile	2008-11-10 17:29:39.000000000 +0100
>>> @@ -1329,6 +1329,10 @@ check-sha1:: test-sha1$X
>>>  	./test-sha1.sh
>>>  
>>>  check: common-cmds.h
>>> +	@`sparse </dev/null 2>/dev/null` || (\
>>> +	    echo "The 'sparse' command is not available, so I cannot make the 'check' target" ;\
>>> +	    echo "Did you mean 'make test' instead?" ;\
>>> +	    exit 1 )
>>>  	for i in *.c; do sparse $(ALL_CFLAGS) $(SPARSE_FLAGS) $$i || exit; done
>> Please read Documentation/SubmittingPatches, your patch lacks a signoff
>> and a commit message.
> 
> Heh, for something small and obvious like this, that's asking a tad too
> much, although a properly formatted message does reduce my workload and is
> appreciated.
> 
> I said "obvious" not in the sense that it is "obviously good".  It is
> obvious what issue the patch wants to address.
> 
> Having said that, it is far from clear if special casing "make check" like
> this is a good thing, though.  The crufts resulting from "Four extra lines
> won't hurt" kind of reasoning can accumulate and snowball.  Is reading the
> Makefile when your build fails in order to see if the target was what you
> really wanted to invoke (ideally, it should rater be "_before_ running
> make, reading the Makefile to find out what you want to run") a lost art
> these days?
> 

Why not "make help" with as friendly a message as we can muster, like the linux kernel does it?

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
Previous: H.Merijn BrandNext: Junio C Hamano
Message 13 of 14 in “Install issues”
  1. H.Merijn BrandNov 10, 2008
  2. Miklos VajnaNov 10, 2008
  3. H.Merijn BrandNov 10, 2008
  4. Miklos VajnaNov 10, 2008
  5. H.Merijn BrandNov 11, 2008
  6. Andreas EricssonNov 11, 2008
  7. Junio C HamanoNov 11, 2008
  8. H.Merijn BrandNov 11, 2008
  9. Boyd Lynn GerberNov 11, 2008
  10. H.Merijn BrandNov 11, 2008
  11. Junio C HamanoNov 11, 2008
  12. H.Merijn BrandNov 11, 2008
  13. Andreas EricssonNov 12, 2008
  14. Junio C HamanoNov 11, 2008

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.