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

Re: [ANNOUNCE] GIT 1.6.1

From
René Scharfe <rene.scharfe@lsrfire.ath.cx>
Date
Dec 25, 2008, 11:42 UTC
Message-ID
<49537197.1000805@lsrfire.ath.cx>
In-Reply-To
<20081225102527.GB8451@b2j>
bill lam schrieb:
Show 26 quoted lines
>> Why are you building with NO_UINTMAX_T to begin with?  Isn't ubuntu 8.10 a
>> recent enough platform that ships with modern enough header files that
>> define ANSI uintmax_t type?
> 
> No, I did not do anything on that, 
> 
> make clean
> ./configure --prefix=/usr
> make 
> 
> and this is the error logged.
>  
> GIT_VERSION = 1.6.1
>     * new build flags or prefix
> In file included from /usr/include/netinet/in.h:24,
>                  from git-compat-util.h:78,
>                  from builtin.h:4,
>                  from fast-import.c:142:
> /usr/include/stdint.h:136: error: conflicting types for ‘uint32_t’
> /usr/include/stdint.h:52: error: previous declaration of ‘uint32_t’ was here
> fast-import.c: In function ‘parse_progress’:
> fast-import.c:2339: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
> make: *** [fast-import.o] Error 1
> 
> version of gcc:
> gcc (Ubuntu 4.3.2-1ubuntu11) 4.3.2

I don't get any error on Ubuntu 8.10 on x86_64 (but several of those warnings about ignored return values), neither with the tar file nor a cloned repository (in the former case I had to add a "make configure" step, though).

Line 52 of /usr/include/stdint.h:
	typedef unsigned int		uint32_t;
Lines 134-136 of /usr/include/stdint.h:
	#if __WORDSIZE == 64
	typedef long int		intmax_t;
	typedef unsigned long int	uintmax_t;

If you get to line 136, you probably are on a 64 bit installation, too, correct?

configure seems to be confused. What happens if you take it out of the equation, i.e. run the following commands?

	$ make distclean
	$ make prefix=/usr
René
Previous: bill lamNext: bill lam
Message 6 of 15 in “[ANNOUNCE] GIT 1.6.1”
  1. Junio C HamanoDec 25, 2008
  2. Christian MICHONDec 25, 2008
  3. bill lamDec 25, 2008
  4. Junio C HamanoDec 25, 2008
  5. bill lamDec 25, 2008
  6. René ScharfeDec 25, 2008
  7. bill lamDec 25, 2008
  8. Junio C HamanoDec 25, 2008
  9. bill lamDec 26, 2008
  10. Pau Garcia i QuilesDec 25, 2008
  11. bill lamDec 26, 2008
  12. Heikki OrsilaDec 25, 2008
  13. Sitaram ChamartyDec 26, 2008
  14. Nicolas PitreDec 27, 2008
  15. [ANNOUNCE] MSYSGIT 1.6.1Steffen Prohaska, Dec 27, 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.