Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#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)

main.log (35.9 KB) - added by matt@… 13 years ago.
log
sources.conf (1.3 KB) - added by matt@… 13 years ago.
souces.conf
main.2.log (47.4 KB) - added by leehooni@… 13 years ago.

Download all attachments as: .zip

Change History (13)

Changed 13 years ago by matt@…

Attachment: main.log added

log

Changed 13 years ago by matt@…

Attachment: sources.conf added

souces.conf

comment:1 Changed 13 years ago by matt@…

Cc: matt@… added

Cc Me!

comment:2 Changed 13 years ago by wsiegrist@…

Component: server/hostingports
Owner: changed from wsiegrist@… to adfernandes@…
Port: libusb-devel added

comment:3 Changed 13 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 13 years ago by jmroot (Joshua Root)

Keywords: clone removed
Summary: Git clone failedlibusb-devel: Git clone failed

comment:5 Changed 13 years ago by adfernandes (Andrew Fernandes)

Resolution: worksforme
Status: newclosed

comment:6 Changed 13 years ago by leehooni@…

Resolution: worksforme
Status: closedreopened

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 13 years ago by leehooni@…

Attachment: main.2.log added

comment:7 Changed 13 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 Changed 13 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 13 years ago by adfernandes (Andrew Fernandes)

Resolution: fixed
Status: reopenedclosed

comment:10 in reply to:  8 Changed 13 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 use http 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!

Note: See TracTickets for help on using tickets.