Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to fetch bison submodules #1611

Open
dabao1955 opened this issue Feb 14, 2024 · 0 comments
Open

Failed to fetch bison submodules #1611

dabao1955 opened this issue Feb 14, 2024 · 0 comments

Comments

@dabao1955
Copy link

this is a simple workflow step for checkout:

      - name: Checkout bison
        uses: actions/checkout@v4
        with:
          repository: akimd/bison
          path: bison
          fetch-depth: 2
          submodules: true

when workflow runs: it has some error

Run actions/checkout@v4
  with:
    repository: akimd/bison
    path: bison
    fetch-depth: 2
    submodules: true
    token: ***
    ssh-strict: true
    persist-credentials: true
    clean: true
    sparse-checkout-cone-mode: true
    fetch-tags: false
    show-progress: true
    lfs: false
    set-safe-directory: true
Syncing repository: akimd/bison
Getting Git version info
Temporarily overriding HOME='/home/runner/work/_temp/44d695d8-2739-45f6-bd30-f62b238d8acc' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
/usr/bin/git config --global --add safe.directory /home/runner/work/toolchain_build/toolchain_build/bison
Initializing the repository
Disabling automatic garbage collection
Setting up auth
Determining the default branch
Fetching the repository
Determining the checkout info
Checking out the ref
Setting up auth for fetching submodules
Fetching submodules
  /usr/bin/git submodule sync
  /usr/bin/git -c protocol.version=2 submodule update --init --force --depth=2
  Submodule 'gnulib' (git://git.savannah.gnu.org/gnulib.git) registered for path 'gnulib'
  Submodule 'submodules/autoconf' (git://git.sv.gnu.org/autoconf.git) registered for path 'submodules/autoconf'
  Cloning into '/home/runner/work/toolchain_build/toolchain_build/bison/gnulib'...
  Cloning into '/home/runner/work/toolchain_build/toolchain_build/bison/submodules/autoconf'...
  From git://git.savannah.gnu.org/gnulib
   * branch              71b603702b8cf7977dedd5f6b71ea0ffc1669894 -> FETCH_HEAD
  Submodule path 'gnulib': checked out '71b603702b8cf7977dedd5f6b71ea0ffc1669894'
  Error: error: Server does not allow request for unadvertised object 66fdaea3cfb4e758212c1891913e9a59441d49af
  Error: fatal: Fetched in submodule path 'submodules/autoconf', but it did not contain 66fdaea3cfb4e758212c1891913e9a59441d49af. Direct fetching of that commit failed.
  Error: The process '/usr/bin/git' failed with exit code 128
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant