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

latest clone/pull of git.git problems with setlinebuf.

From
BGBoyd Lynn Gerber <gerberb@zenez.com>
Date
Sep 4, 2008, 01:04 UTC
Message-ID
<alpine.LNX.1.10.0809031858570.12887@suse104.zenez.com>
Hello,

I just noticed that setlinebuf is coming back as undefined when trying to build the lastest version.

on UnixWare 7.1.4 I get
     LINK git-var
     CC daemon.o
UX:acomp: WARNING: "daemon.c", line 485: end-of-loop code not reached
     LINK git-daemon
Undefined                       first referenced
symbol                              in file
setlinebuf                          daemon.o
UX:ld: ERROR: Symbol referencing errors. No output written to git-daemon
gmake: *** [git-daemon] Error 1
and on OpenServer 6.0 I get
     LINK git-http-push
     CC daemon.o
UX:acomp: WARNING: "daemon.c", line 485: end-of-loop code not reached
     LINK git-daemon
Undefined                       first referenced
symbol                              in file
setlinebuf                          daemon.o
UX:ld: ERROR: Symbol referencing errors. No output written to git-daemon
gmake: *** [git-daemon] Error 1

So the new behavior breaks things. On UnixWare 7.1.4 there is a /usr/ucb/cc but when I use it much more breaks. It is better to use the /usr/bin/cc.

Can we please revert the patch that breaks this or provide a better fix. The older methods at least worked.

Thanks,

-- Boyd Gerber <gerberb@zenez.com> ZENEZ 1042 East Fort Union #135, Midvale Utah 84047

Next: Boyd Lynn Gerber
Message 1 of 9 in “latest clone/pull of git.git problems with setlinebuf.”
  1. Boyd Lynn GerberSep 4, 2008
  2. Boyd Lynn GerberSep 4, 2008
  3. Avery PennarunSep 4, 2008
  4. Boyd Lynn GerberSep 4, 2008
  5. Junio C HamanoSep 4, 2008
  6. Boyd Lynn GerberSep 4, 2008
  7. Junio C HamanoSep 4, 2008
  8. Boyd Lynn GerberSep 4, 2008
  9. Boyd Lynn GerberSep 4, 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.