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

odd "error: packfile foo.pack cannot be accessed" errors from "git svn fetch"

From
GWGreg A. Woods <woods@planix.com>
Date
Apr 26, 2010, 22:06 UTC
Message-ID
<m1O6WSB-000kn6C@most.weird.com>

I've been trying to import the FreeBSD SVN repository (which I have copied to a local directory using "svnsync"). It seems to be going fairly well, though I've had to interrupt and restart the "git svn fetch --all" command a couple of times due to necessary reboots.

However I noticed errors similar to the following today as it was running, particularly between these revision lines:

r158178 = dfd866111e2d8b27056d445ce1109ca3301f7dda (refs/remotes/svn/stable/6)
	A	usr.bin/lastcomm/lastcomm.c
	A	usr.bin/lastcomm/pathnames.h
[[....]]
error: packfile ./objects/pack/pack-a65415929f8bae9dacf4e81a3d9201135915c984.pack cannot be accessed
[[....]]
	A	sys/sys/msg.h
	A	sys/sys/socket.h
r158179 = db56f27606a021514e1f8ec483ce6b7abd4d6966 (refs/remotes/svn/releng/6.1)

(this is from git version 1.7.0.6, running on Mac OS X 10.6.3 with all files on an HFS+ case-sensitive journaled filesystem)

Several such lines were printed, all while adding the same revision, with several different pack files mentioned.

Was it my mistake to interrupt the fetch? (I assumed interrupts would be cleanly handled -- they really should be, nay must be if git-svn is to be robust enough for real-world uses! I don't do perl, though I had a peek and did see at least some mention of SIGINT....)

Is there any way to check the integrity of the result other than by manually checking out various releases from each SVN and Git and comparing them?

I could start it over again in a hopefully more stable environment if really necessary, but it's already run for over two days now, and already this isn't my first attempt (getting the branches config close to correct has been far more difficult than it should ever have been -- this info is already in SVN! hopefully the GSoC native SVN support will help in this regard too!)

-- 
						Greg A. Woods
						Planix, Inc.

<woods@planix.com>       +1 416 218 0099        http://www.planix.com/
Next: Greg A. Woods
Message 1 of 2 in “odd "error: packfile foo.pack cannot be accessed" errors from "git svn fetch"”
  1. Greg A. WoodsApr 26, 2010
  2. Greg A. WoodsApr 27, 2010

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.