GCC Newspaper
JULY 29, 2026
gcc Proposed Sentiment 8 / 10

GCC repo is locked?

Pushing to GCC repository blocked by hook, but resolved after process termination.

A developer reported being unable to push to the GCC repository for 15 minutes due to a “Another user is currently pushing” error, indicating a hook declined the update. Another participant confirmed they were the cause, having attempted to kill a push hook process, and subsequently terminated the process and removed the lock file, resolving the issue.

In the Thread 3 participants
  1. Mark Wielaard <mark@klomp.org> proposer

    Informed the original poster that the blocking push hook process was terminated and the lock file removed, allowing pushes again.

    “Killed the process and removed the git-hooks::update.token.lock. So pushed should be possible again.”
  2. Mikael Morin <morin-mikael@orange.fr> contributor

    Acknowledged being the cause of the problem, explaining they tried to kill a push hook process and were unsure if it reached the right people.

    “I'm afraid I'm (again) the cause of this. I posted a message on IRC telling anyone could kill the push hook process(es). I'm not sure it reached the right people (or someone at all).”
  3. H.J. Lu <hjl.tools@gmail.com> other

    Reported the initial problem of being unable to push to the repository due to an active hook.

    “I have been trying to push for the last 15 minutes and getting: remote: -- Another user is currently pushing changes to this repository. -- remote: -- Please try again in another minute or two. -- remote: error: hook declined to update refs/heads/master”

Technical Tradeoffs

  • The locking mechanism prevents race conditions during pushes but can cause temporary unavailability if a process hangs or is misunderstood.
  • Manual intervention is required to resolve hook-related deadlocks, highlighting a potential need for more robust automated recovery or clearer protocols.

In Details

This thread addresses a temporary repository access issue on GCC development infrastructure. A push operation was blocked by a server-side hook, specifically a lock file mechanism that prevents concurrent pushes. The issue was resolved by manually terminating the blocking process and clearing the lock.

Filed Under: gitrepositorypushhooklock