Open-source Languages & Tools for z/OS

 View Only
  • 1.  Error: cannot run index-pack: EDC5129I No such file or directory

    Posted 02-27-2017 12:55

    Following the instructions in the “Release notes for Git 2.3.5 for zOS.pdf” for “Cloning an open source repository” I get the following error:

    git clone -v git@github.ibm.com:matthew-webster/hello-world.git
    Cloning into ‘hello-world’…
    error: cannot run index-pack: EDC5129I No such file or directory.
    CEE5205S The signal SIGTERM was received.
    fatal: fetch-pack: unable to fork off index-pack

    Can anyone tell me what I have not configured correctly?

    Thanks in advance



  • 2.  RE: Error: cannot run index-pack: EDC5129I No such file or directory

    Posted 02-27-2017 14:07

    Can you try cloning a repository on github.com just to see if it fails in the same way? You will need a (free) account on github, and must set up an ssh key pair. Once you have that, please try:

    bash$ git clone -v git@github.com:zorts/hello_world.git
    Cloning into 'hello_world'...
    bash$ ls -l
    total 16
    drwxr-xr-x   3 TSJLC    PDUSER      8192 Feb 27 13:00 hello_world
    bash$
    

    You could also turn on some tracing. Here’s the same command, with tracing enabled:

    bash$ GIT_TRACE=1 GIT_TRACE_PACK_ACCESS=1 git clone -v git@github.com:zorts/hello_world.git
    13:08:28.882719 ./git.c:351             trace: built-in: git 'clone' '-v' 'git@github.com:zorts/hello_world.git'
    Cloning into 'hello_world'...
    13:08:28.911900 ./run-command.c:369     trace: run_command: 'ssh' 'git@github.com' 'git-upload-pack '\''zorts/hello_world.git'\'''
    13:08:28.921069 ./run-command.c:131     trace: execvp: 'ssh' 'git@github.com' 'git-upload-pack '\''zorts/hello_world.git'\'''
    13:08:29.413086 ./run-command.c:369     trace: run_command: 'index-pack' '--stdin' '--fix-thin' '--keep=fetch-pack 50463151 on RS22' '--check-self-contained-and-connected'
    13:08:29.431449 ./exec_cmd.c:141        trace: exec: 'git' 'index-pack' '--stdin' '--fix-thin' '--keep=fetch-pack 50463151 on RS22' '--check-self-contained-and-connected'
    13:08:29.431511 ./run-command.c:131     trace: execvp: 'git' 'index-pack' '--stdin' '--fix-thin' '--keep=fetch-pack 50463151 on RS22' '--check-self-contained-and-connected'
    13:08:29.457175 ./git.c:351             trace: built-in: git 'index-pack' '--stdin' '--fix-thin' '--keep=fetch-pack 50463151 on RS22' '--check-self-contained-and-connected'
    13:08:29.477420 ./run-command.c:369     trace: run_command: 'rev-list' '--objects' '--stdin' '--not' '--all'
    13:08:29.485724 ./exec_cmd.c:141        trace: exec: 'git' 'rev-list' '--objects' '--stdin' '--not' '--all'
    13:08:29.485777 ./run-command.c:131     trace: execvp: 'git' 'rev-list' '--objects' '--stdin' '--not' '--all'
    13:08:29.520909 ./git.c:351             trace: built-in: git 'rev-list' '--objects' '--stdin' '--not' '--all'
    13:08:29.522967 ./sha1_file.c:2142      /u/tsjlc/support/clone/hello_world/.git/objects/pack/pack-b9873e731b73b03d1da5680794c98c4507c8579f.pack 12
    13:08:29.531419 ./sha1_file.c:2142      /u/tsjlc/support/clone/hello_world/.git/objects/pack/pack-b9873e731b73b03d1da5680794c98c4507c8579f.pack 695
    13:08:29.534172 ./sha1_file.c:2142      /u/tsjlc/support/clone/hello_world/.git/objects/pack/pack-b9873e731b73b03d1da5680794c98c4507c8579f.pack 740
    13:08:29.534283 ./sha1_file.c:2142      /u/tsjlc/support/clone/hello_world/.git/objects/pack/pack-b9873e731b73b03d1da5680794c98c4507c8579f.pack 740
    13:08:29.534347 ./sha1_file.c:2142      /u/tsjlc/support/clone/hello_world/.git/objects/pack/pack-b9873e731b73b03d1da5680794c98c4507c8579f.pack 830
    13:08:29.534413 ./sha1_file.c:2142      /u/tsjlc/support/clone/hello_world/.git/objects/pack/pack-b9873e731b73b03d1da5680794c98c4507c8579f.pack 849
    13:08:29.534483 ./sha1_file.c:2142      /u/tsjlc/support/clone/hello_world/.git/objects/pack/pack-b9873e731b73b03d1da5680794c98c4507c8579f.pack 961
    13:08:29.534558 ./sha1_file.c:2142      /u/tsjlc/support/clone/hello_world/.git/objects/pack/pack-b9873e731b73b03d1da5680794c98c4507c8579f.pack 1030
    bash$
    

    – Jerry



  • 3.  RE: Error: cannot run index-pack: EDC5129I No such file or directory

    Posted 02-28-2017 09:24

    Thanks for the swift response. I went back and added all the required configuration to my .profile and now “git clone” works for both github.com and github.ibm.com



  • 4.  RE: Error: cannot run index-pack: EDC5129I No such file or directory

    Posted 02-26-2024 09:44

    Experiencing an "Error: cannot run index-pack: EDC5129I No such file or directory" message. It's halting progress on my task. Any tips on how to troubleshoot this? I'm not sure where to begin. Any guidance or insights would be invaluable. Thanks in advance for your help!



    ------------------------------
    Saanvi Dev
    I love questioning and answering.
    Rocket Forum Shared Account
    ------------------------------



  • 5.  RE: Error: cannot run index-pack: EDC5129I No such file or directory

    ROCKETEER
    Posted 02-27-2024 03:08

    Hi Saanvi,

    What exact commands are you running to get this error?
    Please also provide the output of the following commands:
    git --version
    env | sort

    Thanks,
    Alexander



    ------------------------------
    Alexander Klochkov
    QA
    Rocket Internal - All Brands
    Vilnius LT
    ------------------------------