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

Re: git-archive's wrong documentation: really write pax rather than tar

From
HLHin-Tak Leung <htl10@users.sourceforge.net>
Date
Aug 10, 2011, 03:08 UTC
Message-ID
<1312945714.193.YahooMailClassic@web29510.mail.ird.yahoo.com>
In-Reply-To
<4E3D8EA9.3000609@lsrfire.ath.cx>
--- On Sat, 6/8/11, René Scharfe <rene.scharfe@lsrfire.ath.cx> wrote:
Show 11 quoted lines
> That doesn't sound good.  Looking at the R source,
> however, I can see
> that they use a two different algorithms to compute the
> checksum than
> the one specified by POSIX (even though I don't fully
> understand what it
> actually is their doing, since I don't know R).  So
> worry too much about
> the warning; as long e.g. "tar tf <file>" doesn't
> complain your archive
> should be intact.

I filed the bug, https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14654 and they have fixed it bug has a few comments to make:

--------------- Fixed in R-devel and patched (your checksum field has more than 6 digits which is highly unusual [since it can't be larger than 6 digits] but technically allowable).

I should add that the original tar format mandated that checksums are terminated by NUL SPACE, so in that sense your tar file is invalid (there can't be more than 6 digits since the checksum field consists of 8 bytes). untar2 will now be more forgiving, but whatever program created that tar file should be fixed. -----------------

Please feel free to respond directly at the R bug tracking system, or I can cut-and-paste bits of e-mails also...
Previous: René ScharfeNext: René Scharfe
Message 5 of 6 in “(unknown)”
  1. Hin-Tak LeungAug 4, 2011
  2. René ScharfeAug 4, 2011
  3. Hin-Tak LeungAug 4, 2011
  4. René ScharfeAug 6, 2011
  5. Hin-Tak LeungAug 10, 2011
  6. René ScharfeAug 10, 2011

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.