git errors while unlinking pack files?

6,893 views
Skip to first unread message

Zachary Turner

unread,
Apr 3, 2014, 1:56:15 PM4/3/14
to Chromium-dev
As of today I'm getting this:

D:\src\chromium\src>git pull --rebase
remote: Counting objects: 93790, done
remote: Finding sources: 100% (3116/3116)
emote: Total 3116 (delta 2234), reused 3071 (delta 2234)
Receiving objects: 100% (3116/3116), 1.76 MiB | 0 bytes/s, done.
Resolving deltas: 100% (2234/2234), completed with 942 local objects.
   db47ab2..aec5319  master     -> origin/master
   0e52e25..fb19e5d  git-svn    -> origin/git-svn
   8c50287..2d40c4e  lkgr       -> origin/lkgr
   3106537..18e3401  refs/branch-heads/1847 -> branch-heads/1847
   5b6d2f2..e88256d  refs/branch-heads/1916 -> branch-heads/1916
 * [new ref]         refs/branch-heads/1923 -> branch-heads/1923
 * [new ref]         refs/branch-heads/1924 -> branch-heads/1924
Auto packing the repository for optimum performance. You may also
run "git gc" manually. See "git help gc" for more information.
Counting objects: 2934290, done.
Compressing objects: 100% (633958/633958), done.
Writing objects: 100% (2934290/2934290), done.
Total 2934290 (delta 2375318), reused 2778401 (delta 2226694)
Unlink of file '.git/objects/pack/pack-01da6782e50c8fc97a0a3e47fcad6c8d20297f02.pack' failed. Should I try again? (y/n) y
Unlink of file '.git/objects/pack/pack-01da6782e50c8fc97a0a3e47fcad6c8d20297f02.pack' failed. Should I try again? (y/n) y
Unlink of file '.git/objects/pack/pack-01da6782e50c8fc97a0a3e47fcad6c8d20297f02.pack' failed. Should I try again? (y/n) n
Unlink of file '.git/objects/pack/pack-01da6782e50c8fc97a0a3e47fcad6c8d20297f02.idx' failed. Should I try again? (y/n) n
Unlink of file '.git/objects/pack/pack-08937321d45cc2750293863640da71983e5951ef.idx' failed. Should I try again? (y/n) n
Unlink of file '.git/objects/pack/pack-08c348feb3cf3c243cc39336bc120354d64ba641.pack' failed. Should I try again? (y/n) n
Unlink of file '.git/objects/pack/pack-08c348feb3cf3c243cc39336bc120354d64ba641.idx' failed. Should I try again? (y/n) n
Unlink of file '.git/objects/pack/pack-0ca0ed4c3a574582df1b39ed1e368b96f2a6845b.idx' failed. Should I try again? (y/n) n
Unlink of file '.git/objects/pack/pack-12a257ebf2d44fc62ac8706d0bb14ed71e5a478e.idx' failed. Should I try again? (y/n) n
Unlink of file '.git/objects/pack/pack-1a4a224d67bfb7cc2876ab3e1ef95e46e60118f1.pack' failed. Should I try again? (y/n) n
Unlink of file '.git/objects/pack/pack-1a4a224d67bfb7cc2876ab3e1ef95e46e60118f1.idx' failed. Should I try again? (y/n) n
Unlink of file '.git/objects/pack/pack-1c97e91af4c5325c3d80772719555ea67cd85606.idx' failed. Should I try again? (y/n)


Not sure how long this is going to continue on for or what the implications are if I keep hitting no.  But, does anyone know what's going on here?  I've never actually seen the "Auto packing repository" line before, so that's new as well.  Maybe somehow related?

Sadly I haven't been able to get a clean build for 2 days due to git errors, so this is starting to become rather frustrating.

Scott Graham

unread,
Apr 3, 2014, 2:08:53 PM4/3/14
to Zachary Turner, Chromium-dev
I think this is unrelated to any other changes and isn't new. I've always gotten those on git gc on Windows. I haven't noticed any side-effects, but I'm not sure if the files get cleaned up eventually or not, so maybe the .git dir ends up being unnecessarily large.

(Should we start planning the next source control migration to Perforce yet?)


--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

Greg Thompson

unread,
Apr 3, 2014, 3:19:20 PM4/3/14
to Zachary Turner, Chromium-dev
http://crbug.com/350413.

Short answer: hit 'n' to get through all of those, and then manually run "git gc". The problem is that the files are held open by a parent git.exe of the one that's trying to do the gc.


--

Stefan Zager

unread,
Apr 3, 2014, 4:00:39 PM4/3/14
to Greg Thompson, Zachary Turner, Chromium-dev
On Thu, Apr 3, 2014 at 12:19 PM, Greg Thompson <g...@chromium.org> wrote:
> http://crbug.com/350413.
>
> Short answer: hit 'n' to get through all of those, and then manually run
> "git gc". The problem is that the files are held open by a parent git.exe of
> the one that's trying to do the gc.

Yep, undoubtedly true, and probably the source of other errors we've
seen when trying to do threaded file access on pack files.
Reply all
Reply to author
Forward
0 new messages