#28577 closed defect (fixed)
libusb-devel: Git clone failed
Reported by: | matt@… | Owned by: | adfernandes (Andrew Fernandes) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | matt@… | |
Port: | libusb-devel |
Description
Ok. So I was installing libusb-devel +universal after I installed libtool and I got this error: " Target org.macports.fetch returned: Git clone failed "
I couldn't find any past tickets relating to this specifically. Any ideas what might be causing this error?
Attachments (3)
Change History (13)
Changed 14 years ago by matt@…
comment:2 Changed 14 years ago by wsiegrist@…
Component: | server/hosting → ports |
---|---|
Owner: | changed from wsiegrist@… to adfernandes@… |
Port: | libusb-devel added |
comment:3 Changed 14 years ago by adfernandes (Andrew Fernandes)
Your error was a network timeout
, not a repository failure. As per your log:
:info:fetch git.libusb.org[0: 212.116.89.126]: errno=Operation timed out :info:fetch fatal: unable to connect a socket (Operation timed out)
Please try again, this works for me.
DEBUG: Executing org.macports.main (libusb-devel) ---> Fetching libusb-devel DEBUG: fetch phase started at Mon Feb 28 17:27:23 EST 2011 DEBUG: Executing org.macports.fetch (libusb-devel) DEBUG: Executing: /opt/local/bin/git clone -q git://git.libusb.org/libusb.git /opt/local/var/macports/build/_Users_andrew_Local_macports-trunk_dports_devel_libusb-devel/work/libusb-devel-1.0.8.20101017 2>&1 DEBUG: Executing GIT_DIR=/opt/local/var/macports/build/_Users_andrew_Local_macports-trunk_dports_devel_libusb-devel/work/libusb-devel-1.0.8.20101017/.git GIT_WORK_TREE=/opt/local/var/macports/build/_Users_andrew_Local_macports-trunk_dports_devel_libusb-devel/work/libusb-devel-1.0.8.20101017 /opt/local/bin/git checkout -q 7da756e09fd97efad2b35b5cee0e2b2550aac2cb 2>&1 ---> Verifying checksum(s) for libusb-devel DEBUG: checksum phase started at Mon Feb 28 17:27:38 EST 2011 DEBUG: Executing org.macports.checksum (libusb-devel) ---> Extracting libusb-devel DEBUG: extract phase started at Mon Feb 28 17:27:38 EST 2011 DEBUG: Executing org.macports.extract (libusb-devel) localhost:libusb-devel andrew$ ls work/ libusb-devel-1.0.8.20101017/
comment:4 Changed 14 years ago by jmroot (Joshua Root)
Keywords: | clone removed |
---|---|
Summary: | Git clone failed → libusb-devel: Git clone failed |
comment:5 Changed 14 years ago by adfernandes (Andrew Fernandes)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:6 Changed 14 years ago by leehooni@…
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
hello, I have a different problem with the same error Error: Target org.macports.fetch returned: Git clone failed
I've got
:info:fetch fatal: The remote end hung up unexpectedly :info:fetch shell command "/opt/local/bin/git clone -q git://git.libusb.org/libusb.git /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libusb-devel/work/libusb-devel-1.0.8.20101017 2>&1" returned error 128 :error:fetch Target org.macports.fetch returned: Git clone failed :debug:fetch Backtrace: Git clone failed while executing "gitfetch" (procedure "portfetch::fetch_main" line 14) invoked from within "$procedure $targetname" :info:fetch Warning: the following items did not execute (for libusb-devel): org.macports.activate org.macports.fetch org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
Changed 14 years ago by leehooni@…
Attachment: | main.2.log added |
---|
comment:7 Changed 14 years ago by tom@…
I have the same issue as leehooni@… looking at the log and trying to manually check the repository it would appear the repository is fine over http:// but not git://. I'm guessing there has been change at the hosting repo's end and this needs to be reflected in the port?
:debug:fetch Executing: /opt/local/bin/git clone -q git://git.libusb.org/libusb.git /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libusb-devel/work/libusb-devel-1.0.8.20101017 2>&1 :info:fetch fatal: The remote end hung up unexpectedly :info:fetch shell command "/opt/local/bin/git clone -q git://git.libusb.org/libusb.git /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libusb-devel/work/libusb-devel-1.0.8.20101017 2>&1" returned error 128 :error:fetch Target org.macports.fetch returned: Git clone failed :debug:fetch Backtrace: Git clone failed
while executing
"gitfetch"
(procedure "portfetch::fetch_main" line 14) invoked from within
"$procedure $targetname" :info:fetch Warning: the following items did not execute (for libusb-devel): org.macports.activate org.macports.fetch org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install :notice:fetch Log for libusb-devel is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libusb-devel/main.log
comment:8 follow-up: 10 Changed 14 years ago by adfernandes (Andrew Fernandes)
Hmm.. this appears to be a network change/error on their end. They are no longer passing through the git
protocol. I've updated the URL to use http
and that seems to work. Fixed in r78015.
comment:9 Changed 14 years ago by adfernandes (Andrew Fernandes)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
comment:10 Changed 14 years ago by peter@…
Replying to adfernandes@…:
Hmm.. this appears to be a network change/error on their end. They are no longer passing through the
git
protocol. I've updated the URL to usehttp
and that seems to work. Fixed in r78015.
Indeed it was a temporary error with git-daemon on the server after upgrading git. I fixed the problem a day or two ago, and git:// URLs work again.
Please do take the minute time to notify upstream when you encounter problems in the future, so that they can actually be fixed, instead of worked around. Thanks!
log