rose-compiler / rose

Developed at Lawrence Livermore National Laboratory (LLNL), ROSE is an open source compiler infrastructure to build source-to-source program transformation and analysis tools for large-scale C (C89 and C98), C++ (C++98 and C++11), UPC, Fortran (77/95/2003), OpenMP, Java, Python and PHP applications.
http://rosecompiler.org
Other
600 stars 132 forks source link

Unable to clone subrepositories, invalid domain #231

Closed FalcoGer closed 1 year ago

FalcoGer commented 1 year ago

Because the apt repository doesn't have a release for "jammy" (Ubuntu 22.04), I tried to clone the repo and compile from source. However running git clone --recursive --depth 1 -b release https://github.com/rose-compiler/rose or git submodule update --init --recursive produces

Cloning into '/path/to/rose/projects/vulnerabilitySeeding'...
ssh: Could not resolve hostname rosecompiler2.llnl.gov: Name or service not known
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'ssh://git@rosecompiler2.llnl.gov:10022/rose-compiler/vulnerability-seeding.git' into submodule path '/path/to/rose/projects/vulnerabilitySeeding' failed
Failed to clone 'projects/vulnerabilitySeeding'. Retry scheduled
Cloning into '/path/to/rose/src/frontend/CxxFrontend/EDG'...
ssh: Could not resolve hostname rosecompiler2.llnl.gov: Name or service not known
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'ssh://git@rosecompiler2.llnl.gov:10022/rose-compiler/edg.git' into submodule path '/path/to/rose/src/frontend/CxxFrontend/EDG' failed
Failed to clone 'src/frontend/CxxFrontend/EDG'. Retry scheduled
Cloning into '/path/to/rose/projects/vulnerabilitySeeding'...
ssh: Could not resolve hostname rosecompiler2.llnl.gov: Name or service not known
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'ssh://git@rosecompiler2.llnl.gov:10022/rose-compiler/vulnerability-seeding.git' into submodule path '/path/to/rose/projects/vulnerabilitySeeding' failed
Failed to clone 'projects/vulnerabilitySeeding' a second time, aborting

It seems that rosecompiler2.llnl.gov is not registered anymore. Furthermore I likely wouldn't have permission to fetch that even if it were a thing.

$ dig rosecompiler2.llnl.gov

; <<>> DiG 9.18.1-1ubuntu1.3-Ubuntu <<>> rosecompiler2.llnl.gov
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16846
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;rosecompiler2.llnl.gov.        IN  A

;; Query time: 7 msec
;; SERVER: 127.0.0.53#53(127.0.0.53) (UDP)
;; WHEN: Thu Mar 23 20:08:04 CET 2023
;; MSG SIZE  rcvd: 51
$ dig rosecompiler2.llnl.gov @1.1.1.1

; <<>> DiG 9.18.1-1ubuntu1.3-Ubuntu <<>> rosecompiler2.llnl.gov @1.1.1.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49919
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;rosecompiler2.llnl.gov.        IN  A

;; AUTHORITY SECTION:
llnl.gov.       300 IN  SOA ns0.llnl.gov. dns-admin.llnl.gov. 2017667364 300 300 2592000 300

;; Query time: 347 msec
;; SERVER: 1.1.1.1#53(1.1.1.1) (UDP)
;; WHEN: Thu Mar 23 20:08:09 CET 2023
;; MSG SIZE  rcvd: 101
pinnown commented 1 year ago

Remove the recursive cloning. The submodules are for optional unreleased parts of ROSE.