Opened 10 years ago
Closed 10 years ago
#47648 closed defect (fixed)
clang-3.7: Subversion fetch fails if behind HTTP proxy
Reported by: | raimue (Rainer Müller) | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | larryv (Lawrence Velázquez) | |
Port: | clang-3.7 llvm-3.7 |
Description
As reported on IRC, the post-extract in the clang-3.7 port cannot be executed when behind a HTTP proxy:
:notice:extract ---> Extracting clang-3.7 :debug:extract Executing org.macports.extract (clang-3.7) :debug:extract Executing proc-post-org.macports.extract-extract-0 :info:extract svn: E120108: Unable to connect to a repository at URL 'http://llvm.org/svn/llvm-project/cfe/trunk' :info:extract svn: E120108: Error running context: The server unexpectedly closed the connection. :info:extract Command failed: cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/trunk/tools && svn co -r 235803 http://llvm.org/svn/llvm-project/cfe/trunk clang :info:extract Exit code: 1 :error:extract org.macports.extract for port clang-3.7 returned: command execution failed
The fetch phase worked because base is using arguments for svn
to tell it about the HTTP proxy in the system. This also applies to other subports of llvm-3.7 with specific variants.
See attached patch for a proposed workaround.
Attachments (1)
Change History (4)
Changed 10 years ago by raimue (Rainer Müller)
Attachment: | llvm-3.7-proxy.diff added |
---|
comment:1 Changed 10 years ago by raimue (Rainer Müller)
Cc: | larryv@… added |
---|---|
Owner: | changed from jeremyhu@… to jeremyhu@… |
comment:2 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)
comment:3 Changed 10 years ago by larryv (Lawrence Velázquez)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks, Rainer. r135930
Note: See
TracTickets for help on using
tickets.
Go ahead and push, thanks.