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

git 1.2 works on Solaris, AIX [was Re: [PATCH 1/3] Call extended-semantics commands through variables.]

From
Jason Riedy <ejr@eecs.berkeley.edu>
Date
Feb 14, 2006, 05:12 UTC
Message-ID
<12579.1139893961@lotus.CS.Berkeley.EDU>
In-Reply-To
<7v64nllbdj.fsf@assigned-by-dhcp.cox.net>

The AIX machines I work on are back, and it looks like my patches are unnecessary, at least for my use. It'd be cute to allow builders to point at GNU tools, but not terribly useful. The File::Find patch to git-archimport.perl might be nice, but it functions as-is.

To have diff and merge on my path with this AIX platform, I have to pull *all* the GNU tools into my path. (NERSC uses modules.) I suspect that is a rather common setup, so it's not worth the serious surgery to redirect diff and merge. diff is used in C and shell, and merge is in shell, Perl, and Python sources.

And pkgsrc on Solaris appears happy using GNU's cpio (under archivers/gcpio) rather than its default, plain one. I hadn't realized I could replace it easily.

So with the GNU tools in the path and a properly built Python, the mainline code works on Solaris 8 and AIX.

For posterity: Any problems with git-merge-recursive.py on AIX
likely are a yucky Python/AIX problem.  The sha has 'sem_trywait: 
Permission denied\n' prepended to it a few times.  You need to 
rebuild Python with HAVE_BROKEN_POSIX_SEMAPHORES:
  https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1106262&group_id=5470

If anyone really wants to point at particular tools but not require them in the user's path, the simplest way would be to link the correct tools (or wrappers) into the GIT_EXEC_PATH and prepend that to the PATH *everywhere*. But it's not worth the effort until someone really needs it.

Jason
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 7 in “Call extended-semantics commands through variables.”
  1. 1/3 Call extended-semantics commands through variables.Jason Riedy, Feb 10, 2006
  2. Junio C HamanoFeb 11, 2006
  3. Jason RiedyFeb 11, 2006
  4. Junio C HamanoFeb 11, 2006
  5. git 1.2 works on Solaris, AIX [was Re: [PATCH 1/3] Call extended-semantics commands through variables.]Jason Riedy, Feb 14, 2006
  6. Junio C HamanoFeb 14, 2006
  7. Junio C HamanoFeb 12, 2006

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.