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

Re: 2 build issues

From
Junio C Hamano <junkio@cox.net>
Date
Aug 14, 2006, 22:10 UTC
Message-ID
<7vd5b3dl4c.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20060814121156.84bc6e34.rdunlap@xenotime.net>
"Randy.Dunlap" <rdunlap@xenotime.net> writes:
Show 9 quoted lines
> xmlto -m callouts.xsl man git-add.xml
> I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
> warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
> compilation error: file /tmp/xmlto-xsl.l27115 line 4 element import
> xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
> make[1]: *** [git-add.1] Error 1
> rm git-add.xml
> make[1]: Leaving directory `/home/rddunlap/builds/git-snapshot-20060814/Documentation'
> make: *** [doc] Error 2

Sorry, I am not docbook expert -- help from the list please? I seem to be using:

                        (home)		(kernel.org)
	asciidoc	7.1.2		7.0.2
        xmlto		0.0.18		0.0.18
Show 13 quoted lines
> make -C templates install
> make[1]: Entering directory `/home/rddunlap/builds/git-snapshot-20060814/templates'
> : no custom templates yet
> install -d -m755 '/usr/local/share/git-core/templates/'
> (cd blt && tar cf - .) | \
> (cd '/usr/local/share/git-core/templates/' && tar xf -)
> tar: This does not look like a tar archive
> tar: Skipping to next header
> tar: Archive contains obsolescent base-64 headers
> tar: Error exit delayed from previous errors
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/home/rddunlap/builds/git-snapshot-20060814/templates'
> make: *** [install] Error 

Hmph. I suspect (cd blt && tar cf - .) is failing silently. When built, "make -C templates" creates templates/blt directory and leaves templates/boilerplates.made file. Do you have them?

Ah, another possibility. Does your "cd" say anything unnecessary even when running scripts, not interactively? For example, do you have CDPATH set and _exported_ to the environment? CDPATH might be a useful shell variable for interactive session, but you never want to export it to affect unsuspecting shell scripts you invoke directly or indirectly.

I see many documents floating on the web that call CDPATH "an environment variable". It is a disease X-<.

Previous: Randy.DunlapNext: Randy.Dunlap
Message 2 of 6 in “2 build issues”
  1. Randy.DunlapAug 14, 2006
  2. Junio C HamanoAug 14, 2006
  3. Randy.DunlapAug 14, 2006
  4. Junio C HamanoAug 14, 2006
  5. Jeff KingAug 15, 2006
  6. Randy.DunlapAug 18, 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.