[MacPorts] #47648: clang-3.7: Subversion fetch fails if behind HTTP proxy
MacPorts
noreply at macports.org
Wed May 6 06:48:22 PDT 2015
#47648: clang-3.7: Subversion fetch fails if behind HTTP proxy
----------------------+--------------------------------
Reporter: raimue@… | Owner: jeremyhu@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Keywords: | Port: clang-3.7 llvm-3.7
----------------------+--------------------------------
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.
--
Ticket URL: <https://trac.macports.org/ticket/47648>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list