Opened 3 years ago

Closed 3 years ago

Last modified 6 months ago

#62821 closed defect (worksforme)

aom - Git Clone Failed

Reported by: RobK88 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc: mcalhoun@…
Port: aom

Description

Unable to upgrade aom. Git clone failed.

$ sudo port upgrade aom
--->  Computing dependencies for aom
--->  Fetching distfiles for aom
Error: Failed to fetch aom: Git clone failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_aom/aom/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

Change History (6)

comment:1 Changed 3 years ago by RobK88

Please close the ticket.

I was able to get around the "Git clone failed" error by disabling my secure proxy. For some reason Macports has problems with proxies when it tries to perform a git clone.

comment:2 Changed 3 years ago by kencu (Ken)

Resolution: worksforme
Status: newclosed

comment:3 Changed 3 years ago by opoplawski (Orion Poplawski)

It would be good to find a proper way to deal with this issue. I suspect the issue is that the https_proxy environment variable is not being passed to the build script - though I'm not sure why this would be. I've configured sudo to pass the proxy variables and most builds work fine - just not aom which does this extra git clone in its configure script.

comment:4 Changed 3 years ago by opoplawski (Orion Poplawski)

After poking in the macports code - it appears to expect the variable HTTPS_PROXY rather than https_proxy. Setting that and adding that to the sudo keep env settings seems to have resolved the issue for me.

comment:5 Changed 19 months ago by kencu (Ken)

I'm not sure if this should be a new ticket then against the 'git' port ... or base if it also happens with the system git...

comment:6 Changed 6 months ago by COOLak

Sorry for raising this old ticket, but how do I even disable my secure proxy? I'm a complete noob and have no idea how to do it. I have the same problem and can't install Zenity because of it.

Note: See TracTickets for help on using tickets.