pykaldi icon indicating copy to clipboard operation
pykaldi copied to clipboard

svn: E170013: Unable to connect to a repository at URL 'https://llvm.org/svn/llvm-project/llvm/trunk'

Open gogyzzz opened this issue 6 years ago • 4 comments

I tried to install clif with "./install_clif.sh", but got this error.

$ ./install_clif.sh
Destination /data/public/rw/heron/pykaldi/tools/clif already exists.
Already up to date.
/root/.local/bin//ninja
Using ninja for the clif backend build.
svn: E170013: Unable to connect to a repository at URL 'https://llvm.org/svn/llvm-project/llvm/trunk'
svn: E000110: Error running context: Connection timed out

gogyzzz avatar Dec 23 '19 09:12 gogyzzz

I also had issues relating to svn, the .install_clif.sh script installs llvm repository using svn and it has been known to have issues with large repositories.

specifically this line in tools/install_clif.sh

mkdir -p "$LLVM_DIR"
cd "$LLVM_DIR"
svn co http://llvm.org/svn/llvm-project/llvm/trunk@307315 llvm 

What I did was:

  • comment out the svn co ... line from the install_clif script.
  • run svn co http://llvm.org/svn/llvm-project/llvm/trunk@307315 llvm in a terminal @ pykaldi/tools/clif_backend.
  • if it crashes:
    • run svn cleanup && svn up to continue downloading from where you left off
  • run install_clif.sh after all of llvm is installed

kkawabat avatar Mar 23 '20 21:03 kkawabat

Hello @kkawabat,

I was trying to follow your instructions on that issue but I have some struggle with svn command... I'm working on a Mac Big Sur version.

At this point I follow your instructions : It seems that the line I have to comment out was in INSTALL.sh (used by tools/install_clif.sh I guess).

First I did : svn co http://llvm.org/svn/llvm-project/llvm/trunk@307315 llvm in pykaldi/tools/clif_backend returns : svn: E170011: Repository moved temporarily to 'https://llvm.org/svn/llvm-project/llvm/trunk'

Then I did : svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm as advised by the last error returns : svn: E170013: Unable to connect to a repository at URL 'https://llvm.org/svn/llvm-project/llvm/trunk' svn: E175013: Access to '/svn/llvm-project/llvm/trunk' denied

I decided to use svn cleanup && svn up as advised on your instructions but it returns : svn: E155007: '/Users/admin/pykaldi/tools/clif_backend' not a working copy directory

After some researches on svn, I didn't really understand this error... There are not so many documentation in my native language and I'm struggling with english documentation on svn...

Have you ever encountered this kind of error ?

Thank you very much, Victor

victorC97 avatar Jun 10 '21 10:06 victorC97

Hello Victor,

It's been a while since I worked on this and I don't use svn but looking at your error "not a working copy directory" seems to indicate that you aren't in the actual directory of the repo you are downloading. You will need to go into llvm to run the svn cleanup && svn up command. It might even be worth deleting the downloaded repo and start over.

kkawabat avatar Jun 27 '21 21:06 kkawabat

I'll start over and check the possible issues you suggested.

Thanks a lot for your time and help, Have a good day ! Victor

victorC97 avatar Jun 28 '21 07:06 victorC97